It may be necessary to flush your DNS cache on your local computer when making DNS changes, especially when migrating your websites. This is a fairly simply task to complete. In most cases, rebooting your computer will also have a similar effect.
Windows
For a Windows computer, you’ll want to get to a command prompt (CMD). this can be done by using the following steps below for your corresponding version of Windows.
Windows XP: Start > Run > cmd (type cmd in the run box & press enter)
Windows 7: Start > cmd (type cmd in the search box & press enter)
Windows 8: Start > All Apps > cmd (type cmd in the search field & press enter)
Once you’ve gotten the command prompt up (black window) you’ll want to type the command listed below, then press enter. This will clear your local DNS cache on the computer that caches DNS records.
ipconfig /flushdns
Linux:
From a terminal, you’ll want to run one of the corresponding commands below, depending on your packages:
/etc/init.d/nscd restart
service nscd reload
/etc/init.d/named restart
rndc restart
/etc/init.d/dnsmasq restart
service dnsmasq restart
MAC:
From a terminal, you’ll want to run the command listed below:
dscacheutil -flushcache