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"
In reply to Re^2: /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: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |