Skip to content

Instantly share code, notes, and snippets.

@itochan
Created March 14, 2013 14:49
Show Gist options
  • Save itochan/5161945 to your computer and use it in GitHub Desktop.
Save itochan/5161945 to your computer and use it in GitHub Desktop.
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 http://www.kb.cert.org/vuls/id/800113
// 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;
// };
// filter-aaaa-on-v4 yes;
max-ncache-ttl 120;
max-cache-ttl 3600;
recursive-clients 1000;
cleaning-interval 60;
lame-ttl 600;
max-cache-size unlimited;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
allow-query { any; };
allow-transfer {
127.0.0.1;
192.168.1.0/24;
};
forward only;
forwarders {
129.250.35.250;
129.250.35.251;
210.130.1.1;
210.130.0.1;
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment