mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-21 03:02:09 +00:00
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.
|
# chances of recovering from those are slim.
|
||||||
break
|
break
|
||||||
|
|
||||||
|
# Display a slighty more meaningful message to the end users
|
||||||
|
if result == "[nonameservers]":
|
||||||
|
return "[bad response from authoritative nameservers]"
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def check_alias_exists(alias_name, alias, env, output):
|
def check_alias_exists(alias_name, alias, env, output):
|
||||||
|
Loading…
Reference in New Issue
Block a user