Flush Leopard local DNS cache

I had to change my IP addressing (because the Airport Extreme didn’t support 10.15.5.12/24). During the DNS modification, I couldn’t reach some of the machines. Obvisously, the Mac was keeping the old IP address in cache.

To flush your local DNS cache, just run:

# sudo dscacheutil -flushcache

Yeepee !!!

Source 10.5: Flush DNS cache

Author: Joel Carnat

@work Technical Architect and SysAdmin ; @home OpenBSD and FOSS, Karate, Kobudō, Jōdō, Bodyweight workout, Photography & Music

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.