All Projects → tina-hello → doh-cf-workers

tina-hello / doh-cf-workers

Licence: CC0-1.0 license
DNS-over-HTTPS proxy on Cloudflare Workers

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to doh-cf-workers

DNS-over-Discord
A 1.1.1.1 DNS resolver built for Discord
Stars: ✭ 228 (+121.36%)
Mutual labels:  dns-over-https, cloudflare-workers
blog
🗃 Blog built with Remix, deployed to Cloudflare workers
Stars: ✭ 27 (-73.79%)
Mutual labels:  cloudflare-workers
Smartdns
A local DNS server to obtain the fastest website IP for the best Internet experience, 一个本地DNS服务器,获取最快的网站IP,获得最佳上网体验。
Stars: ✭ 4,333 (+4106.8%)
Mutual labels:  dns-over-https
ansible-cloudflared
Install cloudflared and systemd service for DNS-Over-HTTPS
Stars: ✭ 18 (-82.52%)
Mutual labels:  dns-over-https
cfworker-url-shortener
部署在 Cloudflare Workers 的短网址服务
Stars: ✭ 52 (-49.51%)
Mutual labels:  cloudflare-workers
dcompass
A high-performance programmable DNS component aiming at robustness, speed, and flexibility
Stars: ✭ 260 (+152.43%)
Mutual labels:  dns-over-https
dns.sb
https://dns.sb/
Stars: ✭ 32 (-68.93%)
Mutual labels:  dns-over-https
awesome-cloudflare-workers
😎 Awesome Cloudflare Workers
Stars: ✭ 335 (+225.24%)
Mutual labels:  cloudflare-workers
Portfolio-Website
Vishesh's Portfolio Website
Stars: ✭ 47 (-54.37%)
Mutual labels:  cloudflare-workers
html
HTML templating and streaming response library for Service Worker-like environments such as Cloudflare Workers.
Stars: ✭ 41 (-60.19%)
Mutual labels:  cloudflare-workers
raposas
Diretório oficial do código do indexador Raposas.
Stars: ✭ 31 (-69.9%)
Mutual labels:  cloudflare-workers
cloudflare-worker-router
A super lightweight router (1.3K) with middleware support and ZERO dependencies for CloudFlare Workers.
Stars: ✭ 144 (+39.81%)
Mutual labels:  cloudflare-workers
aio-doh
Asynchronous DNS-over-HTTPS client for Python
Stars: ✭ 14 (-86.41%)
Mutual labels:  dns-over-https
Dnspython
a powerful DNS toolkit for python
Stars: ✭ 1,838 (+1684.47%)
Mutual labels:  dns-over-https
harddns
RFC8484 and DoH/JSON resolver
Stars: ✭ 35 (-66.02%)
Mutual labels:  dns-over-https
dns-resolver-infra
Privacy DNS infrastructure
Stars: ✭ 39 (-62.14%)
Mutual labels:  dns-over-https
go-doh-client
A DNS over HTTPS client implementation written in Go
Stars: ✭ 45 (-56.31%)
Mutual labels:  dns-over-https
dns-server-setup
Ansible playbook to easily deploy new, fully configured, DNS servers.
Stars: ✭ 48 (-53.4%)
Mutual labels:  dns-over-https
ethtools
A collection of useful tools for Ethereum users and developers alike
Stars: ✭ 83 (-19.42%)
Mutual labels:  cloudflare-workers
AdGuardHome
Network-wide ads & trackers blocking DNS server
Stars: ✭ 16,027 (+15460.19%)
Mutual labels:  dns-over-https

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.

You can also deploy the project using the button below, useful if you want to quickly modify the parameter/code without manually deploying to Cloudflare. Keep in mind the Action logs are visible to public unless you make your repository private (you'll need to unfork), so anyone can see your Cloudflare Worker address. Remember to remove the logs after deploying if you leave the repository public unless you're OK with others using your daily request quota.

Deploy to Cloudflare Workers

Want more control of the filter? Use serverless-dns which powers RethinkDNS

Want to host on Google Cloud Function or see how this is implemented in .NET? Use my doh-gcf

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].