Windows Displaying the Contents of DNS

last updated in Categories , ,

Q. How do I display the contents of my DNS client resolver cache under Windows server 2000 / 2003 / 2008 / XP / Vista operating systems?

A. In order to check the contents of your DNS client resolver cache and hosts file for correct entries, you need to use the ipconfig command under Windows operating systems.

Click on Start > Run

Type cmd and pree [Enter] key

At the DOS shell prompt type the following command:
ipconfig /displaydns

In order to flush those records, type
ipconfig /flushdns

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Share this on (or read 0 comments/add one below):