Skip to content

Instantly share code, notes, and snippets.

@Canx
Created May 15, 2018 11:58
Show Gist options
  • Save Canx/ec13794e53b873cf6ff0801386666205 to your computer and use it in GitHub Desktop.
Save Canx/ec13794e53b873cf6ff0801386666205 to your computer and use it in GitHub Desktop.
options {
directory "/var/cache/bind";
zone-statistics yes;
statistics-file "/var/log/bind/named.stats";
// TODO: Actualizar bind para que esté soportado!
//statistics-channels {
// inet 127.0.0.1 port 8888 allow { 127.0.0.1; };
// inet ::1 port 8888 allow { ::1; };
//}
recursion yes;
// 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;
// };
//========================================================================
// If BIND logs error messages about the root key being expired,
// you will need to update your keys. See https://www.isc.org/bind-keys
//========================================================================
dnssec-enable yes;
dnssec-validation yes;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
forwarders {
//8.8.8.8;
//8.8.4.4;
172.27.111.5;
172.27.111.6;
};
listen-on { any; };
forward only;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment