Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Under Leopard Lookupd has disappeared' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Under Leopard Lookupd has disappeared
Authored by: alec kinnear on Apr 01, '08 07:37:26AM

sudo lookupd -flushcache was the way to update hosts cache before Leopard. Lookupd is gone now.

In Leopard, lookupd no longer exists. Instead force a DNS cache refresh with:

sudo dscacheutil -flushcache

I hope this helps.

---
WordPress SEO Secrets - foliovision.com/weblog



[ Reply to This | # ]
Instructions for Snow Leopard?
Authored by: magnamous on Sep 14, '09 12:49:53AM

I've been fiddling with this on 10.6, and the dscacheutil -flushcache command doesn't seem to do the trick anymore. I even tried rebooting afterward, and that didn't seem to do it either. I tried visiting one of the blocked sites and the browser went right to it.

I've done this before on 10.4 and 10.5, so I'm pretty sure I'm not doing anything wrong as far as modifying the hosts file is concerned. I'm using OpenDNS, but the computer is supposed to check the local file first, so what gives? I can't imagine that Snow Leopard doesn't use a local DNS database, so has it given up on using the hosts file? I thought they just gave up NetInfo in 10.5, so why would they switch away from /etc/hosts now?

Any suggestions are greatly appreciated, as always.



[ Reply to This | # ]
Instructions for Snow Leopard
Authored by: magnamous on Sep 14, '09 01:05:21AM

Okaaaaaaay. So apparently it does still work. It seems that my problem had something to do with the specific server I picked (ad2games.com), which somehow redirected to www.ad2games.com, which then loaded. Once I added www.ad2games.com to the hosts file, it stopped working.

So the directions for 10.6 are apparently the same as they are for 10.5. Nice.



[ Reply to This | # ]