host
DNS answers in plain wordshost is the shortest way to do a DNS lookup. It prints each record as a sentence — "has address", "mail is handled by" — which makes it easy to read and easy to use in scripts.
dig for the full picture; host for a one-line answer.
At the terminal
Read the session first, then the notes: each numbered line in the output is answered by the note with the same number.
What the numbered lines are telling you
The IPv4 and IPv6 addresses. host asks for several record types at once.
Mail for the domain goes to mail.example.com. The 10 is the priority; lower numbers are tried first.
The address is reversed and looked up under in-addr.arpa. The PTR record gives the name.
The DNS says this name does not exist — different from a timeout, which would mean no server answered.
Switches
A switch changes how the command behaves. These are the ones used day to day; man host lists the rest. Single-letter switches can usually be joined, so -l -a may be written -la.
-t TYPE- Ask for a record type.
-a- Ask for all records and print the full response.
-4- Use IPv4 for the query. -6 uses IPv6.
-W SECS- Wait this long for a reply.
-v- Verbose output.
Variations worth knowing
The same tool, pointed at a narrower question. These four cover most of what it is reached for day to day.
host -t NS example.comLists the domain’s name servers.
host -t TXT example.comShows its TXT records.
host example.com 192.0.2.53Asks a particular DNS server.
host -a example.comAsks for every record type and prints the full response.
In cybersecurity
Forward and reverse lookups that disagree are a useful warning.
Mail servers compare a sender’s address with its PTR record. A mismatch is one of the signals used to reject spam.
Whoever controls an address block controls its PTR records, so a reverse name in a log is a claim, not a fact. Log the address too.
"Not found" is an answer; no reply at all means DNS is being blocked or is down. They call for different fixes.