diff options
author | Petr Spacek <pspacek@redhat.com> | 2016-04-28 22:19:03 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-05-30 20:14:32 +0200 |
commit | 6eb00561c0f85085d86f7be936b632ba017fc4f1 (patch) | |
tree | 2eff845941b55555c427d76458f0912bfc1d828f /ipaserver/install/plugins | |
parent | e45a80308c947a58c0fb5266d75eedc1d9aef321 (diff) | |
download | freeipa-6eb00561c0f85085d86f7be936b632ba017fc4f1.tar.gz freeipa-6eb00561c0f85085d86f7be936b632ba017fc4f1.tar.xz freeipa-6eb00561c0f85085d86f7be936b632ba017fc4f1.zip |
DNS upgrade: change global forwarding policy in named.conf to "only" if private IPs are used
This change is necessary to override automatic empty zone configuration
in latest BIND and bind-dyndb-ldap 9.0+.
This upgrade has to be done on each IPA DNS server independently.
https://fedorahosted.org/freeipa/ticket/5710
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipaserver/install/plugins')
-rw-r--r-- | ipaserver/install/plugins/dns.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ipaserver/install/plugins/dns.py b/ipaserver/install/plugins/dns.py index 3c1d4e9a4..d2a9bd8f8 100644 --- a/ipaserver/install/plugins/dns.py +++ b/ipaserver/install/plugins/dns.py @@ -267,7 +267,8 @@ class update_master_to_dnsforwardzones(DNSUpdater): than none, will be tranformed to forward zones. Original masters zone will be backed up to ldif file. - This should be applied only once, and only if original version was lower than 4.0 + This should be applied only once, + and only if original version was lower than 4.0 """ backup_filename = u'dns-master-to-forward-zones-%Y-%m-%d-%H-%M-%S.ldif' @@ -480,8 +481,8 @@ class update_dnsforward_emptyzones(DNSUpdater): # forwardzones already use new semantics, no upgrade is required return False, [] - self.log.debug('Updating forwarding policies to avoid conflicts ' - 'with automatic empty zones') + self.log.debug('Updating forwarding policies in LDAP ' + 'to avoid conflicts with automatic empty zones') # update the DNSVersion, following upgrade can be executed only once self.api.Command['dnsconfig_mod'](ipadnsversion=2) |