Flush DNS catch in OSX and Windows

Have you ever found yourself having a hard time loading a website and you know you that it should be loading? Chances are you will need to flush your DNS on your machine.

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

Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.