Flush DNS - Delete cached DNS on your computer

Description: Most operating systems and DNS clients automatically cache cached IP addresses and recent DNS results, which makes accessing the domain faster by directly using previous DNS results on the machine. But if the address is changed before cached DNS is updated you will not be able to access your site. One of the ways to resolve the above situation is to flush the DNS. In this article I will cover DNS flush on your machine:

Most operating systems and DNS clients automatically cache cached IP addresses and recent DNS results, which makes accessing the domain faster by directly using previous DNS results on the machine. But if the address is changed before cached DNS is updated you will not be able to access your site. One of the ways to resolve the above situation is to flush the DNS. In this article I will cover DNS flush on your machine:

- Windows Vista / Windows 7 Flush DNS

Close your applications (browser or email).
Open the Windows command prompt by selecting Start => All Programs => Accessories. Right-click Command Prompt and select Run as Administrator.
At the window that appears, type the following and enter. ipconfig / flushdns.
- Windows 98 / NT / 2000 / XP Flush DNS

Close your applications (browser or email).
Open the Windows command prompt by selecting the Start menu and typing cmd in the search field, then pressing the enter key.
At the window that appears, type the following and enter. ipconfig / flushdns.
- Mac Flush DNS

+ If you are using Mac OS X Leopard

Open terminal command.
Run the command dscacheutil -flushcache
+ If you are using Mac OS X 10.5.1

Open terminal command.
Run the lookupd -flushcache command
- Linux Flush DNS

Open terminal command.
Run the /etc/init.d/nscd restart command