From owner-freebsd-questions@FreeBSD.ORG Wed Apr 11 00:54:54 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CB6E816A404 for ; Wed, 11 Apr 2007 00:54:54 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id A612C13C46E for ; Wed, 11 Apr 2007 00:54:54 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 8617851931 for ; Tue, 10 Apr 2007 20:54:53 -0400 (EDT) Date: Wed, 11 Apr 2007 01:54:51 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070411015451.142f4807@gumby.homeunix.com> In-Reply-To: <6.0.0.22.2.20070410155137.0257aea8@mail.computinginnovations.com> References: <6.0.0.22.2.20070410155137.0257aea8@mail.computinginnovations.com> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.11; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Question about the /etc/hosts file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2007 00:54:54 -0000 On Tue, 10 Apr 2007 15:52:43 -0500 Derek Ragona wrote: > At 03:48 PM 4/10/2007, L33T Networks wrote: > >What is the second line with 10.20.30.199, and the hostname ends in a > >period? I've never seen this in a host file previous to FBSD v.6. > > > >apollo# cat /etc/hosts > >#::1 localhost.mydomain.com localhost > >127.0.0.1 localhost.mydomain.com localhost > >10.20.30.199 apollo.mydomain.com apollo > >10.20.30.199 apollo.mydomain.com. > > > >Is this something that's required for other IP addresses that will > >be added to the hosts file in the future? > > Names ending in a dot represent the fully qualified domain name. You > do it all on one line but it gets too long to easily see and edit. > But that doesn't explain why apollo.mydomain.com. appears as both a FQDN and a PQDN