mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-27 16:46:42 -06:00
Fix idnsUpdatePolicy for reverse zone record
Make sure that idnsUpdatePolicy for reverse zone does not contain double trailing "dot" after server installation. https://fedorahosted.org/freeipa/ticket/1591
This commit is contained in:
parent
b936574672
commit
bc6e128426
@ -204,8 +204,9 @@ def add_zone(name, zonemgr=None, dns_backup=None, ns_hostname=None, ns_ip_addres
|
||||
|
||||
def add_reverse_zone(zone, ns_hostname=None, ns_ip_address=None,
|
||||
ns_replicas=[], update_policy=None, dns_backup=None):
|
||||
zone = normalize_zone(zone)
|
||||
if update_policy is None:
|
||||
update_policy = "grant %s krb5-subdomain %s. PTR;" % (api.env.realm, zone)
|
||||
update_policy = "grant %s krb5-subdomain %s PTR;" % (api.env.realm, zone)
|
||||
|
||||
if ns_hostname is None:
|
||||
# automatically retrieve list of DNS masters
|
||||
|
Loading…
Reference in New Issue
Block a user