mirror of
https://github.com/LittleChest/Dohna-NS.git
synced 2026-05-06 22:44:50 +08:00
Dohna NS
Another DNS over HTTPS recursive resolver.
- EDNS Client Subnet
- JSON API
For Users
Read Dohna NS Documentation to learn how to install Dohna NS on your device.
Deploy
| Provider | Deploy |
|---|---|
| Cloudflare | |
| Vercel | |
| Netlify |
Environment Variables
| Key | Default | Description |
|---|---|---|
| DNS | https://dns.google/dns-query | Specify a DNS over HTTPS server as the upstream. |
| API | https://dns.google/resolve | Specify a JSON API server as the upstream. |
| IPV4_PREFIX | 32 | Specify the EDNS client subnet IPv4 prefix length. |
| IPV6_PREFIX | 128 | Specify the EDNS client subnet IPv6 prefix length. |
Self-hosted
You can use Netlify CLI or workerd (Recommended) to serve locally.
Make sure you can connect to upstream servers.
If you find a bug on self-hosted, try to reproduce it at dohna.ovh before reporting it.
Languages
JavaScript
100%