AlternC/etc/alternc/templates/bind/named.conf.options

47 lines
1.1 KiB
Plaintext

//
// AUTO GENERATED FILE
// Will be override by AlternC
// To modify, modify
// /etc/alternc/templates/bind/named.conf.options
// and launch alternc.install
//
// Bind configuration for AlternC
//
// This is mostly a non-recursive, authoritative DNS server configuration
options {
directory "/var/cache/bind";
// forwarders {
// 0.0.0.0;
// };
version "Name Server Ready";
auth-nxdomain no; # conform to RFC1035
allow-query { "internal"; };
allow-transfer { "allslaves"; "internal"; };
recursion no;
# DnsSec configuration. This is close to defaults for bind9.
# To fully enable certain types of validation, managed-keys or trusted-keys
# should be added.
dnssec-enable yes;
dnssec-validation yes;
# Look-aside servers are no longer operational.
# Alternatively specific domains could be configured here.
dnssec-lookaside no;
};
acl "internal" {
{
127.0.0.1; ::1;
};
};
// the ip of the slaves generated by alternc
include "/var/lib/alternc/bind/slaveip.conf";
include "/etc/bind/rndc.key";
// the zones generated by the users
include "/var/lib/alternc/bind/automatic.conf";