Date: Mon, 11 Aug 2008 12:11:48 -0500 From: Paul Schmehl <pschmehl_lists@tx.rr.com> To: Ian Smith <smithi@nimnet.asn.au>, Onur Aslan <onuraslan@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: Named Listen IP Message-ID: <E5BD8F154040F23CFF40EF54@utd65257.utdallas.edu> In-Reply-To: <20080812001925.I24964@sola.nimnet.asn.au> References: <b3fd891c0808110235x69c72f7ahb2a88cece55535c@mail.gmail.com> <20080812001925.I24964@sola.nimnet.asn.au>
next in thread | previous in thread | raw e-mail | index | archive | help
--On Tuesday, August 12, 2008 01:08:46 +1000 Ian Smith <smithi@nimnet.asn.au> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E5BD8F154040F23CFF40EF54>