Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 108123

Summary: net-dns/bind-9.3.1-r6: pri/localhost.zone file weird
Product: Gentoo Linux Reporter: Martin Mokrejš <mmokrejs>
Component: [OLD] ServerAssignee: Konstantin Arkhipov (RETIRED) <voxus>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Mokrejš 2005-10-04 14:36:58 UTC
Hi,
  I have updated bind on my system and probably after a while have decided to
pick-up the new zone file. When comparing it with the old one, I doubt what is
the "ns" for? Why doesn't the NS record point directly back to 127.0.0.1?

# diff -u -w pri/localhost pri/localhost.zone 
--- pri/localhost       2003-10-11 02:00:00.000000000 +0200
+++ pri/localhost.zone  2004-08-25 22:27:00.000000000 +0200
@@ -5,5 +5,5 @@
                                       14400      ; Retry
                                       604800     ; Expire - 1 week
                                       86400 )    ; Minimum
-               IN      NS      127.0.0.1
+               IN      NS      ns
 localhost.     IN      A       127.0.0.1
#
Comment 1 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-10-17 11:29:56 UTC
it was there for ages. why you think that's 'weird'?
Comment 2 Martin Mokrejš 2005-11-02 09:34:56 UTC
I think it is reasonable to put there directly the IP address, instead of
waiting for ns.localhost to be later resolved by a nameserver.


But to be true, I see here in the example almost the same:
http://www.cesnet.cz/nic/ripe-192.txt
http://www.cesnet.cz/nic/rfc1912.txt

So, I'd understand if you reject this. :(
Comment 3 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-11-10 16:25:29 UTC
yep, sounds reasonable.

i've done this change in 9.2.6_beta2 and 9.3.2_beta2-r1. if there will be no 
complaints about it - all future bump's will have it too.

and thanks for your attention, Martin.