Date: Fri, 23 May 1997 11:19:00 -0600 From: "Michael K. Sanders" <msanders@aros.net> To: Josef Karthauser <joe@pavilion.net> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Named -- Specifying addresses to bind to. Message-ID: <199705231719.LAA12697@shell.aros.net> In-Reply-To: Your message of "Fri, 23 May 1997 14:05:04 BST." <19970523140504.34429@pavilion.net>
index | next in thread | previous in thread | raw e-mail
In message <19970523140504.34429@pavilion.net>, Josef Karthauser writes:
>On Fri, May 23, 1997 at 11:03:04PM +1000, Daniel O'Callaghan wrote:
>> On Fri, 23 May 1997, Josef Karthauser wrote:
>>
>> > I've now patched named so that it can take a flag which specifies an
>> > IP address to bind to. Is there anyway that this functionallity could
>> > be make official? (So that it doesn't break on the next cvsup!)
>>
>> All you have to do is start named before the aliases.
>>
>> Danny
>
>Which it doesn't do in the new /etc/rc* files. :(
>BTW I want it to bind to one of the aliases. It doesn't matter if it also
>binds to the network address of the card.
Upgrade to BIND 8.1 and use the "listen-on" directive.
listen-on port 53 { any; }; // listen for queries on port 53 on
// any interface on the system
// (i.e. all interfaces). The
// "port 53" is optional; if you
// don't specify a port, port 53
// is assumed.
/*
* Multiple listen-on statements are allowed. Here's a more
* complicated example:
*/
/*
listen-on { 5.6.7.8; }; // listen on port 53 on interface
// 5.6.7.8
listen-on port 1234 { // listen on port 1234 on any
!1.2.3.4; // interface on network 1.2.3
1.2.3/24; // netmask 255.255.255.0, except for
}; // interface 1.2.3.4.
*/
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705231719.LAA12697>
