summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/bindinstance.py
diff options
context:
space:
mode:
authorMartin Nagy <mnagy@redhat.com>2010-04-19 03:39:52 +0200
committerRob Crittenden <rcritten@redhat.com>2010-04-23 17:19:41 -0400
commit04182bf68fca4ff259314ec7c0a84a447866ec0f (patch)
treee6b496c61e27ff4cdc5326bb2453f33698ff1bdb /ipaserver/install/bindinstance.py
parent6e9cc2640bbc1df9142bb1165dbdb514c3a835c6 (diff)
downloadfreeipa-04182bf68fca4ff259314ec7c0a84a447866ec0f.tar.gz
freeipa-04182bf68fca4ff259314ec7c0a84a447866ec0f.tar.xz
freeipa-04182bf68fca4ff259314ec7c0a84a447866ec0f.zip
Add forgotten trailing dots in DNS records
583023
Diffstat (limited to 'ipaserver/install/bindinstance.py')
-rw-r--r--ipaserver/install/bindinstance.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ipaserver/install/bindinstance.py b/ipaserver/install/bindinstance.py
index 016d46fbd..d584e0af8 100644
--- a/ipaserver/install/bindinstance.py
+++ b/ipaserver/install/bindinstance.py
@@ -93,7 +93,7 @@ def add_zone(name, update_policy=None, dns_backup=None):
try:
api.Command.dns_add(unicode(name),
- idnssoamname=unicode(api.env.host),
+ idnssoamname=unicode(api.env.host+"."),
idnsallowdynupdate=True,
idnsupdatepolicy=unicode(update_policy))
except (errors.DuplicateEntry, errors.EmptyModlist):
@@ -109,13 +109,13 @@ def add_reverze_zone(ip_address, update_policy=None, dns_backup=None):
update_policy = "grant %s krb5-subdomain %s. PTR;" % (api.env.realm, zone)
try:
api.Command.dns_add(unicode(zone),
- idnssoamname=unicode(api.env.host),
+ idnssoamname=unicode(api.env.host+"."),
idnsallowdynupdate=True,
idnsupdatepolicy=unicode(update_policy))
except (errors.DuplicateEntry, errors.EmptyModlist):
pass
- add_rr(zone, "@", "NS", api.env.host, dns_backup)
+ add_rr(zone, "@", "NS", api.env.host+".", dns_backup)
return zone