No root nameservers for class IN (but I really don't want any in there)
Mark_Andrews at isc.org
Mark_Andrews at isc.org
Fri Oct 22 14:23:36 UTC 1999
>
> Hi,
>
> in my named.conf I have :
> =================================
> options {
> directory "/var/named";
> pid-file "/var/run/named.CABLE.pid";
> allow-transfer { none; };
> listen-on { 10.20.30.40; };
> };
>
> zone "0.0.127.in-addr.arpa" {
> type master;
> file "named.local";
> };
>
> zone "." {
> type hint;
> file "named.ca";
> };
> =================================
>
>
> I'm getting "No root nameservers for class IN" unless I put into
> named.conf also :
> =================================
> zone "." {
> type hint;
> file "named.ca";
> };
> =================================
>
> I don't want this named to contact root servers. I want it to provide
> and resolve the abc.com without knowing nor contacting any root servers.
> This host doesn't even have access to the Net, so even once I put the "."
> zone in there, I still get :
> sysquery: sendto([198.41.0.10].53): Network is unreachable
>
> how do I get the named to resolve the abc.com without having to put the
> named.ca into the config file ?
All DNS universes require root servers. As your univers does not
currently have one you need to supply one.
zone "." {
type master;
file "root.db";
}
root.db:
$TTL 3600
@ IN SOA ...
IN NS ...
abc.com IN NS ...
0.0.127.in-addr.arpa IN NS ...
The root zone is like any other zone. It has SOA and NS records
delegations to child zones (abc.com and 0.0.127.in-addr.arpa in this
case) and glue record for the root NS RRset and the child zones.
Mark
>
>
> Thanx,
>
> Jan
>
>
> PS : do I also have to have in the config file
> zone "0.0.127.in-addr.arpa" {
> type master;
> file "named.local";
> };
> ? or is there a way around it ?
>
> -- Gospel of Jesus is the saving power of God for all who believe --
> ## To some, nothing is impossible. ##
> http://Vicherek.Waterloo.on.ca/
>
>
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: marka at isc.org
More information about the bind-users
mailing list