Disable recursive queries in bind(DNS):

As as per my previous blog “DNS (BIND) Slave Server Installation & Configuration” ( https://vabsnanoti.wordpress.com/2012/03/01/dns-bind-slave-server-installation-configuration ).

We can add the below steps to disable recursive queries in bind server (Mastar/Slave). By default, bind will allow recursive queries. But if the server is meant to act as a name server for specific domains then we have to restrict it for recursive queries . Or It is ok if it act as internal DNS server.

SO to disable recursive queries, add the following to the options section of named.conf:


allow-transfer {“none”;};

allow-recursion {“none”;};

recursion no;

And restart the named service

You may check the recursive queries status On : http://www.intodns.com/
    

About these ads

1 Comment

Filed under DNS, Linux

One response to “Disable recursive queries in bind(DNS):

  1. Generally I do not learn article on blogs, however I would like to say that this write-up very pressured me to check out and do it! Your writing style has been amazed me. Thank you, quite nice post.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s