summaryrefslogtreecommitdiffstats
path: root/install/tools/ipa-dns-install
diff options
context:
space:
mode:
Diffstat (limited to 'install/tools/ipa-dns-install')
-rwxr-xr-xinstall/tools/ipa-dns-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/tools/ipa-dns-install b/install/tools/ipa-dns-install
index d4cd1eb76..01967c179 100755
--- a/install/tools/ipa-dns-install
+++ b/install/tools/ipa-dns-install
@@ -115,7 +115,7 @@ def main():
api.bootstrap(**cfg)
api.finalize()
- if bindinstance.dns_container_exists(api.env.host, api.env.realm):
+ if bindinstance.named_conf_exists():
sys.exit("\nDNS is already configured in this IPA server.")
# Check we have a public IP that is associated with the hostname