summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/dns.py
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2016-06-12 18:05:48 +0200
committerMartin Basti <mbasti@redhat.com>2016-06-17 15:22:24 +0200
commit45a93265740fdfc14e6ee8785f844f8d34508fc4 (patch)
tree2b17e7e5b9b0ac21ec599f4295860f28a2eca778 /ipaserver/install/dns.py
parente23159596e1851f156461d00b9f9f99dc698e12b (diff)
downloadfreeipa-45a93265740fdfc14e6ee8785f844f8d34508fc4.tar.gz
freeipa-45a93265740fdfc14e6ee8785f844f8d34508fc4.tar.xz
freeipa-45a93265740fdfc14e6ee8785f844f8d34508fc4.zip
DNS Locations: use dns_update_service_records in installers
use the dns_update_system_records command to set proper DNS records https://fedorahosted.org/freeipa/ticket/2008 Reviewed-By: Petr Spacek <pspacek@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipaserver/install/dns.py')
-rw-r--r--ipaserver/install/dns.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipaserver/install/dns.py b/ipaserver/install/dns.py
index 0fb869a7b..2ea11739e 100644
--- a/ipaserver/install/dns.py
+++ b/ipaserver/install/dns.py
@@ -359,6 +359,9 @@ def install(standalone, replica, options, api=api):
dnskeysyncd.start_dnskeysyncd()
bind.start_named()
+ # this must be done when bind is started and operational
+ bind.update_system_records()
+
if standalone:
print("==============================================================================")
print("Setup complete")