Flush DNS
Windows
1. Open the command prompt.
Windows 8 – Press the Windows key + X and select “Command Prompt (Administrator)”.
Windows 7/Vista – Click the Start menu and enter “cmd” into the Search field. Right click on Command Prompt and select “Run As Administrator”.
Windows XP – Click on the Start menu and then click Run. Enter “cmd” into the Run field and press Enter.
2. Use the DNS flush command.
Type ipconfig /flushdns and press Enter. A message will appear stating “Windows IP configuration successfully flushed the DNS Resolver Cache”.
3. Exit the command prompt.
Type exit and press Enter. This will close the command prompt.
Mac OSX
1. Open the Terminal.
You can find the Terminal application in the Utilities folder in your Applications folder.
2. Enter the DNS flush command.
The command varies depending on which version of Mac OS X you are running.
10.5 and newer – dscacheutil -flushcache to flush the DNS, and then sudo killall -HUP mDNSResponder to reload the DNS.
10.4 and older – lookupd -flushcache to flush the DNS, and then sudo killall -HUP mDNSResponder to reload the DNS.
3. Enter the password.
You will most likely be asked for the administrator password before you can proceed with the DNS flush.
Linux
1. Open the terminal.
Open the terminal as root, or enter sudo before entering the DNS flush command.
2. Enter the DNS flush command.
In the terminal, enter /etc/init.d/nscd restart and press Enter. This will flush your DNS.