HT202516: Reset the DNS cache in OS X

Learn about Reset the DNS cache in OS X
mek!

Q: flush dns case in 10.10.4 like on Mavericks

hi!

 

Reset the DNS cache in OS X - Apple Support

 

lists:

 

OS X Yosemite

Use the following Terminal command to reset the DNS cache:

sudo discoveryutil mdnsflushcache 

OS X Mavericks, Mountain Lion, and Lion

Use the following Terminal command to reset the DNS cache:

sudo killall -HUP mDNSResponder 

 

 

Was there a change again, 10.10.4 (which should be Yosemite as well) returns an error for me (tried different macs), though the HUP on the

mDNSResponder process seem to work.

 

 

system.log:Jul  9 18:35:33 mac.local sudo[54403]: user: TTY=ttys010 ; PWD=/Users/user ; USER=root ; COMMAND=/usr/bin/killall -v -HUP mDNSResponder

system.log:Jul  9 18:35:33 mek.local mDNSResponder[94]: SIGHUP: Purge cache

 

Maybe its time for Apple to update the documentation (left a comment there as well).

iMac, OS X Yosemite (10.10.4)

Posted on Jul 9, 2015 9:51 AM

Close

Q: flush dns case in 10.10.4 like on Mavericks

  • All replies
  • Helpful answers