[Lunar-bugs] [Lunar Linux 0000386]: bind creates useless named.root which does not contain IP addresses

Lunar bug reports list lunar-bugs at lunar-linux.org
Thu Sep 10 01:12:16 CEST 2009


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.lunar-linux.org/view.php?id=386 
====================================================================== 
Reported By:                brebs
Assigned To:                
====================================================================== 
Project:                    Lunar Linux
Issue ID:                   386
Category:                   module
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Moonbase Version:           20090331.11 
Core Tools:                 Lunar 
Core Tools Version:         20090331 
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-03-31 13:34 CEST
Last Modified:              2009-09-10 01:12 CEST
====================================================================== 
Summary:                    bind creates useless named.root which does not
contain IP addresses
Description: 
POST_INSTALL for bind contains:

if (dig . ns > named.root) ; then
    (Use that named.root)

Which it should not do, because "dig . ns" on my PC, with "nameserver
208.67.222.222" (which is one of OpenDNS's servers) in /etc/resolv.conf
creates only this:

; <<>> DiG 9.6.0-P1 <<>> . ns
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3752
;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;.				IN	NS

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

;; Query time: 33 msec
;; SERVER: 208.67.222.222#53(208.67.222.222)
;; WHEN: Tue Mar 31 12:27:08 2009
;; MSG SIZE  rcvd: 228


There is no ";; ADDITIONAL SECTION:" containing IP addresses there, so
bind is useless because it doesn't know the IP addresses of the root
servers, and so can't contact them.

That "dig" command should not be used - instead, simply always run:
cp $SCRIPT_DIRECTORY/named.root /var/named/
====================================================================== 

---------------------------------------------------------------------- 
 (0000914) brebs (developer) - 2009-09-08 15:53
 http://bugs.lunar-linux.org/view.php?id=386#c914 
---------------------------------------------------------------------- 
This bug was fixed in April 2009 by florin, and can be closed :) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-31 13:34 brebs          New Issue                                    
2009-03-31 13:34 brebs          Moonbase Version          => 20090331.11     
2009-03-31 13:34 brebs          Core Tools                => Lunar           
2009-03-31 13:34 brebs          Core Tools Version        => 20090331        
2009-09-08 15:53 brebs          Note Added: 0000914                          
2009-09-10 01:12 brebs          Status                   new => resolved     
2009-09-10 01:12 brebs          Resolution               open => fixed       
======================================================================



More information about the Lunar-bugs mailing list