Preformatted textI used to use dnscrypt since openwrt 20.03 etc. I just stopped using it because my sister borrowed my router and returned it a year ago. I upgraded to the latest openwrt 23.05 using now I installed dnscrypt using this documentation: https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Installation-on-OpenWRT.
The problem now is that all the servers are not working anymore. what I noticed is that when I put a custom dns in the wan it only works, but even though I have dnscrypt installed openwrt won't use that, the dns it will use is the one I put in the wan which is 1.1.1.1 and 1.0.0.1. and this is another one when I put option noresolv '1' in /etc/config/dhcp I lose internet connection.
I don't know what the problem is because I used to use it before and it just happened now.
help
even if i choose a dns server like cloudflare it doesn't really work. I think there is a problem with dnscrypt servers or with openwrt?
Please run the following commands (copy-paste the whole block) and paste the output here, using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have
ubus call system board; \
uci export network; uci export system; \
uci export dhcp; uci export firewall; \
ls -l /etc/resolv.* /tmp/resolv.* /tmp/resolv.*/* ; head -n -0 /etc/resolv.* /tmp/resolv.* /tmp/resolv.*/*; head -n -0 /etc/dnscrypt-proxy2/dnscrypt-proxy.toml
Run the commands individually and you can see what they output. None make any changes to your system, and we need this info if you expect to get help.
Just make sure you redact passwords, MAC addresses and any public IP addresses you may have and you won’t have any exposure by posting this.
ubus call system board # Tells us your target, release, version info
uci export network # your network config
uci export system # your system config
uci export dhcp # your dhcp config
uci export firewall # your firewall config
ls -l /etc/resolv.* /tmp/resolv.* /tmp/resolv.*/* # a file list
head -n -0 /etc/resolv.* /tmp/resolv.* /tmp/resolv.*/* # and their content
head -n -0 /etc/dnscrypt-proxy2/dnscrypt-proxy.toml # your dnscrypt-proxy config