Created
July 20, 2020 10:16
-
-
Save kephircheek/481d3b89b9fa33418ad6a8ac0032c25f to your computer and use it in GitHub Desktop.
Fix Tunnelblick vpn reconnection problem:`Could not resolve hostname`
This file contains hidden or 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 | |
| for i in {1..30} | |
| do | |
| # sudo dscacheutil -flushcache | |
| sudo killall -HUP mDNSResponder | |
| done | |
| echo "DNS cache flushed!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment