My hosts file is being ignored, apparently.
It contains:
127.0.0.1 localhost.localdomain localhost
127.0.0.1 mydomain.com
127.0.0.1 nowhere
If I ping localhost or 'nowhere', I get an 'unknown host' error. If I ping mydomain.com, ping succeeds, but it reports the internet ip address (from an outside name server) for mydomain.com.
The server is running ubuntu hardy. Is there a way disable (and reenable) the /etc/hosts file?