[Pdns-users] external CNAME

vivek munagala vivekmunagala at gmail.com
Fri Feb 24 14:59:02 UTC 2012


Hi Peter,

got it. I started returning END as you have suggested. But my problem is
still not solved.

Suppose i have CNAME record -> example.com      CNAME      cname.example.com.
So when pdns queries for example.com, the backend returned cname.example.com

The following are the queries pdns asked the backend and the replies i
coded.

example.com                  ANY             -             example.com
 CNAME          cname.example.com
cname.example.com       SOA             -             END
com                               SOA             -             END


At this point, pdns is going into a blocked state. Its not replying
anything to the dig command.
Can some one suggest what might be the reason?

>Hi Vivek,

>On Feb 24, 2012, at 8:47 , vivek munagala wrote:

>>* I understand you point. In my case also PDNS is resolving the CNAME for it self. But it is querying my backend for resolving. One solution can be returning just END which is little hacky. i was wondering if there is any other way to prevent pdns from querying the backend for resolving the CNAME.*
>Returning END is not hacky; it's the valid (and only) way to say "I have no positive information for this request".

>Kind regards,
>Peter van Dijk


-- 
Best Wishes,
Vivek Munagala
ph - 9769105955
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20120224/e8eeb04b/attachment-0001.html>


More information about the Pdns-users mailing list