Installation Procedure for BIND in Ubuntu
- Install bind with the command given below
apt-get install bind9 bind9utils
- Open /etc/bind/ folder to modify named.conf.options and named.conf configuration files.
- Modify the named.conf.options file with the command
vim named.conf.options
- Check whether these parameters are uncommented as shown below-
dnssec-validation no; listen-on {127.0.0.1;};
auth-nxdomain no; # conform to RFC1035
//listen-on-v6 { any; };
- Modify the named.conf file with this command
vim named.conf
- Add the below line at the end of the file
include "/etc/bind/safesquid.dns.conf";
- Restart the bind9 service with the command given below.
/etc/init.d/bind9 restart
- Starting domain name service... bind9
[ OK ]