Some hints on DNS config?

Peter Dambier peter at peter-dambier.de
Mon Jul 4 16:08:52 UTC 2005


Barry Margolin wrote:
> In article <daacfi$4kr$1 at sf1.isc.org>,
>  Kimi Ostro <kimimeister at gmail.com> wrote:
> 
> 
>>On 6/29/05, Kevin Darcy <kcd at daimlerchrysler.com> wrote:
>>
>>>What part don't you get? The "hints" file is required by an iterative
>>>resolver for root-zone information (it needs to know, at a minimum,
>>>about the root zone, if it is to have any hope of following the
>>>delgations down from there to resolve other names). The
>>>0.0.127.in-addr.arpa zone (or 1.0.0.127.in-addr.arpa or other variants)
>>>is not strictly necessary, but a nice convenience so that the box can
>>>resolve its own loopback address to something reasonable.
>>>=20
>>>=20
>>>                                             - Kevin
>>>=20
>>
>>why a caching-only nameserver would need to know more then just the root zo=
>>nes?
>>
>>not particularly sure how to implement this to be honest.
> 
> 
> The 127.in-addr.arpa domain isn't delegated by the root servers.  By 
> convention, everyone installs it on their own nameservers.
> 


localhost.              86400   IN      SOA     localhost. root.localhost. 42 10800 900 604800 86400
localhost.              86400   IN      NS      echnaton.styx.
localhost.              86400   IN      NS      echnaton.niflheim.
localhost.              86400   IN      A       127.0.0.1


The example normally forgets to to tell the nameservers.
It makes no sense to say

localhost.              86400   IN      NS      localhost

because the bloody fool who asked for localhost in the first place
cannot resolve it.

Dig should show

; <<>> DiG 9.1.3 <<>> localhost
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1360

;; QUESTION SECTION:
;localhost.                     IN      A

;; ANSWER SECTION:
localhost.              86400   IN      A       127.0.0.1

;; AUTHORITY SECTION:

localhost.              86400   IN      NS      echnaton.styx.
localhost.              86400   IN      NS      echnaton.niflheim.

;; ADDITIONAL SECTION:
echnaton.lomiheim.      7200    IN      A       192.168.48.228
echnaton.niflheim.      7200    IN      A       192.168.208.228



0.0.127.in-addr.arpa.   86400   IN      SOA     localhost. root.localhost. 42 10800 900 604800 86400
0.0.127.in-addr.arpa.   86400   IN      NS      echnaton.styx.
0.0.127.in-addr.arpa.   86400   IN      NS      echnaton.niflheim.
1.0.0.127.in-addr.arpa. 86400   IN      PTR     localhost.



; <<>> DiG 9.1.3 <<>> -t any 0.0.127.in-addr.arpa
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40351

;; QUESTION SECTION:
;0.0.127.in-addr.arpa.          IN      ANY

;; ANSWER SECTION:
0.0.127.in-addr.arpa.   86400   IN      SOA     localhost. root.localhost. 42 10800 900 604800 86400
0.0.127.in-addr.arpa.   86400   IN      NS      echnaton.styx.
0.0.127.in-addr.arpa.   86400   IN      NS      echnaton.niflheim.

;; ADDITIONAL SECTION:
echnaton.lomiheim.      7200    IN      A       192.168.48.228
echnaton.niflheim.      7200    IN      A       192.168.208.228


It is two zone files:
localhost.
0.0.127.in-addr.arpa.

--
Peter and Karin Dambier
Public-Root
Graeffstrasse 14
D-64646 Heppenheim
+49-6252-671788 (Telekom)
+49-179-108-3978 (O2 Genion)
+49-6252-750308 (VoIP: sipgate.de)
+1-360-448-1275 (VoIP: freeworldialup.com)
+1-360-226-6583-9563 (INAIC)
mail: peter at peter-dambier.de
http://iason.site.voila.fr
http://www.kokoom.com/iason



More information about the bind-users mailing list