Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Feb 2000 19:39:54 -0800 (PST)
From:      Dan Busarow <dan@dpcsys.com>
To:        Joe Bo <ibjoe@home.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: help me with my DNS please?
Message-ID:  <Pine.BSF.3.96.1000204193536.23910A-100000@java.dpcsys.com>
In-Reply-To: <2.2.32.20000205014603.009b29c8@netmail.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1000204193536.23910A-100000>