From 56f000e9a9330598c5768aee0697c4423500a4fe Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 3 Jan 2011 08:48:29 -0500 Subject: Allow ipa-dns-install to configure DNS on a replica. Fixes: https://fedorahosted.org/freeipa/ticket/645 --- install/tools/ipa-dns-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install/tools/ipa-dns-install') 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 -- cgit