CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - Server Support
  Bind

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  Bellsan
      Bellsan
Bind
#1
Newbie
Joined: 2007/4/29
From
Posts: 1
Bind is not working! I have just installed CentOS 5 on my server. After attempting to start BIND it fails to start. Files are missing: named.conf as well as the localhost.zone and localdomain.zone does not exist.
Posted on: 2007/4/29 19:25
Create PDF from Post Print
Top
  •  WhatsHisName
      WhatsHisName
Re: Bind
#2
Professional Board Member
Joined: 2005/12/19
From /earth/usa/nj (UTC-5)
Posts: 1240
A default named.conf caching nameserver configuration is no long supplied by default. RHEL5 is also set up that way and it is not a bug. For more details, there is a CentOS 4.92-beta bug report on this, which I cannot find at the moment.

There should be an example of a caching named.conf in the bind documentation. Also, check whether you have /etc/named.conf-isp-caching or something similar, which is how it is supplied in FC6. Sorry, I don't have access to a CentOS5 system right now and cannot look it up.

Redhat's response to questions about this configuration is that the user should configure bind through the GUI tool.
_________________
centOS Links: Newbie Info; Manuals; Wiki plus El Repo
Posted on: 2007/4/29 20:58
Create PDF from Post Print
Top
  •  billwest
      billwest
Re: Bind
#3
Regular Board Member
Joined: 2006/11/19
From Perth, Western Australia
Posts: 81
Installing system-config-bind may help.

Bill.

_________________


Local Area Network in Australia, the LAN Down Under.
Posted on: 2007/5/3 13:12
Create PDF from Post Print
Top
  •  WhatsHisName
      WhatsHisName
Re: Bind
#4
Professional Board Member
Joined: 2005/12/19
From /earth/usa/nj (UTC-5)
Posts: 1240
Also:

# uname -r
2.6.18-8.1.3.el5

# yum info caching-nameserver

Summary: Default BIND configuration files for a caching nameserver

The  caching-nameserver package includes the configuration files which will make
the ISC BIND named DNS name server act as a simple caching nameserver.
A caching nameserver is a DNS Resolver, as defined in RFC 1035, section 7.

ISC BIND named(8) provides a very efficient, flexible and robust resolver as
well as a server of authoritative DNS data - many users use this package
along with BIND to implement their primary system DNS resolver service.

If you would like to set up a caching name server, you'll need to install
bind, bind-libs, and bind-utils along with this package.


# yum install caching-nameserver

#  cat /etc/named.caching-nameserver.conf
//
// named.caching-nameserver.conf
//
// Provided by Red Hat caching-nameserver package to configure the
// ISC BIND named(8) DNS server as a caching only nameserver
// (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
...


# yum list installed bind*

Installed Packages
bind.x86_64                              30:9.3.3-8.el5         installed
bind-chroot.x86_64                       30:9.3.3-8.el5         installed
bind-devel.x86_64                        30:9.3.3-8.el5         installed
bind-libs.i386                           30:9.3.3-8.el5         installed
bind-libs.x86_64                         30:9.3.3-8.el5         installed
bind-utils.x86_64                        30:9.3.3-8.el5         installed
_________________
centOS Links: Newbie Info; Manuals; Wiki plus El Repo
Posted on: 2007/5/3 14:58
Create PDF from Post Print
Top
  •  sussane
      sussane
Re: Bind
#5
Peeking in the Member Window
Joined: 2007/6/6
From
Posts: 12
i also have been searching for /etc/named.conf file but couldn't find it... Is the GUI Setup only way available for centos5 ?
_________________
Best Regards,
Eliena Andrews
www.healthtreatments.blogspot.com
Posted on: 2007/6/14 7:28
Create PDF from Post Print
Top
  •  The_Vulpecula
      The_Vulpecula
Re: Bind
#6
Jr Board Member
Joined: 2007/6/7
From
Posts: 33
I personnaly used it and it is a nice tool. When you load it for the first time, it's going to create some basic files that you need. You can edit those files the old fashionned way after if you wish. But the tool allows you to create an entry for a host and immediatly create the reverse entry without doing it manually. I find it handy and now, my dns server is working like a charm.
Posted on: 2007/6/14 13:31
Create PDF from Post Print
Top
  •  sussane
      sussane
Re: Bind
#7
Peeking in the Member Window
Joined: 2007/6/6
From
Posts: 12
do u mean to install "system-config-bind" for configuring bind on Centos5 ?
when i install from souce, i m still not getting named.conf file....
what's the way to install bind now ?
_________________
Best Regards,
Eliena Andrews
www.healthtreatments.blogspot.com
Posted on: 2007/6/18 7:40
Create PDF from Post Print
Top
  •  The_Vulpecula
      The_Vulpecula
Re: Bind
#8
Jr Board Member
Joined: 2007/6/7
From
Posts: 33
Yes, you install system-config-bind first.
Then, run it and save the configuratin it gives you by default. It is going to create the default files needed to configure bind ( named.conf, etc. ).
If you run SELinux, your files are going to be in the chroot jail under /var/named/chroot/*.
After that, you can edit the files manually.
Posted on: 2007/6/18 12:06
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com