Unix systems tend to use NSS nowadays. If your /etc/nsswitch.conf contains a line like
then /etc/hosts isn't normally consulted at all. The move is towards more stringent lookups & authority, I suppose.hosts: dns [!UNAVAIL=return] files
In reply to Re: /etc/hosts is not evaluated after modification on Linux
by Anonymous Monk
in thread /etc/hosts is not evaluated after modification on Linux
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |