Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jun 1997 20:21:11 +0100
From:      Brian Somers <brian@awfulhak.org>
To:        h.wickhorst@elmshorn.netsurf.de
Cc:        questions@freebsd.org
Subject:   Re: named and root.cache 
Message-ID:  <199706291921.UAA03911@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Sun, 29 Jun 1997 14:58:28 +0200." <199706291258.OAA01836@thor.wnet> 

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> 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 <brian@awfulhak.org>, <brian@freebsd.org>
      <http://www.awfulhak.org>;
Don't _EVER_ lose your sense of humour....





Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?199706291921.UAA03911>