How to Display the Contents of a DNS Cache

The Windows DNS cache on your computer holds the IP addresses of visited websites for a specified period called the time to live, or TTL. When you go to a website, DNS attempts to resolve the address by matching it to an entry in your cache before going to the Internet to find the address. If you have connection problems, its helpful to know how to view and flush the DNS cache.

Instructions

    • 1

      Click the Windows "Start" button. Select "Run" from the menu.

    • 2

      Type the word "cmd" in the run box. Click "OK." A window will open. At the command line prompt, type "ipconfig /displaydns" and press the "Enter" key. You will see a list of entries in the DNS cache.

    • 3

      View the results. You will see a list of entries in your DNS cache. Each entry starts with a URL that begins with "www." Next you will see the time to live. The last line, labeled "A (Host) Record" shows the IP address in your cache that corresponds to the website's URL.

    • 4

      Copy the DNS entries to a text file. Type "ipconfig /displaydns >c:\dnscache.txt." Type "exit" at the prompt.

    • 5

      Choose the "Start" button. Go to "Accessories" and "Notepad."

    • 6

      Select "File" and then "Open." Browse to the C: drive, and look for the file called "dnscache.txt." Double-click to open it.

    • 7

      Flush your DNS cache. Click "Start," then "Run." Type "cmd" in the box. At the command prompt, type ""ipconfig /flushdns." You'll get a message that the cache was successfully flushed.

Related Searches:

Comments

You May Also Like

  • How to Clear DNS Cache

    When you access a domain on the Internet, the DNS saves in your Windows cache. This improves the speed and performance at...

  • How to Disable Your DNS Cache

    The DNS cache on your system is used to store name resolution requests or the names of websites that you have recently...

  • How to Configure a Computer's Preferred DNS Server

    If you have recently added your computer to a network, or you have made changes to your DNS server configuration, these steps...

  • How to Find the DNS Server

    DNS stands for domain name system and it is used to resolve names to IP addresses. DNS is most commonly used on...

  • How to Flush the DNS Cache in Mac OS X

    DNS cache or Domain Name Server cache is the local file your Mac system uses to convert or resolve host names to...

  • How to Update Public DNS Records

    DNS, or Domain Name System, is a database that translates a domain name or web address into an IP or Internet Protocol...

  • How to Test DNS Cache

    The Domain Name System (DNS) is how computers see website addresses. We see, for example, www.yahoo.com, but the computer sees the actual...

  • How to Find Your Mac Computer's DNS Servers

    Any time your computer is connected to the Internet, it is connected to a DNS server that translates the website URLs you...

  • How to Clean the DNS Cache

    DNS stands for domain name system and is used to translate a domain name like www.ehow.com to the IP address. Many workstation...

  • How to Remove Your DNS Cache

    As you browse the Web, your computer contacts a domain name server (DNS) each time you load a website. The DNS converts...

  • How to Test the DNS Resolve

    Connecting to a website on the Internet depends upon the DNS (Domain Naming Service) that finds the IP address of a website...

  • How to Test a DNS Command

    Testing a DNS command is done to determine if the DNS resolution for your Internet service is working correctly. If the DNS...

  • How to Test a DNS Client

    The Domain Name System (DNS) was developed for the benefit of human users who find it easier to remember text names than...

  • How to Test a Reverse DNS Entry

    Reverse Domain Name System (DNS) lookup is the process of resolving an Internet Protocol (IP) address to its designated domain name. It...

  • How to Clean and Configure Windows XP DNS Cache

    This article is intended for Windows OS users. Windows XP comes with a cache storing all DNS addresses that have been searched...

  • How to Show Google's Cache of a Web Site

    While searching the Net, Google indexes Web pages and adds them to its cache (secondary storage). If the cache has information relevant...

  • Windows DNS Tools

    Windows DNS Tools. DNS (Domain Name System) is the name of the IP (Internet Protocol) resolution system, much like a phone book...

  • How to Test & Set Up DNS

    Your computer needs Domain Name System (DNS) server information entered to allow you to access websites on the Internet without knowing the...

  • How to Find DNS Records

    Domain Name System (DNS) Records of any website can be easily found on the Internet. Internet Corporation for Assigned Names and Numbers...

Related Ads

Featured