From owner-freebsd-net@FreeBSD.ORG Mon Aug 11 17:40:27 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88D82106567E for ; Mon, 11 Aug 2008 17:40:27 +0000 (UTC) (envelope-from prvs=pschmehl_lists=102d11afb@tx.rr.com) Received: from ip-relay-002.utdallas.edu (ip-relay-002.utdallas.edu [129.110.20.112]) by mx1.freebsd.org (Postfix) with ESMTP id 5874D8FC1D for ; Mon, 11 Aug 2008 17:40:27 +0000 (UTC) (envelope-from prvs=pschmehl_lists=102d11afb@tx.rr.com) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.31,321,1215406800"; d="scan'208";a="5117720" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-002.utdallas.edu with ESMTP; 11 Aug 2008 12:11:48 -0500 Received: from utd65257.utdallas.edu (utd65257.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTPSA id 5C40623DF2; Mon, 11 Aug 2008 12:11:48 -0500 (CDT) Date: Mon, 11 Aug 2008 12:11:48 -0500 From: Paul Schmehl To: Ian Smith , Onur Aslan Message-ID: In-Reply-To: <20080812001925.I24964@sola.nimnet.asn.au> References: <20080812001925.I24964@sola.nimnet.asn.au> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-net@freebsd.org Subject: Re: Named Listen IP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2008 17:40:27 -0000 --On Tuesday, August 12, 2008 01:08:46 +1000 Ian Smith wrote: > On Mon, 11 Aug 2008, Onur Aslan wrote: > > I am using named for a ns server. Named listening all ips for my > > machine. But when i reboot machine, my ppp network connecting after > > started named. named doesn't listening my ppp network's ip. Do you > > have a solution? > > Assuming you have a fixed IP address when ppp comes up, specify that > address in named's listen-on list. When ppp has connected, assigned its > addresses and set the default route, have ppp run an up-script that runs > '/etc/rc.d/named restart'. > > named will then see the ppp interface and listen on that address as well > as any others specified, like localhost. ppp runs its up/down scripts > as root; you don't need (or want) to have named running as root. > Just wondering - couldn't this be fixed by adding the keyword "network" to the REQUIRE portion of the /etc/rc.d/named script? (Right now it contains SERVERS and cleanvar. I'm suggesting adding network.) -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* Check the headers before clicking on Reply.