XRPi Home

Documentation Index
Alphabetic Index

XRPi Documentation - Commands

HOST

Command

HOST -- Display information about a TCP/IP host

Synopsis

HO[st] <hostname> | <ip address>

Description

The HOST command displays all known information about the specified TCP/IP host.

It would typically be used to find the IP address, given the hostname, or vice versa.

Options

The argument may be either a host name or an IP address. Hostnames not containing at least one dot (.) are first expanded by appending the domain suffix, as specified in XROUTER.CFG (default .ampr.org.)

Example

ho kidder

G8PZT:KIDDER} Host name information for kidder:
Hostname: kidder.ampr.org.
Address:  44.131.91.245

Files

The HOST command uses information from DOMAIN.SYS. If domain resolution is to be performed by an external DNS instead of by Linux that DNS must be specified using the DNS=<ipaddr> directive in XROUTER.CFG.

Limitations

The returned information is limited in scope at present. It will be expanded in a future version.

In order to work properly, the HOST command requires either a populated DOMAIN.SYS, or access to a Domain Name Server, either directly, or via Linux kernal.

Availability

All users.