Skip to content

Commit 24e9fce

Browse files
committed
dscacheutil is still present in current MacOS versions
1 parent 33b9c89 commit 24e9fce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dnscrypt-proxy-switcher.10s.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ flush_dns_cache() {
139139
fi
140140
else
141141
killall -HUP mDNSResponder 2>/dev/null
142+
dscacheutil -flushcache 2>/dev/null
142143
fi
143144
}
144145

0 commit comments

Comments
 (0)