Host Names
When you specify a host name rather than an IP address, IBM®
Connect:Direct® for Microsoft
Windows does a DNS
lookup to get the IP address from the operating system. The first IP address returned in the DNS
lookup is used regardless of whether it is in IPv4 or IPv6 format.
Warning: If
tcp.api.port or tcp.host.port are defined with a host name, the binding IP address is determined by
DNS lookup. As a result, either an IPv4 or IPv6 address is returned depending on your DNS
configuration.
A host name (net, host, gateway, or domain name) is a text string of up to 24 characters comprised of the alphabet (a-z and A–Z), digits (0–9), minus sign (-), and period (.), for example, msdallas-dt.
The following guidelines also apply:
- No blank or space characters are permitted as part of the name.
- Periods are allowed only when they are used to delimit components of domain-style names.
- Host names are not case sensitive.
- The first and last character must be a letter or digit.
- Single-character names or nicknames are not allowed.