Results 1 to 2 of 2

Thread: How to disable the recursive queries to Nameserver (DNS)?

  1. #1

    Default How to disable the recursive queries to Nameserver (DNS)?

    If DNS tools like intodns.com gives following warning for the nameservers configured,

    I could use the nameservers listed below to performe recursive queries. It may be that I am wrong but the chances of that are low. You should not have nameservers that allow recursive queries as this will allow almost anyone to use your nameservers and can cause problems.
    then you can disable recursive queries to your nameservers in the following way,

    Put either of the following codes in option section of the /etc/named.conf

    allow-transfer {“none”;};
    allow-recursion {“none”;};
    recursion no;
    OR

    allow-recursion {localnets ;};
    Save and quite named.conf and restart nameserver service (/etc/init.d/named restart)
    Last edited by kaustubh_s; 06-23-2011 at 12:04 AM.

  2. #2
    Join Date
    Sep 2011
    Posts
    12

    Default

    Thank you for your suggestion
    It'll implemented by some guys after reading this post.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •