Address1 Hostname1
Address1 Hostname2
Address1 Hostname3
z/OS Communications Server が提供するサンプル・ファイルは以下のとおりです。これは、SEZAINST のメンバー EZBREIPN (別名 IPNODES) として見つけることができます。
;
; IBM z/OS Communications Server
; SMP/E distribution name: EZBREIPN
;
; 5694-A01 (C) Copyright IBM Corp. 2002.
; Licensed Materials - Property of IBM
;
; Function: Sample ETC.IPNODES file
;
; The file contains the Internet Protocol (IP) host names
; and addresses for the local host and other hosts in the
; Internet network.
; This file is used to resolve a name into an address (that is, to
; translate a host name into its Internet address) or resolve
; an address into a name.
;
; Comments begin with a # or ; character and continue until the
; end of the line.
;
; The following statement defines the Internet Protocol (IP) name
; and address of the local host and specifies the names and
; addresses of remote hosts. The maximum line length support is
; 256 characters
;
; Entries in the hosts file have the following format:
;
; Address HostName
;
; Address HostName1 HostName2 HostName3 ..... HostName35
;
;
; Address: is an IP address, it can be IPV4 or IPV6 address.
; Note: IPv4-mapped IPv6 address is not allowed.
;
; HostName: the length of the hostname is up to 128 characters,
; and each IP address can have up to 35 hostnames.
;
;
9.67.43.100 NAMESERVER
9.67.43.126 RALEIGH
9.67.43.222 HOSTNAME1.RALEIGH.IBM.COM
129.34.128.245 YORKTOWN WATSON
1::2 TESTIPV6ADDRESS1
1:2:3:4:5:6:7:8 TESTIPV6ADDRESS2
;
ETC.IPNODES および /etc/ipnodes を見付けるために使用する検索順序 については、TCP/IP アプリケーションの構成ファイル を参照してください。