internal and external DNS servers: no addrs found for root NS ()

Kamesh Patel cs97kkp at brunel.ac.uk
Thu Mar 1 15:33:00 UTC 2001


Setup a root zone of type hint and specify a file. Create this file
respectively, under linux it should be stored in /var/named/ this file
should hold the addresses of all of the head dns servers such as the one
hosted by your IP!!! that should do the job!

e.g the zone in your named.conf file

zone "." {
        type hint;
        file "named.ca";
};

the contents on /var/named/named.ca

; <<>> DiG 8.3 <<>>
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13
;; QUERY SECTION:
;;      ., type = NS, class = IN

;; ANSWER SECTION:
.                       5d23h55m16s IN NS  H.ROOT-SERVERS.NET.
.                       5d23h55m16s IN NS  C.ROOT-SERVERS.NET.
.                       5d23h55m16s IN NS  G.ROOT-SERVERS.NET.
.                       5d23h55m16s IN NS  F.ROOT-SERVERS.NET.
.                       5d23h55m16s IN NS  B.ROOT-SERVERS.NET.
.                       5d23h55m16s IN NS  J.ROOT-SERVERS.NET.
.                       5d23h55m16s IN NS  K.ROOT-SERVERS.NET.
.                       5d23h55m16s IN NS  L.ROOT-SERVERS.NET.
.                       5d23h55m16s IN NS  M.ROOT-SERVERS.NET.
.                       5d23h55m16s IN NS  I.ROOT-SERVERS.NET.
.                       5d23h55m16s IN NS  E.ROOT-SERVERS.NET.
.                       5d23h55m16s IN NS  D.ROOT-SERVERS.NET.
.                       5d23h55m16s IN NS  A.ROOT-SERVERS.NET.

;; ADDITIONAL SECTION:
H.ROOT-SERVERS.NET.     5d23h55m16s IN A  128.63.2.53
C.ROOT-SERVERS.NET.     5d23h55m16s IN A  192.33.4.12
G.ROOT-SERVERS.NET.     5d23h55m16s IN A  192.112.36.4
F.ROOT-SERVERS.NET.     5d23h55m16s IN A  192.5.5.241
B.ROOT-SERVERS.NET.     5d23h55m16s IN A  128.9.0.107
J.ROOT-SERVERS.NET.     6d23h55m16s IN A  198.41.0.10
K.ROOT-SERVERS.NET.     6d23h55m16s IN A  193.0.14.129
L.ROOT-SERVERS.NET.     6d23h55m16s IN A  198.32.64.12
M.ROOT-SERVERS.NET.     6d23h55m16s IN A  202.12.27.33
I.ROOT-SERVERS.NET.     5d23h55m16s IN A  192.36.148.17
E.ROOT-SERVERS.NET.     5d23h55m16s IN A  192.203.230.10
D.ROOT-SERVERS.NET.     5d23h55m16s IN A  128.8.10.90
A.ROOT-SERVERS.NET.     5d23h55m16s IN A  198.41.0.4

;; Total query time: 5 msec
;; FROM: server.domainname to SERVER: default -- 10.10.10.1
;; WHEN: Tue Feb 13 17:19:34 2001
;; MSG SIZE  sent: 17  rcvd: 436



This is what we did on our network!
hope it helps

Kam
----------------------









-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
Behalf Of Blake Sanders
Sent: 14 February 2001 14:22
To: bind-users
Subject: internal and external DNS servers: no addrs found for root NS
()


 First, I would like to say hello, and I hope everyone is fine.
Second, my question:

I setup a primary (root) and secondary internal BIND servers running on
Solaris 2.7.  Everything was running great until I decided I needed them to
answer requests for external hosts.  From your experiences, what would be
the best way to setup up my internal DNS servers, to query a primary and
secondary DNS server provided by our ISP (the ISP is currently hosting our
external DNS)?

I tried adding forwarders to my conf file, however I started receiving
messages because it cannot find addresses for the root servers.

>From what I understand, when named starts, it will query the forwarders for
the root servers addr first, and since the external NS do not exist in my
root.ca file, I receive these messages:

/var/adm/messages

sysquery: no addrs found for root NS ()

I guess you can see where Im going with this.  Maybe a little nudge in the
right direction will help me figure out the rest.

Thanks in advance!

Blake Sanders    blake06 at earthlink.net








More information about the bind-users mailing list