Solved

How to Flush DNS cache in Mac OS X?

Posted on 2004-04-16
5
41,435 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Apple iTunes - Move from PC to PC First login to your old PC 1. Click on File. 2. Then click Library. 3. Now open the Export Library. 4. Save the .xml file to your desktop. This file will hold all of the information about your playl…
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 video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 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

13 Experts available now in Live!

Get 1:1 Help Now