From owner-freebsd-questions Sun Mar 16 9:17: 7 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD03337B401 for ; Sun, 16 Mar 2003 09:17:05 -0800 (PST) Received: from lakemtao04.cox.net (lakemtao04.cox.net [68.1.17.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1AC643F75 for ; Sun, 16 Mar 2003 09:17:04 -0800 (PST) (envelope-from tcornpropst@cox.net) Received: from beastie.cornpropst.net ([68.100.175.64]) by lakemtao04.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20030316171704.PHSW22825.lakemtao04.cox.net@beastie.cornpropst.net>; Sun, 16 Mar 2003 12:17:04 -0500 From: "Trevor S. Cornpropst" Reply-To: tcornpropst@acm.org To: "DJ Boris" , "freebsd-questions" Subject: Re: how can I stop named to dial out at startup Date: Sun, 16 Mar 2003 12:17:03 -0500 User-Agent: KMail/1.5 References: <003601c2ebaf$77fd2c40$85cd07c4@d> In-Reply-To: <003601c2ebaf$77fd2c40$85cd07c4@d> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303161217.03476.tcornpropst@cox.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sunday 16 March 2003 06:29, DJ Boris wrote: > hi there, > > I use named to only forward dns requests (if any). every time I start it > (manually from the command line) it dials out. then the ppp times out after > 3 mins, connection gets dropped and everything geos back to normal. as soon > as a dns request arrives ppp kicks in.. and so on and so on. > > in named.conf I have forward only and have set forwarders. so everything is > OK but just that initial dial out at start up is annoying me. > > i have read named.conf manual and there is says that you can put "dialup > yes" have done that but no luck and I think this option is more for proper > dns and doesn't apply to dns forwarding > > any ideas? > > thanx > dj_boris > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message You want to configure this behavior in ppp. ppp offers packet filtering with the ability to allow/deny packets during certain states of operation, one of them being "dial". See /usr/share/examples/ppp/ppp.conf.sample around line 280 to see how you prevent DNS packets from initiating a dial up. man ppp may also shed some light on your problem. Trevor Cornpropst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message