[TUHS] Pondering the hosts file

Grant Taylor gtaylor at tnetconsulting.net
Fri Mar 12 03:13:50 AEST 2021


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:	host.example.net	host	localhost	host.example.net	host

Grant. . . .
unix || die

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4013 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20210311/979ec8d0/attachment.bin>

More information about the TUHS mailing list