Save Yourself an Hour of Suicidal Frustration
To clear your DNS cache on Mac OS X, open a terminal and type:
lookupd -flushcache
This can come in kinda handy if your a server administrator and are moving sites all over the internet and changing DNS on the root servers. Despite all of my experience, I was literally on the edge tonight trying to figure out why some sites weren't resolving even though DNSstuff was pointing to the new server and running dig on the domain name showed the new ip as well. But in a browser, it would resolve to the old one. Clearing my browser cache, closing them and even rebooting did not help. Finally I got smart, logged into a server I have access to in a London datacenter and when I ran a ping on the domain, it resolved to the new ip.
Ran the command above and voila! I had this problem a long time ago and figure OS X must hang on it's DNS cache for 12 hours. Now I just have a cron that runs that command every 30 minues.
Shall We Play A Game?
Yesterday I found this great new old 1970's terminal emulator on Digg and I was so addicted to it that it took me a day to blog it. My Engineering team at Speakeasy loaded it up and loved playing with the different options that include baud rate emulation that will put once character on the screen at a time. Highly recommended if your a CLI junkie like me and have a Mac.
If it only had a sound for each character displayed, it would be like Joshua on War Games.
Plus it has a cool icon!
![]()
Google Earth for OS X Released
Google has finally released Google Earth for OS X. No real improvements over the Windows version but it's about time that Google paid some attention to the growing Mac OS X users. You can pick up a copy here.
(via The Official Google Blog)
