LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Error in bind cofigring (https://www.linuxquestions.org/questions/linux-server-73/error-in-bind-cofigring-872304/)

ganesh24pal@gmail.com 04-01-2011 01:43 AM

Error in bind cofigring
 
Hi All,

I am using Cent OS 5.5 and i want configure DNS, but while configuring bind i am getting below error.

#/etc/init.d/named restart Stopping named: [ OK ]
Starting named:
Error in named configuration:
/etc/named.conf:57: open: /etc/named.root.hints: file not found
[FAILED]

EricTRA 04-01-2011 01:51 AM

Hi,

Follow the hint...
Quote:

file not found
Looks pretty clear, you have an error in your configuration file. Check for existence of named.root.hints, adapt where necessary and restart named.

Kind regards,

Eric

jamrock 04-02-2011 06:05 AM

BIND needs a number of files in order to work. One of the files is the root hints file. This file contains a list of the root DNS servers and their addresses.

Your /etc/named.conf file is looking for this file in /etc/named.root.hints but it is not there. Search for a file by that name on your server and copy it to that location.

You can use the following command to search:

find / -name named.root.hints


All times are GMT -5. The time now is 11:25 AM.