From 5a495b91dea527f9ac051655e2fd26ca3f9deab5 Mon Sep 17 00:00:00 2001 From: Martin Kosek Date: Wed, 31 Aug 2011 14:42:57 +0200 Subject: Let Bind track data changes Integrate new bind-dyndb-ldap features to automatically track DNS data changes: 1) Zone refresh Set --zone-refresh in installation to define number of seconds between bind-dyndb-ldap polls for new DNS zones. User now doesn't have to restart name server when a new zone is added. 2) New zone notifications Use LDAP persistent search mechanism to immediately get notification when any new DNS zone is added. Use --zone-notif install option to enable. This option is mutually exclusive with Zone refresh. To enable this functionality in existing IPA installations, update a list of arguments for bind-dyndb-ldap in /etc/named.conf. An example when zone refresh is disabled and DNS data change notifications (argument psearch of bind-dyndb-ldap) are enabled: dynamic-db "ipa" { ... arg "zone_refresh 0"; arg "psearch yes"; }; This patch requires bind-dyndb-ldap-1.0.0-0.1.b1 or later. https://fedorahosted.org/freeipa/ticket/826 --- ipalib/constants.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ipalib/constants.py') diff --git a/ipalib/constants.py b/ipalib/constants.py index b4bb86dde..6d246288b 100644 --- a/ipalib/constants.py +++ b/ipalib/constants.py @@ -195,3 +195,6 @@ DEFAULT_CONFIG = ( ('log', object), # Path to context specific log file ) + +# Default DNS zone refresh interval in seconds (0 = disabled) +DNS_ZONE_REFRESH = 30 -- cgit