[Newbie] BIND8 Configuration

Silvio Wangler swangler at swissonline.ch
Mon Jan 27 22:45:01 UTC 2003


Hello Kevin,

Kevin Darcy wrote:
> Well, you're trying to load the "universe" zone from a file called 
> "localhost.zone", which probably doesn't have the appropriate zone data 
> in it. If this is true, then there should have been all sorts of ugly 
> log messages about it -- you should really get into the habit of 
> watching your logs whenever your change anything.
> Also, you have no "domain" directive in the /etc/resolv.conf so I'm not 
> sure why you thought "sun" without any domain on it would work...

Thanks a lot for your support. You were totally right. This copy and 
paste habbit can really cause some fataly errors.

I think now its working (forward and reverse lookup). But why do I still 
get these error log messages.

Jan 27 23:42:31 sun named[3680]: starting (/etc/named.conf).  named 
8.2.4-REL Wed Nov 13 11:36:10 UTC 2002 
root at D251:/usr/src/packages/BUILD/bind8-8.2.4/bin/named
Jan 27 23:42:31 sun named[3680]: master zone "localhost" (IN) loaded 
(serial 42)
Jan 27 23:42:31 sun named[3680]: master zone "0.0.127.in-addr.arpa" (IN) 
loaded (serial 1)
Jan 27 23:42:31 sun named[3680]: hint zone "" (IN) loaded (serial 0)
Jan 27 23:42:31 sun named[3680]: master zone "10.10.10.in-addr.arpa" 
(IN) loaded (serial 42)
Jan 27 23:42:31 sun named[3680]: master zone "universe" (IN) loaded 
(serial 1)
Jan 27 23:42:31 sun named[3680]: listening on [127.0.0.1].53 (lo)
Jan 27 23:42:31 sun named[3680]: listening on [10.10.10.1].53 (eth1)
Jan 27 23:42:31 sun named[3680]: Forwarding source address is [0.0.0.0].1036
Jan 27 23:42:31 sun named[3681]: group = named
Jan 27 23:42:31 sun named[3681]: user = named
Jan 27 23:42:31 sun named[3681]: Ready to answer queries.
Jan 27 23:42:31 sun named[3681]: sysquery: no addrs found for root NS 
(F.ROOT-SERVERS.NET)

I have updated the file /var/named/root.hint like that

 > cp root.hint root.hint~
 > dig @A.ROOT-SERVER.NET > root.hint

and this is the result..

[/var/named/root.hint]
; <<>> DiG 8.3 <<>> @A.ROOT-SERVERS.NET
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
;; flags: qr aa rd; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13
;; QUERY SECTION:
;;      ., type = NS, class = IN

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

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

;; Total query time: 112 msec
;; FROM: sun to SERVER: A.ROOT-SERVERS.NET  198.41.0.4
;; WHEN: Mon Jan 27 22:29:24 2003
;; MSG SIZE  sent: 17  rcvd: 436

Best regards,
Silvio




More information about the bind-users mailing list