[Pdns-users] How to get pdns_recursor to listen on all interfaces?
Peter van Dijk
peter.van.dijk at powerdns.com
Tue Nov 10 12:59:48 UTC 2015
For the archives: 0.0.0.0 has always worked -somewhat- but could cause
replies to be sent from the wrong interface in contrived configurations.
Starting with Recursor 3.7.1, 0.0.0.0 even works in those contrived
setups, on kernels that allow us to extract the relevant metadata on an
incoming UDP query.
Peter van Dijk
PowerDNS.COM BV - https://www.powerdns.com/
On 7 Nov 2015, at 16:26, Rob Locke wrote:
> 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> wrote:
>> What is the syntax to specify that pdns_recursor listen on all
>> (something like "0.0.0.0/32")?
>> The issue I am facing is that, not knowing whether this is even
>> I am unable to automate this.
>> As far as I am aware, there is no way of reliably detecting the
>> network interface on a multi-homed host, as per definition, a
>> 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
>> Pdns-users mailing list
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
More information about the Pdns-users