Open FlintyLemming opened 2 years ago
Sorry for the late reply. If I recall, then QTS has separate resolv.conf files for every interface (/etc/resolv.conf@eth0
or similar). Do you have the per-interface configurations?
Same behavior after running Tailscale.sh stop
Adding this cat
command in the Tailscale.sh stop
script solves the issue (there may be a more elegant way to do it though):
stop)
if [ -e /tmp/tailscale/tailscaled.pid ]; then
PID=$(cat /tmp/tailscale/tailscaled.pid)
kill -9 ${PID} || true
rm -f /tmp/tailscale/tailscaled.pid
cat /etc/resolv.pre-tailscale-backup.conf | tee /etc/resolv.conf
resolv.conf is still remaining in the system and it will keep override DNS config set via QTS Web network settings