Skip to content

Instantly share code, notes, and snippets.

@dstd
Forked from mipmip/gist:1844353
Created December 23, 2015 07:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dstd/b2192efbf9ec56b66d4b to your computer and use it in GitHub Desktop.
Save dstd/b2192efbf9ec56b66d4b to your computer and use it in GitHub Desktop.
Mac OS X: restart mDNSResponder
Load up Terminal (Applications > Utilities > Terminal.app) and type the following.
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
To turn it back on, just do the opposite:
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment