Example Data

Example Data

Zone file:

#vscomp.org domain
.vscomp.org:10.0.0.1:ns.vscomp.org:
&vscomp.org::ns.sri.com:

#10.0.0. reverse names
Z0.0.10.in-addr.arpa:ns.vscomp.org:hostmaster.vscomp.org:3:::::
&0.0.10.in-addr.arpa::ns.vscomp.org:

#some entries
@vscomp.org::bar.vscomp.org:42:
=foo.vscomp.org:10.0.0.1:300
+barf.vscomp.org:10.0.0.2:
^2.0.0.10.in-addr.arpa:random.vscomp.org:
^2.0.0.10.in-addr.arpa:barf.vscomp.org:50000

#some more interesting entries
'random.vscomp.org:verifying #software# is fun, isn't it? ;):
Cbar.vscomp.org:foo.vscomp.org:

Traces:

0> dig soa vscomp.org
received DNS query:
0xED 0xA0 0x01 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x06 0x76 0x73 0x63 0x6F 0x6D 0x70 0x03 0x6F 0x72 0x67 0x00 0x00 0x06 0x00 0x01 
question: ?Zvscomp.org
answer 0: Zvscomp.org:ns.vscomp.org:hostmaster.vscomp.org:292545876:16384:2048:1048576:2560:86400
sending DNS response:
0xED 0xA0 0x85 0x80 0x00 0x01 0x00 0x01 0x00 0x00 0x00 0x00 0x06 0x76 0x73 0x63 0x6F 0x6D 0x70 0x03 0x6F 0x72 0x67 0x00 0x00 0x06 0x00 0x01 0xC0 0x0C 0x00 0x06 0x00 0x01 0x00 0x01 0x51 0x80 0x00 0x26 0x02 0x6E 0x73 0xC0 0x0C 0x0A 0x68 0x6F 0x73 0x74 0x6D 0x61 0x73 0x74 0x65 0x72 0xC0 0x0C 0x11 0x6F 0xE5 0x54 0x00 0x00 0x40 0x00 0x00 0x00 0x08 0x00 0x00 0x10 0x00 0x00 0x00 0x00 0x0A 0x00

;; QUESTION SECTION:
;vscomp.org.			IN	SOA

;; ANSWER SECTION:
vscomp.org.		86400	IN	SOA	ns.vscomp.org. hostmaster.vscomp.org. 292545876 16384 2048 1048576 2560

1> dig ns vscomp.org
received DNS query:
0xC8 0x33 0x01 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x06 0x76 0x73 0x63 0x6F 0x6D 0x70 0x03 0x6F 0x72 0x67 0x00 0x00 0x02 0x00 0x01 
question: ?&vscomp.org
answer 0: &vscomp.org::ns.vscomp.org:86400
answer 1: &vscomp.org::ns.sri.com:86400
sending DNS response:
0xC8 0x33 0x85 0x80 0x00 0x01 0x00 0x02 0x00 0x00 0x00 0x00 0x06 0x76 0x73 0x63 0x6F 0x6D 0x70 0x03 0x6F 0x72 0x67 0x00 0x00 0x02 0x00 0x01 0xC0 0x0C 0x00 0x02 0x00 0x01 0x00 0x01 0x51 0x80 0x00 0x05 0x02 0x6E 0x73 0xC0 0x0C 0xC0 0x0C 0x00 0x02 0x00 0x01 0x00 0x01 0x51 0x80 0x00 0x0C 0x02 0x6E 0x73 0x03 0x73 0x72 0x69 0x03 0x63 0x6F 0x6D 0x00 

;; QUESTION SECTION:
;vscomp.org.			IN	NS

;; ANSWER SECTION:
vscomp.org.		86400	IN	NS	ns.vscomp.org.
vscomp.org.		86400	IN	NS	ns.sri.com.

