How-To Flush DNS on Mac OS X Lion

Flushing the DNS on Mac OS X Lion is quite simple. Just follow the below steps:

1) Change to “root” by using the following command:
su –
Enter the root password when prompted. If you don’t know the “root” password for your system, you can set it by following this Apple KB article: http://support.apple.com/kb/ht1528

2) Type in the following command to flush the DNS:
dscacheutil -flushcache

The DNS has now been flushed.

This entry was posted in Mac and tagged , by virtualdennis. Bookmark the permalink.

About virtualdennis

I have over 18 years helping small to large enterprise businesses nationwide with their enterprise storage, backup and recovery, disaster recovery and system virtualization solutions. He holds numerous storage and virtualization certifications and has personally delivered over 300 complex enterprise solution implementations. He has been privileged to speak at various national events on the topics of datacenter virtualization, end-user virtualization, hyper-converged infrastructure and disaster recovery.

1 thought on “How-To Flush DNS on Mac OS X Lion

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s