[Pdns-users] PowerDNS recursor - use of root server results
James Leavers
james.leavers at gmail.com
Thu Nov 1 11:28:20 UTC 2012
Hi,
Is it correct that the recursor will use the results from the root servers
as opposed to the next level down, the gTLD servers? For instance: dig ns
yahooapis.com on my PowerDNS recursor:
<<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> ns yahooapis.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4002
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 5
;; QUESTION SECTION:
;yahooapis.com. IN NS
;; ANSWER SECTION:
yahooapis.com. 154808 IN NS ns5.yahoo.com.
yahooapis.com. 154808 IN NS ns1.yahoo.com.
yahooapis.com. 154808 IN NS ns3.yahoo.com.
yahooapis.com. 154808 IN NS ns2.yahoo.com.
yahooapis.com. 154808 IN NS ns7.yahoo.com.
But querying another public DNS server does not show ns7:
; <<>> DiG 9.8.3-P1 <<>> @8.8.8.8 ns yahooapis.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29396
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;yahooapis.com. IN NS
;; ANSWER SECTION:
yahooapis.com. 42109 IN NS ns1.yahoo.com.
yahooapis.com. 42109 IN NS ns5.yahoo.com.
yahooapis.com. 42109 IN NS ns2.yahoo.com.
yahooapis.com. 42109 IN NS ns3.yahoo.com.
And looking at dig +trace:
;; Received 491 bytes from 193.0.14.129#53(k.root-servers.net) in 2 ms
yahooapis.com. 172800 IN NS ns1.yahoo.com.
yahooapis.com. 172800 IN NS ns5.yahoo.com.
yahooapis.com. 172800 IN NS ns2.yahoo.com.
yahooapis.com. 172800 IN NS ns3.yahoo.com.
yahooapis.com. 172800 IN NS ns7.yahoo.com.
;; Received 207 bytes from 192.5.6.30#53(a.gtld-servers.net) in 150 ms
yahooapis.com. 172800 IN NS ns2.yahoo.com.
yahooapis.com. 172800 IN NS ns3.yahoo.com.
yahooapis.com. 172800 IN NS ns1.yahoo.com.
yahooapis.com. 172800 IN NS ns5.yahoo.com.
The root servers have ns7 whereas the gtld servers do not. So it's almost
as if my pDNS implementation (pdns-recursor-3.1.5-1.el5.centos) is using
the root server results as opposed to the gtld results. Is this what's
happening?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20121101/79199c72/attachment.html>
More information about the Pdns-users
mailing list