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 www.example.com to an IP address such as 192.168.0.1.
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 www.hamiltonsystems.co.uk translates to 75.119.211.180 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:
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:
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
El Capitan
sudo killall -HUP mDNSResponder
Yosemite
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
Older Versions
dscacheutil -flushcache; sudo killall -HUP mDNSResponder

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.
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 tool. You can also try to reach us via our HubSpot Live Chat.
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
E-mail: hello@hamiltonsystems.co.uk
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

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

Book A 15 Minute Video Call

Carl Hamilton
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