Operating System - HP-UX
1833744 Members
3004 Online
110063 Solutions
New Discussion

BIND: where can I get the db.cache file?

 
SOLVED
Go to solution
discoverer
Frequent Advisor

BIND: where can I get the db.cache file?

Hello All,

Can you help me?
Thanks in advance!

Regards,
/Discoverer

PS.
As the training book says:
After running 'hosts_to_named -f param' to create the DNS DB files, another file named 'db.cache' need to be created to resolve the addresses of the root domain servers.
The original content can be get from internic's web site.

But I didn't find it via www.internic.net and ftp.internic.net.
Listen, then discover, then succeed!
4 REPLIES 4
Santosh Nair_1
Honored Contributor
Solution

Re: BIND: where can I get the db.cache file?

You should be able to get the list of root servers from the following URL:

ftp://rs.internic.net/domain

In particular, I think you were looking for the named.cache file.

Hope this helps.

-Santosh
Life is what's happening while you're busy making other plans
Sachin Patel
Honored Contributor

Re: BIND: where can I get the db.cache file?

You can get from where santosh says.
or cut and paste this

; Initial cache data for root domain servers.
;
; <<>> DiG 2.0 <<>> @ns.internic.net . ns Last update 2/1/96

;; ANSWERS:
. 518400 NS G.ROOT-SERVERS.NET.
. 518400 NS A.ROOT-SERVERS.NET.
. 518400 NS H.ROOT-SERVERS.NET.
. 518400 NS B.ROOT-SERVERS.NET.
. 518400 NS C.ROOT-SERVERS.NET.
. 518400 NS D.ROOT-SERVERS.NET.
. 518400 NS E.ROOT-SERVERS.NET.
. 518400 NS I.ROOT-SERVERS.NET.
. 518400 NS F.ROOT-SERVERS.NET.
;
; Prep the cache (hotwire the addresses). Order does not matter.
;
;; ADDITIONAL RECORDS:
G.ROOT-SERVERS.NET. 518400 A 192.112.36.4
A.ROOT-SERVERS.NET. 518400 A 198.41.0.4
H.ROOT-SERVERS.NET. 518400 A 128.63.2.53
B.ROOT-SERVERS.NET. 518400 A 128.9.0.107
C.ROOT-SERVERS.NET. 518400 A 192.33.4.12
D.ROOT-SERVERS.NET. 518400 A 128.8.10.90
E.ROOT-SERVERS.NET. 518400 A 192.203.230.10
I.ROOT-SERVERS.NET. 518400 A 192.36.148.17
F.ROOT-SERVERS.NET. 518400 A 192.5.5.241

you can give it a name what ever you want in /etc/named.conf(if BIND is > 8.x or 9.x) /etc/named.boot(if bind is 4.x) configuration file.

Sachin
Is photography a hobby or another way to spend $
Sanjay_6
Honored Contributor

Re: BIND: where can I get the db.cache file?

discoverer
Frequent Advisor

Re: BIND: where can I get the db.cache file?

Thanks for everybody's help!

BTW, I happened to find a file named /usr/examples/bind/db.cache.arpa in HPUX11.0,
yet 10.20 hasn't.
But it is of no much use.

/Discoverer
Listen, then discover, then succeed!