49 字
1 分钟
OpenWrt 配置 DNS over HTTPS(DoH)
安装插件:
opkg install luci-app-https-dns-proxy配置 dnsmasq 转发到本地 DoH 代理:
service dnsmasq stopuci set dhcp.@dnsmasq[0].noresolv="1"uci set dhcp.@dnsmasq[0].cachesize="10000"uci set dhcp.@dnsmasq[0].min_cache_ttl="3600"uci set dhcp.@dnsmasq[0].max_cache_ttl="86400"uci -q del dhcp.@dnsmasq[0].serveruci add_list dhcp.@dnsmasq[0].server="127.0.0.1#5354"uci add_list dhcp.@dnsmasq[0].server="::1#5354"uci commit dhcpservice dnsmasq start OpenWrt 配置 DNS over HTTPS(DoH)
https://iiii.fun/posts/openwrt/openwrt-doh/