Find out how to flush and reset DNS Cache

We show you our simple guide: How to flush and reset DNS cache.

Often we have to solve internet problems on both Windows and Mac and surprisingly it is often resolved just by running the command below.

What is DNS?

To explain DNS it means Dynamic Name Service,

the idea is DNS is it changes internet addresses such as to an IP address such as

As the Internet doesn’t actually know what the word version of an address is.

Once you type an address in your browser the DNS server translates this into an address,

for example, our site translates to which can be seen by using Command Prompt (CMD):


What will clearing the DNS do?

Clearing your DNS cache can help resolve DNS issues.

If you are having issues accessing web pages it may be because the host has changed addresses,

but your computer has stored an old version which will result in errors connecting to the pages.

Recently a client had changed Email providers and they weren’t receiving email,

the cause was due to both the local computers and their server retaining the former IP (Internet Protocol) address.

Flushing the DNS cache was a solution that prevented a large financial loss due to potentially not receiving any mail orders.

How to flush and reset your DNS Cache

So now you understand a little bit about what DNS is, to actually flush your cache you can access it from two places in Windows:

Method 1:

Go to: Run by pressing the Windows Key (flag) + R and typing in ipconfig /flushdns as shown below:

Run As Flush DNS

Method 2:

The second way is the more traditional way. Access Command Prompt,

in Windows 10 right-click the start menu and select Command Prompt (admin) and from here type ipconfig /flushdns the result can be seen below:

Flush DNS Command

How to Flush and Reset DNS Cache on Mac

With MacOSX the way you reset the cache has changed over the versions please see the details below:

Sierra and later

sudo killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache

Sudo Killall DNS

El Capitan

sudo killall -HUP mDNSResponder


sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

Older Versions

dscacheutil -flushcache; sudo killall -HUP mDNSResponder


IT Support in Harrogate

Carl Matthew Hamilton

Carl has the experience required to solve any IT queries & manage your IT infrastructure.

With over 20 years in the IT industry and a vast amount of experience and author of 303 posts and many more waiting to be published.

Subscribe To Receive The Latest News

Subscribe to find out first about new content.

See our Privacy Policy.

Need help or want to know more?

If you would like to learn more or are in need of support. Or would like to discuss working together, book an appointment or call 01423 423068

Interested and want to help smooth the process? Install our Onboarding toolYou can also try to reach us via our HubSpot Live Chat.

Schedule An Appointment

We would love to hear from you regarding any Outlook or Microsoft 365 Support, IT Support, Cyber Security, WordPress Website Design, or any Computer Support request you may have. Get the best out of Harrogate & Yorkshire IT Support.

Please note if you are a client and need to request IT Technical Support,  please use our Client Portal

Contact Us

Tel: 01423 423068


Online Support Portal: Client Portal

Need a quick chat or request? Try our HubSpot Chat from this page. Alternatively, use our WhatsApp Chat

Book with us

Hamilton Systems

Looking For Better IT Support?

Unhappy with your IT Support or getting slow response times? Let us help provide a solution to suit you. Complete the form to arrange your callback & get your FREE IT audit.

Our email wasn’t performing very well so we asked Hamilton Systems to take a look & Carl proposed to migrate us to MS Exchange.

Carl was very helpful throughout & the migration went very well.

He was on hand to sort out any teething issues, taking calls early morning & into the night, to ensure we were up & running smoothly.

Would recommend for knowledge, attention to detail & great customer service.”

Ian Porter

Fotofabric Limited

Hamilton Systems

Book A 15 Minute Video Call

IT Support in Harrogate

Carl Hamilton

Managing Director
  • 22+ Years IT Experience

  • Business Phone Systems (VOIP)

  • Cyber Security Specialist

  • Experts in Outlook Support &  Migrations

  • IT Support in Harrogate

  • Outsourced IT

  • Social Media Management

  • Website Hosting & SEO Management

“Extremely helpful and proficient technical support. Provided one-off troubleshooting when I required support to recover Outlook. Carl was knowledgeable, polite, and patient in resolving my issue Highly recommended.” – Pras Legal Corp.

Book Your 15 Minute Video Discovery Call

Unhappy with your existing

IT Support?

Talk To Us

Call us 03330 509625

Published On: August 2nd, 2018 / Categories: Security, Business Security, Buying Guides, Cloud, Gadgets, Microsoft, Microsoft 365, Tech, Windows /