Skip to content

Commit e20c1a3

Browse files
committed
Merge remote-tracking branch 'origin/ubuntu-fixes' into ubuntu-fixes
2 parents 4fdb50c + c563432 commit e20c1a3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

install/run_install_on_ubuntu.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff 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 ""

0 commit comments

Comments
 (0)