-
Download the latest version of source code file from BIND 9 - ISC.
-
Extract the
.tarfile.
|
›_ Console |
|---|
|
-
Go to the extracted folder and run the
autoreconfcommand.
|
›_ Console |
|---|
|
-
Install the dependent packages for Bind9 .
|
›_ Console |
|---|
|
-
Run the
configurecommand.
|
›_ Console |
|---|
|
-
Build and install Bind9 as described below:
|
›_ Console |
|---|
|
It will install Bind9 on default directory as /usr/local/.
-
Move the file
named.root.keyandnamed.rfc1912.zonesto/etcdirectory. -
Check the version of Bind9 as described below.
Bind9 version output
-
Create a forward and reverse zone file at the
/var/nameddirectory.
For example, below are sample files example.net and exampleRev.net for forward and reverse zones respectively.
example.net
exampleRev.net
-
Make the appropriate changes in the configuration file of Bind9 that is
/usr/local/etc/named.confrelated to zone as highlighted. Below is the sample filenamed.conf.
|
named.conf |
|---|
|
-
Start the 'named' service for Bind9 using below command and verify the 'named' process running.
|
›_ Console |
|---|
|
Start named service