Flash Windows Vista / XP DNS Cache With ipconfig Command

ipconfig is a Windows XP / 2000 / 2003 / Vista command utility that displays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol DHCP and Domain Name System DNS settings. You can use the same tool to clear out Windows DNS cache. This command has /flushdns switch to flush and reset the contents of the DNS client resolver cache. During DNS troubleshooting, you can use this procedure to discard negative cache entries from the cache, as well as any other entries that have been added dynamically.

Command to Flush DNS Vista

Login as administrator

Just open command prompt ( Start > Run > and type cmd > Press [Enter] key)

Type the following command to flush the DNS resolver cache when troubleshooting DNS name resolution problems, type:

ipconfig /flushdns

As usual you read help by typing the following command:

ipconfig /?

Please see ipconfig command help page for more information.

Meet the Author


I like chocolate, gadgets, open source software, photography, traveling and all shades of green colors. I love spending time with fun loving friends and family members. This is my own online journal.

5 comments… add one
  • joey Apr 21, 2008, 2:17 am

    Hello, i want to clear my cache in my proxy by using ipconfig in my pc is it possible? if no, how? i dont want my admin see my downloads…im in the proxy. thanks!

  • joculete Jan 17, 2009, 3:03 pm

    hi, is now working in vista

  • ben468 Jul 10, 2009, 7:38 pm

    Thanx a bunch…the command works just fine on my XP laptop.

  • Samer Ghanim Oct 16, 2009, 10:16 am

    run the command as administrator then tyoe in the command line ipconfig /flushdns

  • Gerry Aug 9, 2010, 5:18 pm

    I tried the procedure and got a result “Function failed during execution” Is there something I can do to get around that? I use XP

Leave a Comment