Might be my understanding that has a bug though...
I have several IPs on my dns servers, say hostname and ns1.domain1,
If I use:
# local-address Local IP address to which we bind
PDNS responds to all queries, no matter which IP they were addressed to
using source IP of : hostname.
This is not good, as the client that sends a UDP query to ns1.domain1
recieves an answer from hostname and sends an ICMP desctination port
unreachable in response to pdns response.
If I use local-address=ns1.domain1, then of course, pdns is no more
listening on all my other IPs.
I did not try local-address=hostname ns1.domain1 ns1.domain2
As it says Local IP and not Local IPs....
Any idea what the solution is? or what the problem is?
Local IP address to which we bind. You can specify multiple addresses
separated by commas or whitespace. It is highly advised to bind to specific
interfaces and not use the default 'bind to any'. This causes big problems
if you have multiple IP addresses. Unix does not provide a way of figuring
out what IP address a packet was sent to when binding to any