I looked into this but Go on a little OpenWrt router seemed… silly.
If you’re interested in something lightweight for OpenWrt give this a try:
https://openwrt.org/docs/guide-user/services/dns/doh_dnsmasq...
If you’re interested in something lightweight for OpenWrt give this a try:
https://openwrt.org/docs/guide-user/services/dns/doh_dnsmasq...
Why? Go compiles to distributable binaries, Go binaries do not depend on Go to run. You wouldn’t need to actually install Go on the router
> The dnscrypt-proxy file is quite large, but can be compressed for a massive reduction of its size, from ~12 Mb down to ~2 Mb.
Routers typically have 8-16 Mb of storage. Even 2 Mb is a bit much but even if the size doesn’t bother you the memory usage is still relatively extreme when compared to the link I shared.
[1] https://github.com/dnscrypt/dnscrypt-proxy/wiki/Installation...