Last active
          December 22, 2015 11:28 
        
      - 
      
- 
        Save bcreasy/6465456 to your computer and use it in GitHub Desktop. 
    fix mac dns lookup
  
        
  
    
      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
    
  
  
    
  | sudo sed -i .orig 's/\(<string>\/usr\/sbin\/mDNSResponder<\/string>\)/\1\ | |
| <string>-AlwaysAppendSearchDomains<\/string>/ | |
| ' /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist | |
| sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist | |
| 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