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

Vytautas Krakauskas pdns at sdf.lt
Fri Jan 6 11:11:24 CET 2012


A zone example could be:
example.com. MX 10 mail.example.com.
example.com. CNAME www.example.net.

if recursor is not defined and pdns is not authoritative for
example.net, asking for ANY would not return any RRs.

On 01/06/12 11:48, Peter van Dijk wrote:
> 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
> 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
> _______________________________________________
> Pdns-dev mailing list
> Pdns-dev at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-dev

Vytautas Krakauskas

More information about the Pdns-dev mailing list