summaryrefslogtreecommitdiff
path: root/source4/setup/named.conf
blob: eb5098ae3c8d34bb7da78d33b15f1da4557ed8d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# Insert these snippets into your named.conf or bind.conf to configure
# the BIND nameserver.
#

#insert this into options {}
tkey-gssapi-credential "DNS/${DNSDOMAIN}"
tkey-domain "${REALM}";

#the zone file
zone "${DNSDOMAIN}." IN {
        type master;
        file "${DNSDOMAIN}.zone";
};

# Also, you need to change your init scripts to set this environment variable
# for named: KRB_KTNAME so that it points to the keytab generated.
# In RedHat derived systems such RHEL/CentOS/Fedora you can add the following
# line to the /etc/sysconfig/named file
# export KRB_KTNAME=/etc/named.keytab

# *TODO*: generate and install a keytab file in /etc/named.keytab