Giter Site home page Giter Site logo

2485317120 / doh-cf-pages Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tina-hello/doh-cf-pages

0.0 0.0 0.0 15 KB

DNS-over-HTTPS proxy on Cloudflare Pages

Home Page: doh-cf-pages.vercel.app

License: BSD Zero Clause License

JavaScript 100.00%

doh-cf-pages's Introduction

doh-cf-pages

A very minimalist DNS-over-HTTPS proxy on Cloudflare Pages.

Clone this repo on your own GitHub account, sign up for a free Cloudflare Pages account, create a new project, connect to GitHub, choose your cloned project and you're done. Use the address anywhere DoH is accepted (AdGuard, browsers secure DNS settings, YogaDNS, Intra, Nebulo etc). When a path is needed, use the testpath branch that will deploy to youraddress.pages.dev/dns-query

Feel free to replace the doh variable inside index.js 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 pages.dev wholesale, you can use your own domain, either hosted on Cloudflare, or any provider with CNAME record, including free subdomains from FreeDNS (free account must login once each 6 months to maintain subdomain). Daily request on free tier is limited to 100 thousands, should be enough for most personal use, or even a family.

This project is based on my doh-cf-workers, the difference is while you don't even need a GitHub account on the Workers version, custom domain must be hosted on Cloudflare.

doh-cf-pages's People

Contributors

tina-hello avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.