Why two lookups for a CNAME?

Steve Arntzen isc at arntzen.us
Wed Oct 21 20:32:32 UTC 2015


I'm sure there's a good, simple reason for this, I just can't seem to find the
answer searching on the Internet.


Why does named perform a lookup for the A record when its IP is returned with
the CNAME in the first answer?


Using dig, I find play.google.com is a CNAME for play.l.google.com.


When asked to resolve it, named will first look for play.google.com.  The result
will include the CNAME and the IP of the A record.


Named then makes a second request to resolve the A record.


Thanks in advance,


Steve.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20151021/a9a9fe70/attachment.html>


More information about the bind-users mailing list