summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2016-06-10 17:03:25 +0200
committerMartin Basti <mbasti@redhat.com>2016-06-17 15:22:24 +0200
commite23159596e1851f156461d00b9f9f99dc698e12b (patch)
tree5c3f2436a80b7326ad39eaa798f2fa538dfda68d /ipalib
parentcf634a4ff8a100589f99e57c51b2c4591853e88a (diff)
downloadfreeipa-e23159596e1851f156461d00b9f9f99dc698e12b.tar.gz
freeipa-e23159596e1851f156461d00b9f9f99dc698e12b.tar.xz
freeipa-e23159596e1851f156461d00b9f9f99dc698e12b.zip
DNS Locations: command dns-update-system-records
command dns-update-system-records updates/fixes DNS records for IPA services: * updating A, AAAA records for CA * updating SRV records for LDAP, kerberos and AD trust * updating TXT record in _kerberos with proper realm * updating dns locations if used https://fedorahosted.org/freeipa/ticket/2008 Reviewed-By: Petr Spacek <pspacek@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/messages.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/ipalib/messages.py b/ipalib/messages.py
index e863bdd49..a81cc664c 100644
--- a/ipalib/messages.py
+++ b/ipalib/messages.py
@@ -395,6 +395,29 @@ class DNSForwardPolicyConflictWithEmptyZone(PublicMessage):
)
+class DNSUpdateOfSystemRecordFailed(PublicMessage):
+ """
+ ** 13022 ** Update of a DNS system record failed
+ """
+ errno = 13022
+ type = "warning"
+ format = _(
+ "Update of system record '%(record)s' failed with error: %(error)s"
+ )
+
+
+class DNSUpdateNotIPAManagedZone(PublicMessage):
+ """
+ ** 13023 ** Zone for system records is not managed by IPA
+ """
+ errno = 13023
+ type = "warning"
+ format = _(
+ "IPA does not manage the zone %(zone)s, please add records "
+ "to your DNS server manually"
+ )
+
+
def iter_messages(variables, base):
"""Return a tuple with all subclasses
"""