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)


11 April 2020 (last updated 3 years ago)

2573 views

Written by Dennis Smink

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

Back to DNS


Start free trial