Clear DNS Cache (Last Resort) Open a DOS command window. To do this, click Start, click Run, type cmd, and then press Enter. At the command prompt, type the following command and then press Enter: ipconfig /flushdns. The DNS cache is now clear.