Skip to content

Instantly share code, notes, and snippets.

@rca
Created February 5, 2019 15:44
Show Gist options
  • Save rca/c0b67a1e3c2d175a843ae0f94fcaa7be to your computer and use it in GitHub Desktop.
Save rca/c0b67a1e3c2d175a843ae0f94fcaa7be to your computer and use it in GitHub Desktop.
Flushes local DNS cache on MacOS X
#!/bin/bash
set -e
sudo killall -HUP mDNSResponder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment