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_IMAGE_ONLY_32,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10366 invoked from network); 11 Mar 2021 18:03:33 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 11 Mar 2021 18:03:33 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 9BD419B7A0; Fri, 12 Mar 2021 04:03:30 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 36F8B9B688; Fri, 12 Mar 2021 04:02:59 +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="I4MumYxI"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 27DF59507E; Fri, 12 Mar 2021 04:02:51 +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 087BB95074 for ; Fri, 12 Mar 2021 04:02:49 +1000 (AEST) Received: by mail-qk1-f178.google.com with SMTP id x10so21551299qkm.8 for ; Thu, 11 Mar 2021 10:02:48 -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=GGhgZtLWyGmAJLqmPwb6scWLlfNdwMZP0ERZFiMxGuw=; b=I4MumYxIR7IWaNQHxJCtj9zonPTuBqlRTtv53yJMGtosNIweciXNwvSGxFo1fER4Fw 6MHcOzraZwYL2Hk2f4KpPflz+1XbsOkjnuW7db6auqOvV6FOvV6fXAnYuFHG7ZpQ0oHd /kKacubmrJg79QGbHrKw6BlpFn5aecdhJQypc= 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=GGhgZtLWyGmAJLqmPwb6scWLlfNdwMZP0ERZFiMxGuw=; b=BKYGCuUpMUCSuWLsNhxzGdlWpaMctVCPuPOv66FVhLDOsl5dYHu81RdF/h0hMNg5BQ 92NktRg7+KUYeiCN5ydqURA8vo6UJ3/m20Jkx7Y86uEW0R0omYN+fFBsGynyyqZAJK4r z9uuLDCvH/8JNYUO9p2dIzgdsZMY2S4a1FvNP91s6rmSHk9OkPUSJEkN/as3e/PkdBhs W2ztot2VYzY4pQfg1HLyQViZYYfiBCzBOotdNuEopKNL4/VGIRX9dgLSLFCwpfCYcsCd K7U+glxlo4H1tyoXbTs0+wjytR0jr++CKNdYKkfMJ2dtpIlZ+FnsuWwIbFLMzOq6JYFZ 0fGw== X-Gm-Message-State: AOAM531svp4pldtt5uuz2ZKXbHucMlAVkXxoR99T+/fppmaf8C6aNEkr BGNOyzl2i8CnNHfbKx3fU3ZKkLI28V9Qvyxto1fhww== X-Google-Smtp-Source: ABdhPJzAcvaRNrWwiTXAELysrc8XRtJYUXwvKYFyTabLbzFGs/B0uwWhaMekDnETgVb+o+EZAyfM0V4hCIQCaH56dMk= X-Received: by 2002:a05:620a:12ae:: with SMTP id x14mr8907932qki.25.1615485768014; Thu, 11 Mar 2021 10:02:48 -0800 (PST) MIME-Version: 1.0 References: <02d10a8e-2f39-4f88-f4c9-ecb295e0f01e@spamtrap.tnetconsulting.net> In-Reply-To: <02d10a8e-2f39-4f88-f4c9-ecb295e0f01e@spamtrap.tnetconsulting.net> From: Clem Cole Date: Thu, 11 Mar 2021 13:02:22 -0500 Message-ID: To: Grant Taylor Content-Type: multipart/alternative; boundary="00000000000057ae7205bd469740" 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 , The Unix Heritage Society , COFF Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --00000000000057ae7205bd469740 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Grant, are you asking about a multi-homed host? IIRC the original BSD code did the first hit and stop, when looking something up. What we sometimes did was give the host an alias : host-en for the ethernet and host-pro proteon HW. Host would be on both lines, so you wanted to make the first 'host' to be the default. =E1=90=A7 On Thu, Mar 11, 2021 at 12:13 PM Grant Taylor via COFF wrote: > Hi, > > 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 > should 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 more 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 > --00000000000057ae7205bd469740 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Grant, are you=C2=A0asking about a multi-homed host?

IIRC the original BSD code did the first hit and stop, w= hen looking something up.=C2=A0 What we sometimes did was give the host an = alias :=C2=A0 host-en for the ethernet and host-pro proteon=C2=A0HW.=C2=A0 = =C2=A0Host would be on both lines, so you wanted to make the first 'hos= t' to be the default.
3D""=E1=90=A7

On Thu, Mar 11, 2= 021 at 12:13 PM Grant Taylor via COFF <coff@minnie.tuhs.org> wrote:
Hi,

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&#= 39;s
any historical documentation around it's format and what should and should not be entered in the file.

I've read the current man page on Gentoo Linux, but suspect that it'= ;s
far from authoritative.=C2=A0 I'm hoping that someone can point me to <= br> something more 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.=C2=A0 To whit, how correct / incorrect is the following:

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



--
Grant. . . .
unix || die

_______________________________________________
COFF mailing list
COFF@minnie.tuhs.= org
https://minnie.tuhs.org/cgi-bin/mailman/listinf= o/coff
--00000000000057ae7205bd469740--