named.conf not available in etc folder – RHEL 5.4

Error scenario:  I try to setup DNS server configuration in RHEL 5.4.
I mount the ISO file of redhat and installed bind-9 series rpm file. 
After the installation when I try to start the name service it fails with 
[root@localhost ~]# service named start

Locating //etc/named.conf failed: [FAILED]

Root cause: We have not installed the caching-nameserver rpm and hence 
the name.conf file not available in /etc folder.The package caching-nameserver 
do not contain any /etc/named.conf file. 
Perhaps,/etc/named.caching-nameserver.conf is an alternative one.

Solution: We need to install the caching name server in the RHEL rpm package 
and run the command 

#rpm -ql caching-nameserver 
Then install the rpm # rpm –ivh caching-nameserver*.rpm
Your problem solves.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: