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";
};
Similar Posts:
- How to secure your DNS server
- DNS Attacks – error sending response: host unreachable
- Sample DNS Zone File for BIND
- Securing your server against DNS Amplification (DoS) attacks
- Accidentally deleted /etc/named.conf in Cpanel
- How to Fix: PHPMyAdmin 403 Forbidden Error
- Install ClamAV in Centos with Cpanel
- What is Open DNS server?
- Install FTP Server for Centos/RHEL
- Install ModSecurity for Redhat/Centos

