Cluster I/O Protocols (CIP) Configuration and Management Manual (H06.16+, J06.05+)
# addresses. IP addresses can be either an IPv4 or an IPv6 address.
# The ipnodes file can be used with, or instead of, the HOSTS file.
#
2::56:a00:20ff:fe7b:b667 foo # John Smith
16.107.182.52 grand-poohbah bobafet-xx
0:0:0:ffff:0d:1:44:3 bar-mapped
0:0:0:0:d:1:44:3 bar-compatible
1080:0:0:0:8:800:200c:417a some-addr
1080:0:0:0:8:0:0:0 compress-this
Items are separated by any number of blanks or tab characters, or both. The pound sign (#)
indicates the beginning of a comment; characters up to the end of the line are not interpreted by
routines that search the file. Network addresses, both IPv4 and IPv6, are converted to binary format
by using the inet_pton() routine from the NonStop OS sockets library. Node names can contain
any printable character other than a field delimiter, new line, or comment character.
The getaddrinfo() routines as defined in RFC 2553 (Basic Socket Interface Extensions for IPv6),
support the use of the $SYSTEM.ZTCPIP.IPNODES file. and getnameinfo()
There is no sample IPNODES file on the SUT; you must create this file yourself if you want to use
it.
Add the TCPIP^NODE^FILE DEFINE
If you want to use an IPNODES file that is located someplace other than the default location
($SYSTEM.ZTCPIP.IPNODES), set the TCPIP^NODE^FILE environment variable, by using the TACL
ADD DEFINE command:
ADD DEFINE =TCPIP^NODE^FILE, FILE $SYSTEM.ZTCPIP.IPNODES
Also, for the resolver to use IPNODES in stead of DNS, you must set the TCPIP^NODE^FILE DEFINE.
Add the TCPIP^RESOLVER^ORDER PARAM
You can override system defines for the HOSTS file by using the TCPIP^RESOLVER^ORDER PARAM.
The syntax is:
PARAM TCPIP^RESOLVER^ORDER value
value indicates the file that the socket library should query. Valid values are:
DNSONLY
Query only the DNS.
HOSTFILEONLY
Search only the HOSTS file.
DNS-HOSTFILE
Query the DNS and if the host name is not found, search the HOSTS file.
HOSTFILE-DNS
Search the HOSTS file and if the host name is not found, query the DNS.
This PARAM takes precedence over the HOSTS DEFINE. The PARAM name and value are not
case-sensitive.
If there are no DEFINEs or PARAMs in effect for the process, the socket library consults DNS first.
If it doesn’t find the address there, it consults the IPNODES file.
76 CIP Configuration and Management










