Handle query dns timeout unhandled error (#1950)
Co-authored-by: hala alajlan <halalajlan@gmail.com>
This commit is contained in:
parent
12aaebfc54
commit
bc4ae51c2d
|
@ -664,6 +664,8 @@ def check_mail_domain(domain, env, output):
|
||||||
|
|
||||||
if mx is None:
|
if mx is None:
|
||||||
mxhost = None
|
mxhost = None
|
||||||
|
elif mx == "[timeout]":
|
||||||
|
mxhost = None
|
||||||
else:
|
else:
|
||||||
# query_dns returns a semicolon-delimited list
|
# query_dns returns a semicolon-delimited list
|
||||||
# of priority-host pairs.
|
# of priority-host pairs.
|
||||||
|
|
Loading…
Reference in New Issue