Module dns_proxy

Source
Expand description

Simple implementation of a DNS-over-HTTPS (DoH) lookup routed through the SOCKS5 proxy

Structs§

AnswerEntry 🔒
DnsResponse 🔒
JSON format from Google’s DoH API

Functions§

lookup_host_via_proxy
Lookup host by 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 🔒