As a web dev, you may spend some time messing with DNS and overriding it. Though, it can get annoying when you can't get things back to the way that mere mortals see things on the internet.
lookupd -flushcache was a big tool in my arsenal in Tiger. But Leopard put a rightful end to lookupd, but left us without our known way of flushing the cache.
For the last couple of weeks its been pretty annoying, but I'm here to bring you, the NEW way to flush dns cache for OS X users!!! Holy crap this is exciting.
So it's as simple as this:
dscacheutil -flushcache
There you have it.
Popularity: 16% [?]




About
Mmm, Del.icio.us
Dude, this is REALLY exciting! Can't wait to try it out! Thanks!
You saved my life today dood. Now if only I can work out this crazy leopard DNS server 0.o
Thanks for pointing that out. Been missing that functionality since lookupd's demise.
Thanks for the tip. Found this via Google, and it just saved my butt.
Thanks for this tip. However, it seems I have to run it every time I start up my computer. I work both from home and from the office with my macbook pro. When I get to the office in the morning, my internet connection works partially. I can connect to some sites and not to others. And my iChat won't connect. It does the same thing when I go home and get online. I have to run this line every time. Any idea why this would be happening? Is Leopard really that messed up?
Sounds like your DNS servers are fubared. Try using OpenDNS
greatings...
agree...
greatings...
wow...
I tried this in Terminal and there was no response.
My MacBook, iMac and windows laptop all can no longer reach just one site. I called my ISP (Rogers) and they could reach the site, my friends in various locations across north america were able to reach it too - just not me.
I am on this site all day, daily as it is my WORK! I cannot imagine what changed in the time moments between my last visit and when it went down.
I cannot reach it from any browser or via ping etc.
Really odd.