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

Yes there is no nameserver in this particular example and /etc/hosts is used for resolution.

How already pointed by philipbailey nscd is used for caching and if after updating of /etc/hosts in the script cache needs to be invalidated by using "nscd -i hosts"

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