Display a slightly more meaningful message to the end-user

This commit is contained in:
Michael Kroes 2016-02-29 21:51:05 +01:00
parent f93fcd26dc
commit 423cbe668f
1 changed files with 4 additions and 0 deletions

View File

@ -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):