[Pdns-users] pdns forwarding problem

Kenneth Marshall ktm at rice.edu
Thu Jan 7 15:23:40 UTC 2010


On Thu, Jan 07, 2010 at 04:08:15PM +0100, Tobias Winter wrote:
> Hi there,
> 
> I'm not particulary used to configuring a nameserver, so I will first
> state what I'm trying to accomplish and how I intend to get the job
> done. Please correct me, if I am misguided in some way or just missed
> something obvious in the documentation.
> 
> For my private needs I set up two PDNS nameservers with mysql backend.
> Both servers are running 2.9.22 from Debian testing and are synced via
> mysql replication. Therefore neither server is configured as master or
> slave.
> 
> The setup works well within my expectations. It resolves records it has
> and is authoritative for and recurses to another nameserver for stuff it
> doesn't have.
> 
> I'm now trying to get it to forward requests for specific zones to other
> nameservers. In my understanding one would simply supply a NS record for
> e.g. test.de . If now a client would query an A record for e.g.
> www.test.de the nameserver would happily go to the server stated in the
> NS record for test.de and return the results.
> 
> In my case the server doesn't query the foreign nameserver but queries
> the recursor and of course returns that the record is not present.
> 
> Could someone open my eyes to the thing I'm obviously missing?
> 
> Cheers
> 
> Tobias
> 

Hi Tobias,

Assuming that you are using pdns-recursor-3.1.7.2 (you should be),
you need to add the 'forward-zone=...' option or if you have more
than a couple of zones the 'forward-zones-file=file-to-read-for-zones'
option in your recursor.conf file.

Regards,
Ken



More information about the Pdns-users mailing list