My first DNS server
Daniel O'Connor
doconnor at gsoft.com.au
Thu Jun 17 04:43:10 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 16 Jun 2004 12:22, Joshua Lewis wrote:
> I am setting up BIND9 (My first Unix DNS server) and was setting up the
> forwarders section of the namedb.conf. I was wondering if I should leave
> the default 127.0.0.1 in the list or if I should remove it. I am assuming
> I should remove it as if it needs to forward a request then it obviously
> doesn't have the answer.
Here's the config for a bind that will respond to DNS requests from other machine.
options {
directory "/etc/namedb";
};
zone "." {
type hint;
file "named.root";
};
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "localhost.rev";
};
If you have an upstream DNS server you can tell BIND about it by putting
the following inside the options section ->
forwarders {
1.2.3.4;
};
Hope that helps.
- --
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFA0SFH5ZPcIHs/zowRAq2dAKCd/5bmjYLo9ZeeFE8XTelKlTeyUgCgnefn
ZGIjSmyJ6LUFTb86vTgv+aI=
=y1Yx
-----END PGP SIGNATURE-----
More information about the freebsd-hackers
mailing list