2> dig ns vscom.org
received DNS query:
0x97 0x44 0x01 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x05 0x76 0x73 0x63 0x6F 0x6D 0x03 0x6F 0x72 0x67 0x00 0x00 0x02 0x00 0x01 
question: ?&vscom.org
no answer

3> dig a ns.vscomp.org
received DNS query:
0x69 0x00 0x01 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x02 0x6E 0x73 0x06 0x76 0x73 0x63 0x6F 0x6D 0x70 0x03 0x6F 0x72 0x67 0x00 0x00 0x01 0x00 0x01 
question: ?+ns.vscomp.org
answer 0: +ns.vscomp.org:10.0.0.1:86400
sending DNS response:
0x69 0x00 0x85 0x80 0x00 0x01 0x00 0x01 0x00 0x00 0x00 0x00 0x02 0x6E 0x73 0x06 0x76 0x73 0x63 0x6F 0x6D 0x70 0x03 0x6F 0x72 0x67 0x00 0x00 0x01 0x00 0x01 0xC0 0x0C 0x00 0x01 0x00 0x01 0x00 0x01 0x51 0x80 0x00 0x04 0x0A 0x00 0x00 0x01

;; QUESTION SECTION:
;ns.vscomp.org.			IN	A

;; ANSWER SECTION:
ns.vscomp.org.		86400	IN	A	10.0.0.1

4> dig ptr 2.0.0.10.in-addr.arpa
received DNS query:
0x52 0xBC 0x01 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x01 0x32 0x01 0x30 0x01 0x30 0x02 0x31 0x30 0x07 0x69 0x6E 0x2D 0x61 0x64 0x64 0x72 0x04 0x61 0x72 0x70 0x61 0x00 0x00 0x0C 0x00 0x01 
question: ?^2.0.0.10.in-addr.arpa
answer 0: ^2.0.0.10.in-addr.arpa:random.vscomp.org:86400
answer 1: ^2.0.0.10.in-addr.arpa:barf.vscomp.org:50000
sending DNS response:
0x52 0xBC 0x85 0x80 0x00 0x01 0x00 0x02 0x00 0x00 0x00 0x00 0x01 0x32 0x01 0x30 0x01 0x30 0x02 0x31 0x30 0x07 0x69 0x6E 0x2D 0x61 0x64 0x64 0x72 0x04 0x61 0x72 0x70 0x61 0x00 0x00 0x0C 0x00 0x01 0xC0 0x0C 0x00 0x0C 0x00 0x01 0x00 0x01 0x51 0x80 0x00 0x13 0x06 0x72 0x61 0x6E 0x64 0x6F 0x6D 0x06 0x76 0x73 0x63 0x6F 0x6D 0x70 0x03 0x6F 0x72 0x67 0x00 0xC0 0x0C 0x00 0x0C 0x00 0x01 0x00 0x00 0xC3 0x50 0x00 0x07 0x04 0x62 0x61 0x72 0x66 0xC0 0x3A 

;; QUESTION SECTION:
;2.0.0.10.in-addr.arpa.		IN	PTR

;; ANSWER SECTION:
2.0.0.10.in-addr.arpa.	86400	IN	PTR	random.vscomp.org.
2.0.0.10.in-addr.arpa.	50000	IN	PTR	barf.vscomp.org.

