r24651: Allow dynamic updates for the domain controller over its own name
[ira/wip.git] / source4 / setup / named.conf
index eb5098ae3c8d34bb7da78d33b15f1da4557ed8d2..2513632a476922754ef3b39b49acd4b3e8a51b3f 100644 (file)
@@ -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