[Pdns-users] recursing for records which are missing from authoritative zones
nicholas at nicholaswilliams.net
Wed Apr 29 15:44:28 UTC 2015
Correct me if I'm wrong, because I'm no PDNS Recursor expert. But I believe
you would want to set this up like this:
- Create a PDNS Authoritative server running on a different IP address
(ideal) or different port (not 100% sure this can work). Make it
authoritative for the zones you want served locally.
- Create a PDNS Recursor server running on the IP address you want your
users querying and port 53. Set up forward-zone settings in the recursor
setting file to tell it to forward requests for the zones you want to your
authoritative server on the different IP address.
Using this setup, you could even run them on the same machine, as long as
that machine had two IP addresses or you could use a different port. An
option might be to bind the authoritative server to the loopback IP address
(127.0.0.1) and the recursor to the non-loopback IP address.
On Wed, Apr 29, 2015 at 10:19 AM, Peter van Dijk <
peter.van.dijk at powerdns.com> wrote:
> On 29 Apr 2015, at 15:40, ktm at rice.edu wrote:
> Apparently such cases exists, otherwise this sentence would not be in
>>> the documentation.
> Such cases do not exist; the documentation is incorrect/outdated. Please
> file a ticket!
> A simple case would be a CNAME to an out-of-zone location. In that case
>> it would use the recursor to find the IP address. NS record to an
>> nameserver is another.
> No - neither of those situations work as desired. In both cases the client
> will receive an incomplete answer (i.e. the CNAME, or the NS delegation).
> Kind regards,
> Peter van Dijk
> PowerDNS.COM BV - https://www.powerdns.com/
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pdns-users