Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
Check resolved IP addresses count
Browse files Browse the repository at this point in the history
  • Loading branch information
ValdikSS committed May 18, 2017
1 parent fc74e5b commit 408cbc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blockcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ def test_dns(dnstype=DNS_IPV4):
return 5

if resolved_default_dns == resolved_google_dns:
if not resolved_fake_dns:
if not resolved_fake_dns and len(resolved_default_dns) == len(dns_records):
print("[✓] DNS-записи не подменяются")
print("[✓] DNS не перенаправляется")
return 0
Expand Down

0 comments on commit 408cbc2

Please sign in to comment.