Votes: 0Posted On: May 23, 2017 12:54:33
Generally, when the URLs stop resolving the way they should, it is time to clear or flush the DNS nameserver local cache.
How to Clear DNS Caches in Mac OS X Yosemite or El Capitan?
To reset the DNS cache in Mac OS you need to find the Terminal app
You need to clear both UDNS (Unicast DNS) and MDNS (Multicast DNS) with two different commands to fully reset the DNS caches in the most recent version of OS X.
Command to clear MDNS Cache
sudo discoveryutil mdnsflushcache
Command to clear UDNS Cache
sudo discoveryutil udnsflushcaches (Here the command has caches as plural, a small syntax variation)
Clearing DNS cache in other versions of Mac OS
Version: X Mavericks, Mountain Lion, and Lion (OS X v10.9.5 and earlier)
sudo killall -HUP mDNSResponder
Version: Mac OS X Snow Leopard (OS X v10.6 upto v10.6.8)
sudo dscacheutil -flushcache