feat: DNS-over-HTTPS (DoH) upstream forwarding #14
Reference in New Issue
Block a user
Delete Branch "feat/doh-upstream"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
https://= DoH, bare IP = plain UDPUpstreamenum withDisplay,PartialEq,Clone— dispatches to UDP or DoH transportBytePacketBuffer::from_bytesconstructor for cleaner buffer initializationreqwesthttp2feature for DoH server compatibility (required by Quad9, Cloudflare)network_watch_loopguards against DoH→UDP silent downgradeaddress = "https://9.9.9.9/dns-query"in[upstream]sectionTest plan
make allgreen (fmt, clippy, audit, build)/statsendpoint: upstream showshttps://9.9.9.9/dns-querytcpdumpthat no port 53 traffic leaves the host🤖 Generated with Claude Code