Return to dns-any.d CVS log | Up to [local] / src / usr.bin / nc / data |
File: [local] / src / usr.bin / nc / data / Attic / dns-any.d (download)
Revision 1.2, Mon Jan 29 01:58:11 2001 UTC (23 years, 4 months ago) by niklas
$OpenBSD$ |
# $OpenBSD: dns-any.d,v 1.2 2001/01/29 01:58:11 niklas Exp $ # dns "any for ." query, to udp 53 # if tcp: precede with 2 bytes of len: # 0 # 17 # you should get at least *one* record back out # HEADER: 0 # query id = 2 2 1 # flags/opcodes = query, dorecurse 0 0 # qdcount, i.e. nqueries: 1 1 0 # ancount: answers, 0 0 0 # nscount: 0 0 0 # addl records: 0 0 # end of fixed header 0 # name-len: 0 for ".", lenbyte plus name-bytes otherwise 0 # type: any, 255 0xff 0 # class: IN 1 # i think that's it..