Step 1: First we need to install the Bind and Bind utilites packages using the following command
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
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

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.

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
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

Step 7: Next change the owner permission to named for your newly created zone, using the following command to change it.
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
Step 9: Once named has started successfully, we need to ensure that it is enabled as a startup service, by running the following command.
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.

Thank You.....!
No comments:
Post a Comment