LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-31-2010, 01:42 PM   #1
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Rep: Reputation: 34
Bind configuration file not exist


Hi,
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.

Thanks
 
Old 10-31-2010, 01:48 PM   #2
carltm
Member
 
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
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
The default in RHEL 5 is to install bind chrooted
Quote:
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.
http://www.linuxtopia.org/online_boo...5_ch-bind.html.

I can see you have installed the chroot pkg
Quote:
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
sriniv666
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
 
  


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
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


All times are GMT -5. The time now is 11:55 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