name server on alternate port

Matthew Seaman m.seaman at infracaninophile.co.uk
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 {
        127.0.0.1;
        12.34.56.78;
    };
    query-source    address 12.34.56.78 port 53;
    transfer-source 12.34.56.78 port 53;
    notify-source   12.34.56.78 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.

	Cheers,

	Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         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 : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031122/96f87037/attachment.bin


More information about the freebsd-questions mailing list