How-to Flush DNS on Mac OS X

About the DNS cache

OS X keeps a local cache of resolved DNS queries for a time defined by the DNS server. Sometimes it might be necessary to reset the cache immediately and re-query a DNS server. For example, you might need to do this if you are a network or server administrator and an entry on your DNS server has recently changed.

If your Mac isn’t using the latest DNS entries from your server, you can restart your Mac to update its cached information. If you need to update DNS entries on a server using OS X and you can’t restart the server, use the terminal commands below for the version of OS X you’re using.

OS X Yosemite, El Capitan and later

Use the following Terminal command to reset the DNS cache in OS X v10.10.4 or later:

sudo killall -HUP mDNSResponder

Use the following Terminal command to reset the DNS cache in OS X v10.10 through v10.10.3:

sudo discoveryutil mdnsflushcache

OS X Mavericks, Mountain Lion, and Lion

Use the following Terminal command to reset the DNS cache in OS X v10.9.5 and earlier:

sudo killall -HUP mDNSResponder

Mac OS X Snow Leopard

Use the following Terminal command to reset the DNS cache in OS X v10.6 through v10.6.8:

sudo dscacheutil -flushcache

Apple Mac Mavericks / Yosemite – Refresh Shared Computers in Finder

Sometimes the list of shared computers on the network will not refresh within Finder.

To fix this issue, re-launch the Finder, from the dock. You can do this by:
– Hold down the Alt key and right-click on the Finder icon in the dock. The pop-up menu should include Relaunch as the last item. Click on that and it will re-launch Finder, which takes just a second or so.

Hope it helps!

How-To Unlink a Phone Number from Apple ID, iMessage and Facetime

I received a new iPhone with a new number so I wanted to cancel my previous iPhone and number. I wanted to remove this number from my Apple ID so that it was removed from being used in iMessage and Facetime on all of my devices.

UPDATE : NOVEMBER 18th, 2014

Apple has released a web-based tool to help de-register your phone number from your Apple ID/iMessage/Facetime which replaces a lot of the “older” methods found on the web.

The web-based tool can be accessed by going to: https://selfsolve.apple.com/deregister-imessage

The nice part about this web-based tool is that you can still de-register, even if you don’t have your iPhone any longer.

Hope it helps!