Ravi Sir's Cards › AWS
/etc/hosts vs DNS?
This interview card answers: /etc/hosts vs DNS? Hosts is local, checked first. Order is in nsswitch.conf. App view.
Read card text
What this card says
What it is
hosts is local, checked first.
Why it matters
Order is in nsswitch.conf.
How / example
App view.
getent hosts example.com