LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /etc/named.conf not found (https://www.linuxquestions.org/questions/linux-newbie-8/etc-named-conf-not-found-793648/)

divyashree 03-06-2010 12:39 PM

/etc/named.conf not found
 
I installed the bind package,but the /etc/named.conf doesnot exist and unable to start named sevice as unable to lacate the file .

acid_kewpie 03-06-2010 01:03 PM

Well as an apparent RHCE you should appreciate that you need to write the file. you can't just "start" a name server, it needs data and configuratoin that only you can provide.

divyashree 03-06-2010 10:51 PM

Quote:

Originally Posted by acid_kewpie (Post 3888429)
Well as an apparent RHCE you should appreciate that you need to write the file. you can't just "start" a name server, it needs data and configuratoin that only you can provide.

Hello bro,I can configure the file /etc/named.conf ,thats not the issue I'am asking .
I am asking bcoz after installation of bind ,no file "named.conf" is there in /etc ,and I found its a bug here .

mattseanbachman 03-07-2010 01:23 AM

Try checking for named.conf in this location

Code:

/var/named/chroot/etc/named.conf
If I recall right, the /etc/named.conf file is just a symbolic link to this file...at least that's what it was on Fedora when I last checked.

Let us know if that helps!

spampig 03-07-2010 01:35 AM

Also noteworthy - depends how you install it. See the very last question on the FAQ list here:

http://www.bind9.net/BIND-FAQ
Quote:

Q:
Isn't "make install" supposed to generate a default named.conf?

A:
Short Answer: No.

divyashree 03-07-2010 11:26 PM

Quote:

Originally Posted by mattseanbachman (Post 3888912)
Try checking for named.conf in this location

Code:

/var/named/chroot/etc/named.conf
If I recall right, the /etc/named.conf file is just a symbolic link to this file...at least that's what it was on Fedora when I last checked.

Let us know if that helps!

No such file or directory

vinaytp 03-07-2010 11:41 PM

Quote:

Originally Posted by divyashree (Post 3888408)
I installed the bind package,but the /etc/named.conf doesnot exist and unable to start named sevice as unable to lacate the file .

Hi divyashree,

/etc/named.conf file will not come by default with BIND. you may follow this link to write named.conf file..

But you can locate sample file for named.conf. In my fedora11 system its
Code:

/usr/share/doc/bind-9.6.1/sample/etc/named.conf
you may check this using
Code:

[vinay@vinay ~]$ rpm -qa | grep bind
ypbind-1.20.4-18.fc11.i586
bind-libs-9.6.1-0.3.b1.fc11.i586
bind-utils-9.6.1-0.3.b1.fc11.i586
qtscriptbindings-0.1.0-5.fc11.i586
rpcbind-0.1.7-3.fc11.i586
bind-chroot-9.6.1-0.3.b1.fc11.i586
samba-winbind-3.3.2-0.33.fc11.i586
system-config-bind-4.0.6-1.fc9.noarch
bind-9.6.1-0.3.b1.fc11.i586

check the sample file with
Code:

[vinay@vinay ~]$ rpm -ql bind-9.6.1-0.3.b1.fc11.i586 | grep named.conf
/usr/share/doc/bind-9.6.1/named.conf.default
/usr/share/doc/bind-9.6.1/sample/etc/named.conf
/usr/share/man/man5/named.conf.5.gz
[vinay@vinay ~]$

All the best.

evo2 03-07-2010 11:47 PM

Quote:

Originally Posted by divyashree (Post 3888839)
I am asking bcoz after installation of bind ,no file "named.conf" is there in /etc ,and I found its a bug here .

That bug report seems to explain the solution quite well. Do you still have a problem?

Evo2.


All times are GMT -5. The time now is 09:58 PM.