Module dns_proxy

Source
Available on non-WebAssembly only.
Expand description

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

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.