Name

host — Look up hostnames and optionally set DNS server values.

Synopsis

host [-s, --set resolver] [--help] [--version] name...

Options

-s, --set

set the resolver to use. The default is the one provided by the DHCP response.

--help

display short helptext and exit

--version

display commands version and exit

name

The host name to resolve.

Description

Perform a DNS lookup.

Example 11.4. Using the host command to resolve an address.

>host www.simtec.co.uk
www.simtec.co.uk is at 217.147.94.109
>

See also

dhclient.