Skip to content

Instantly share code, notes, and snippets.

@nbrew
Created February 29, 2012 22:32
Show Gist options
  • Save nbrew/1945010 to your computer and use it in GitHub Desktop.
Save nbrew/1945010 to your computer and use it in GitHub Desktop.
Mac OS X 10.6 DNS Failure After Sleep Fix
#!/bin/bash
# add the -DisableSleepProxyClient flag to mDNSResponder.plist
sudo sed -i -e \
's#\(<string>-launchd\)\(</string>\)#\1 -DisableSleepProxyClient\2#' \
/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