From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 11001 invoked from network); 11 Mar 2021 18:08:42 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 11 Mar 2021 18:08:42 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id A6F8B9B92B; Fri, 12 Mar 2021 04:08:41 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 2DB029507E; Fri, 12 Mar 2021 04:08:18 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=bsdimp-com.20150623.gappssmtp.com header.i=@bsdimp-com.20150623.gappssmtp.com header.b="BkuJ99GS"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id AE2199B550; Fri, 12 Mar 2021 04:08:16 +1000 (AEST) Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) by minnie.tuhs.org (Postfix) with ESMTPS id 2E3399507E for ; Fri, 12 Mar 2021 04:08:15 +1000 (AEST) Received: by mail-qk1-f178.google.com with SMTP id l4so21590147qkl.0 for ; Thu, 11 Mar 2021 10:08:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CdzjYKAlGypgyJ4YiBjV1LYpPujh0+7tOD2MHeiMN/Q=; b=BkuJ99GS6MCILaQwlgIyi/NWMiWKw1BtK6JEhTmJHaGxeMMPfJLQ1qEQ9ziS0z2sqc RDVfExeJn1P/v7zoQ4UHNylWUKbcaZoRgJoKDTgRBRKbWcYux+zadG09xbQ+2oMWWbmj TuIwO/e4xBZQo29aIVM9+KGEp8p3I4YQPrnwZHkj4q3mJaUT6/M5pS5MKZXdcfgqExrt 0lplQ1WssZdFVUQVnQC83PbHpwNbHWxv4qPWMFjngYiXhxlmdpAZSYxcOCnIVp2p3YEx 1dEniooOCIOtREYk5lE1auQ2pmPw1KjA/fHfp29bhqj9d9FWI7JmGQXsfObVDLuVaunL 7pLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CdzjYKAlGypgyJ4YiBjV1LYpPujh0+7tOD2MHeiMN/Q=; b=TU+P6+QwUk6dkHfiHV9qgLnKnKYNKFSYD5NzuA09S9PIjpsjBiUMTRyIOxTBTX9kvC FXcWeyB+QaWjb5hl/0rdhFCEFIo1CCEowBXzW15sEIsUtIFsOexf2m39f8FmVGnbNtDN se87Z3qxcjxDhmnIdOVn1iMgCl/brQ0L3FeVpIzbQihIVw27IDPfgRqfCOkqvA3KEJdB BIRkSORoRWiDtjy1IPOv9rP6Mr6tu1MyUP/smRywpqxfSjIlcClWPY2cmOzYPkSB3/f5 ZhCDBRFh+o12pHqmy6JUfhUvrcIUuWOjI1QHwJ0L6/ClEHyUeIW0eBgylGWsoS0r4WHL RrOw== X-Gm-Message-State: AOAM531ciKDL4hlu/MKRL9w3ALXacGYZ4r1Tq8t1cZDlr/zG1QpxtS8w NXPTYwhnAk0ChEolMUiAjTbBijkHD6WmSxtG8pVY+hIqq8HTWw== X-Google-Smtp-Source: ABdhPJwRE0BRWWhDv9oV7EMNbLetP2mkWU12a4hwgYhS3IS/FPq/ZVMCpQxzuD9TDUuBIhaKFc9KUa5UkENL3gyLaS4= X-Received: by 2002:a37:a211:: with SMTP id l17mr9071796qke.195.1615486094381; Thu, 11 Mar 2021 10:08:14 -0800 (PST) MIME-Version: 1.0 References: <02d10a8e-2f39-4f88-f4c9-ecb295e0f01e@spamtrap.tnetconsulting.net> <120EC052-FB1F-438F-985F-64E9CD82A9C1@iitbombay.org> In-Reply-To: <120EC052-FB1F-438F-985F-64E9CD82A9C1@iitbombay.org> From: Warner Losh Date: Thu, 11 Mar 2021 11:08:03 -0700 Message-ID: To: Bakul Shah Content-Type: multipart/alternative; boundary="000000000000cba58d05bd46aa54" Subject: Re: [TUHS] [COFF] Pondering the hosts file X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Internet History , COFF , The Unix Heritage Society , Grant Taylor Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --000000000000cba58d05bd46aa54 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Mar 11, 2021 at 10:40 AM Bakul Shah wrote: > From https://www.freebsd.org/cgi/man.cgi?hosts(5) > > For each host a single line should be present with the following informat= ion: > > Internet address > official host name > aliases > > *HISTORY* > The *hosts* file format appeared in 4.2BSD. > > While this is true wrt the history of FreeBSD/Unix, I'm almost positive that BSD didn't invent it. I'm pretty sure it was picked up from the existing host file that was published by sri-nic.arpa before DNS. Warner > On Mar 11, 2021, at 9:14 AM, Grant Taylor via TUHS > wrote: > > =EF=BB=BFHi, > > I'm not sure where this message best fits; TUHS, COFF, or Internet > History, so please forgive me if this list is not the best location. > > I'm discussing the hosts file with someone and was wondering if there's > any historical documentation around it's format and what should and shoul= d > not be entered in the file. > > I've read the current man page on Gentoo Linux, but suspect that it's far > from authoritative. I'm hoping that someone can point me to something mo= re > authoritative to the hosts file's format, guidelines around entering data= , > and how it's supposed to function. > > A couple of sticking points in the other discussion revolve around how > many entries a host is supposed to have in the hosts file and any > ramifications for having a host appear as an alias on multiple lines / > entries. To whit, how correct / incorrect is the following: > > 192.0.2.1 host.example.net host > 127.0.0.1 localhost host.example.net host > > > > -- > Grant. . . . > unix || die > > _______________________________________________ > COFF mailing list > COFF@minnie.tuhs.org > https://minnie.tuhs.org/cgi-bin/mailman/listinfo/coff > --000000000000cba58d05bd46aa54 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Thu, Mar 11, 2021 at 10:40 AM Baku= l Shah <bakul@iitbombay.org&g= t; wrote:
For each host a single line should =
be present with the following information:
	   Internet address
	   official host name
	   aliases
