[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
Tue Mar 31 13:34:00 CEST 2009


The following issue has been SUBMITTED. 
====================================================================== 
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:                     new
Moonbase Version:           20090331.11 
Core Tools:                 Lunar 
Core Tools Version:         20090331 
====================================================================== 
Date Submitted:             03-31-2009 13:34 CEST
Last Modified:              03-31-2009 13:34 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/
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-31-09 13:34  brebs          New Issue                                    
03-31-09 13:34  brebs          Moonbase Version          => 20090331.11     
03-31-09 13:34  brebs          Core Tools                => Lunar           
03-31-09 13:34  brebs          Core Tools Version        => 20090331        
======================================================================



More information about the Lunar-bugs mailing list