Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 on Windows => Topic started by: dshirsh on January 02, 2012, 09:58:14 AM

Title: Cannot DIG CNAMEs
Post by: dshirsh on January 02, 2012, 09:58:14 AM
If I run DIG with the ANY option on my domain I cannot see any CNAME records returned when some actually exist. Is this by design?
Title: Re: Cannot DIG CNAMEs
Post by: snarked on January 02, 2012, 11:26:46 AM
It depends on the name server software used.  Some packages don't even recognize the "ANY" query type.
Title: Re: Cannot DIG CNAMEs
Post by: dshirsh on January 02, 2012, 01:17:20 PM
I just love standards........ :)

It seems that ANY will usually get me all the records except CNAME and PTR. Maybe an HE DNS engineer will chime in and clarify this.

Is there an RFC that dictates how a DNS server will (should) respond to queries?
Title: Re: Cannot DIG CNAMEs
Post by: maestroevolution on January 09, 2012, 12:38:18 PM
It makes sense to me that an ANY query would not include CNAMEs or PTRs.

PTR format and response is drastically different.  If you're querying for *anything* but in-addr.arpa, there won't be a PTR record.

Standard response for a CNAME is to follow the CNAME chain until you get to a record that includes A or AAAA.  If you tried to do an ANY query example.com, which had TXT records, MX, and CNAMEs to real1.com, real2,com, real3,com and put them all into a single response: how do you know which host the TXT and MX records belong to?  example.com, real1,com, real2.com, etc?

Regards,

Joel
Title: Re: Cannot DIG CNAMEs
Post by: dshirsh on January 10, 2012, 12:43:42 PM
OK, I can agree on the CNAME and PTR but what about A and AAAA records? Would you expect all of those to show up in an ANY query?