[Pdns-dev] Suggested fix for a problem with CNAME records when recursion is not available.

Peter van Dijk peter.van.dijk at netherlabs.nl
Fri Jan 6 10:48:42 CET 2012


Hello Vytautas,

On Jan 4, 2012, at 13:37 , Vytautas Krakauskas wrote:

> If a zone has CNAME RR and query is ANY, "resolver simply restarts the
> query at the new name" (RFC 1034, 5.2.2, page 31).
> 
> Problem is that pdns recursively answers the question without checking
> if recursion available and desired.
> 
> e.g. if an authoritative zone has several RRs with CNAME RR amongst
> them, but the pdns server has no recursor defined, none of the RR will
> be returned since recursion failed and processing stopped.

The way I'm reading this, you're saying you have a zone containing something like

www.example.com A 1.2.3.4
www.example.com CNAME www.example.net

and that would simply be a misconfiguration. Can you show an example of the kind of zone you mean?

Kind regards,
Peter van Dijk


More information about the Pdns-dev mailing list