From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,98f520a49a665426 X-Google-Attributes: gid111c93,public From: "His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated" Subject: Re: why is rsh so slow the second time? Date: 1998/05/27 Message-ID: #1/1 X-Deja-AN: 356908143 Sender: xenophon@deneb X-PGP-Key-URL: References: <3569F061.B026714A@dirac.phys.uwm.edu> <6kdq4b$aeq@raf30.iiic.ethz.ch> <356AE1AC.39E62DA@dirac.phys.uwm.edu> X-yow: My polyvinyl cowboy wallet was made in Hong Kong by Montgomery Clift! Comments: Hyperble mail buttons accepted, v04.01. X-Home-URL: X-Face: meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow X-Attribution: XF Reply-To: econommx@cs.rose-hulman.edu X-Disclaimer: My attitude is this. I'm full of it. If you listen to me, that's your problem. X-Day: Sun, 05 Jul 1998 07:00:00 X-Linux: Proud user of Linux since August 1994! Organization: First Church of B1FF and BRAK! (Reformed) Warnings-to: econommx@cs.rose-hulman.edu X-PGP-Key-ID: Length=1024; ID=0x44C9F871; Fprint="0F EF 86 8F 6C AB 19 63 E8 D7 A6 98 86 34 C2 DD" Newsgroups: comp.os.linux.alpha >>>>> "BA" == Bruce Allen writes: BA> Chris, thanks for the advice. I'll look into this. I'm a bit BA> puzzled though, because machine B is on a private subnet, and BA> has DNS disabled (it's only using /etc/hosts). The resolver routines don't seem to look at /etc/hosts at all! I am running an experimental name server on my Alpha; it seems to be configured sanely. However, no matter what I do, I cannot lookup localhost on my system: [root@nemesis named]# host localhost Host not found. [root@nemesis named]# host localhost. Host not found. [root@nemesis named]# dnsquery localhost Query failed (h_errno = 1) : Unknown host [root@nemesis named]# dnsquery localhost. Query failed (h_errno = 1) : Unknown host [root@nemesis named]# nslookup localhost Server: nemesis.irtnog.org Address: 192.168.0.2 *** nemesis.irtnog.org can't find localhost: Non-existent host/domain [root@nemesis named]# nslookup localhost. Server: nemesis.irtnog.org Address: 192.168.0.2 *** nemesis.irtnog.org can't find localhost.: Non-existent host/domain [root@nemesis named]# However, on one of the school's SPARCstations: deneb:~>nslookup localhost Server: pandora.rose-hulman.edu Address: 137.112.4.196 Non-authoritative answer: Name: localhost Address: 127.0.0.1 deneb:~> My /etc/hosts: 127.0.0.1 localhost localhost.localdomain 192.168.0.2 nemesis nemesis.irtnog.org 192.168.0.3 thomas thomas.irtnog.org My /etc/host.conf: # /etc/host.conf # We have named running, but no NIS order hosts bind # Allow multiple addrs multi on # Guard against spoof attempts nospoof on alert on The relevant section of /etc/nsswitch.conf: hosts: files dns And /etc/named.boot: directory /var/named cache . named.ca primary irtnog.org named.hosts primary 0.168.192.in-addr.arpa named.rev primary 0.0.127.in-addr.arpa named.local Of course, reverse lookups of 127.0.0.1 work correctly. -- His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated Discordian Episkopos of Ambidextrous Thinking and Licensed SubGenius Minister "I saw weird stuff in that place last night---weird, strange, sick, twisted, eerie, godless, *evil* stuff! And I want in!" --Homer Simpson