[nsd-users] Multi-homed server UDP packets wrong interface

Stuart Henderson stu at spacehopper.org
Tue Jun 28 08:30:34 UTC 2022

On 2022/06/28 09:50, Jeroen Koekkoek via nsd-users wrote:
> Hi Robert,
> Setting the outgoing IP address depends on the IP_PKTINFO socket
> option. Currently NSD does not implement it, but given some time it can
> certainly be made to do so.
> NSD currently does support the bindtodevice socket option, which should
> get you the desired result(?) The option causes NSD to bind the socket
> to the device that has it assigned. It's an attribute of the ip-address
> configuration option and you can set it like so:
>     ip-address:  bindtodevice=yes

Normally just listing the various ip-addresses separately is enough

More information about the nsd-users mailing list