April 5, 201115 yr DNS request are usually cached, that’s good as it help to speeds up the lookups within the same host but sometimes we will want to clear the cache so it don’t hold the values that are no longer valid. To clear DNS cache in Mac OSX, we can do it with the help of Terminal. Mac OSX 10.4 and below lookupd -flushcache Mac OSX 10.5 and aboveIn Mac OSX 10.5 and newer a new command has been used to replace flushcache. To clear DNS cache in newer versions of Mac OS X, use the following command: dscacheutil -flushcache
July 16, 201411 yr here is what I used $ sudo killall -HUP mDNSResponder$ sudo dscacheutil -flushcache
Create an account or sign in to comment