i was trying to install bind dns server with my centos 5 and i couldnt locate the /etc/named.conf
i tried installing using
yum install bind-chroot bind*and looks like there is often a problem with bind installed through yum. when i tried to restart the named daemon i am getting failed.
Locating //etc/named.conf: [FAILED]
This is a bug on centos 5 saying that no longer /etc/named.conf bundled. see this
How to Fix:If you have installed bind-chroot, then it uses default configuration file /etc/named.caching-nameserver.conf instead of /etc/named.confif you have used yum with yum install bind, then /etc/named.conf should be probably missing. so while installing bind with centos 5 useyum install bind-chrootMore detailed information available here
This is what named.conf looks like in my centos 5 server. You can copy and paste this named.conf in /etc/ directory/etc/named.conf
options {
directory "/etc";
pid-file "/var/run/named/named.pid";
};
zone "." {
type hint;
file "/etc/db.cache";
};

















Recent Comments