diff options
author | Martin Kosek <mkosek@redhat.com> | 2011-08-31 14:42:57 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2011-08-31 16:46:12 +0200 |
commit | 6a2dfde086bdda62964a9737a300818d2ab24a4b (patch) | |
tree | 2053bdc0213f0a204e14ffe9f2cb4407ec22a65b /ipalib | |
parent | ca1ca17cb61516dff6933b1b0381b32e1e38d44c (diff) | |
download | freeipa-6a2dfde086bdda62964a9737a300818d2ab24a4b.tar.gz freeipa-6a2dfde086bdda62964a9737a300818d2ab24a4b.tar.xz freeipa-6a2dfde086bdda62964a9737a300818d2ab24a4b.zip |
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
Diffstat (limited to 'ipalib')
-rw-r--r-- | ipalib/constants.py | 3 |
1 files changed, 3 insertions, 0 deletions
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 |