replaced the AdGuard DNS with Google DNS

main
RUIS 2025-09-15 19:02:15 +03:00 committed by GitHub
parent 2170e63799
commit 9356e29f09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ async def get_whois(identifier, API_KEY: str) -> dict:
return response
async def fetch_dns_record(session, domain, record_type):
url = "https://unfiltered.adguard-dns.com/resolve"
url = "https://dns.google/resolve"
headers = {"accept": "application/dns-json"}
params = {"name": domain, "type": record_type}