5> dig txt random.vscomp.org
received DNS query:
0xF1 0xE3 0x01 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x06 0x72 0x61 0x6E 0x64 0x6F 0x6D 0x06 0x76 0x73 0x63 0x6F 0x6D 0x70 0x03 0x6F 0x72 0x67 0x00 0x00 0x10 0x00 0x01 
question: ?'random.vscomp.org
answer 0: 'random.vscomp.org:verifying #software# is fun, isn't it? ;):86400
sending DNS response:
0xF1 0xE3 0x85 0x80 0x00 0x01 0x00 0x01 0x00 0x00 0x00 0x00 0x06 0x72 0x61 0x6E 0x64 0x6F 0x6D 0x06 0x76 0x73 0x63 0x6F 0x6D 0x70 0x03 0x6F 0x72 0x67 0x00 0x00 0x10 0x00 0x01 0xC0 0x0C 0x00 0x10 0x00 0x01 0x00 0x01 0x51 0x80 0x00 0x2A 0x29 0x76 0x65 0x72 0x69 0x66 0x79 0x69 0x6E 0x67 0x20 0x23 0x73 0x6F 0x66 0x74 0x77 0x61 0x72 0x65 0x23 0x20 0x69 0x73 0x20 0x66 0x75 0x6E 0x2C 0x20 0x69 0x73 0x6E 0x27 0x74 0x20 0x69 0x74 0x3F 0x20 0x3B 0x29 

;; QUESTION SECTION:
;random.vscomp.org.		IN	TXT

;; ANSWER SECTION:
random.vscomp.org.	86400	IN	TXT	"verifying #software# is fun, isn't it? \;)"

6> dig any vscomp.org
received DNS query:
0xCE 0x09 0x01 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x06 0x76 0x73 0x63 0x6F 0x6D 0x70 0x03 0x6F 0x72 0x67 0x00 0x00 0xFF 0x00 0x01 
question: ?*vscomp.org
answer 0: Zvscomp.org:ns.vscomp.org:hostmaster.vscomp.org:292545876:16384:2048:1048576:2560:86400
answer 1: &vscomp.org::ns.vscomp.org:86400
answer 2: &vscomp.org::ns.sri.com:86400
answer 3: @vscomp.org::bar.vscomp.org:42:86400
sending DNS response:
0xCE 0x09 0x85 0x80 0x00 0x01 0x00 0x04 0x00 0x00 0x00 0x00 0x06 0x76 0x73 0x63 0x6F 0x6D 0x70 0x03 0x6F 0x72 0x67 0x00 0x00 0xFF 0x00 0x01 0xC0 0x0C 0x00 0x06 0x00 0x01 0x00 0x01 0x51 0x80 0x00 0x26 0x02 0x6E 0x73 0xC0 0x0C 0x0A 0x68 0x6F 0x73 0x74 0x6D 0x61 0x73 0x74 0x65 0x72 0xC0 0x0C 0x11 0x6F 0xE5 0x54 0x00 0x00 0x40 0x00 0x00 0x00 0x08 0x00 0x00 0x10 0x00 0x00 0x00 0x00 0x0A 0x00 0xC0 0x0C 0x00 0x02 0x00 0x01 0x00 0x01 0x51 0x80 0x00 0x02 0xC0 0x28 0xC0 0x0C 0x00 0x02 0x00 0x01 0x00 0x01 0x51 0x80 0x00 0x0C 0x02 0x6E 0x73 0x03 0x73 0x72 0x69 0x03 0x63 0x6F 0x6D 0x00 0xC0 0x0C 0x00 0x0F 0x00 0x01 0x00 0x01 0x51 0x80 0x00 0x08 0x00 0x2A 0x03 0x62 0x61 0x72 0xC0 0x0C

;; QUESTION SECTION:
;vscomp.org.			IN	ANY

;; ANSWER SECTION:
vscomp.org.		86400	IN	SOA	ns.vscomp.org. hostmaster.vscomp.org. 292545876 16384 2048 1048576 2560
vscomp.org.		86400	IN	NS	ns.vscomp.org.
vscomp.org.		86400	IN	NS	ns.sri.com.
vscomp.org.		86400	IN	MX	42 bar.vscomp.org.

2 Comments

Comments RSS
  1. Andrei Paskevich

    It seems that the traces above contain both the debugging log of the server (“received DNS query”, “question”, “answer”, and “sending DNS response”) and the normal output of the dig utility. Is our understanding correct?

    • Hannes Mehnert

      yes, that is correct. It traces both the output of dig as well as the binary data and text data on the server.

Leave a Comment