Search This Blog

Saturday, 24 June 2017

How To Install the BIND DNS Server on CentOS 6


Step 1: First we need to install the Bind and Bind utilites packages using the following command

ftp-1

Step 2: Next we need to make a several modification on that bind configuration file using the following command to edit the
bind configuration file

2

Step 3: Next you have seen like below you need to edit some of the lines I have listed it below
listen-on must be commented to listen on all available interfaces. Make a changes in allow-query directive to “any”   Add your IP address in allow-transfer directive


3



Step 4: Next Scroll down to this file end and add a new zone for our first domain. You should add the followingto your named.conf below the existing zones.
           Zone after add your domain name and type will be master next change the file as your zone name  finally save and exit the file with :wq command.


4


Step 5: Next we need to configure Bind zones, so move to the following path and create a zone file, using the name you specified in the configuration above


5


Step 6: Edit the zone file, add the following content on your zone file, with your applicable information with your own, using your domain name and nameservers and IP address. Then save and exit the file using :wq command


6


Step 7: Next change the owner permission to named for your newly created zone, using the following command to change it.


7


Step 8: All the steps are perfectly done, then you need to restart the Bind service, using the following command to
restart the Bind service


8


Step 9: Once named has started successfully, we need to ensure that it is enabled as a startup service, by running the following command.


9


Step 10:you can verify that BIND is working correctly by running the following command, if you receive a response with includes an answer and authority section, your nameserver has been configured correctly.


10
11



Thank You.....!

No comments:

Post a Comment