Starting
with
z/OS V1R4, IBM introduced
support for Internet Protocol Version 6 (IPv6), which is the successor
to the Internet Protocol Version 4 (IPv4). In order to support IPv6,
new USS BPX calls for the IBM name resolver were introduced to implement
the protocol-independent resolver functions that are described in
the RFC 3493 specification. Here is a list of the IBM name resolver
functions that are supported in IPv6 and IPv4:
IBM Name Resolver Functions
When the IBM
z/OS Name Resolver is started,
it reads the IBM configuration file that is pointed to by the DD statement
SETUP, which can contain the following SETUP directives:
-
COMMONSEARCH | NOCOMMONSEARCH
-
-
-
-
Note: The most important SETUP
directives are GLOBALTCPIPDATA and DEFAULTTCPIPDATA.
identifies a global
TCPIP.DATA file. Any TCPIP.DATA directive that is specified in this
file are system-wide and cannot be overridden by a local TCPIP.DATA
file.
identifies a default
TCPIP.DATA file, which overrides the TCPIP.DATA file that is named
TCPIP.TCPIP.DATA.
If a GLOBALTCPIPDATA
statement is located in the resolver setup file, the IBM
z/OS Name Resolver reads any name resolver directives
that are located in this global TCPIP.DATA file. The IBM
z/OS Name Resolver then searches for a local
TCPIP.DATA file in this order:
-
RESOLVER_CONFIG environment
variable
-
-
-
-
-
DEFAULTTCPIPDATA value
(if specified in the
z/OS
Name Resolver setup file)
-
Here are some useful
IBM
z/OS Name Resolver Server
directives:
changes the order in
which name resolution is performed between a DNS name server and a
local hosts file. Using the LOOKUP directive, you can specify DNS
only, LOCAL only, DNS LOCAL, or LOCAL DNS. By default, a DNS name
server is queried first. If DNS fails, then DNS LOCAL is used.
specifies a search
of up to six domains, in the specified order. The first domain name
that is specified is used as the value for DOMAINORIGIN. If both the
SEARCH and DOMAINORIGIN statements are specified, the one that appears
last is used.
specifies up to four
IP addresses to use for a specific host. If DNS returns more than
one IP address for a host, SORTLIST can use search masks to sort and
identify which IP address the resolver returns.
specifies that for
a domain name that contains n or
more periods (.), the resolver should look up the name as is before
applying the DOMAINORIGIN or SEARCH statement settings. The range
of n is 1 to 15. The default
is 2.
For complete information
about these directives, see the IBM documentation
z/OS IP Configuration Guide and
IP Configuration Reference.