From owner-freebsd-questions Fri Feb 4 19:39:36 2000 Delivered-To: freebsd-questions@freebsd.org Received: from java.dpcsys.com (java.dpcsys.com [206.16.184.7]) by builder.freebsd.org (Postfix) with ESMTP id 2E7F344AA for ; Fri, 4 Feb 2000 19:39:34 -0800 (PST) Received: from localhost (dan@localhost) by java.dpcsys.com (8.9.1a/8.9.1) with SMTP id TAA25941; Fri, 4 Feb 2000 19:39:54 -0800 (PST) Date: Fri, 4 Feb 2000 19:39:54 -0800 (PST) From: Dan Busarow To: Joe Bo Cc: freebsd-questions@FreeBSD.ORG Subject: Re: help me with my DNS please? In-Reply-To: <2.2.32.20000205014603.009b29c8@netmail.home.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 4 Feb 2000, Joe Bo wrote: > The setup is FreeBSD v3.2 running natd and named with 2 network cards, > one serving several PCs on a private network, the other on a cable > modem on the public network. > > The private network is a 192.168.1.255 type thing. > The PCs only know the private network card address (192.168.1.1) for DNS. > > I want the FreeBSD machine to only use my upstream DNS providers > (provided by my cable network). Unless there is a reason for using > other DNS providers. Read the comments in /etc/namedb/named.conf, specifically about forward only and forwarders. > Do I want to set up named.conf to be a "primary" or "secondary" server? > I think I'm set up as a "primary" now, but am not sure. You want to be a master (primary) for 0.0.127.in-addr.arpa and possibly 1.168.192.in-addr.arpa. The default named.conf already has the first setup for you if you run make-localhost > How does named.conf relate with /etc/networks, localhost.rev and > resolv.conf? Are there other interacting configuration files I > may need to edit (besides inetd)? /etc/networks is unrelated localhost.rev is the master zone for 0.0.127.in-addr.arpa /etc/resolv.conf should contain an entry for nameserver 127.0.0.1 Dan -- Dan Busarow 949 443 4172 Dana Point Communications, Inc. dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message