Skip to content

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.

Where the book teaches it

Related terms

hosts filedig