Skip to content

Instantly share code, notes, and snippets.

@rrotter
Created December 19, 2016 21:32
Show Gist options
  • Save rrotter/59ebefe9d981a3c69bdb13add253bc87 to your computer and use it in GitHub Desktop.
Save rrotter/59ebefe9d981a3c69bdb13add253bc87 to your computer and use it in GitHub Desktop.
Fix incorrect DNS search domain behavior on OS X
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
sudo defaults write /Library/Preferences/com.apple.mDNSResponder.plist AlwaysAppendSearchDomains -bool YES
sudo launchctl load /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