Visit Jeremy's Blog.
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 01-18-2009, 01:59 AM   #1
LQ Newbie
Registered: Oct 2008
Posts: 28

Rep: Reputation: 15
Bind 9.3.4 and Centos


I havnt used linux in last linux was FC3 so I am now wanted to configure a dns server on Centos 5.1 and I cant find any if the config files.

I did a yum install bind* which installed all bind packages, but I cant find named.conf anywhere. Instead im confronted with all these chroot directories and its all structured completely different to what I remember.

Can anyone assist? What am I doing wrong? Thanks in advance.
Old 01-18-2009, 06:58 PM   #2
Registered: Jan 2009
Posts: 100

Rep: Reputation: 17
Usually there is no named.conf by default - that would be silly, because it needs to have reasonable contents and the Fedora guys can hardly guess what each unique user want to have as a default.

Just create /etc/named.conf as root and define your first zone, even if it's only one for testing.

If you installed bind-chroot (obviously), then you also have to create links from your chroot setup to the standard locations. If you don't want bind-chroot, then uninstall it (either yum or rpm), and produce a standard name server (usual file locations).

Howtoforge has good tutorials on everything Linux, and also has the BIND-HOWTO with all the precious details.


Last edited by servat78; 02-19-2009 at 12:06 PM.
Old 01-18-2009, 08:57 PM   #3
Registered: Jun 2005
Location: Portland, ME
Distribution: Slackware 13, CentOS 5.3, FBSD 7.2, OBSD 4.6, Fedora 11
Posts: 122

Rep: Reputation: 17
If you aren't required to run BIND for any reason, you may want to look into DjbDNS, otherwise start reading


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
LXer: Create Your Own Web Server With BIND And Apache On CentOS 5 LXer Syndicated Linux News 0 07-02-2008 04:11 PM
Problems with BIND on CentOS 5.1 ostashenp Linux - Networking 2 03-04-2008 10:55 AM
CentOS 5.1 Bind config ratcateme Linux - Software 1 02-01-2008 11:06 PM
centos 4.4 and bind named performance issues kbensch Linux - Networking 3 01-09-2007 11:31 PM
centos 4 & bind Tony.Reid Linux - Enterprise 2 05-29-2005 05:52 PM > Forums > Linux Forums > Linux - Newbie

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