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


Click here to return to the 'Solution: changes to hosts file won't work until I restart machine' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Solution: changes to hosts file won't work until I restart machine
Authored by: Skeeter on Jan 27, '04 03:07:26PM

Verify that lookupd is set to use flat files (/etc/hosts) for hostname lookup. Run the command "lookupd -configuration". Look for the lines like this:

LookupOrder: Cache FF DNS NI DS
_config_name: Host Configuration

That means to check the cache, then the file. The problem is the cache.

Run the command "lookupd -flushcache".

That should do it.



[ Reply to This | # ]