From 423cbe668f80e10d41c7ac4b126c9733db7761a7 Mon Sep 17 00:00:00 2001 From: Michael Kroes Date: Mon, 29 Feb 2016 21:51:05 +0100 Subject: [PATCH] Display a slightly more meaningful message to the end-user --- management/status_checks.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/management/status_checks.py b/management/status_checks.py index c6355289..83d972de 100755 --- a/management/status_checks.py +++ b/management/status_checks.py @@ -418,6 +418,10 @@ def query_dns_ptr(qname): # chances of recovering from those are slim. break + # Display a slighty more meaningful message to the end users + if result == "[nonameservers]": + return "[bad response from authoritative nameservers]" + return result def check_alias_exists(alias_name, alias, env, output):