Glossary: Networking Beyond the Basics
getent
Also written: getent hosts
getent hosts NAME looks up a name the way programs do: the hosts file first, then DNS. It shows what a browser would see, which dig does not.
Glossary: Networking Beyond the Basics
Also written: getent hosts
getent hosts NAME looks up a name the way programs do: the hosts file first, then DNS. It shows what a browser would see, which dig does not.