There is nothing special about the name localhost. You must define
that in your TCPIP system as a name with an associate IP address of
127.0.0.1 for it to exist. In our case, the DNS people actually have
the Windows DNS set up to do this mapping for us. The output from the
z/OS UNIX "dig" command shows:

dig localhost
Allocated socket 6, type udp

; <<>> DiG 9.2.0 <<>> localhost
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49597
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;localhost.                     IN      A

;; ANSWER SECTION:
localhost.              600     IN      A       127.0.0.1

;; Query time: 1 msec
;; SERVER: 10.170.5.8#53(10.170.5.8)
;; WHEN: Thu Apr 11 10:49:14 2013
;; MSG SIZE  rcvd: 43


10.170.5.8 is out internal IP address of our Windows DNS machine. The
above show your DNS machines to be at 159.105.23.130 and
170.222.64.130. Whoever controls those servers needs to define the
name "localhost". Doing a reverse map, those map to ns1.state.vt.us
and ns2.state.vt.us and so I guess they are "owned" by the state of
Vermont.

You might want to make your own local look ability, which is done with
the DEFAULTIPNODES or GLOBALIPNODES which are documented here:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/F1A1B4A1/5.5
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/F1A1B4A1/5.7



On Thu, Apr 11, 2013 at 10:22 AM, Campbell, Breck
<[email protected]> wrote:
> When I try to ping loopback the command fails with;
>
> EZZ3111I Unknown host 'LOOPBACK'
>
> But when I ping 127.0.0.1 the command works;
>
> CS V1R13: Pinging host 127.0.0.1
> Ping #1 response took 0.001 seconds.
> ***
>
> We are running with the following resolver configuration;
>
> BROWSE    /SYSTEM/etc/resolv.conf                    Line
>  Command ===>
> ********************************* Top of Data ************
> TCPIPJOBNAME TCPFTP
> A7JES2:  HOSTNAME  MVS2FTP
> DOMAINORIGIN  CIT.STATE.VT.US
> NSINTERADDR  159.105.23.130
> NSINTERADDR  170.222.64.130
> ******************************** Bottom of Data **********
>
> Do I have to add something  here to get the system to recognize the loopback 
> host?
>
>
>
> Breck Campbell
>
> Systems Developer II
>
> State of Vermont
>
> Dept of Information and Innovation
>
> 1 National Life Dr..
>
> Montpelier, VT 05633-3701
>
> phone 802-828-4692
>
> fax 802-828-4677
>
> email [email protected]
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN



-- 
This is a test of the Emergency Broadcast System. If this had been an
actual emergency, do you really think we'd stick around to tell you?

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to