LinuxQuestions.org
Visit Jeremy's Blog.
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 02-11-2008, 03:16 AM   #1
packets
Member
 
Registered: Oct 2005
Posts: 325

Rep: Reputation: 32
root hints not found in dns


I'm installing a backup dns server just incase a hardware failure occurs in my primary dns. I decided to install via rpm. Now. the problem is there an error when I'm trying to start the named. The error is:

Feb 11 17:30:51 rbl named: named startup succeeded
Feb 11 09:32:02 rbl named[19098]: starting BIND 9.2.3 -u named -t /var/named/chroot
Feb 11 09:32:02 rbl named[19098]: using 1 CPU
Feb 11 09:32:02 rbl named[19100]: loading configuration from '/etc/named.conf'
Feb 11 09:32:02 rbl named[19100]: listening on IPv4 interface lo, 127.0.0.1#53
Feb 11 09:32:02 rbl named[19100]: listening on IPv4 interface eth1, 202.84.20.56#53
Feb 11 09:32:02 rbl named[19100]: could not configure root hints from 'named.ca': file not found
Feb 11 09:32:02 rbl named[19100]: loading configuration: file not found
Feb 11 09:32:02 rbl named[19100]: exiting (due to fatal error)

I have named.ca to /var/named/chroot/etc. I did this by running:

dig @a.root-servers.net . ns >named.cache

I'm wondering why I still got this error and bind won't start.

Here is the entry in my named.conf:

zone "." IN {
type hint;
file "named.ca";
};

Any ideas?
 
Old 02-11-2008, 03:24 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,661

Rep: Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817
Quote:
I have named.ca to /var/named/chroot/etc. I did this by running:
dig @a.root-servers.net . ns >named.cache
The zonefile for the "." zone you've created with the above command is named.cache. You should rename that file to named.ca according to named.conf you've posted.
 
Old 02-11-2008, 06:18 PM   #3
packets
Member
 
Registered: Oct 2005
Posts: 325

Original Poster
Rep: Reputation: 32
I rename it to named.ca but still got the same error
 
Old 02-12-2008, 02:00 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,661

Rep: Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817Reputation: 1817
You're running named chrooted, so the correct named.conf should be in /var/named/chroot/etc/named.conf. Open that file and look for the "directory" option at the beginning. The put named.ca under /var/named/chroot/<path from directory option>/. Make also sure that this directory is readable foe user "named"
 
  


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
No DNS server found/Gateway Killerspoon2 Linux - Networking 1 11-27-2005 10:18 AM
DNS servers not found with hotplug NICs - dhcpcd at fault? tisource SUSE / openSUSE 1 07-29-2005 11:23 PM
lynx, curl, fopen bringing up a site when DNS not found? sornman Linux - General 0 10-14-2004 01:50 PM
DNS namserver can't be found importboy03 Linux - Networking 3 02-04-2003 08:45 PM
DNS errors in email from root to root DavidPhillips Linux - General 1 06-24-2001 12:10 AM

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

All times are GMT -5. The time now is 04:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration