From 917fba56a7b358f015d88d22b1c76631e15aaa4e Mon Sep 17 00:00:00 2001 From: ValdikSS Date: Wed, 15 Feb 2017 22:58:20 +0300 Subject: [PATCH] Remove DNS fake reply --- blockcheck.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/blockcheck.py b/blockcheck.py index ec0ab91..9d1f074 100755 --- a/blockcheck.py +++ b/blockcheck.py @@ -51,7 +51,6 @@ google_dns = '8.8.4.4' google_dns_v6 = '2001:4860:4860::8844' antizapret_dns = '195.123.209.38' antizapret_dns_v6 = '2a02:27ac::10' -antizapret_dns_fake_aaaa_reply = 'fe80::' isup_server = 'isup.me' isup_fmt = 'http://isup.me/{}' disable_isup = False #If true, presume that all sites are available @@ -366,7 +365,7 @@ def test_dns(dnstype=DNS_IPV4): if resolved_default_dns == resolved_google_dns: if set(resolved_az_dns) == \ - ({antizapret_dns} if dnstype==DNS_IPV4 else {antizapret_dns_fake_aaaa_reply}): + ({antizapret_dns} if dnstype==DNS_IPV4 else {antizapret_dns_v6}): print("[✓] DNS-записи не подменяются") print("[✓] DNS не перенаправляется") return 0