[viirb] fix the dns problem

This commit is contained in:
Nico Schottelius 2020-06-14 00:52:07 +02:00
parent 4ca2a762fd
commit 345905e70e

View file

@ -225,6 +225,14 @@ uci set dhcp.wifi.interface='wifi'
uci set dhcp.wifi.ra='server'
uci set dhcp.wifi.dynamicdhcp='0'
# Fix DNS: make dnsmasq NOT use a resolv.conf
# so that it only reads from our servers with DNS64 enabled
uci set dhcp.@dnsmasq[0].noresolv='1'
# Fix DNS: make the OS use the locally provided DNS servers
# otherwise the VPN tunnel cannot be established
dhcp.@dnsmasq[0].localuse='0'
# VPN / Wireguard
uci set network.wg0=interface