[Pdns-users] How to get pdns_recursor to listen on all interfaces?

a b tripivceta at hotmail.com
Sat Nov 7 15:42:17 UTC 2015

After some more testing:


throws an error.


works, reports that the pdns_recursor is listening on "", and appears to make it listen on all interfaces.

However, this is undocumented in https://doc.powerdns.com/md/manpages/pdns_recursor.1/ as well as in the pdns_recursor's manual page.

Opened https://github.com/PowerDNS/pdns/issues/2873 to keep track of this.
From: Rob Locke [roblocke at gmail.com]
Sent: Saturday, November 7, 2015 16:26
To: a b
Cc: pdns-users at mailman.powerdns.com
Subject: Re: [Pdns-users] How to get pdns_recursor to listen on all interfaces?

I don't know if this has changed in the latest release, but the only way I could do it was to explicitly list the interface IP addresses in the local-address directive. =(


On Saturday, November 7, 2015, a b <tripivceta at hotmail.com<mailto:tripivceta at hotmail.com>> wrote:
What is the syntax to specify that pdns_recursor listen on all interfaces (something like "<>")?

The issue I am facing is that, not knowing whether this is even possible, I am unable to automate this.
As far as I am aware, there is no way of reliably detecting the primary network interface on a multi-homed host, as per definition, a multi-homed host is a gateway for multiple networks and none of the networks has precedence over the other.

What I am trying to avoid is hard coding interface names or internet protocol addresses into the "local-address=..." configuration line in recursor.conf(4).
Pdns-users mailing list
Pdns-users at mailman.powerdns.com

More information about the Pdns-users mailing list