From owner-freebsd-hackers Fri May 23 10:19:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA02651 for hackers-outgoing; Fri, 23 May 1997 10:19:01 -0700 (PDT) Received: from mars.aros.net (mars.aros.net [207.173.16.20]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA02646 for ; Fri, 23 May 1997 10:18:59 -0700 (PDT) Received: from shell.aros.net (root@shell.aros.net [207.173.16.19]) by mars.aros.net (8.8.5/8.8.4) with ESMTP id LAA14632; Fri, 23 May 1997 11:15:43 -0600 (MDT) Received: from shell.aros.net (msanders@localhost.aros.net [127.0.0.1]) by shell.aros.net (8.8.5/8.8.5) with ESMTP id LAA12697; Fri, 23 May 1997 11:19:01 -0600 (MDT) Message-Id: <199705231719.LAA12697@shell.aros.net> X-Attribution: msanders To: Josef Karthauser cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Named -- Specifying addresses to bind to. In-reply-to: Your message of "Fri, 23 May 1997 14:05:04 BST." <19970523140504.34429@pavilion.net> X-Mailer: MH 6.8.3 Date: Fri, 23 May 1997 11:19:00 -0600 From: "Michael K. Sanders" Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. */