summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/dns.py
diff options
context:
space:
mode:
authorMartin Nagy <mnagy@redhat.com>2009-11-10 13:12:21 +0100
committerMartin Nagy <mnagy@redhat.com>2009-12-02 13:07:13 +0100
commit0d1962962fd273d2867537aebb7b94c25d6580c4 (patch)
tree1acca54ccb588fcb79ea4b422891f34d7d6e828d /ipalib/plugins/dns.py
parentd147eafb075ae4207f95cdbea78697178b4bb68e (diff)
downloadfreeipa-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.py6
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)