1. Home
  2. General
  3. Display your DNS cache info

Display your DNS cache info

A DNS cache is a storage location used to store records of the recent visits and attempted visits to websites on the internet. The operating system maintains a temporary database (the DNS cache) to store these so it can refer to them quickly and check how to load a site correctly.  This guide shows how to access the DNS cache to view these records on three of the most popular operating systems.

Windows

  1. Press/hold the keys ⊞ Win + R together
  2. Type in cmd and hit enter
  3. Type ipconfig /displaydns in the command line and hit enter once you have done so.
  4. Scroll up/down to find the record you’re wishing to view in the DNS cache.

Mac

OS X Yosemite

  1. Open up a command terminal.
  2. sudo discoveryutil mdnsflushcache

OS X Mavericks, Mountain Lion, and Lion

  1. Open up a command terminal.
  2. sudo killall -HUP mDNSResponder

Mac OS X v10.6

  1. Open up a command terminal.
  2. Type dscacheutil -cachedump -entries

Linux (requires NSCD daemon)

  1. Open up a command terminal (either as root or run step 2 with sudo)
  2. Run the command service nscd status or sudo service nscd status
Click here for full details

Classification: Public
Last saved: 2019/11/27 at 16:03 by Jamie

How can we help?