How Do I Flush DNS?
Do you have an issue with your DNS resolvers caching the domain name to IP mapping? Is it pulling up an old IP address instead of looking for a new one and finding the correct record? If so, to resolve this rather familiar problem of cached DNS, please follow the simple steps below.
Microsoft Windows XP
Go to the Start menu, choose Run, type cmd and hit OK. When the black screen appears, type the following command and hit Enter. net stop Then type this command and hit Enter. ipconfig /flushdns Restart your application.
Microsoft Windows Vista and Windows 7
Click the Start orb and follow All Programs and then Accessories, look for Command Prompt. Be sure to right click on Command Prompt and choose Run as Administrator. When the black screen appears, type the following command and hit Enter. net stop Then type this command and hit Enter. ipconfig /flushdns Restart your application.
Mac OSX
Navigate to your Applications folder, open Utilities, and double click on Terminal. You can also use Spotlight Search (top right hand corner) and search for Terminal. Type the following command and hit Enter. dscacheutil -flushcache Then type this command and hit Enter. lookupd -flushcache Don't worry if either command says something like Not found. Restart your application.
Linux
Open up a terminal window (ctrl T in gnome). Type the following command and hit Enter.
/etc/init.d/nscd restart
Restart your application.