So I wanted to install a DNS(nameserver) into a CentOS 5.5 machine, the easiest way is:
using Bind9 with chroot as installed by default in the CentOS server.
# cd /var/named/chroot/etc/
edit/create the file
# nano named.conf
put this in the file
options {directory "/var/named";forwarders { 8.8.8.8; };};# service named start# dig google.com
the service should be all ok and responding, don't forget to change the /etc/resolv.conf to point to the new nameserver
Sem comentários:
Enviar um comentário