Installing BIND as DNS Server on FreeBSD 8.3

Home / Installing BIND as DNS Server on FreeBSD 8.3

Installing BIND as DNS Server on FreeBSD 8.3

December 9, 2015 | Article | No Comments

BIND by far is the most popular Domain Name System (DNS) Server used worldwide. It provides a robust and stable platform on top of which organization can build distributed computing system with the knowledge that those system are fully compliant with published DNS standards.

One of reason BIND become popular is indeed BIND is the application developed by Internet System Consortium, a nonprofit corporation dedicated to supporting the infrastructure of the universal connected self-organizing internet.

In this article we will discuss about installation and simple configuration of BIND on FreeBSD. Here I use:

  1. FreeBSD amd64 8.3

Although I use FreeBSD amd64 8.3, this method is general so we can apply it to other FreeBSD platform and version. Having a registered domain name is not necessary as for this article, but it is strongly recommended.

Installation

Make sure you have become super user by using su. Installing BIND is as easy as other ports installation.

cd /usr/ports/dns/bind99
make config
make install clean

At this point, standard installation of BIND has been successfully installed on our system. Before using BIND, we should do a little adjustment and configuration.

Add NO_BIND=YES to make.conf. This tells the make command not to build the base version of BIND if we want to rebuild FreeBSD from source. Using this method, we can prevent the system from downgrading BIND to older version.

echo 'NO_BIN=YES' >> /etc/make.conf

Next, we also want BIND to start automatically at boot time. Here we modify our rc.conf:

echo 'named_enable="YES"' >> /etc/rc.conf

Now, start the BIND if you don’t start it yet.

/etc/rc.d/named start

Resource

  1. RFC 1034 – Domain Names: Concepts and Facilities (http://tools.ietf.org/html/rfc1034)
  2. RFC 1035 – Domain Names: Implementation and Specification (http://tools.ietf.org/html/rfc1035)

,

About Author

about author

xathrya

A man who is obsessed to low level technology.

Leave a Reply

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

Social media & sharing icons powered by UltimatelySocial