Skip to main content

DNS over HTTP on OpenWRT

·1 min

Install luci-app-https-dns-proxy from OpenWRT’s list of softwares.

To use a custom URL (instead of one of the preconfigured ones), do the following:

  • Add the following to /etc/config/https-dns-proxy:
    config https-dns-proxy
    	option bootstrap_dns '1.1.1.1,1.0.0.1'
    	option resolver_url 'https://serverless-dns.express6872.workers.dev/1:IAAoAA=='
    	option listen_addr '127.0.0.1'
    	option listen_port '5055'
    	option user 'nobody'
    	option group 'nogroup'
    
  • /etc/init.d/https-dns-proxy restart