Adding a provider to HTTPS DNS Proxy?

Is it possible to add a provider through cli of luci to HTTPS DNS Proxy?

Version I use: https-dns-proxy 2021-11-22-3
OpenWrt 21.02.3 r16554-1d4dea6d4f / LuCI openwrt-21.02 branch git-22.213.35964-87836ca
on a Raspberry Pi 4 Model B Rev 1.2

I'd like to add the following provider:
DNS-over-HTTPS
https://anycast.uncensoreddns.org/dns-query
91.239.100.100,89.233.43.71
2001:67c:28a4::,2a01:3a0:53:53::

But i can add it to the config file, but it isn't working. also does it adopt the name from the first provider in the list. Even when I do this;

config main 'config'
  option update_dnsmasq_config '*'
  option force_dns '1'
  list force_dns_port '53'
  list force_dns_port '853'

config https-dns-proxy 'UncensoredDNS'
  option bootstrap_dns '91.239.100.100,89.233.43.71,2001:67c:28a4::,2a01:3a0:53:53::'
  option resolver_url 'https://anycast.uncensoreddns.org/dns-query'
  option listen_addr '127.0.0.1'
  option listen_port '5053'
  option user 'nobody'
  option group 'nogroup'

config https-dns-proxy
  option bootstrap_dns '1.1.1.1,1.0.0.1'
  option resolver_url 'https://cloudflare-dns.com/dns-query'
  option listen_addr '127.0.0.1'
  option listen_port '5054'
  option user 'nobody'
  option group 'nogroup'

Try taking out the ipv6 addresses.

Also, LuCI will erroneously show the wrong resolver in Instances because it doesn't recognize your resolver.

Still no music, I removed the ipv6. But it still show’s only Cloudflare is my dns. When I remove Cloudflare, no resolving/ no dns.

Ooh wow, the answer is simple.

Add the rule in your config on the command line. And do not use the LuCI-app. That messes things up.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.