Wednesday, May 11, 2011

Fixing DNS issue on MacBook Pro

This may be an issue with 10.6(Snow Leopard) altogether or just with the MacBook Pros, but every once in a while the internal DNS settings get hung up or crap out or just stop working!

You're connected to the internet, you've checked the connections, you've got on other devices , you've asked co-workers if they are having issues with the internet, you've pulled your hair out, banged your head against the wall, you get my drift.

Whatever you do or try your $2000 MacBook Pro will not do one simple thing CONNECT TO THE INTERNET!!

Hopefully this solution will work for some of you and save the hair on your head.
Run these commands from terminal(copy command from sudo to plist):

sudo launchctl unload /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

THEN

sudo launchctl load /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

and bingo bango everything is just peachy again!

7 comments:

  1. Thanks. It works great!!

    ReplyDelete
  2. Sweet relief! I have never encountered this type of issue before. DNS was resolving in terminal but my email and web browser could not resolve dns. Your solution worked perfectly the first time. Just remember, if your user account has no password then you have to add one to sudo. Thanks again!!!

    ReplyDelete
  3. Thanks alot!!! Worked as a shrine!!

    ReplyDelete
  4. i LOVE you!!! you saved my macbook from getting thrown out of the window in frustration :D

    ReplyDelete
  5. Do not know where to put address

    ReplyDelete
  6. What if it's just a single website that won't load? The website's owner told me it's probably a DNS problem, but I don't know what that means.

    ReplyDelete