Matomo Analytics

Documentation

How do I flush my DNS cache (mac)?

Sometimes you will find yourself in a situation where you want to force clear your DNS on your mac computer so your newly created A record or CNAME fo...

Sometimes you will find yourself in a situation where you want to force clear your DNS on your mac computer so your newly created A record or CNAME for example comes through faster.

To do this, simply open up your terminal (you can use spotlight or launchpad to search for the terminal) and run this command:

sudo killall -HUP mDNSResponder

When running this it will probably prompt you for your password, fill in this password and press enter. (You will not see yourself typing the password, it is hidden)


Dennis Smink

Written by Dennis Smink

Dennis brings over 13 years of hands-on experience in server management, specializing in optimizing web services for scalability and security.

Ready to dive in?
Start your free trial today.

Create an account and enjoy your 5-day free trial — no credit card required.

Start your free trial