mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-26 17:01:14 -06:00
bb56285f6b
* Make host-add, host-del and reverse zone creation IPv6 aware * Make Bind listen on IPv6 interfaces, too https://fedorahosted.org/freeipa/ticket/398
45 lines
1.0 KiB
Plaintext
45 lines
1.0 KiB
Plaintext
options {
|
|
// turns on IPv6 for port 53, IPv4 is on by default for all ifaces
|
|
listen-on-v6 {any;};
|
|
|
|
// Put files that named is allowed to write in the data/ directory:
|
|
directory "/var/named"; // the default
|
|
dump-file "data/cache_dump.db";
|
|
statistics-file "data/named_stats.txt";
|
|
memstatistics-file "data/named_mem_stats.txt";
|
|
|
|
forward first;
|
|
forwarders {$FORWARDERS};
|
|
|
|
tkey-gssapi-credential "DNS/$FQDN";
|
|
tkey-domain "$REALM";
|
|
};
|
|
|
|
/* If you want to enable debugging, eg. using the 'rndc trace' command,
|
|
* By default, SELinux policy does not allow named to modify the /var/named directory,
|
|
* so put the default debug log file in data/ :
|
|
*/
|
|
logging {
|
|
channel default_debug {
|
|
file "data/named.run";
|
|
severity dynamic;
|
|
};
|
|
};
|
|
|
|
zone "." IN {
|
|
type hint;
|
|
file "named.ca";
|
|
};
|
|
|
|
include "/etc/named.rfc1912.zones";
|
|
|
|
dynamic-db "ipa" {
|
|
library "ldap.so";
|
|
arg "uri ldapi://%2fvar%2frun%2fslapd-$SERVER_ID.socket";
|
|
arg "base cn=dns, $SUFFIX";
|
|
arg "fake_mname $FQDN.";
|
|
arg "auth_method sasl";
|
|
arg "sasl_mech GSSAPI";
|
|
arg "sasl_user DNS/$FQDN";
|
|
};
|