recursion no setting

Discussion in 'Installation/Configuration' started by alphaman36, Aug 26, 2012.

  1. alphaman36

    alphaman36 New Member

    What file do I want to put the recursion no statement in on a dns server
     
  2. falko

    falko Super Moderator

    If you use Debian/Ubuntu, it's /etc/bind/named.conf.options:

    Code:
    options {
            directory "/var/cache/bind";
    
            // If there is a firewall between you and nameservers you want
            // to talk to, you may need to fix the firewall to allow multiple
            // ports to talk.  See [url]http://www.kb.cert.org/vuls/id/800113[/url]
    
            // If your ISP provided one or more IP addresses for stable
            // nameservers, you probably want to use them as forwarders.
            // Uncomment the following block, and insert the addresses replacing
            // the all-0's placeholder.
    
            // forwarders {
            //      0.0.0.0;
            // };
            allow-recursion { none; };
            auth-nxdomain no;    # conform to RFC1035
            listen-on-v6 { any; };
    };
     

Share This Page