Edge DoH is a DNS over HTTPS (DoH) forwarder built with Next.js, designed to be deployed on edge functions. It supports platforms like Vercel, Netlify, and any other provider that supports edge functions.
- Lightweight and fast DoH forwarder.
- Deployable on multiple edge platforms.
- Customizable DoH origins.
Edge DoH resolves queries using the following default providers:
export const dohOrigins: string[] = [
'dns.google',
'cloudflare-dns.com',
'dns.quad9.net',
'dns.adguard.com',
'doh.opendns.com',
];
Users can customize these settings in src/setting.ts
.
You can deploy Edge DoH to any edge function provider. Here are some common platforms:
- Clone the repository.
- Run
npm install
to install dependencies. - Deploy using Vercel:
vercel --prod
- Clone the repository.
- Install dependencies with
npm install
. - Deploy using Netlify CLI:
netlify deploy --prod
To use Edge DoH with Google Chrome, follow these steps:
- Open Chrome Settings.
- Navigate to Privacy and security > Security.
- Scroll down to the Use secure DNS section.
- Enable the toggle for Use secure DNS.
- Select Custom and enter the Edge DoH URL.
- Save the settings and restart Chrome if necessary.
More documentation coming soon! 🚀
If you like this project, give it a ⭐ on GitHub!
Contributions are welcome! Feel free to open an issue or submit a pull request to improve Edge DoH.