Aug
07
ipconfig /flushdns for Mac
ByWhen troubleshooting DNS problems, I often use a combination of nslookup and ipconfig commands on a Windows system. And while the Mac has the nslookup command, I didn’t have an equivalent of ipconfig /flushdns until today.
lookupd -flushcache
And yes, I do enjoy being able to work on the Mac in a command-line environment.
Update:
lookupd is deprecated in Mac OSD 10.5. The new command is:
dscacheutil -flushcache
2 Comments
June 27th, 2006 at 11:43 pm
I can’t tell you how many hairs were spared from being pulled out of my head when I found this tip – thanks!
July 8th, 2011 at 2:55 am
I realize you posted this years ago, but this really helped me out today. Thank you.