dirxhostinfo
Options
-f filename
-
An optional option that specifies the name of the file to that the information provided is written.
-i
-
Displays the IPv4 addresses of the host.
-h
-
Displays the host name.
-a
-
Displays the host name and the IPv4 addresses of the host.
-I [hostname]
-
(Capital i.) Displays all IP addresses for host hostname. If hostname is omitted localhost is used.
-?
-
Prints a command usage message.
-V
-
Displays the DirX Directory product version of this tool, in the format:
product_version build_id date time
For example:
DirX Directory V9.0 9.4.428 2023:03:23 20:10 64-Bit
Description
The dirxhostinfo command displays information about the host and its IP addresses.
Use the -f command to direct the command output to a file.
This command is used to check the configuration of the name service. Internally the command performs the same resolver routine as the server to resolve DNS component names of presentation addresses when TCP connections should be established. (See your operating system documentation how to configure the name service.)
The command specified without any options returns the same result as dirxhostinfo -a.
Examples
-
In the following example the administrator displays the hostname:
dirxhostinfo -h
The output of the sample command is as follows:
set DIRX_HOST_NAME=winsrv2008-02 + : CanonicalName : winsrv2008-02.qa4.my-company.de
-
In the following command the administrator displays all IP addresses of his host:
dirxhostinfo -I winsrv2008-02
The output of the sample command is as follows:
CanonicalHostName: winsrv200874-02.qa4.my-company.net + Found HostIP6: 2001:DB8::1522:a202:4cf4:924d%10 + Found HostIP6: 2001:DB8::69f7:cc29:2e1d:8103%11 + Found HostIP6: 2001:DB8::51e1:876a:c2bd:c2d1%13 + Found HostIP6: 2001:DB8::8a19:a0eb%1 + Found HostIP6: 2001:DB8::8b19:a0eb + Found HostIP4: 123.25.161.123 + Found HostIP4: 192.168.89.1 + Found HostIP4: 192.168.33.1