name server on alternate port

Matthew Seaman m.seaman at
Sat Nov 22 06:20:45 PST 2003

On Sat, Nov 22, 2003 at 01:55:01PM +0000, Mark wrote:

> If I want to install a second name server, on a different listening port,
> how can I get the resolver libraries to consult the other port too? I want
> to add rbldsnd, next to bind, for a large zone.

I don't think that's really going to work. You can configure a slave
server to do domain transfers on alternate ports, but that's about it.
Everything else expects DNS servers to answer on port 53. You'ld be
better off adding an alias address to the server and making each
server bind each to it's own address.  Don't know about rbldnsd(8),
but for bind9 you can put entries like this within the options{}
section of named.conf:

    listen-on {;;
    query-source    address port 53;
    transfer-source port 53;
    notify-source port 53;

(Nb. you can change the port number that bind uses in the 'listen-on'
statement but as I said above, there's not a great deal of use in
doing that)

See file:///usr/local/share/doc/bind9/arm/Bv9ARM.html for details.



Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP:         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list