Skip to main contentCrate supadns
Source - clear_cache
- is_supabase_domain
- resolve_doh
- Resolve hostname to IPv4 via DoH. Quad9 first, Cloudflare fallback.
- smart_client
- Build a reqwest Client that resolves Supabase domains through DoH.
Uses rustls for TLS, which handles SNI correctly via the Host header.
- smart_get
- Convenience: GET request with automatic DoH fallback for Supabase domains.
- smart_request
- Generic request with DoH fallback.
Tries normal DNS first, falls back to DoH for *.supabase.co on failure.