Internal root name server

destination70 at hotmail.com destination70 at hotmail.com
Tue Nov 2 12:00:20 UTC 1999


Hi all,
I am building an internal network behind a firewall (Linux+ipchains),
leaving a registered name server outside it.
To make name resolution working inside, I have set up a box (bind 8.2.2)
as a primary NS and root NS.

In /etc/named.conf I have:

options {
 directory "/var/named";
 forwarders { xxx.yyy.zzz.qqq; };
};

zone "." in {
 type hint;
 file "db.root";
};

where xxx.yyy.zzz.qqq is the registered name server.

In db.root I have:

@ IN SOA ns.mydomain.local. hostmaster.mydomain.local. (
 1999110201 ; serial
 10800 ; refresh
 3600 ; retry
 604800 ; expire
 86400 ) ; TTL

IN NS ns.mydomain.local.

ns.mydomain.local. 604800 IN A 192.168.150.2

mydomain.local. 86400 IN NS ns.mydomain.local.

150.168.192.in-addr.arpa. 86400 IN NS ns.mydomain.local.

In /etc/resolv.conf I have:

domain mydomain.local
nameserver 192.168.150.2

Name resolution works well from inside but I get some error messages in
the logs when I lookup a non-cached address:

named[6800]: sysquery: no addrs found for root NS ()

1) What does it mean and how can I fix it?
2) Is it the right way to setup a DNS behind a firewall?

Thanks,

F.


Sent via Deja.com http://www.deja.com/
Before you buy.


More information about the bind-users mailing list