From owner-freebsd-questions Sun Jun 29 12:30:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA14638 for questions-outgoing; Sun, 29 Jun 1997 12:30:50 -0700 (PDT) Received: from punt-2.mail.demon.net (relay-7.mail.demon.net [194.217.242.9]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id MAA14633 for ; Sun, 29 Jun 1997 12:30:46 -0700 (PDT) Received: from awfulhak.demon.co.uk ([158.152.17.1]) by punt-2.mail.demon.net id aa1223884; 29 Jun 97 20:26 BST Received: from awfulhak.demon.co.uk (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id UAA03911; Sun, 29 Jun 1997 20:21:12 +0100 (BST) Message-Id: <199706291921.UAA03911@awfulhak.demon.co.uk> X-Mailer: exmh version 1.6.9 8/22/96 To: h.wickhorst@elmshorn.netsurf.de cc: questions@freebsd.org Subject: Re: named and root.cache In-reply-to: Your message of "Sun, 29 Jun 1997 14:58:28 +0200." <199706291258.OAA01836@thor.wnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 29 Jun 1997 20:21:11 +0100 From: Brian Somers Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Hi, > > My configuration is to run an own nameserver and ppp -auto on > an 2.2.1 box. > > While booting 'ppp -auto provider' is started. But named causes > a dial out sending packets to port 53 to all hosts listed in > 'root.cache'. I understand that this is a nameserver request, > but i don't want the system to dial out at boot time only to > resolv this host addresses. On the other hand i cannot use > a packet filter to deny dialing on requests to port 53, because > if my nameserver cannot resolve an external address, it should > ask my provider's nameserver. > > I used the sample config files for named, and added records > for my own network. > > How can i stop this nameserver requests ? Your best bet is to monitor the line (set log +tcp/ip) and try to figure out the difference between packets that you do and don't want to trigger dialing. If there's no difference, I'm afraid you're sunk - can't have your cake & eat it. Personally, I don't give named a named.root. I just use forwarders x.x.x.x y.y.y.y options forward-only Where x.x.x.x and y.y.y.y are my ISPs cache nameservers. > Thanks, > Henning > > > -- > ------------------------------------------------------------------ > Henning Wickhorst > Elmshorn, Germany E-Mail: h.wickhorst@elmshorn.netsurf.de > ------------------------------------------------------------------ -- Brian , Don't _EVER_ lose your sense of humour....