From owner-freebsd-questions Thu Jan 4 21:55:28 2001 From owner-freebsd-questions@FreeBSD.ORG Thu Jan 4 21:55:26 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc2.il.home.com (ha2.rdc2.il.home.com [24.2.1.36]) by hub.freebsd.org (Postfix) with ESMTP id CB7D737B400 for ; Thu, 4 Jan 2001 21:55:25 -0800 (PST) Received: from marx.marvic.chum ([24.17.229.11]) by mail.rdc2.il.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20010105055524.PTIB618.mail.rdc2.il.home.com@marx.marvic.chum> for ; Thu, 4 Jan 2001 21:55:24 -0800 Received: (from vcardona@localhost) by marx.marvic.chum (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id XAA29947 for freebsd-questions@FreeBSD.ORG; Thu, 4 Jan 2001 23:56:57 -0600 Date: Thu, 4 Jan 2001 23:56:57 -0600 From: "Victor R. Cardona" To: freebsd-questions@FreeBSD.ORG Subject: Re: Using BIND in a local, bogus network Message-ID: <20010104235657.A24579@home.com> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <01010418384900.00606@mars.walker.dom> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <01010418384900.00606@mars.walker.dom>; from kew@icehouse.net on Thu, Jan 04, 2001 at 06:38:49PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Jan 04, 2001 at 06:38:49PM -0800, Keith Walker wrote: > I've been perusing all of the FAQ's, reading TFM's, answered a few of some > other folk's questions, now it's my turn to ask: > > I hope this is detailed enough. > > 1. I have a local network, consisting of three machines, one of which is a > FreeBSD machine running as a firewall/NAT thingie. > > 2. The firewall is connected to the net through a dial up modem. > > 3. The LAN is set up on 192.168.0.x/24 > > What I want to do is have a bogus domain, like "family.bog" (a new TLD > invented just for bogus sites like mine :-), with the other machines on the > LAN having names such as "pepsi.family.bog" and "coke.family.bog". > > In my perfect world, the firewall would have a named running that would be a > domain master for the bogus network, would cache "real" addresses, and just > generally, DTRT. > > I've had *some* success with this, but I cannot get the nameserver to quit > forcing dial-outs, keeping the modem connected almost 24/7. > > Ok, so: > > 1) How come the named program keeps dialing out? > 2) How can I prevent this? > 3) Are nameservers designed to run only on full time systems? > 4) Is there a better way of doing this? I have a similar setup, but mine is through a cable modem. I am guessing that your named dials out when it gets a request for a ip address from one of your hosts. You might try setting up a caching only nameserver. Then it would not try to answer queries about unknown hosts. HTH, Victor Cardona -- GPG Key fingerprint = 62B1 7995 A830 432C 74E8 1337 EDDB E682 3C76 7404 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message