Caching Only Nameserver with Bind9?
Shawn Laemmrich
swlaemmr at mtu.edu
Sat Mar 20 18:59:26 UTC 2004
Trying to get a caching-only nameserver srtup with bind9. I'm using
the directions directly out of the docs included with the release, and
not getting anywhere.
3.1.1. A Caching-only Nameserver
The following sample configuration is appropriate for a caching-only name server for use by clients internal to a corporation. All queries from outside clients are refused.
// Two corporate subnets we wish to allow queries from.
acl "corpnets" { 192.168.4.0/24; 192.168.7.0/24; };
options {
directory "/etc/namedb"; // Working directory
pid-file "named.pid"; // Put pid file in working dir
allow-query { "corpnets"; };
};
// Root server hints
zone "." { type hint; file "root.hint"; };
// Provide a reverse mapping for the loopback address 127.0.0.1
zone "0.0.127.in-addr.arpa" {
type master;
file "localhost.rev";
notify no;
};
I used the above, and changed the ip address ranges as appropriate
(10.0.0.* network). However, when I try to do any nslookups on a client
I get:
*** Can't find server name for address 10.0.0.10: Non-existent host/domain
10.0.0.10 is my nameserver. What am I doint wrong?
Thanks
Shawn
More information about the bind-users
mailing list