Expand description
Simple implementation of a DNS-over-HTTPS (DoH) lookup routed through the SOCKS5 proxy
Structs§
- Answer
Entry 🔒 - DnsResponse 🔒
- JSON format from Google’s DoH API
Functions§
- lookup_
host_ via_ proxy - Lookup
hostby DNS-over-HTTPS (DoH) through a SOCKS5 proxy. Returns both A (IPv4) and AAAA (IPv6) records. Only Google sees the actual DNS query but doesn’t learn our IP. - query 🔒