Created
August 6, 2023 14:56
-
-
Save carlesloriente/1cf094165955b85617cd917573df65e1 to your computer and use it in GitHub Desktop.
MacOs flushcache and kill mDNSResponder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo dscacheutil -flushcache; | |
sudo killall -HUP mDNSResponder; | |
sleep 2; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Full article: https://www.notesoncloudcomputing.com/clear/flushcache/mdnsresponder/2023/08/06/flushcache-and-kill-mDNSResponder/