From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,153fdfe6cdff2cf4 X-Google-Attributes: gid1164f8,public From: Qingchun Guo Subject: can't resolve host names Date: 1996/09/06 Message-ID: #1/1 X-Deja-AN: 178992213 references: <32301B59.41C6@aimtech.com> content-type: TEXT/PLAIN; charset=US-ASCII organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA mime-version: 1.0 reply-to: Qingchun.Guo@gsfc.nasa.gov newsgroups: comp.sys.dec My company has bought a Digital computer, and I am trying to set it up and connect it to the Internet. The operating system is called "Digital UNIX V3.2D-1 (formerly DEC OSF/1). This is my first time to set up a Digital. Now everything seems to work except one problem which is demonstrated below (here # is the root prompt and "bull.gsfc.nasa.gov" is another workstation) --------------------------------------------------------- # nslookup bull.gsfc.nasa.gov <-- find IP address of bull Server: dftsrv.gsfc.nasa.gov Address: 128.183.10.134 Name: bull.gsfc.nasa.gov Address: 128.183.52.20 <-- this is the IP address # ping 128.183.52.20 <-- ping the IP address PING 128.183.52.20 (128.183.52.20): 56 data bytes 64 bytes from 128.183.52.20: icmp_seq=0 ttl=255 time=1 ms 64 bytes from 128.183.52.20: icmp_seq=1 ttl=255 time=0 ms 64 bytes from 128.183.52.20: icmp_seq=2 ttl=255 time=0 ms ----128.183.52.20 PING Statistics---- 3 packets transmitted, 3 packets received, 0% packet loss round-trip (ms) min/avg/max = 0/0/1 ms # ping bull.gsfc.nasa.gov <-- ping the host name ping: unknown host bull.gsfc.nasa.gov # --------------------------------------------------------- As the above demonstration shows, while nslookup knows the hostname "bull" and its IP address, ping does not know hostname "bull". But if bull's IP address is used, ping works perfectly. In the example, I used "bull". If I use other host names, I get the same result. Because of the problem, when I contact other hosts in the network, I have to first use nslookup to find the IP address and then use the IP address instead of the hostname. Can anyone tell me what might be wrong? Any suggestion will be greatly appreciated. Thanks in advance! Qingchun Guo