mirror of https://github.com/Ruslan-Isaev/modules
replaced the AdGuard DNS with Google DNS
parent
2170e63799
commit
9356e29f09
2
whois.py
2
whois.py
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in New Issue