[conspire] Unbound and DHCP on home computer

roger at rogerchrisman.com roger at rogerchrisman.com
Tue Dec 15 14:42:22 PST 2009


+trace does something terse to my dig invocation. Here below is what
happens on my laptop when I do your BBC dig example, first with +terse
and then without:

(with +terse)

roger at a:~$ dig bbc.co.uk @127.0.0.1 +trace

; <<>> DiG 9.6.1-P2 <<>> bbc.co.uk @127.0.0.1 +trace
;; global options: +cmd
;; Received 12 bytes from 127.0.0.1#53(127.0.0.1) in 0 ms



 (now without + terse)

roger at a:~$ dig bbc.co.uk @127.0.0.1

; <<>> DiG 9.6.1-P2 <<>> bbc.co.uk @127.0.0.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22984
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4

;; QUESTION SECTION:
;bbc.co.uk.			IN	A

;; ANSWER SECTION:
bbc.co.uk.		19	IN	A	212.58.224.138

;; AUTHORITY SECTION:
bbc.co.uk.		620	IN	NS	ns1.thls.bbc.co.uk.
bbc.co.uk.		620	IN	NS	ns1.thdo.bbc.co.uk.
bbc.co.uk.		620	IN	NS	ns1.rbsov.bbc.co.uk.
bbc.co.uk.		620	IN	NS	ns1.bbc.co.uk.

;; ADDITIONAL SECTION:
ns1.bbc.co.uk.		620	IN	A	132.185.132.21
ns1.thdo.bbc.co.uk.	86120	IN	A	212.58.224.21
ns1.thls.bbc.co.uk.	86120	IN	A	132.185.240.21
ns1.rbsov.bbc.co.uk.	86120	IN	A	212.58.227.48

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Dec 15 14:20:31 2009
;; MSG SIZE  rcvd: 195



Studying "man dig" I read that, in dig "Recursion is automatically
disabled when the +nssearch or +trace query options are used." But
adding +recurse to +trace I still get the same very short report.

>From man dig:

       +[no]recurse
           Toggle the setting of the RD (recursion desired) bit in the
query. This bit is set by default,
           which means dig normally sends recursive queries. Recursion
is automatically disabled when the
           +nssearch or +trace query options are used.

Hm,
Roger




More information about the conspire mailing list