Set Up Your Own DoH Service
Bender
15 points
4 comments
June 27, 2026
Related Discussions
Found 5 related stories in 861.5ms across 14,015 title embeddings via pgvector HNSW
- Show HN: Running the second public ODoH relay rdme · 116 pts · May 14, 2026 · 58% similar
- Show HN: I've built a nice home server OS Zta77 · 95 pts · April 24, 2026 · 49% similar
- DOS Zone rglover · 180 pts · May 20, 2026 · 47% similar
- Show HN: I built an ISP infrastructure emulator from scratch with a custom vBNG saphalpdyl · 54 pts · March 11, 2026 · 47% similar
- Build your own Dial-up ISP with a Raspberry Pi arjunbajaj · 128 pts · April 03, 2026 · 47% similar
Discussion Highlights (2 comments)
jeroenhd
My DoH server ended up on a random list on Github at some point. I noticed when I saw what seemed like a small country suddenly use my DoH server. Blacklisting the entire country worked, after that I moved my actual DoH resolver to a subpath. Because it's HTTPS, you can just run your DoH server at https://my-doh.example.com/066c591f-c976-4095-85fe-a49e62577... . Not as easy to remember, but you can send yourself and anyone you want to share the server with a link. Other things to consider when setting up your own DoH server: setting up HTTP3 with HTTPS records and the like, 0-rtt TLS for the query server, ODoH support (upstream or as an endpoint directly), and of course DNSSEC validation (because you can't trust your clients to the validation themselves). For DoT this is a lot harder. A random IPv6 address should work, but then you're stuck having to fall back to something else on networks with only legacy IP support.
WalterGR
DoH = DNS over HTTPS https://en.wikipedia.org/wiki/DNS_over_HTTPS