Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!PAN.SSEC.HONEYWELL.COM!thompson From: thompson@PAN.SSEC.HONEYWELL.COM (John Thompson) Newsgroups: comp.sys.apollo Subject: re: Name translation problems Message-ID: <9103192245.AA14567@pan.ssec.honeywell.com> Date: 19 Mar 91 22:45:12 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 35 > I declared the Apollo in the uVAX /etc/hosts and the uVAX in the Apollo > /etc/hosts, and rebuilt the hosts database on the Apollo. It now recognizes > the name "motto" for telnet, rlogin, ftp, etc., but for some reason > always translates the corresponding IP address to "0.0.0.0" which > obviously does not produce the correct result. Therefore, > "telnet 129.0.199.199" works, but "telnet motto" does not. The same goes > for rlogin, rsh, ftp, and sendmail jobs. When you say you rebuilt the host tables -- did you use a utility to translate from the NIC format to the hosttable format; did you hand-build them; did you use nshost? Basically, you should start by checking the /etc/hosts file to make sure your build (however done) worked. There should be a line "129.0.199.199 motto aliases-for-motto" present. If there isn't, then it didn't build right. Another problem might be the presense of /etc/hosts.dir and /etc/hosts.pag. These files are hash-files for quick lookup. If they're present, you can just remove them, and it'll use the /etc/hosts file only. You can rebuild the hashed databases with /etc/mkhosts. If that isn't it, try doing "/etc/nmconfig -l" to list the naming resolution protocols. The "hosts type" is the entry to be concerned with. If it's hostent_ascii, then you're using the host tables at /etc/hosts (or /etc/hosts.dir / .pag). If it is "hostent_bind, you're using the name server (/etc/named process and /etc/resolv.conf for who to use). I wouldn't expect it to translate to 0.0.0.0, but who knows? -- jt -- John Thompson Honeywell, SSEC Plymouth, MN 55441 thompson@pan.ssec.honeywell.com Me? Represent Honeywell? You've GOT to be kidding!!!