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_FONT_LOW_CONTRAST,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 11632 invoked from network); 11 Mar 2021 18:13:52 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 11 Mar 2021 18:13:52 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 35F479B5B7; Fri, 12 Mar 2021 04:13:51 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 449239507E; Fri, 12 Mar 2021 04:13:25 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ccc.com header.i=@ccc.com header.b="CmavSRAI"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 123239B550; Fri, 12 Mar 2021 04:13:23 +1000 (AEST) Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) by minnie.tuhs.org (Postfix) with ESMTPS id 75CCB95074 for ; Fri, 12 Mar 2021 04:13:22 +1000 (AEST) Received: by mail-qk1-f173.google.com with SMTP id d20so21619066qkc.2 for ; Thu, 11 Mar 2021 10:13:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ccc.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mGwW0+UV/qSvunYBkpdkTA+ayFM+fLzfN873SJf41yY=; b=CmavSRAIbAzUSLe+EhmhhWGqOCX/qYdXk9DNyypRRDETCOSEjhylRMrRylj4OsmNlI yuOVyAIf1y65xsJwZluQRoOZdVPVnHly50ecr/pH9Za2xto0Jd1LP+3q6EApsMElFzAa /L7Ld/vAaDfMCP1O4bFQMTLhy0KasW3Vo14ec= 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=mGwW0+UV/qSvunYBkpdkTA+ayFM+fLzfN873SJf41yY=; b=EdApm7FFC5uf1KZYSaZiQPAZRMUha7nQzXtvNGk/nqhhHsaWA5JpogxLG/xPX7wTkl W8sy/Br+IiWTrUmMwpBcBxuUjyuzKRxMjH1Z1Rt6bTjmvKglNZdHeTadQz3CtI4V6Gyv GzhamKkAIrMYYk3IP3c45BfpGWR4iC6OWRhGyqp13MnbTOKb+kJoedaox3eNO1IS4UeX LCglU/9M52EG1udRRQUWqjt8RIjPFhriUB0pZ8lKJq+FtODRFDls4rEE1RDs26yp3mz8 wc1agOuanOb8u6ZX0rWZzn4zlcitaX/F7JJnuFlAuYgfbCBQK6AS1BXr6MGCbOpmuufD wxkw== X-Gm-Message-State: AOAM530PvjCilcvftSih41FrUM2fh8aU4rzIOteFj9t1+OZRC3/eVpI2 kCSQUn1du3WOYj/MuGDvbQEOgiI7WUAvQTA3QPKhLQuGQIM= X-Google-Smtp-Source: ABdhPJy3jSfNX16DJpOUdfrj2aH0fTNsjVYOd2RYp+wgBCjtFc2nuIuYMlMRjMj2y8qv7BPC/TSkuxRW8qMzmJKc6Xo= X-Received: by 2002:a37:a350:: with SMTP id m77mr8706591qke.146.1615486401442; Thu, 11 Mar 2021 10:13:21 -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: From: Clem Cole Date: Thu, 11 Mar 2021 13:12:55 -0500 Message-ID: To: Warner Losh Content-Type: multipart/alternative; boundary="0000000000001906af05bd46bd2a" 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: The Unix Heritage Society , Bakul Shah , COFF , Internet History , Grant Taylor Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --0000000000001906af05bd46bd2a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The SRI file was different format. There was a tool that fetched and converted from the PDP-10 scheme to the UNIX scheme - gethtable(8) or something like that. =E1=90=A7 =E1=90=A7 On Thu, Mar 11, 2021 at 1:08 PM Warner Losh wrote: > > > 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 informa= tion: >> >> 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 shou= ld >> not be entered in the file. >> >> I've read the current man page on Gentoo Linux, but suspect that it's fa= r >> from authoritative. I'm hoping that someone can point me to something m= ore >> authoritative to the hosts file's format, guidelines around entering dat= a, >> 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 >> > --0000000000001906af05bd46bd2a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The SRI file was different format.=C2=A0 =C2=A0There wa= s a tool that fetched and converted from the PDP-10 scheme to the UNIX sche= me - gethtable(8) or something like that.
3D""=E1=90=A7
3D""=E1=90=A7

On Thu, Mar 11, 2021 at 1:08 PM Warner Losh <imp@bsdimp.com> wrot= e:


On Thu, Mar 11, 2021 at 10:40 AM Bakul Shah <bakul@iitbombay.org<= /a>> wrote:
<= div dir=3D"auto">
For each host a single line sh=
ould be present with the following information:
	   Internet address
	   official host name
	   aliases
HI=
STORY
     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
--0000000000001906af05bd46bd2a--