summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/bindinstance.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipaserver/install/bindinstance.py')
-rw-r--r--ipaserver/install/bindinstance.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ipaserver/install/bindinstance.py b/ipaserver/install/bindinstance.py
index 188f3dc0e..08c32f483 100644
--- a/ipaserver/install/bindinstance.py
+++ b/ipaserver/install/bindinstance.py
@@ -538,6 +538,12 @@ def check_forwarders(dns_forwarders, logger):
return forwarders_dnssec_valid
+def remove_master_dns_records(hostname, realm):
+ bind = BindInstance()
+ bind.remove_master_dns_records(hostname, realm, realm.lower())
+ bind.remove_server_ns_records(hostname)
+
+
class DnsBackup(object):
def __init__(self, service):
self.service = service