Skip to content

Host

host

The host command is a simple tool for performing DNS lookups. The command resolves IP addresses into domain names and vice versa.

Use the command to perform a query for DNS records and basic DNS troubleshooting.

host [options] [hostname/IP]
host -t A <fqdn>