FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

 
 
LinkBack Thread Tools
 
Old 11-27-2008, 06:11 PM
mark
 
Default DNS, root.hints, argh!

I've tried using dig, I've tried wget from internic, and no matter how I get
the file, and there are some differences, for my root.hints, when I run
named-checkzone . root.hints

I always get:

zone ./IN: could not find NS and/or SOA records
zone ./IN: has 0 SOA records

What's wrong?

root.hints:
; This file holds the information on root name servers needed to
; initialize cache of Internet domain name servers
; (e.g. reference this file in the "cache . <file>"
; configuration file of BIND domain name servers).
;
; This file is made available by InterNIC
; under anonymous FTP as
; file /domain/named.root
; on server FTP.INTERNIC.NET
; -OR- RS.INTERNIC.NET
;
; last update: Feb 04, 2008
; related version of root zone: 2008020400
;
; formerly NS.INTERNIC.NET
;
;. IN NS
. 3600000 IN NS A.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4
A.ROOT-SERVERS.NET. 3600000 AAAA 2001:503:BA3E::2:30
;
; formerly NS1.ISI.EDU
;
. 3600000 NS B.ROOT-SERVERS.NET.
B.ROOT-SERVERS.NET. 3600000 A 192.228.79.201
;
; formerly C.PSI.NET
;
. 3600000 NS C.ROOT-SERVERS.NET.
C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12
;
; formerly TERP.UMD.EDU
;
. 3600000 NS D.ROOT-SERVERS.NET.
D.ROOT-SERVERS.NET. 3600000 A 128.8.10.90
;
; formerly NS.NASA.GOV
;
. 3600000 NS E.ROOT-SERVERS.NET.
E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10
;
; formerly NS.ISC.ORG
;
. 3600000 NS F.ROOT-SERVERS.NET.
F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241
F.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:2f::f
;
; formerly NS.NIC.DDN.MIL
;
. 3600000 NS G.ROOT-SERVERS.NET.
G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4
;
; formerly AOS.ARL.ARMY.MIL
;
. 3600000 NS H.ROOT-SERVERS.NET.
H.ROOT-SERVERS.NET. 3600000 A 128.63.2.53
H.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:1::803f:235
;
; formerly NIC.NORDU.NET
;
. 3600000 NS I.ROOT-SERVERS.NET.
I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17
;
; operated by VeriSign, Inc.
;
. 3600000 NS J.ROOT-SERVERS.NET.
J.ROOT-SERVERS.NET. 3600000 A 192.58.128.30
J.ROOT-SERVERS.NET. 3600000 AAAA 2001:503:C27::2:30
;
; operated by RIPE NCC
;
. 3600000 NS K.ROOT-SERVERS.NET.
K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129
K.ROOT-SERVERS.NET. 3600000 AAAA 2001:7fd::1
;
; operated by ICANN
;
. 3600000 NS L.ROOT-SERVERS.NET.
L.ROOT-SERVERS.NET. 3600000 A 199.7.83.42
;
; operated by WIDE
;
. 3600000 NS M.ROOT-SERVERS.NET.
M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33
M.ROOT-SERVERS.NET. 3600000 AAAA 2001:dc3::35
; End of File

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 11-27-2008, 08:04 PM
 
Default DNS, root.hints, argh!

On Thu, Nov 27, 2008 at 01:11:19PM -0600, mark wrote:
> I've tried using dig, I've tried wget from internic, and no matter how I get
> the file, and there are some differences, for my root.hints, when I run
> named-checkzone . root.hints
>
> I always get:
>
> zone ./IN: could not find NS and/or SOA records
> zone ./IN: has 0 SOA records
>
> What's wrong?

Exactly what it says. The root.hints file is not a zone file. Though there
format similarities, a zone file requires an SOA record, and the hints file
doesn't have one.

