Flush DNS Cache

From Exterior Memory
Revision as of 23:02, 28 October 2014 by MacFreek (Talk | contribs) (Created page with "== Flush DNS Cache == {{Main|Flush DNS Cache}} You can explicitly flush your DNS cache. On Mac OS up to 10.5.1: lookupd -flushcache On Mac OS 10.5.2 to 10.6: dscacheut...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Flush DNS Cache

Main article: Flush DNS Cache

You can explicitly flush your DNS cache.

On Mac OS up to 10.5.1:

lookupd -flushcache

On Mac OS 10.5.2 to 10.6:

dscacheutil -flushcache

On Mac OS 10.7, dscachutil is broken and you should use a workaround:

sudo killall -HUP mDNSResponder


OSX 10.10

sudo discoveryutil udnsflushcaches OSX 10.9

dscacheutil -flushcache; sudo killall -HUP mDNSResponder OSX 10.7 – 10.8

sudo killall -HUP mDNSResponder OSX 10.5 – 10.6

sudo dscacheutil -flushcache Windows

ipconfig /flushdns Linux (depending on what you’re running)

/etc/init.d/named restart /etc/init.d/nscd restart