Bug 652 - NSD replies from unexpected source
NSD replies from unexpected source
Product: NSD
Classification: Unclassified
Component: NSD Code
x86_64 FreeBSD
: P5 normal
Assigned To: NSD team
Depends on:
  Show dependency treegraph
Reported: 2015-03-17 11:10 CET by jybisiaux
Modified: 2015-03-17 12:35 CET (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description jybisiaux 2015-03-17 11:10:45 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.
Comment 1 Wouter Wijngaards 2015-03-17 11:53:56 CET
Hi jybisiaux,

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.

Best regards,
Comment 2 jybisiaux 2015-03-17 12:35:47 CET
Hello Wouter,

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. ;-)