> root.hints:
> ; This file holds the information on root name servers needed to
> ; initialize cache of Internet domain name servers
> ; (e.g. reference this file in the "cache . <file>"
> ; configuration file of BIND domain name servers).
> ;
> ; This file is made available by InterNIC
> ; under anonymous FTP as
> ; file /domain/named.root
> ; on server FTP.INTERNIC.NET
> ; -OR- RS.INTERNIC.NET
> ;
> ; last update: Feb 04, 2008
> ; related version of root zone: 2008020400
> ;
> ; formerly NS.INTERNIC.NET
> ;
> ;. IN NS
> . 3600000 IN NS A.ROOT-SERVERS.NET.
> A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4
> A.ROOT-SERVERS.NET. 3600000 AAAA 2001:503:BA3E::2:30
> ;
> ; formerly NS1.ISI.EDU
> ;
> . 3600000 NS B.ROOT-SERVERS.NET.
> B.ROOT-SERVERS.NET. 3600000 A 192.228.79.201
> ;
> ; formerly C.PSI.NET
> ;
> . 3600000 NS C.ROOT-SERVERS.NET.
> C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12
> ;
> ; formerly TERP.UMD.EDU
> ;
> . 3600000 NS D.ROOT-SERVERS.NET.
> D.ROOT-SERVERS.NET. 3600000 A 128.8.10.90
> ;
> ; formerly NS.NASA.GOV
> ;
> . 3600000 NS E.ROOT-SERVERS.NET.
> E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10
> ;
> ; formerly NS.ISC.ORG
> ;
> . 3600000 NS F.ROOT-SERVERS.NET.
> F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241
> F.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:2f::f
> ;
> ; formerly NS.NIC.DDN.MIL
> ;
> . 3600000 NS G.ROOT-SERVERS.NET.
> G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4
> ;
> ; formerly AOS.ARL.ARMY.MIL
> ;
> . 3600000 NS H.ROOT-SERVERS.NET.
> H.ROOT-SERVERS.NET. 3600000 A 128.63.2.53
> H.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:1::803f:235
> ;
> ; formerly NIC.NORDU.NET
> ;
> . 3600000 NS I.ROOT-SERVERS.NET.
> I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17
> ;
> ; operated by VeriSign, Inc.
> ;
> . 3600000 NS J.ROOT-SERVERS.NET.
> J.ROOT-SERVERS.NET. 3600000 A 192.58.128.30
> J.ROOT-SERVERS.NET. 3600000 AAAA 2001:503:C27::2:30
> ;
> ; operated by RIPE NCC
> ;
> . 3600000 NS K.ROOT-SERVERS.NET.
> K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129
> K.ROOT-SERVERS.NET. 3600000 AAAA 2001:7fd::1
> ;
> ; operated by ICANN
> ;
> . 3600000 NS L.ROOT-SERVERS.NET.
> L.ROOT-SERVERS.NET. 3600000 A 199.7.83.42
> ;
> ; operated by WIDE
> ;
> . 3600000 NS M.ROOT-SERVERS.NET.
> M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33
> M.ROOT-SERVERS.NET. 3600000 AAAA 2001:dc3::35
> ; End of File
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 11-27-2008, 08:14 PM
mark
 
Default DNS, root.hints, argh!

kent@songbird.com wrote:
> On Thu, Nov 27, 2008 at 01:11:19PM -0600, mark wrote:
>> I've tried using dig, I've tried wget from internic, and no matter how I get
>> the file, and there are some differences, for my root.hints, when I run
>> named-checkzone . root.hints
>>
>> I always get:
>>
>> zone ./IN: could not find NS and/or SOA records
>> zone ./IN: has 0 SOA records
>>
>> What's wrong?
>
> Exactly what it says. The root.hints file is not a zone file. Though there
> format similarities, a zone file requires an SOA record, and the hints file
> doesn't have one.
<snip>
Oh - so named-checkzone is *not* the correct script to use to check if I've got
root.hints correct? Is there something else, or just what I pull from internic?

mark

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 11-27-2008, 11:01 PM
 
Default DNS, root.hints, argh!

On Thu, Nov 27, 2008 at 03:14:57PM -0600, mark wrote:
> >> What's wrong?
> >
> > Exactly what it says. The root.hints file is not a zone file. Though there
> > format similarities, a zone file requires an SOA record, and the hints file
> > doesn't have one.
> <snip>
> Oh - so named-checkzone is *not* the correct script to use to check if I've got
> root.hints correct? Is there something else, or just what I pull from internic?

I don't know of any script to check the hints file. It's not authoritative
for anything -- it's just a way for "named" to find a server that answers
authoritatively for the root zone. It's supposed to be very resilient. The
theory is that the hints file could be many years out of date, and named
could still find a functioning root server. In theory, I suppose, every
entry but one could fail, and named would still find the root servers. named
ignores the hints file after it finds a root server.

The only reason one would ever mess with the hints file would be if one
wanted named to use a completely different set of root servers. If that's
the case, then there are many more complexities to worry about.

Kent

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 

Thread Tools




All times are GMT. The time now is 01:49 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org