DNS request are usually cache, that’s good as it 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 do that in Mac (OS Tiger and below) we used the following command:
lookupd -flushcache
However a Mac OSX 10.5 Leopard user will tell you this command did not work on their terminal. In Leopard a new command has been used to replace flushcache, so to clear DNS cache in Leopard, just type this in your Terminal and hit enter.
dscacheutil -flushcache
No comments:
Post a Comment