0

How to set up doh in openwrt

I want to set nextdns with my own id but i cant se that up using luci-app-dns-over-https.

Can you help me with this how can i set that up

1 reply

null
    • BigDargon
    • 2 wk ago
    • Reported - view

    You can use the following:

    1. NextDNS (official): Install the package according to the instructions https://github.com/nextdns/nextdns/wiki/OpenWRT and install the luci-app-nextdns package if you want a web console.

    2. Use https-dns-proxy package: Install according to instructions https://openwrt.org/docs/guide-user/services/dns/doh_dnsmasq_https-dns-proxy or refer to the script

    while uci -q delete https-dns-proxy.@https-dns-proxy[0]; do :; done
    uci set https-dns-proxy.config.force_dns='0'
    uci add https-dns-proxy https-dns-proxy
    uci set https-dns-proxy.@https-dns-proxy[-1].resolver_url='https://dns.nextdns.io/<ID>'
    uci set https-dns-proxy.@https-dns-proxy[-1].bootstrap_dns='45.90.28.0,45.90.30.0'
    uci set https-dns-proxy.@https-dns-proxy[-1].listen_addr='127.0.0.1'
    uci set https-dns-proxy.@https-dns-proxy[-1].listen_port='5053'
    uci commit https-dns-proxy
    /etc/init.d/https-dns-proxy restart
    

    Good luck!

Content aside

  • 2 wk agoLast active
  • 1Replies
  • 33Views
  • 2 Following