Subject: Re: Mac hosts file?
To: xiamin <root@scdesantis.ne.mediaone.net>
From: Henry B. Hotz <hotz@jpl.nasa.gov>
List: port-mac68k
Date: 07/21/1997 14:54:57
At 4:12 PM 7/21/97, xiamin wrote:
>Does anyone know how to setup a hosts file for TCP/IP control panel in MacOS?
>I tried to do this:
>scdesantis 10.0.0.1
>But it complained about the 10.0.0.1.

The format for the Mac Hosts file follows the IETF standard used by DNS,
not the informal Unix standard for /etc/hosts.  The standard Mac
documentation for the file format is in the comments in the sample file
that comes with MacTCP or OT.

It's basically just any number of:

name.ending.in.dot.     A       123.45.67.890           ; Comment
alias.ending.in.dot.    CNAME   name.ending.in.dot.     ; Comment

Look at the man pages for DNS to see all the other stuff that isn't
implemented.  NS (for DNS nameserver) records are supposed to work, but
I've never tried them since I can configure that directly into MacTCP or
OT.

Signature failed Preliminary Design Review.
Feasibility of a new signature is currently being evaluated.
h.b.hotz@jpl.nasa.gov, or hbhotz@oxy.edu