Handle query dns timeout unhandled error (#1950)

Co-authored-by: hala alajlan <halalajlan@gmail.com>
This commit is contained in:
Hala Alajlan
2021-05-08 08:26:40 -04:00
committed by GitHub
co-authored by hala alajlan
parent 12aaebfc54
commit bc4ae51c2d
+2
View File
@@ -664,6 +664,8 @@ def check_mail_domain(domain, env, output):
if mx is None:
mxhost = None
elif mx == "[timeout]":
mxhost = None
else:
# query_dns returns a semicolon-delimited list
# of priority-host pairs.