Display a slightly more meaningful message to the end-user
This commit is contained in:
parent
f93fcd26dc
commit
423cbe668f
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue