Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-21-2009, 11:38 AM   #1
LQ Newbie
Registered: May 2009
Posts: 4

Rep: Reputation: 0
dns server

I use RHEL 5, set up named server as in documentation, setup named.conf in /var/named/chroot/etc.
I ran "named-checkconf named.conf", return no error.
When I want to start the named service, it has the following error:
stating named:
Error in named configuration:
/etc/named.conf:58: open: /var/named/chroot/etc/named.root.hints: file not found

The file is there, but not found.
Please help.
Old 05-21-2009, 12:34 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,986
Blog Entries: 14

Rep: Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187
As the "chroot" in path implies you're using a special build of BIND that uses a jailed directory. The point in such a jail is to prevent anyone that hacks into your system from being able to go above the jail's apparent root (the chroot).

From within the system you see the chroot as /var/named/chroot. From outside the system if someone hacked in they would see it as just "/". Also the running named sees this as "/".

This means all references used within /var/named/chroot should ignore the fact they are there and be made relative to "/" rather than /var/named/chroot.

Accordingly your: /var/named/chroot/etc/named.root.hints on line 58 is wrong. It should simply read "/etc/named.root.hints" instead.

Last edited by MensaWater; 05-26-2009 at 12:41 PM.


dns, server

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
help needed to setup a DNS server can anyone say how to configure a DNS server subha Linux - Networking 4 04-27-2012 11:50 PM
how to configure another dns server to combine use with primary current dns server. hocheetiong Linux - Newbie 1 05-29-2008 06:57 PM
LXer: Find out DNS Server Version With DNS Server Fingerprinting Tool LXer Syndicated Linux News 0 12-21-2007 05:30 PM
LXer: Find out DNS Server Version With DNS Server Fingeprinting Tool LXer Syndicated Linux News 0 12-21-2007 04:50 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:44 PM.

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