summaryrefslogtreecommitdiffstats
path: root/install/tools
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2016-06-12 18:05:48 +0200
committerMartin Basti <mbasti@redhat.com>2016-06-17 15:22:24 +0200
commit45a93265740fdfc14e6ee8785f844f8d34508fc4 (patch)
tree2b17e7e5b9b0ac21ec599f4295860f28a2eca778 /install/tools
parente23159596e1851f156461d00b9f9f99dc698e12b (diff)
downloadfreeipa-45a93265740fdfc14e6ee8785f844f8d34508fc4.tar.gz
freeipa-45a93265740fdfc14e6ee8785f844f8d34508fc4.tar.xz
freeipa-45a93265740fdfc14e6ee8785f844f8d34508fc4.zip
DNS Locations: use dns_update_service_records in installers
use the dns_update_system_records command to set proper DNS records https://fedorahosted.org/freeipa/ticket/2008 Reviewed-By: Petr Spacek <pspacek@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'install/tools')
-rwxr-xr-xinstall/tools/ipa-csreplica-manage2
-rwxr-xr-xinstall/tools/ipa-replica-manage1
2 files changed, 1 insertions, 2 deletions
diff --git a/install/tools/ipa-csreplica-manage b/install/tools/ipa-csreplica-manage
index f271863b8..a0a61b540 100755
--- a/install/tools/ipa-csreplica-manage
+++ b/install/tools/ipa-csreplica-manage
@@ -286,7 +286,7 @@ def del_master(realm, hostname, options):
if bindinstance.dns_container_exists(options.host, api.env.basedn,
dm_password=options.dirman_passwd):
bind = bindinstance.BindInstance()
- bind.remove_ipa_ca_dns_records(hostname, realm.lower())
+ bind.update_system_records()
except Exception as e:
print("Failed to cleanup %s DNS entries: %s" % (hostname, e))
print("You may need to manually remove them from the tree")
diff --git a/install/tools/ipa-replica-manage b/install/tools/ipa-replica-manage
index 095cca688..5a546e33c 100755
--- a/install/tools/ipa-replica-manage
+++ b/install/tools/ipa-replica-manage
@@ -898,7 +898,6 @@ def cleanup_server_dns_entries(realm, hostname, suffix, options):
dm_password=options.dirman_passwd):
bind = bindinstance.BindInstance()
bind.remove_master_dns_records(hostname, realm, realm.lower())
- bind.remove_ipa_ca_dns_records(hostname, realm.lower())
bind.remove_server_ns_records(hostname)
keysyncd = dnskeysyncinstance.DNSKeySyncInstance()