summaryrefslogtreecommitdiffstats
path: root/install/tools
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2014-09-12 13:20:16 +0200
committerPetr Viktorin <pviktori@redhat.com>2014-09-25 16:38:02 +0200
commit7e24e241ba18dddba6cc217b1108c4874647c8de (patch)
tree75d38b82e5a00d9f2100d10f920d8cc7dedbd935 /install/tools
parent7bc17bb8528f3dbeaf70822ee952e67bd7cf08f5 (diff)
downloadfreeipa-7e24e241ba18dddba6cc217b1108c4874647c8de.tar.gz
freeipa-7e24e241ba18dddba6cc217b1108c4874647c8de.tar.xz
freeipa-7e24e241ba18dddba6cc217b1108c4874647c8de.zip
Add correct NS records during installation
All ipa-dns capable server is added to root zones as nameserver During uninstall all NS records pointing to particular replica are removed. Part of ticket: https://fedorahosted.org/freeipa/ticket/4149 Reviewed-By: Petr Spacek <pspacek@redhat.com>
Diffstat (limited to 'install/tools')
-rwxr-xr-xinstall/tools/ipa-replica-manage1
1 files changed, 1 insertions, 0 deletions
diff --git a/install/tools/ipa-replica-manage b/install/tools/ipa-replica-manage
index aa710953a..e44131ebe 100755
--- a/install/tools/ipa-replica-manage
+++ b/install/tools/ipa-replica-manage
@@ -745,6 +745,7 @@ def del_master(realm, hostname, options):
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)
except Exception, e:
print "Failed to cleanup %s DNS entries: %s" % (hostname, e)
print "You may need to manually remove them from the tree"