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
5d8dda3e0a
commit
1d6ef26bcc
@ -565,7 +565,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