HISTORY
     The hosts file format appeared i=
n 4.2BSD.

While thi= s is true wrt the history of FreeBSD/Unix, I'm almost positive that BSD= didn't invent it. I'm pretty sure it was picked up from the existi= ng host file that was published by sri-nic.arpa before DNS.

<= /div>
Warner
=C2=A0
On Mar 11, 2021, at 9:14 AM, Grant Taylor via TUHS <tuhs@minnie.tuhs.org= > wrote:

=EF=BB=BFHi,

I'm not s= ure where this message best fits; TUHS, COFF, or Internet History, so pleas= e forgive me if this list is not the best location.
=
I'm discussing the hosts file with someone and was wondering = if there's any historical documentation around it's format and what= should and should not be entered in the file.

<= span>I've read the current man page on Gentoo Linux, but suspect that i= t's far from authoritative.=C2=A0 I'm hoping that someone can point= me to something more authoritative to the hosts file's format, guideli= nes around entering data, and how it's supposed to function.
=
A couple of sticking points in the other discussion = revolve around how many entries a host is supposed to have in the hosts fil= e and any ramifications for having a host appear as an alias on multiple li= nes / entries.=C2=A0 To whit, how correct / incorrect is the following:

192.0.2.1 =C2=A0 =C2=A0host.example.net =C2=A0 =C2=A0host
127.0.0.1 =C2=A0 =C2=A0localhost =C2=A0 =C2=A0host.example.net =C2=A0 =C2=A0host=



--
Grant. . . .
unix || die

______________________________________= _________
COFF mailing list
COFF@minnie.tuhs.= org
https://minnie.tuhs.org/cgi-bin/mailman/listinf= o/coff
--000000000000cba58d05bd46aa54--