LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Where can I get an updated db.cache file? (https://www.linuxquestions.org/questions/linux-networking-3/where-can-i-get-an-updated-db-cache-file-968/)

_TK_ 02-21-2001 07:39 AM

I'm trying to set up dns on my linux box and from what I've read I need to have the file db.cache in the /var/named directory. From the tutorials they recommend you use:

dig @e.root-servers.net . ns>/var/named/db.cache

to get the db.cache file. This creates a db.cache file with the contents:

; (1 server found)
;; res options: init recurs defnam dnsrch

Is this correct? The connection then shows a time out message after running dig.

mjakob 02-22-2001 08:10 AM

The file is also available from Internic via anonymous FTP. FTP to: ftp.rs.internic.net and the file is at /domain/named.root

Download this file and rename it to db.cache and you should be good to go.

-Mark

_TK_ 02-22-2001 08:53 PM

Thanks Mark i have it now :)

So tell me...how much do you know about setting up a mail server? mmmm? Thats my current project.

mjakob 02-22-2001 09:36 PM

Set it up! Read the How-to's and get sendmail running. If you have problems, ask. We'll all help out.

-Mark

_TK_ 02-22-2001 10:38 PM

Great! I've been reading a ton of stuff and trying to put it all together. I'm trying to set up the dns right now. I have named running and put all the files where they should be I think. I tried the nslookup test and got this:

[root@linuxhost named]# nslookup http://www.mydomain.com
Server: localhost
Address: 127.0.0.1

Name: http://www.mydomain.com
Address: 192.168.0.4

[root@linuxhost named]# nslookup 192.168.0.4
Server: localhost
Address: 127.0.0.1

*** localhost can't find 192.168.0.4: Non-existent host/domain


When I gave it the domain name the first time it came up with the ip fine. Going the other way and giving it the ip caused it to error. This tells me that the reverse dns isn't right i think. Any suggestions on this?

_TK_ 02-22-2001 10:51 PM

Ignore the post above, I found my error and have it working both ways now. Should I be able to ping 'linuxhost.mydomain.com' from another computer on the lan and get a response?

mjakob 02-22-2001 11:37 PM

You have to specify your dns server as the dns server for that client to use.


All times are GMT -5. The time now is 10:14 PM.