summaryrefslogtreecommitdiffstats
path: root/ipalib/messages.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/messages.py')
-rw-r--r--ipalib/messages.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/ipalib/messages.py b/ipalib/messages.py
index 6d871bc10..5eeab3c54 100644
--- a/ipalib/messages.py
+++ b/ipalib/messages.py
@@ -179,6 +179,28 @@ class OptionSemanticChangedWarning(PublicMessage):
u"%(current_behavior)s.\n%(hint)s")
+class DNSServerNotRespondingWarning(PublicMessage):
+ """
+ **13006** Used when a DNS server is not responding to queries
+ """
+
+ errno = 13006
+ type = "warning"
+ format = _(u"DNS server %(server)s not responding.")
+
+
+class DNSServerDoesNotSupportDNSSECWarning(PublicMessage):
+ """
+ **13007** Used when a DNS server does not support DNSSEC validation
+ """
+
+ errno = 13007
+ type = "warning"
+ format = _(u"DNS server %(server)s does not support DNSSEC. "
+ u"If DNSSEC validation is enabled on IPA server(s), "
+ u"please disable it.")
+
+
def iter_messages(variables, base):
"""Return a tuple with all subclasses
"""