summaryrefslogtreecommitdiffstats
path: root/ipalib/messages.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/messages.py')
-rw-r--r--ipalib/messages.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/ipalib/messages.py b/ipalib/messages.py
index 0f1dc63f2..910a93e33 100644
--- a/ipalib/messages.py
+++ b/ipalib/messages.py
@@ -437,6 +437,15 @@ class ServiceRestartRequired(PublicMessage):
)
+class LocationWithoutDNSServer(PublicMessage):
+ errno = 13026
+ type = "warning"
+ format = _(
+ "No DNS servers in IPA location %(location)s. Without DNS servers "
+ "location is not working as expected."
+ )
+
+
def iter_messages(variables, base):
"""Return a tuple with all subclasses
"""