mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Clarify error messages in ipa-replica-prepare: add_dns_records()
Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
parent
6259be5fd6
commit
b5b8dd6cec
@ -482,7 +482,7 @@ class ReplicaPrepare(admintool.AdminTool):
|
||||
add_zone(domain)
|
||||
except errors.PublicError, e:
|
||||
raise admintool.ScriptError(
|
||||
"Could not create forward DNS zone for the replica: %s" % e)
|
||||
"Could not create master DNS zone for the replica: %s" % e)
|
||||
|
||||
for reverse_zone in options.reverse_zones:
|
||||
self.log.info("Adding reverse zone %s", reverse_zone)
|
||||
@ -494,7 +494,7 @@ class ReplicaPrepare(admintool.AdminTool):
|
||||
add_fwd_rr(domain, name, ip_address)
|
||||
except errors.PublicError, e:
|
||||
raise admintool.ScriptError(
|
||||
"Could not add forward DNS record for the replica: %s" % e)
|
||||
"Could not add A/AAAA DNS record for the replica: %s" % e)
|
||||
|
||||
if not options.no_reverse:
|
||||
reverse_zone = bindinstance.find_reverse_zone(ip)
|
||||
@ -502,7 +502,7 @@ class ReplicaPrepare(admintool.AdminTool):
|
||||
add_ptr_rr(reverse_zone, ip_address, self.replica_fqdn)
|
||||
except errors.PublicError, e:
|
||||
raise admintool.ScriptError(
|
||||
"Could not add reverse DNS record for the replica: %s"
|
||||
"Could not add PTR DNS record for the replica: %s"
|
||||
% e)
|
||||
|
||||
def check_dns(self, replica_fqdn):
|
||||
|
Loading…
Reference in New Issue
Block a user