Ok, so I have read and covered all the bases here:
http://ubuntuforums.org/showthread.php?t=562716
And have managed my hosts file without hiccups for many years now, but lately it seems like it only listens to me half the time. So, either I picked up a bad habit recently that is causing mayhem and breaking things, or I am going crazy.
Background: I run a local LAMP stack for web development. Oftentimes I will just create a hosts entry to mimic the site I am working on. It seems, in the past year or so, that this only works 'sometimes'. Right, I know there's no voodoo powering my name resolution. However, its been so odd that at times I have power cycled the laptop just as a last resort. I can't go on much longer and need to understand this elephant in the room.
So, tl; dr;, here are my questions:
1)Can something tell my browser(FF normally, but tested & reproduced in chrome, not that it should matter, caching aside) to ignore the hosts file?
2)Is there a way of debugging name resolution? I think dig & nslookup ignore /etc/hosts so what are my options?
3)I don't think this is the case, but when updating hosts should I restart any services?
4)Similar to one, but is there a chance anything in my home(~) can over write hosts?
I know my apache virtual host is setup right as I tend to clone sites-available files and modify the domains/folders, so that is probabkly not my problem. Also, this is 11.04, fresh install, with the exception of my /home partition.
Any help would be appreciated, thanks!
Bookmarks