• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Network & Sharing DNS Resolver Cache

Brink

Staff member
mvp
Messages
32,202
Location
Oklahoma, USA
DNS Resolver Cache How to See and Flush the Contents of the DNS Resolver Cache in Windows
This will show you how to see and flush the contents of the DNS (Domain Name System) Resolver cache. If this gets corrupted, it can cause internet connection problems.
Published by Brink Category: Network & Sharing 
#1
ByLine
How to See and Flush the Contents of the DNS Resolver Cache in Windows
Synopsis
This will show you how to see and flush the contents of the DNS (Domain Name System) Resolver cache. If this gets corrupted, it can cause internet connection problems.
How to See and Flush the Contents of the DNS Resolver Cache in Windows

information   Information
When you type a web address into your web browser and press ENTER, you are sending a query to a DNS (Domain Name System) server. If the query is successful, the website you want opens; if not, you'll see an error message. A record of these successful and unsuccessful queries is stored in a temporary storage location on your computer called the DNS cache. DNS always checks the cache before querying any DNS server, and if a record is found that matches the query, DNS uses that record instead of querying the server. This makes queries faster and decreases network and Internet traffic. Internet Explorer has it's own DNS cache it manages, not including this one. For more detailed information, see: Windows Help and How-to: DNS (Domain Name System) FAQs

This tutorial will show you how to see and flush the contents of the DNS (Domain Name System) Resolver cache. If this gets corrupted, it can cause internet connection problems.

You must be logged in as an administrator to be able to do the steps in this tutorial below.

Note   Note
If the DNS Cache becomes corrupted, it can cause internet connection problems. Flushing the DNS Cache resets it clean.
warning   Warning
Resetting the cache does not eliminate entries that are preloaded from the local Hosts file.

If you disabled the DNS Client in Services, this tutorial will not work because the DNS Cache is disabled.





OPTION ONE
How to Flush the DNS Cache

2. In the elevated command prompt, copy and paste the command below and press Enter. (See screenshot below)​
ipconfig /flushdns

3. You will recieve the following message below if successful.​
Windows IP Configuration Successfully flushed the DNS Resolver Cache.
Flushdns.jpg

4. In the elevated command prompt, type the commands below and press Enter one at a time.​
net stop dnscache
net start dnscache

5. Close the elevated command prompt when done.​





OPTION TWO
How to See the Contents of the DNS Cache

2. In the elevated command prompt, copy and paste the command belowand press Enter. (See screenshot below step 3)​
ipconfig /displaydns

3. You will now see the contents of the DNS cache.​
Displaydns.jpg

4. Close the elevated command prompt when done.​
That's it,
Shawn




 
Last edited:

My Computers

System One System Two

  • Show second system?
    Yes
    Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS Maximus X Code Z370
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    250GB Samsung 960 EVO M.2,
    256GB OCZ Vector,
    6TB WD Black WD6001FZWX
    PSU
    Seasonic Prime Titanium 850W
    Case
    Corsair Air 740
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master
    Keyboard
    Logitech wireless K800
    Internet Speed
    300 Mb/s Download and 30 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Creative F200 webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB6190 cable modem,
    APC SMART-UPS RT 1000 XL,
    Lumia 1520 phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD

Users Who Are Viewing This Thread (Users: 1, Guests: 1)