CNAME+A record in response

Srinivas Krishnan shrin.krishnan at gmail.com
Fri Jun 29 06:50:54 UTC 2012


A lot of times we get responses that look like:

FOO.BAR CNAME EXAMPLE.BAR
EXAMPLE.BAR A 1.1.1.1


BIND currently (atleast with the default settings) when it encounters
a CNAME stops processing and checks if EXAMPLE.BAR is in cache or else
sends out another query to resolve it even though the A record in the
packet completes the chain.

Now, is there a setting in BIND to accept the A record or do providers
and ISPs keep adding these information in the hope that some resolver
might use it ? If there is a setting in BIND to accept it, what is it
and does it only work if the label and the alias of the CNAME are in
the same zone.

Help is much appreciated.

-srinivas



More information about the bind-users mailing list