mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-27 16:46:42 -06:00
Change default DNS zone manager to hostmaster
Change our default zone manager to hostmaster@<domain> (as per RFC 2142 recommendation). https://fedorahosted.org/freeipa/ticket/1981
This commit is contained in:
parent
3f0eb1417c
commit
6d97444620
@ -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?',
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user