From 3c8627035dfd6317557d3004ef9c266203c2fe5d Mon Sep 17 00:00:00 2001 From: shmilylty Date: Sun, 11 Aug 2019 19:58:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E5=9F=9F=E4=BC=A0=E9=80=81?= =?UTF-8?q?=E8=B6=85=E6=97=B6=E4=B8=BA30=E7=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oneforall/modules/check/axfr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oneforall/modules/check/axfr.py b/oneforall/modules/check/axfr.py index 5ced5b9..0c0c793 100644 --- a/oneforall/modules/check/axfr.py +++ b/oneforall/modules/check/axfr.py @@ -34,7 +34,7 @@ class CheckAXFR(Module): """ logger.log('DEBUG', f'尝试对{self.domain}的域名服务器{server}进行域传送') try: - xfr = dns.query.xfr(server, self.domain) + xfr = dns.query.xfr(server, self.domain, timeout=30.0) zone = dns.zone.from_xfr(xfr) except Exception as e: logger.log('DEBUG', str(e))