Added necessary A record for the replica to root zone

A master can only be delegated a zone authority, if this zone contains A
records of the master and ALL replicas

https://fedorahosted.org/freeipa/ticket/5848

Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Oleg Fayans
2016-05-11 12:11:09 +02:00
committed by Martin Basti
parent 5567dff4b4
commit 84e5065b39

View File

@@ -363,6 +363,11 @@ class TestInstallDNSSECFirst(IntegrationTest):
"--a-rec=" + self.master.ip "--a-rec=" + self.master.ip
] ]
self.master.run_command(args) self.master.run_command(args)
args = [
"ipa", "dnsrecord-add", root_zone, self.replicas[0].hostname,
"--a-rec=" + self.replicas[0].ip
]
self.master.run_command(args)
time.sleep(10) # sleep a bit until data are provided by bind-dyndb-ldap time.sleep(10) # sleep a bit until data are provided by bind-dyndb-ldap
args = [ args = [