From ae8f376bf1761666fac7d3f93b5ad8c97c715b52 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Filip=20=C5=A0?= Date: Tue, 29 Oct 2019 20:57:54 +0100 Subject: [PATCH] Ignore URLs other than HTTPS --- dns/resolver.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dns/resolver.py b/dns/resolver.py index 575df4c5..3e2cc0d2 100644 --- a/dns/resolver.py +++ b/dns/resolver.py @@ -910,6 +910,8 @@ class Resolver(object): if protocol == 'https': tcp_attempt = True response = dns.query.https(request, nameserver) + elif protocol: + continue else: tcp_attempt = tcp if tcp: -- 2.47.3