When you get your IP address using DHCP in a domain your /etc/hosts file, as well as /etc/networks might get out of sync with reality.
If I plug my laptop to the wifi network at the library, for example, my /etc/hosts has a line like the following one:
Code:
192.168.0.10 myhost.example.com myhost
Where, in fact, it should be something like:
Code:
192.168.13.100 myhost.ourlibrary.org myhost
The same thing happens to /etc/networks where a line like the following one should be...