Skip to content
Snippets Groups Projects
Commit 57154a01 authored by nimrod's avatar nimrod
Browse files

Flush DNS script.

To flush the DNS resolvers' cache.
parent 2af00b07
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
set -eu
if wb -u
then
flatpak-spawn --host \
sudo systemctl restart systemd-resolved.service
else
sudo systemctl restart systemd-resolved.service
fi
ssh ns1.shore.co.il doas rcctl restart unbound
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment