File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1258,6 +1258,12 @@ if [ "$STEP_NUMBER" -le "11" ]; then
12581258 # We can only start dnsmasq together with systemd-resolve, if we activate "bind-interface" in /etc/dnsmasq.conf
12591259 # --> https://unix.stackexchange.com/questions/304050/how-to-avoid-conflicts-between-dnsmasq-and-systemd-resolved
12601260 sudo sed -i " s/^#bind-interfaces/bind-interfaces/g" /etc/dnsmasq.conf
1261+
1262+ # We need to add server=127.0.0.53 to /etc/dnsmasq.conf to make it work with systemd-resolved
1263+ if ! grep " server=127.0.0.53" /etc/dnsmasq.conf; then
1264+ sudo printf " \n# Added by TorBox\nserver=127.0.0.53" | sudo tee -a /etc/dnsmasq.conf
1265+ fi
1266+
12611267 sudo systemctl unmask rc-local
12621268 sudo systemctl enable rc-local
12631269 echo " "
You can’t perform that action at this time.
0 commit comments