Installing necessary packages
yum install bind bind-chroot bind-libs bind-utils caching-nameserver -y
After installing the necessary packages you are ready to start configuring named.conf. You may check and see that there is no named.conf in your /etc/ directory in Centos 5. No worries here you can see a sample named.conf file. Now create the file /etc/named.conf and copy/paste the content of the sample config file – just make sure you replace website.com with your own domain name.
Centos making things difficult again.