Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to Flush DNS cache in Mac OS X?

Posted on 2004-04-16
5
41,459 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 Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
exchange support of mac 2 75
What size hdd for this mac ? 3 69
Need to reinstall OS onto Mac Mini 2 57
Control iMac With MacBook Keyboard 5 50
This article describes in detail how to set up the iPad in the Enterprise using iPCU aka iPhone Configuration Utility.  This could also be used for the iPhone although I have not detailed out any differences. Preparation as an iPad Administrator:…
In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

808 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