Skip site navigation (1)Skip section navigation (2)
Date:      14 Oct 2002 21:30:51 +0100
From:      Stacey Roberts <stacey@Demon.vickiandstacey.com>
To:        Ceri Davies <setantae@submonkey.net>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Caching namesever in sandbox not resolving local boxes
Message-ID:  <1034627454.363.48.camel@Demon.vickiandstacey.com>
In-Reply-To: <20021014191411.GA18690@submonkey.net>
References:  <1034622133.363.34.camel@Demon.vickiandstacey.com>  <20021014191411.GA18690@submonkey.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-5FCwvZ5STDG+WPq2riz4
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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
#=20

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
#=20

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

# more named.localhost=20
$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
#=20

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.
>=20
> > 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.
>=20
> Let us know exactly what you want first ;)
>=20
> Ceri
> --=20
> you can't see when light's so strong
> you can't see when light is gone
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
--=20
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com


--=-5FCwvZ5STDG+WPq2riz4
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQEVAwUAPaspeJvQeubckvvXAQEnzwf/WZpNMM3GM6wgbu31c4V1BEFOoc2b2apU
6GWT/w1DnpG1RgxMlJWL1hW1lBTgDlnBCCWHRCylL7e8WqMTv+M+zxZ/1ZIhRhfO
zoV0SnJgl7RO5BALzLY61ioVwfjpRALSFub5of2Hg2CKvHfYlN/c6ELr8jJVHkv7
oPxJaOxTIu0+Orrt4dwMXyUOC2dmqW1WjipOlTDD8CpM54Gt6buZiUDHzEx2f+TX
FuZXy6gmxSKElDKYpFSSmHP6TgEoITg8f7AFhwPiDs/PX6J09bc2qxoHoiw8dIzC
rtCL7DhC0bQACLCjc86ZsWBW8sWqeo37DcwtdshdBDZi7s5m98K9Iw==
=5hNz
-----END PGP SIGNATURE-----

--=-5FCwvZ5STDG+WPq2riz4--


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?1034627454.363.48.camel>