diff options
-rw-r--r-- | ipalib/plugins/dns.py | 2 | ||||
-rw-r--r-- | ipaserver/install/bindinstance.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py index e3522c90..b3a6abc6 100644 --- a/ipalib/plugins/dns.py +++ b/ipalib/plugins/dns.py @@ -670,7 +670,7 @@ class dnszone(LDAPObject): cli_name='admin_email', label=_('Administrator e-mail address'), doc=_('Administrator e-mail address'), - default_from=lambda idnsname: 'root.%s' % idnsname, + default_from=lambda idnsname: 'hostmaster.%s' % idnsname, normalizer=normalize_zonemgr, ), Int('idnssoaserial?', diff --git a/ipaserver/install/bindinstance.py b/ipaserver/install/bindinstance.py index 0b4a8d57..c7e38282 100644 --- a/ipaserver/install/bindinstance.py +++ b/ipaserver/install/bindinstance.py @@ -188,7 +188,7 @@ def add_zone(name, zonemgr=None, dns_backup=None, ns_hostname=None, ns_ip_addres update_policy = "grant %(realm)s krb5-self * A; grant %(realm)s krb5-self * AAAA;" % dict(realm=api.env.realm) if zonemgr is None: - zonemgr = 'root.%s' % name + zonemgr = 'hostmaster.%s' % name if ns_hostname is None: # automatically retrieve list of DNS masters @@ -387,7 +387,7 @@ class BindInstance(service.Service): self.zone_notif = zone_notif if not zonemgr: - self.zonemgr = 'root.%s.%s' % (self.host, self.domain) + self.zonemgr = 'hostmaster.%s' % self.domain else: self.zonemgr = normalize_zonemgr(zonemgr) |