Maintained by: NLnet Labs

[Unbound-users] Question about qtype=any

Likun Zhang
Fri Jul 8 04:52:47 CEST 2011


Hi Luo Ce

 

My personal opinion,

 

ANY means the client want to know all the records configured for the query name, so I don’t think it’s meaningful to give extra information.

 

Other opinion?

 

Thanks

Likun

 

From: unbound-users-bounces at NLnetLabs.nl [mailto:unbound-users-bounces at NLnetLabs.nl] On Behalf Of Luo Ce
Sent: Friday, July 08, 2011 9:31 AM
To: unbound-users at unbound.net
Subject: [Unbound-users] Question about qtype=any

 

Hi all,

 

When I use unbound and send a query with qtype = any

dig @localhost www.google.com any

unbound returns me the following results:

; (1 server found)

;; global options: +cmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11161

;; flags: qr rd ra; QUERY: 1, ANSWER: 7, AUTHORITY: 0, ADDITIONAL: 0

 

;; QUESTION SECTION:

;www.google.com.                        IN      ANY

 

;; ANSWER SECTION:

www.google.com.         604800  IN      CNAME   www.l.google.com.

www.l.google.com.       300     IN      A       74.125.71.147

www.l.google.com.       300     IN      A       74.125.71.99

www.l.google.com.       300     IN      A       74.125.71.106

www.l.google.com.       300     IN      A       74.125.71.105

www.l.google.com.       300     IN      A       74.125.71.103

www.l.google.com.       300     IN      A       74.125.71.104

 

I just want to know whether the A records are needed for the qtype any, cos when I send the same query to bind, it only returns me the cname answer.

 

Thanks.

 

Luo Ce

CNNIC

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://unbound.nlnetlabs.nl/pipermail/unbound-users/attachments/20110708/a64bcf90/attachment-0001.html>