[dns-operations] ANY request
Phil Regnauld
regnauld at nsrc.org
Sun Feb 7 09:40:48 UTC 2010
Fabien CHABANNE (chabanne) writes:
>
> I tested the ANY request
Hi Fabien,
Could you detail how you have queries the nameservers ?
Did you use dig ?
i.e.: dig +norec @ns1.google.com google.com any
Or was it via an API (Ruby, Perl, C, ...)
Also, the output, especially the flags (flags: qr aa rd;) would be useful.
See my example output below.
> on some nameservers of google
> (ns1.google.com., ns2.google.com., ...) and I see that they do not
> always reply by a full response and they do not set the Truncated bit.
> For exemple they do not always return the SOA record and all of the NS
> records but a part of it. So I was wondering if this way of answering
> to an ANY query was correct and how can we have the entire response ?
I will let more knowledgeable people on this list answer, but
for one thing I don't what nameserver implementation Google
is using for their authoritative servers. Also, answers to ANY
are somewhat implementation dependent, for example:
http://www.faqts.com/knowledge_base/view.phtml/aid/30221
Cheers,
Phil
Sample output -- SOA is always returned in my case.
; <<>> DiG 9.6.0-APPLE-P2 <<>> +norec @ns1.google.com google.com any
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44792
;; flags: qr aa rd; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;google.com. IN ANY
;; ANSWER SECTION:
google.com. 300 IN A 74.125.77.99
google.com. 300 IN A 74.125.77.147
google.com. 300 IN A 74.125.77.104
google.com. 3600 IN TXT "v=spf1 include:_netblocks.google.com ip4:216.73.93.70/31 ip4:216.73.93.72/31 ~all"
google.com. 345600 IN NS ns2.google.com.
google.com. 900 IN MX 200 google.com.s9a2.psmtp.com.
google.com. 900 IN MX 300 google.com.s9b1.psmtp.com.
google.com. 345600 IN NS ns4.google.com.
google.com. 345600 IN NS ns3.google.com.
google.com. 86400 IN SOA ns1.google.com. dns-admin.google.com. 1406150 7200 1800 1209600 300
google.com. 900 IN MX 400 google.com.s9b2.psmtp.com.
google.com. 345600 IN NS ns1.google.com.
google.com. 900 IN MX 100 google.com.s9a1.psmtp.com.
;; Query time: 50 msec
;; SERVER: 216.239.32.10#53(216.239.32.10)
;; WHEN: Sun Feb 7 10:39:40 2010
;; MSG SIZE rcvd: 422
More information about the dns-operations
mailing list