[nsd-users] Fixed IPv6 Source Address for UDP Connections

Matthias-Christian Ott ott at mirix.org
Mon Jul 12 08:47:12 UTC 2010

On Mon, Jul 12, 2010 at 09:28:44AM +0200, Yuri Schaeffer wrote:
> Hello Matthias-Christian,

Hello Yuri,

> > However, sometimes the DNS server replies from a different address
> > (the client queried 2001:db8:1::2 and got a reply from 2001:db8:1::2),
> > because the DNS server seems to pick an address randomly. This is
> > possible because UDP is stateless (with TCP it works).
> When you don't specify an interface to bind the OS will select one for
> you. The tunnel interface may be confusing it. Make sure your nsd.conf
> looks similar to this:
> server:
>         ip-address: 2001:db8:2::1
>         ip-address: [your ipv4 address]
>         ip-address:

This will also work for multiple IPv6 addresses, because nsd opens
a separate socket for each address and replies on that socket. This
that right?


More information about the nsd-users mailing list