diff options
Diffstat (limited to 'src/usr.bin/nc/data/dns-any.d')
| -rw-r--r-- | src/usr.bin/nc/data/dns-any.d | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/usr.bin/nc/data/dns-any.d b/src/usr.bin/nc/data/dns-any.d new file mode 100644 index 0000000000..77b014cf70 --- /dev/null +++ b/src/usr.bin/nc/data/dns-any.d | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | # dns "any for ." query, to udp 53 | ||
| 2 | # if tcp: precede with 2 bytes of len: | ||
| 3 | # 0 | ||
| 4 | # 17 | ||
| 5 | # you should get at least *one* record back out | ||
| 6 | |||
| 7 | # HEADER: | ||
| 8 | 0 # query id = 2 | ||
| 9 | 2 | ||
| 10 | |||
| 11 | 1 # flags/opcodes = query, dorecurse | ||
| 12 | 0 | ||
| 13 | |||
| 14 | 0 # qdcount, i.e. nqueries: 1 | ||
| 15 | 1 | ||
| 16 | |||
| 17 | 0 # ancount: answers, 0 | ||
| 18 | 0 | ||
| 19 | |||
| 20 | 0 # nscount: 0 | ||
| 21 | 0 | ||
| 22 | |||
| 23 | 0 # addl records: 0 | ||
| 24 | 0 | ||
| 25 | |||
| 26 | # end of fixed header | ||
| 27 | |||
| 28 | 0 # name-len: 0 for ".", lenbyte plus name-bytes otherwise | ||
| 29 | |||
| 30 | 0 # type: any, 255 | ||
| 31 | 0xff | ||
| 32 | |||
| 33 | 0 # class: IN | ||
| 34 | 1 | ||
| 35 | |||
| 36 | # i think that's it.. | ||
