nordvpn-off: we don't need to restart DNS, flushing the caches is enough

This commit is contained in:
Aminda Suomalainen 2024-05-10 18:21:45 +03:00
parent 1fd3516760
commit f9e0f806df
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 4 additions and 2 deletions

View File

@ -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