LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-21-2001, 07:39 AM   #1
_TK_
Member
 
Registered: Feb 2001
Posts: 54

Rep: Reputation: 15

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.
 
Old 02-22-2001, 08:10 AM   #2
mjakob
Member
 
Registered: Feb 2001
Posts: 69

Rep: Reputation: 15
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
 
Old 02-22-2001, 08:53 PM   #3
_TK_
Member
 
Registered: Feb 2001
Posts: 54

Original Poster
Rep: Reputation: 15
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.
 
Old 02-22-2001, 09:36 PM   #4
mjakob
Member
 
Registered: Feb 2001
Posts: 69

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

-Mark
 
Old 02-22-2001, 10:38 PM   #5
_TK_
Member
 
Registered: Feb 2001
Posts: 54

Original Poster
Rep: Reputation: 15
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?
 
Old 02-22-2001, 10:51 PM   #6
_TK_
Member
 
Registered: Feb 2001
Posts: 54

Original Poster
Rep: Reputation: 15
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?
 
Old 02-22-2001, 11:37 PM   #7
mjakob
Member
 
Registered: Feb 2001
Posts: 69

Rep: Reputation: 15
You have to specify your dns server as the dns server for that client to use.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I turn off File system cache? joxer77 AIX 4 08-04-2005 09:10 AM
no file access timestamps being updated! takahaya Linux - General 4 04-03-2005 06:48 PM
file buffer cache jwstric2 Linux - General 2 06-30-2004 04:25 PM
Can i watch the file contents while being updated? 7ux_spirit Linux - Newbie 4 04-21-2004 03:25 PM
How do you read a log file as it is being updated? anti_trend Linux - Software 2 04-02-2004 06:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration