Solved

How to Flush DNS cache in Mac OS X?

Posted on 2004-04-16
5
41,443 Views
Last Modified: 2013-11-17
What is the Windows ipconfig /flushdns equivalent in Mac OS X?
0
Comment
Question by:alexrs
  • 2
5 Comments
 
LVL 30

Expert Comment

by:weed
ID: 10843737
I'm not sure there's a need for it in OS X.
0
 

Author Comment

by:alexrs
ID: 10869124
When I change the IP address of an entry in the hosts file the system keeps resolving the associated name to the old address.
I figured out that if you go to Network Preferences and change the interface configuration (ex.: to manual address and then back to DHCP) it seems to reload it and clean the DNS cache. As a matter of fact I was expecting that "ifconfig down" and then "up" would cause the same effect, but it doesn't. I will stick to this workaround as the need is not very frequent.

Thanks anyway.

 
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 10880284
Closed, 125 points refunded.
modulo
Community Support Moderator
Experts Exchange
0
 

Author Comment

by:alexrs
ID: 10880530
Just found the equivalent to Windows' ipconfig /flushdns:

lookupd -flushcache
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Import Mac mail archive subfolders into Gmail 2 67
Software update for MacBook Pro A1278 10 219
itunes and ipod touch 2 74
How to download an Apple App onto a PC 3 63
Create a default user profile for Mac OS X 10.7/10.8 Create a user account on OS X that will be a template for every other user of that computer. I usually call it “profile” and make it an administrator account for the time being. 1. Install a…
A lot of new and distinct gadgets are making their appearance every other day. The latest gadget that has wooed the attention of all gadget lovers and non gadget lovers alike is the Smartwatch. This tiny gadget is capable of offering live access to …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now