z/OS UNIX host: Identify the remote host

Use the z/OS UNIX host command to identify the IP addresses associated with a specified DNS host name or to identify the DNS hostnames associated with a specified IP address.

Format

Read syntax diagramSkip visual syntax diagram
>>-host--host--------------------------------------------------><

Parameters

host
DNS host name or IP address to look up

Examples

The following example shows the command output:
host 204.146.18.33
EZZ8321I www.ibm.com has addresses 204.146.18.33
 
host www.ibm.com
EZZ8321I www.ibm.com has addresses 204.146.18.33