Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Nov 2003 03:54:45 GMT
From:      Mark <admin@asarian-host.net>
To:        <freebsd-questions@freebsd.org>
Subject:   Re: name server on alternate port
Message-ID:  <200311250354.HAP3SJ1X017665@asarian-host.net>
References:  <200311221355.HAMDT1CO031456@asarian-host.net> <20031122142001.GA756@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- 
From: "Matthew Seaman" <m.seaman@infracaninophile.co.uk>
To: "Mark" <admin@asarian-host.net>
Cc: <freebsd-questions@freebsd.org>
Sent: Saturday, November 22, 2003 3:20 PM
Subject: Re: name server on alternate port


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;


Thank you. :) Your idea to bind both nameservers on their own IP, with
rbldnsd on the alias, worked brilliantly well. Instead of configuring a
slave server, though, I went with forwarding, like so:

zone "dynablock.my-domain.info" IN {
 type forward;
 forward only;
 forwarders {
  127.0.0.4;
 };
}

And now everything works beautifully. :)

- Mark

P.S. Getting rbldnsd to work was worth the trouble. I have the entire
dynablock, blackholes, and proxies zones, from the soon to expire easynet.nl
RBLs, all loaded in under 22 MB! of memory (and rbldnsd keeps everything in
memory too, in case you wondered). The same cost BIND over 220 MB memory!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311250354.HAP3SJ1X017665>