diff options
author | Martin Nagy <mnagy@redhat.com> | 2009-11-10 13:12:21 +0100 |
---|---|---|
committer | Martin Nagy <mnagy@redhat.com> | 2009-12-02 13:07:13 +0100 |
commit | 0d1962962fd273d2867537aebb7b94c25d6580c4 (patch) | |
tree | 1acca54ccb588fcb79ea4b422891f34d7d6e828d /ipalib/plugins/dns.py | |
parent | d147eafb075ae4207f95cdbea78697178b4bb68e (diff) | |
download | freeipa-0d1962962fd273d2867537aebb7b94c25d6580c4.tar.gz freeipa-0d1962962fd273d2867537aebb7b94c25d6580c4.tar.xz freeipa-0d1962962fd273d2867537aebb7b94c25d6580c4.zip |
Add idnsUpdatePolicy into the dns plug-in
The idnsUpdatePolicy takes a list of BIND dynamic update policies, each
of which must be terminated by ";". Also fix a minor error in the
documentation string.
Diffstat (limited to 'ipalib/plugins/dns.py')
-rw-r--r-- | ipalib/plugins/dns.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py index b956b7fb9..d04803a4e 100644 --- a/ipalib/plugins/dns.py +++ b/ipalib/plugins/dns.py @@ -25,7 +25,7 @@ the BIND LDAP plugin. EXAMPLES: Add new zone; - ipa dns-create example.com nameserver.example.com admin@example.com + ipa dns-add example.com nameserver.example.com admin@example.com Add second nameserver for example.com: ipa dns-add-rr example.com @ NS nameserver2.example.com @@ -160,6 +160,10 @@ class dns(Object): cli_name='allow_dynupdate', doc='allow dynamic update?', ), + Str('idnsupdatepolicy?', + cli_name='update_policy', + doc='BIND update policy', + ), ) api.register(dns) |