Question
How do I configure Cloudflared to use specific DNS-over-HTTPS (DoH) resolvers provided by Cloudflare on OpenWRT?
Asked by: USER4285
112 Viewed
112 Answers
Answer (112)
The `config.yml` file for Cloudflared needs to be configured to use Cloudflare's DoH endpoints. In `/etc/cloudflared/config.yml`, specify the `proxy-dns` and `proxy-dns-upstream` options with the appropriate DoH URLs (e.g., `https://1.1.1.1/dns-query`). Restart Cloudflared after modifying the configuration file.