Home | History | Annotate | Download | only in data
      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..
     37