[Pdns-users] Retry NXDOMAIN with a secondary forwarder

Peter van Dijk peter.van.dijk at netherlabs.nl
Mon Jan 9 11:11:04 UTC 2012


Hello,

> Could you possibly access "your" data by any other means than DNS
> (like database or something)? If so, couldn't you just write a plugin
> that checks your backend for the record and otherwise just return to
> normal lookup mode?

There is no easy way to hook this into the recursor; what you could do, however, is to arrange this idea within a PowerDNS auth backend (luabackend, pipebackend come to mind). Once such a backend script has been written, this setup could be as simple as 'launch=gmysql,pipe' (or gmysql,lua) where gmysql provides all your local changes, and lua or pipe fetch anything else from your upstream server.

Kind regards,
Peter van Dijk


More information about the Pdns-users mailing list