LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-07-2007, 10:04 AM   #1
blckspder
Member
 
Registered: Feb 2005
Posts: 37

Rep: Reputation: 15
DNS set up


Hello,
I am trying to setup a DNS for my web server. I installed everything and I also installed the graphical interface tool also.. but when I try to use it I get an error that says named.root.hints file cannot be found...

Ive gone into terminal and did a search using locate named.roots.hints and it found nothing.. any one know of a way I could get this file? please let me know and thank you.

Right now I have the domain pointed to the public ip address of the server. And I am using the default dns settings that register.com have set in place when I registered the domain.

The interesting thing is that I can access the website when I am out side of my network. so when I am home I can go to sono-test.com and get the website but when I am in the network I cant use sono-test.com I have to use the internal static ip address. Any thoughts again would be greatly appreciated. Thanks for the help.

Last edited by blckspder; 09-07-2007 at 10:23 AM.
 
Old 09-07-2007, 12:04 PM   #2
blckspder
Member
 
Registered: Feb 2005
Posts: 37

Original Poster
Rep: Reputation: 15
I figured out why I couldnt get to the website using the domain name while in the network. Turns out the main server for the company has a dns setup for a VPN connection we have and that dns is not picking up the domain name or blocking it... When I changed the dns on my workstation to that of our ISP I could access the site while in the network via the domain name.. so that problem is solved.. I still can't figure out though why the file named.root.hints is missing from the web server... any thoughts would be appreciated. thanks.
 
Old 09-07-2007, 10:05 PM   #3
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Here is what should be in your root hints file.

Code:
; <<>> DiG 9.2.3 <<>> ns . @a.root-servers.net.
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18944
;; flags: qr aa rd; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13

;; QUESTION SECTION:
;.                              IN      NS

;; ANSWER SECTION:
.                       518400  IN      NS      A.ROOT-SERVERS.NET.
.                       518400  IN      NS      B.ROOT-SERVERS.NET.
.                       518400  IN      NS      C.ROOT-SERVERS.NET.
.                       518400  IN      NS      D.ROOT-SERVERS.NET.
.                       518400  IN      NS      E.ROOT-SERVERS.NET.
.                       518400  IN      NS      F.ROOT-SERVERS.NET.
.                       518400  IN      NS      G.ROOT-SERVERS.NET.
.                       518400  IN      NS      H.ROOT-SERVERS.NET.
.                       518400  IN      NS      I.ROOT-SERVERS.NET.
.                       518400  IN      NS      J.ROOT-SERVERS.NET.
.                       518400  IN      NS      K.ROOT-SERVERS.NET.
.                       518400  IN      NS      L.ROOT-SERVERS.NET.
.                       518400  IN      NS      M.ROOT-SERVERS.NET.

;; ADDITIONAL SECTION:
A.ROOT-SERVERS.NET.     3600000 IN      A       198.41.0.4
B.ROOT-SERVERS.NET.     3600000 IN      A       192.228.79.201
C.ROOT-SERVERS.NET.     3600000 IN      A       192.33.4.12
D.ROOT-SERVERS.NET.     3600000 IN      A       128.8.10.90
E.ROOT-SERVERS.NET.     3600000 IN      A       192.203.230.10
F.ROOT-SERVERS.NET.     3600000 IN      A       192.5.5.241
G.ROOT-SERVERS.NET.     3600000 IN      A       192.112.36.4
H.ROOT-SERVERS.NET.     3600000 IN      A       128.63.2.53
I.ROOT-SERVERS.NET.     3600000 IN      A       192.36.148.17
J.ROOT-SERVERS.NET.     3600000 IN      A       192.58.128.30
K.ROOT-SERVERS.NET.     3600000 IN      A       193.0.14.129
L.ROOT-SERVERS.NET.     3600000 IN      A       198.32.64.12
M.ROOT-SERVERS.NET.     3600000 IN      A       202.12.27.33

;; Query time: 81 msec
;; SERVER: 198.41.0.4#53(a.root-servers.net.)
;; WHEN: Sun Feb  1 11:27:14 2004
;; MSG SIZE  rcvd: 436
Peace,
JimBass
 
Old 09-08-2007, 06:18 AM   #4
homecsiga
LQ Newbie
 
Registered: Sep 2007
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by blckspder View Post
Hello,
I am trying to setup a DNS for my web server. I installed everything and I also installed the graphical interface tool also.. but when I try to use it I get an error that says named.root.hints file cannot be found...

Ive gone into terminal and did a search using locate named.roots.hints and it found nothing.. any one know of a way I could get this file? please let me know and thank you.
I had similar problem after updating bind. Not sure the exact verions but I found in the new bind 9.4.x there is no named.root.hints. I'v downgrading the bind the latest 9.3.x then saved the required files then upgraded bind again. Anyway JimBass's posted the content of the file.

regards
---G---
 
Old 09-11-2007, 10:28 AM   #5
hunterfighter
Member
 
Registered: Oct 2004
Location: Malaysia, Kuala Lumpur
Distribution: FreeBSD
Posts: 65

Rep: Reputation: 15
I got a problem with BIND but is different from yours. Mine is can dig @127.0.0.1 google.com. But not for dig @10.1.1.1 google.com which 10.1.1.1 is my DNS server. I does this in DNS server itself.
 
  


Reply



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
Set up DNS veeruk101 Linux - General 4 07-12-2007 10:46 PM
Set up DNS. wesleyarchbell Linux - Networking 2 04-30-2005 08:37 PM
Set up DNS PeRKoniX Linux - Newbie 1 11-06-2004 09:17 AM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 01:54 PM
how to set up dns in redhat 9 adam_ant Linux - Networking 9 09-23-2003 09:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:21 AM.

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