Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:services:dns:dnscrypt_dnsmasq_dnscrypt-proxy2 [2023/01/17 04:30] – [DNSCrypt with Dnsmasq and dnscrypt-proxy2] update infobox vgaetera | docs:guide-user:services:dns:dnscrypt_dnsmasq_dnscrypt-proxy2 [2024/06/20 13:12] – [Command-line instructions] Disable dnsmasq cache because to avoid double caching dpawlik | ||
|---|---|---|---|
| Line 20: | Line 20: | ||
| # Enable DNS encryption | # Enable DNS encryption | ||
| - | / | + | service |
| uci set dhcp.@dnsmasq[0].noresolv=" | uci set dhcp.@dnsmasq[0].noresolv=" | ||
| uci set dhcp.@dnsmasq[0].localuse=" | uci set dhcp.@dnsmasq[0].localuse=" | ||
| + | uci set dhcp.@dnsmasq[0].cachesize=' | ||
| uci -q delete dhcp.@dnsmasq[0].server | uci -q delete dhcp.@dnsmasq[0].server | ||
| uci add_list dhcp.@dnsmasq[0].server=" | uci add_list dhcp.@dnsmasq[0].server=" | ||
| sed -i "32 s/ | sed -i "32 s/ | ||
| uci commit dhcp | uci commit dhcp | ||
| - | / | + | service |
| - | / | + | service |
| </ | </ | ||
| Line 45: | Line 46: | ||
| <code bash> | <code bash> | ||
| # Restart services | # Restart services | ||
| - | / | + | service |
| # Log and status | # Log and status | ||
| Line 70: | Line 71: | ||
| # First, we need to set up a list of servers to use, example: (you have to change " | # First, we need to set up a list of servers to use, example: (you have to change " | ||
| sed -i "32 s/ | sed -i "32 s/ | ||
| - | / | + | service |
| # Or you can also use only one server, example: | # Or you can also use only one server, example: | ||
| sed -i "32 s/ | sed -i "32 s/ | ||
| - | / | + | service |
| </ | </ | ||
| Line 91: | Line 92: | ||
| odoh_relays=" | odoh_relays=" | ||
| sed -i -e "32 s/ | sed -i -e "32 s/ | ||
| - | / | + | service |
| </ | </ | ||