From 55e312a8bba3d0e63d93bb3fab7970a077585f36 Mon Sep 17 00:00:00 2001 From: hala alajlan Date: Mon, 29 Mar 2021 15:31:54 +0300 Subject: [PATCH] handle query dns timeout --- management/status_checks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/management/status_checks.py b/management/status_checks.py index 631a82a2..482f6bd7 100755 --- a/management/status_checks.py +++ b/management/status_checks.py @@ -621,6 +621,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.