[Pdns-users] PDNS Reverse DNS lookup recursion

Peter van Dijk peter.van.dijk at netherlabs.nl
Thu Nov 8 09:20:56 UTC 2012

Hello Gordon,

On Nov 6, 2012, at 14:50 , GordonJB wrote:

> I have a PDNS server set up with a zone and reverse zone for our domain
> (here, and have the recursor configured to forward requests not in
> our recognized zones to another DNS server on the network (here
> While this works fine for hostname lookups, it doesn't seem to work for
> reverse DNS. If I dig an IP that is in PDNS' reverse zone, that works fine,
> but any other IP's fail outright.
> pdns.conf:
> allow-recursion=,
> allow-recursion-override=off
> daemon=yes
> disable-axfr=yes
> guardian=yes
> launch=gmysql
> lazy-recursion=yes
> local-address=
> local-port=53
> recursor=
> recursor.conf:
> forward-zones= example.local=, other.net=,
> 3.2.1.in-addr.arpa=
> local-address=
> local-port=53

There are two ways to fix this.

The best way is to make your clients talk to your recursor - that way forward-zones controls exactly what they see.

The second best way is to make sure your pdns_server does not have an in-addr.arpa zone (like you apparently have), and making sure it only has the zones you actually want to be overridden.

Kind regards,
Peter van Dijk
Netherlabs Computer Consulting BV - http://www.netherlabs.nl/

More information about the Pdns-users mailing list