TCP/IPv6 Configuration and Management Manual (G06.24+)

NonStop TCP/IPv6 Protocols and Configuration Files
HP NonStop TCP/IPv6 Configuration and Management Manual524523-008
D-11
RESCONF File
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 Guardian or NonStop Open System Services
(OSS) sockets library. Node names can contain any printable character other than a
field delimiter, new line, or comment character.
The getaddrinfo() and getnameinfo() routines as defined in RFC 2553 (Basic
Socket Interface Extensions for IPv6), support the use of the
$SYSTEM.ZTCPIP.IPNODES file.
RESCONF File
The Domain Name Resolver (DNR) resolves domain names to IP addresses using
either a HOSTS file or DNS to provide the translation. If you did not set the
TCP^HOST^FILE or TCP^NODE^FILE parameter, the DNR assumes it must use DNS.
To determine which DNS to use, the DNR interrogates the RESCONF file. Therefore,
you must configure the RESCONF file when using DNS. Also, note that the NonStop
TCP/IPv6 sockets library provides a procedure call to the DNR. (See the TCP/IP
Applications and Utilities User Guide.)
The RESCONF file contains the name of the domain in which the current host is
running. The example lists three DNS IP addresses (nameserver 127.1, nameserver
50.0.0.23, and nameserver 50.0.0.36):
domain HP.COM
nameserver 127.1
nameserver 50.0.0.23
nameserver 50.0.0.36
The first server address is the primary server. If that server is unavailable, the resolver
contacts the second server. If the second is unavailable, the resolver tries to contact
the third server. Notice that the first server address is 127.1; this is the address you
would use if the current NonStop host had a server available. The sample RESCONF
file that comes with your NonStop TCP/IPv6 software is a prototype; you should
customize this file.
To override the default RESCONF file, use the environment variable
TCPIP^RESOLVER^NAME. This variable provides flexibility in selecting the
RESCONF file accessed for name resolution. The default RESCONF file is located on
$SYSTEM.ZTCPIP. This example contains a TACL ADD DEFINE command you can
use to select a different RESCONF file:
2> ADD DEFINE =tcpip^resolver^name, FILE $data.user.resconf