diff --git a/local/__init__.py b/local/__init__.py index 99d6aec..64e0fe0 100644 --- a/local/__init__.py +++ b/local/__init__.py @@ -1 +1 @@ -__version__ = '3.8.0' +__version__ = '3.8.1' diff --git a/local/common/dns.py b/local/common/dns.py index a8b9502..7463d18 100644 --- a/local/common/dns.py +++ b/local/common/dns.py @@ -124,10 +124,10 @@ def check_servers(servers, local): dns_remote_servers = servers_2_addresses(GC.DNS_SERVERS, 53) dns_remote_servers = check_servers(dns_remote_servers, False) or \ - servers_2_addresses('1.1.1.1|1.0.0.1'.split('|')) + servers_2_addresses('1.1.1.1|1.0.0.1'.split('|'), 53) dns_local_servers = servers_2_addresses(GC.DNS_LOCAL_SERVERS, 53) dns_local_servers = check_servers(dns_local_servers, True) or \ - servers_2_addresses('114.114.114.114|114.114.115.115'.split('|')) + servers_2_addresses('114.114.114.114|114.114.115.115'.split('|'), 53) dns_remote_local_servers = check_servers(dns_remote_servers, True) dns_local_prefer = (GC.DNS_LOCAL_PREFER or dns_remote_local_servers) and \ any(d == 53 for _, d in dns_remote_servers)