Another DNS over HTTPS recursive resolver.
- EDNS Client Subnet
- JSON API
Read Dohna NS Documentation to learn how to install Dohna NS on your device.
| Provider | Deploy |
|---|---|
| Cloudflare | |
| Vercel | |
| Netlify |
| Key | Default | Description |
|---|---|---|
| DNS | ["https://8.8.8.8/dns-query","https://8.8.4.4/dns-query","https://[2001:4860:4860::8888]/dns-query","https://[2001:4860:4860::8888]/dns-query"] | Specify a DNS over HTTPS server as the upstream. |
| API | ["https://8.8.8.8/resolve","https://8.8.4.4/resolve","https://[2001:4860:4860::8888]/resolve","https://[2001:4860:4860::8888]/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. |
| CONCURRENT | false | Whether it concurrently queries all servers and returns the fastest result. |
| ENABLE_MOBILECONFIG | false | Whether to enable the Apple MobileConfig API. |
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.
MobileConfig can configure system-level DNS over HTTPS for Apple devices.
dohna.ovh has already enabled this API; you only need to edit a few parameters to point the URL to your domain, so there is no need to enable this API for your self-hosted instance.
| Query Parameter | Default | Description |
|---|---|---|
| domain | dohna.ovh | Specify the DNS over HTTPS domain. |
| name | Dohna NS | Specify the name of the generated MobileConfig. |
| desc | Yet another DNS over HTTPS relay. | Specify the description of the generated MobileConfig. |