Hi Ceri,
   Thanks for getting back to me (Nick as well!), and sorry about the
"top-post" for this one.

>From what I've learnt here, it would seem as if I've not thought this
one out completely, and haven't got the "right kind" of nameserver
set-up.

You mentioned that it'd be better to explain what I would like to
achieve: I'd like to have a named set-up that allows me to host DNS
information for my private lan, but also one that facilitates name
resolution of external hosts (via my ISP's upstream NS's).

What I did was "literally" follow the handbook with respect to even the
naming convention used, so that /etc/namedb has this:
# ls -la
total 16
drwxr-xr-x   8 root  wheel   512 Oct 12 10:30 .
drwxr-xr-x  17 root  wheel  2048 Oct 12 10:33 ..
-rw-r--r--   1 root  wheel   427 Jul 24 07:31 PROTO.localhost-v6.rev
-rw-r--r--   1 root  wheel   423 Sep 18  2001 PROTO.localhost.rev
drwxr-xr-x   2 root  wheel   512 Sep 15 20:51 bin
drwxr-xr-x   2 root  wheel   512 Oct 12 10:41 dev
drwxr-xr-x   2 root  wheel   512 Sep 15 20:35 etc
-rw-r--r--   1 root  wheel  1032 Jul 24 07:32 make-localhost
drwxr-xr-x   2 root  wheel   512 Sep 15 20:36 master
lrwxr-xr-x   1 root  wheel    14 Sep 15 20:35 named.conf ->
etc/named.conf
-rw-r--r--   1 root  wheel  2843 Oct 12 10:30 named.root
drwxr-xr-x   2 bind  bind    512 Sep 15 20:34 slave
drwxr-xr-x   4 root  wheel   512 Sep 15 20:34 var
# 

With the following in /etc/namedb/etc:
# ls -la /etc/namedb/etc
total 8
drwxr-xr-x  2 root  wheel   512 Sep 15 20:35 .
drwxr-xr-x  8 root  wheel   512 Oct 12 10:30 ..
-r--r--r--  1 root  wheel  1323 Sep 15 20:35 localtime
-rw-r--r--  1 root  wheel  3544 Sep 15 21:14 named.conf
# 

..., and the only zone file I have at the moment is a copy of that
suggested in the handbook:

# more named.localhost 
$ORIGIN localhost.
$TTL 6h
@       IN      SOA     localhost.      postmaster.localhost.   (
                        1       ; serial
                        3600    ; refresh
                        1800    ; retry
                        604800  ; expiration
                        3600 )  ; minimum
        IN      NS      localhost.
        IN      A       127.0.0.1
# 

What I'd appreciate is information on whether or not I can adjust my
bind set-up so as to achieve my intentions from where I am at the
moment.

Thanks so much for taking the time (both of you).

Stacey

<snip>
On Mon, 2002-10-14 at 20:14, Ceri Davies wrote:

> I think that's the case.
> A caching nameserver will only query other nameservers, so nobody else is
> serving DNS for your local machines, then you'll need to.
> 
> > I'm willing to post my named.conf file and any others that might prove
> > helpful to anyone willing to help. Not sure what will be of use at this
> > point, so do let me know, please.
> 
> Let us know exactly what you want first ;)
> 
> Ceri
> -- 
> you can't see when light's so strong
> you can't see when light is gone
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to