hildjj / dohdec

Lookup and decode DNS records using DNS-over-HTTPS (DoH)
MIT License
21 stars 5 forks source link

Prevent DNS hijacking for DOH URL #8

Open hildjj opened 5 years ago

hildjj commented 5 years ago

Local DNS infrastructure may return a bad result for cloudflare-dns.com, for example.

hildjj commented 5 years ago

Depends on #3

hildjj commented 3 years ago

See https://nodejs.org/api/https.html#https_https_request_url_options_callback