Bind 9.14.0 Installation Script – Ubuntu

Installation script, bind compiled from source with options --sysconfdir=/etc/named --with-openssl --with-libxml2 --enable-threads, tested on ubuntu 18.04.02 but should work on ubuntu 16.04 aswell

download script here -> install-bind.sh

Service commands

  • service bind9 start
  • service bind9 stop
  • service bind9 restart
  • service bind9 status
  • rndc status

unfortunately bind service dosen't stop if there is an configuration error, but you can see if there is an error by looking at logs in service status " service bind9 status"

to enable IPv6 change following line in the script from

ExecStart=/usr/local/sbin/named -4 -f  to  ExecStart=/usr/local/sbin/named -f

 

Leave a Reply

Your email address will not be published. Required fields are marked *