mirror of
https://github.com/ValdikSS/blockcheck.git
synced 2026-09-12 19:50:05 +05:00
Check resolved IP addresses count
This commit is contained in:
parent
fc74e5b0f6
commit
408cbc2d8a
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user