From owner-freebsd-hackers Mon Sep 8 23:55:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA11592 for hackers-outgoing; Mon, 8 Sep 1997 23:55:08 -0700 (PDT) Received: from usr09.primenet.com (tlambert@usr09.primenet.com [206.165.6.209]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA11587 for ; Mon, 8 Sep 1997 23:55:06 -0700 (PDT) Received: (from tlambert@localhost) by usr09.primenet.com (8.8.5/8.8.5) id XAA22446; Mon, 8 Sep 1997 23:54:59 -0700 (MST) From: Terry Lambert Message-Id: <199709090654.XAA22446@usr09.primenet.com> Subject: Re: un-neccessary DNS lookups (was Re: Divert sockets..) To: brian@awfulhak.org (Brian Somers) Date: Tue, 9 Sep 1997 06:54:58 +0000 (GMT) Cc: tlambert@primenet.com, brian@awfulhak.org, nate@mt.sri.com, freebsd-hackers@freebsd.org In-Reply-To: <199709090629.HAA09296@awfulhak.demon.co.uk> from "Brian Somers" at Sep 9, 97 07:29:23 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > This should be *irrelevant*. The only purpose order on a line in > > the hosts file should have is determining which entry is reported > > as the cannoical name to things that display cannonical names. > > > > Like "w". > > Hmm, 'w' or 'who' should be smart enough to chop off the domain bit > if it's the same as hostname's. netstat does this. Well, I suppose I could burn the CPU cycles on that instead of having the machine do real work... 8-(. Just seems wasteful and annoying. Maybe if the lookup routines did it for me, since they are already grovelling the strings to hell and back... Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.