Download your favorite Linux distribution at LQ ISO.
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 10-31-2010, 01:42 PM   #1
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Rep: Reputation: 34
Bind configuration file not exist

I had installed BIND packages but /etc/named.conf file is missing as the packages are shown,

[root@nisserver ~]# yum list bind*
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Installed Packages
bind.i386 30:9.3.4-10.P1.el5 installed
bind-chroot.i386 30:9.3.4-10.P1.el5 installed
bind-libs.i386 30:9.3.4-10.P1.el5 installed
bind-utils.i386 30:9.3.4-10.P1.el5 installed
Available Packages
bind-devel.i386 30:9.3.4-10.P1.el5 rhel
bind-libbind-devel.i386 30:9.3.4-10.P1.el5 rhel
bind-sdb.i386 30:9.3.4-10.P1.el5 rhel

[root@nisserver ~]# yum list caching*
Installed Packages
caching-nameserver.i386 30:9.3.4-10.P1.el5 installed

[root@nisserver ~]# cat /etc/named.
named.caching-nameserver.conf named.rfc1912.zones

Any response will be appreciated.

Old 10-31-2010, 01:48 PM   #2
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 703

Rep: Reputation: 97
"rpm -qc bind" and "rpm -qd bind" are your friends. They show the
config files and documentation for the bind package.

You'll notice there are various sample files which can be copied
and edited as needed.

rpm -qd bind | grep sample
Old 11-01-2010, 01:47 AM   #3
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,417

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
The default in RHEL 5 is to install bind chrooted
If you have installed the bind-chroot package, the BIND service will run in the /var/named/chroot environment. All configuration files will be moved there. As such, named.conf will be located in /var/named/chroot/etc/named.conf, and so on.

I can see you have installed the chroot pkg
bind-chroot.i386 30:9.3.4-10.P1.el5 installed
Incidentally, your system is not registered with RH, so you won't get updates or support.
You either need to pay & register, or replace with the same version of Centos; your choice.

Last edited by chrism01; 11-01-2010 at 01:48 AM.
Old 03-10-2011, 02:08 AM   #4
LQ Newbie
Registered: Feb 2011
Posts: 3

Rep: Reputation: 0
reply for ur post

hi Mr.carltm your post helped me a lot.. thank U


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
Log Analyzer for BIND DNS - Does one exist? cam34 Linux - Software 4 11-16-2013 04:16 AM
reg named.conf configuration file of BIND DNS bzlaskar Linux - Server 1 12-27-2007 02:40 PM
Need to find if a matching file exist from a list of possible file names wit_273 Linux - General 5 10-25-2007 10:47 AM
trying to redirect text to a file to cat at later point. says file doesn't exist. dr_zayus69 Programming 1 10-02-2005 09:10 AM
Where do configuration files forWindow Managers exist? vmniza Linux - Newbie 2 02-25-2004 02:08 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:14 AM.

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