Book Image

Troubleshooting Ubuntu Server

By : Skanda Bhargav
Book Image

Troubleshooting Ubuntu Server

By: Skanda Bhargav

Overview of this book

Table of Contents (16 chapters)
Troubleshooting Ubuntu Server
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

DNS


We will set up the DNS server using Berkeley Internet Name Daemon (BIND). Most of you might be familiar with DNS and its working. DNS is the largest distributed directory used for IP address lookup against domain names. Most administrators use BIND to run the DNS server. The version we will be using is BIND9.

BIND comes with three components: named, resolver, and tools such as dig. The named (pronounced name-dee) daemon does the job of answering. Resolver is the daemon that runs the queries to find IP addresses for domain names. It uses the resolv.conf directory for this purpose. Network administrators configure the resolv.conf.d folder. BIND provides tools such as dig to test DNS. We will look at more tools in a later section of this chapter.

Setting up DNS

Install BIND on your Ubuntu Server using the following command:

sudo apt-get install bind9

You will see a message similar to what is shown in the following screenshot:

For security reasons, it is recommended to run BIND as non-root user...