Hostwinds Tutorials

Search results for:

Table of Contents

Installing Bind on Ubuntu Server 16.04

How to install Bind on Ubuntu 16.04

Tags: Bind,  Ubuntu 

Installing Bind on Ubuntu Server 16.04

The de-facto standard Domain Name System server of the Linux / BSD world, BIND, is easy to install on Ubuntu and 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

Written by Hostwinds Team  /  November 22, 2018