Skip to content

Commit bd41334

Browse files
authored
fix: https dns proxy fix configuration (#249)
Fix provider configuration parameter Added optional bootstrap_dns parameter for JoinDNS4 provider.
1 parent 3c8cf7e commit bd41334

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

dns_over_http.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,15 @@ In this example, we will configure the DNS4EU (joindns4.eu) DoH provider.
5656
2. Add the DNS4EU DoH provider: ::
5757

5858
uci set https-dns-proxy.joindns4=https-dns-proxy
59-
uci set https-dns-proxy.joindns4.upstream_url='https://noads.joindns4.eu/dns-query'
59+
uci set https-dns-proxy.joindns4.resolver_url='https://noads.joindns4.eu/dns-query'
60+
uci set https-dns-proxy.joindns4.bootstrap_dns='86.54.11.13,86.54.11.213,2a13:1001::86:54:11:13,2a13:1001::86:54:11:213'
6061
uci set https-dns-proxy.joindns4.listen_addr='127.0.0.1'
6162
uci set https-dns-proxy.joindns4.listen_port='5053'
6263
uci commit https-dns-proxy
6364

65+
66+
The ``bootstrap_dns`` parameter is optional, if not provided, the system will use Google and Cloudflare DNS for bootstrap.
67+
6468
3. Apply the configuration, https-dns-proxy will automatically use the local DoH proxy as upstream DNS: ::
6569

6670
reload_config

0 commit comments

Comments
 (0)