Search The Hostwinds Guides Knowledge Base

How to install Bind on Ubuntu 16.04

Share This Article [TheChamp-Sharing]

The de-facto standard Domain Name System server of the Linux / BSD world, BIND is easy to install on Ubuntu as well as any other distributions. BIND translates domain names to IP addresses primarily, but has a few other functions. Installing BIND on Ubuntu 16.04 is as follows:

 

Installing Bind on Ubuntu Server 16.04

Unlike the desktop versions of Ubuntu, our Ubuntu Server VPS image will give you root on the command line, so you don’t need to use ‘sudo’ to run commands as root. These commands should be performed from the command line after Connecting to Your Server with SSH.

If you have just installed Ubuntu, you should make sure it’s up-to-date:

apt-get update
apt-get upgrade

(hit enter when it asks if you want to upgrade)

 

Then BIND can be installed — BIND 9 is the version in Ubuntu 16.04:

apt install bind9

 

After you Configure BIND on your server (the same instructions for CentOS will work in Ubuntu) you will want to start it:

systemctl start bind9.service

 

You probably also want it to start on boot

systemctl enable bind9.service

 

You can check the status with

systemctl status bind9.service

 

And after any further configuration changes you’ll want to restart the service:

systemctl restart bind9.service