Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated" <xenophon@irtnog.org>
Subject: Re: why is rsh so slow the second time?
Date: 1998/05/27	[thread overview]
Message-ID: <w4ohg2cky4n.fsf@irtnog.org> (raw)
In-Reply-To: 356AE1AC.39E62DA@dirac.phys.uwm.edu


>>>>> "BA" == Bruce Allen <ballen@dirac.phys.uwm.edu> 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



  reply	other threads:[~1998-05-27  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-25  4:00 why is rsh so slow the second time? Bruce Allen
1998-05-26  4:00 ` Christoph Nadig
1998-05-26  4:00   ` Bruce Allen
1998-05-27  4:00     ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated [this message]
1998-06-02  4:00     ` Steve Peltz
1998-06-03  4:00       ` Bruce Allen
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox