How to flush DNS on your Mac

Dayne Dayne (57)
1 minute

Flushing your dns is a very useful troubleshooting step and is necessary for some network changes to take effect. For some reason, Apple likes to change the command to clear the dns cache with just about every macOS and OS X update, so here is the updated command.

Posted in these interests:
h/macos57 guides
h/mac91 guides
h/terminal3 guides

This is located in Applications > Utilities

dscacheutil -flushcache; sudo killall -HUP mDNSResponder
Apple hid the battery percentage option starting with Big Sur. Here's where it is.
Zach Zach (249)
5 minutes

I always keep an eye on my MacBook's battery percentage—especially since, as a developer, I run a lot of resource-intensive applications.