From owner-freebsd-questions Fri Jan 18 12:53:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id DFE2F37B420 for ; Fri, 18 Jan 2002 12:53:34 -0800 (PST) Received: (qmail 60743 invoked by uid 100); 18 Jan 2002 20:53:33 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15432.35661.569980.695111@guru.mired.org> Date: Fri, 18 Jan 2002 14:53:33 -0600 To: Dave Kaufman Cc: questions@freebsd.org Subject: Re: hosts file In-Reply-To: <68663647@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.44 (Python 2.2; freebsd-4.4-STABLE-i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dave Kaufman types: > should there be more in my /etc/hosts file than > > 127.0.0.1 localhost > > i'm thinking there should but i'm not finding it in the handbook. shouldn't > there be a reference to my local host name? Since no one else pointed it out, the local host name and the ip address(es) it uses are all set in /etc/rc.conf, so there's no longer any reason to have the local host in /etc/hosts. So the only thing to put in it are hosts that you might want to refer to by name before you are up and can access your DNS servers. It can also be used as an alternative to running a local DNS server for the names of machines on your LAN. Personally, I leave it as is so that mergemaster will upgrade it without bothering me about it. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message