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. |
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 |
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. |
Set it up! Read the How-to's and get sendmail running. If you have problems, ask. We'll all help out.
-Mark |
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? |
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?
|
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. |