[nsd-users] nsd can't bind udp socket: Address already in use

Rick van Rein (OpenFortress) rick at openfortress.nl
Wed Jul 10 16:42:32 UTC 2013


> The same file suggests:
> # The Dynamic and/or Private Ports are those from 49152 through 65535
> so pick one in that range to be on the safe side.

Hmm, these are the so-called ephemeral ports, which are automatically assigned, pretty much at random, if you don't bind to a local port before you make an outbound connection.  It's a bit strange to be picking a port in that range for a server process.  I would go for the range up to 49152 since those are fixated.  You'd have to accept that 5353 has been taken, but at least any problems claiming a port are always the same and not something you would resolve with trying again or rebooting.  Let's not turn UNIX into Windows, shall we?  ;-)


More information about the nsd-users mailing list