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
Sun Oct 24 06:14:35 UTC 1999


	Oops, I forgot about that bug.  BIND 8 prior to 8.2.2 tries to
	prime root nameservers (master/slave) when it doesn't need to
	resulting in this error message.  Get BIND 8.2.2 where this bug
	is fixed.

	You also need a "137.121.42.in-addr.arpa" zone.

	Mark

> 
>  Hi,
> 
>   I did it, but I still get the "No root nameservers for class IN" :
> 
> 1033 [1] # nslookup harrlod.on.ca 42.121.137.34
> *** Can't find server name for address 42.121.137.34: Server failed
> *** Default servers are not available
> 
> ...
> Oct 24 01:20:10 fred named[20451]: master zone "harrlod.on.ca" (IN) loaded (s
> erial 1999102401)
> Oct 24 01:20:10 fred named[20451]: listening on [42.121.137.34].53 (eth1)
> Oct 24 01:20:10 fred named[20451]: Forwarding source address is [0.0.0.0].105
> 5
> Oct 24 01:20:10 fred named[20452]: Ready to answer queries.
> Oct 24 01:20:10 fred named[20452]: No root nameservers for class IN
> Oct 24 01:20:11 fred named[20452]: sysquery: findns error (SERVFAIL) on ?
> 
>  if I say
> zone "." { type hint  ; file "root.zone"; };
>  instead of 
> zone "." { type master; file "root.zone"; };
>  I get :
> Oct 24 01:29:58 fred named[20492]: sysquery: query() contains our address (ns
> :42.121.137.34)
> Oct 24 01:29:58 fred named[20492]: sysquery: query() No possible A RRs
>  and same nslookup error
> 
>  (config shown below)
> 
> 
   what am I doing wrong ?
> 
>      Thanx,
> 
>            Jan
> 
> On Sat, 23 Oct 1999 marka at isc.org wrote:
> 
> > >  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
> 
>   here is my config :
> 
> named.conf :
> options {
>         directory "/var/named/generated";
>         pid-file "/var/run/named.pid";
>         allow-transfer { none; };
>         listen-on { 42.121.137.34; };
> };
> zone "." {
>         type master;
>         file "root.zone";
> };
> zone "0.0.127.in-addr.arpa" {
>         type master;
>         file "named.local";
> };
> ...
> zone "harrlod.on.ca" {
>         type master;
>         file "harrlod.on.ca.zone";
> };
> 
> root.zone :
> @               SOA     ns.localhost    hostmaster.localhost (
>                         1900000000      ; Serial
>                         360000          ; Refresh period
>                         3600            ; Retry refresh this often
>                         3600000         ; Expiration period
>                         36000           ; Minimum TTL
>                         )
> 
> @                       NS              ns
> ns                      A               42.121.137.34
> 42.121.137.34.          PTR             ns
> 0.0.127.in-addr.arpa    NS              ns
> harrlod.on.ca           NS      ns
> 
> 
> 
--
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