summaryrefslogtreecommitdiff
path: root/source4/setup/named.conf
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2007-08-24 13:31:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:02:32 -0500
commit7663475111079b8e2415d6e1ee20527c7463f613 (patch)
tree4210892cb921058722a85d8344fa3fb8e1bb66b7 /source4/setup/named.conf
parent61582b5d8a7d718e201bdeaa1d9d991bd1e4a133 (diff)
downloadsamba-7663475111079b8e2415d6e1ee20527c7463f613.tar.gz
samba-7663475111079b8e2415d6e1ee20527c7463f613.tar.bz2
samba-7663475111079b8e2415d6e1ee20527c7463f613.zip
r24651: Allow dynamic updates for the domain controller over its own name
(This used to be commit ce9b64341159cb1a8f42809dcecc0b1e80eb8a5e)
Diffstat (limited to 'source4/setup/named.conf')
-rw-r--r--source4/setup/named.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/setup/named.conf b/source4/setup/named.conf
index eb5098ae3c..2513632a47 100644
--- a/source4/setup/named.conf
+++ b/source4/setup/named.conf
@@ -11,6 +11,11 @@ tkey-domain "${REALM}";
zone "${DNSDOMAIN}." IN {
type master;
file "${DNSDOMAIN}.zone";
+ update-policy {
+ /* use ANY only for Domain controllers for now */
+ /* for normal machines A AAAA PTR is probbaly all is needed */
+ grant ${HOSTNAME}.${DNSDOMAIN}@${REALM} name ${HOSTNAME}.${DNSDOMAIN} ANY;
+ };
};
# Also, you need to change your init scripts to set this environment variable