{"repo":"tina-hello/doh-cf-workers","free":true,"listed":false,"github":"https://github.com/tina-hello/doh-cf-workers","clone":"git clone https://github.com/tina-hello/doh-cf-workers.git","description":"DNS-over-HTTPS proxy on Cloudflare Workers","language":"JavaScript","stars":650,"topics":["cloudflare-workers","dns-over-https","serverless"],"license":"0BSD","category":"deployment-docker-iac","readme_excerpt":"doh-cf-workers A very minimalist DNS-over-HTTPS proxy on Cloudflare Workers. Sign up for a free Cloudflare Workers account, create a new worker, replace the Script with the content of index.js, deploy the worker, and you're done, use the address anywhere DoH is accepted (AdGuard, browsers secure DNS settings, YogaDNS, Intra, Nebulo etc). Feel free to replace the doh variable with any DNS-over-HTTPS server you want. Confirmed to work with Cloudflare itself, Google, and NextDNS. The rarely supported JSON API is available through the dohjson variable. Some providers use identical URL (Cloudlfare, NextDNS), some use /resolve instead of /dns-query for path (Google, AdGuard). Why? In case ISPs start banning known DoH providers, you can use your own proxy. Even if they block workers.dev wholesale, you can use your own domain (it must be hosted on Cloudflare, add a CNAME record targeting anything and bind the route from your website Workers tab). If you want to use domain not hosted on Cloudflare, use doh-cf-pages instead, where even CNAME records from FreeDNS is enough for custom domain. Daily request on free tier is limited to 100 thousands, should be enough for most personal use, or even a family. If you need more, upgrade to paid plan (card needed) and edit the wrangler.toml, though with minimum $5 monthly you might be better off just hosting AdGuard Home on a proper VPS ($5 on Vultr, pretty much unlimited request) which you can also put behind Cloudflare to hide your VPS IP. Onc","default_branch":null,"files":null,"tree":[],"storefront":"/r/tina-hello","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tina-hello/doh-cf-workers/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}