From owner-freebsd-hackers Mon Sep 8 14:31:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA05669 for hackers-outgoing; Mon, 8 Sep 1997 14:31:52 -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 OAA05662 for ; Mon, 8 Sep 1997 14:31:49 -0700 (PDT) Received: (from tlambert@localhost) by usr09.primenet.com (8.8.5/8.8.5) id OAA09781; Mon, 8 Sep 1997 14:31:38 -0700 (MST) From: Terry Lambert Message-Id: <199709082131.OAA09781@usr09.primenet.com> Subject: Re: un-neccessary DNS lookups (was Re: Divert sockets..) To: nate@mt.sri.com (Nate Williams) Date: Mon, 8 Sep 1997 21:31:36 +0000 (GMT) Cc: tlambert@primenet.com, brian@awfulhak.org, freebsd-hackers@freebsd.org In-Reply-To: <199709080559.XAA18297@rocky.mt.sri.com> from "Nate Williams" at Sep 7, 97 11:59:44 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > And there's the annoying localhost DNS lookup, even though host.conf > > has "hosts" first, and the name of the machine I'm rlogin'ing into > > is in /etc/hosts (it's myself). It triggers the PPP dial anyway, > > and I think that should only happen for non-local hosts. > > Sounds like something's misconfigured, since as we all say, "it works > for me, and the 5 other co-workers whose boxes I've setup". > > Do you have localhost, localhost.domain, host, and host.domain all in > /etc/hosts? What does /etc/resolv.conf look like? Heh. This was not intended to be a -questions posting... sorry about this... and yes, most of the machines are multiboot. host.conf: # $Id: host.conf,v 1.2 1993/11/07 01:02:57 wollman Exp $ # If that doesn't work, then try the /etc/hosts file hosts # Default is to use the nameserver first bind # If you have YP/NIS configured, uncomment the next line # nis hosts: # localhost 127.0.0.1 localhost localhost.lambert.org # dialup DNS 206.165.5.10 dns1.primenet.com 206.165.50.10 dns2.primenet.com 204.245.15.10 dns3.primenet.com # mailhost 206.165.5.53 mailhost.primenet.com # 192.168.1 FreeBSD netblock 192.168.1.1 phaeton phaeton.lambert.org 192.168.1.2 banzai banzai.lambert.org 198.168.1.8 freemca freemca.lambert.org 198.168.1.16 freeppc freeppc.lambert.org 198.168.1.32 freealpha freealpha.lambert.org 198.168.1.48 freehp freehp.lambert.org # 192.168.16 NetBSD netblock 198.168.16.1 net386 net386.lambert.org 198.168.16.16 netppc netppc.lambert.org 198.168.16.32 netalpha netalpha.lambert.org 198.168.16.48 nethp nethp.lambert.org # 192.168.32 OpenBSD netblock 198.168.32.1 open386 open386.lambert.org 198.168.32.16 openppc openppc.lambert.org 198.168.32.32 openalpha openalpha.lambert.org 198.168.32.48 openhp openhp.lambert.org # 192.168.64 Windows95 netblock 192.168.64.1 huey huey.lambert.org 192.168.64.2 dewey dewey.lambert.org 192.168.64.3 louie louie.lambert.org # 192.168.80 WindowsNT netblock 192.168.80.1 ntphaeton ntphaeton.lambert.org 192.168.80.2 oscar oscar.lambert.org 192.168.80.3 meyer meyer.lambert.org # 192.168.96 Sunblock (ar ar) 192.168.96.1 pyramus pyramus.lambert.org 192.168.96.2 thisbe thisbe.lambert.org rc.conf: domain lambert.org nameserver 206.165.5.10 nameserver 206.165.50.10 nameserver 204.245.15.10 Regards, Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.