summaryrefslogtreecommitdiffstats
path: root/install/tools/ipa-dns-install
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2011-01-03 08:48:29 -0500
committerSimo Sorce <ssorce@redhat.com>2011-01-07 04:53:50 -0500
commit56f000e9a9330598c5768aee0697c4423500a4fe (patch)
treea3d37ebe67f905c2ae0196927b9bdbd7887c35c1 /install/tools/ipa-dns-install
parent575d014ac5b28a1f14dd37196adc02b7b653baff (diff)
downloadfreeipa-56f000e9a9330598c5768aee0697c4423500a4fe.tar.gz
freeipa-56f000e9a9330598c5768aee0697c4423500a4fe.tar.xz
freeipa-56f000e9a9330598c5768aee0697c4423500a4fe.zip
Allow ipa-dns-install to configure DNS on a replica.
Fixes: https://fedorahosted.org/freeipa/ticket/645
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