in reply to /etc/hosts is not evaluated after modification on Linux

Unix systems tend to use NSS nowadays. If your /etc/nsswitch.conf contains a line like

hosts:    dns [!UNAVAIL=return] files
then /etc/hosts isn't normally consulted at all. The move is towards more stringent lookups & authority, I suppose.

  • Comment on Re: /etc/hosts is not evaluated after modification on Linux