Bugzilla – Bug 652
NSD replies from unexpected source
Last modified: 2015-03-17 12:35:47 CET
Hello When no ip-address is configured in the nsd conf file, NSD replies on unexpected IP address source - the server is multi-homed or have multiple interfaces.
Workaround: define IP address interfaces.
Yes this is caused by the OS not routing the packets properly in the 'multihomed' interface setup.
The option ip-transparent: yes in nsd.conf can be used to bind to non-local addresses, so you can give the ip addresses you want in nsd.conf and start nsd even before you bring up the interface. (for those load-balancer type situations).
Configure the ip-addresses is not a workaround, but the resolution of the problem.
Thank you for your prompt answer.
I think you should store the target IP address of the query in order to send the answer from the same interface it came.
PS: BIND do it. ;-)