host

Use the host command to change an Internet Protocol (IP) address to a host name or change a host name to an IP address.

Syntax

Read syntax diagramSkip visual syntax diagram sainfo host -ip_or_name ip_addresshost_name

Parameters

-ip_or_name ip_address | host_name
(Required) Specifies the host system IP address or host system name. The value for the IP address must be a standard IPv4 or IPv6 address. The value for the host name must be an alphanumeric string.

Description

This command changes an IP address to a host name or change a host name to an IP address.

This command handles Domain Name System (DNS) lookup and assists with DNS configuration.

Use this command to convert host names to IP addresses or IP address to host names.

An invocation example

sainfo host -ip_or_name vardy

The resulting output:

Host vardy not found: 3(NXDOMAIN)