From f9e0f806df211f8a07dd385a57162d1b3594a2f3 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Fri, 10 May 2024 18:21:45 +0300 Subject: [PATCH] nordvpn-off: we don't need to restart DNS, flushing the caches is enough --- bash/usr-local-bin/nordvpn-off | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bash/usr-local-bin/nordvpn-off b/bash/usr-local-bin/nordvpn-off index 0d0fdb7..0e2352d 100755 --- a/bash/usr-local-bin/nordvpn-off +++ b/bash/usr-local-bin/nordvpn-off @@ -11,8 +11,10 @@ sudo systemctl stop nordvpnd.service sudo systemctl restart iwd.service sudo systemctl restart systemd-networkd.service sleep 5 -sudo systemctl restart unbound.service -sudo systemctl restart systemd-resolved.service +#sudo systemctl restart unbound.service +sudo unbound-control reload +#sudo systemctl restart systemd-resolved.service +sudo resolvectl flush-caches sleep 5 sudo systemctl restart yggdrasil.service sudo chronyc online