Format for Mac Host file (WAS: Zoom / Scaling in VNC)
Lance Schlegel
lance "at" divacom.com
Wed, 01 Mar 2000 10:13:03 +0000
on 2/29/2000 3:37 PM, Jonathan Morton wrote:
> Can I add to this question: What is the format (I know the location) of
> the Macintosh 'Hosts' file? I tried the UNIX format and it didn't work...
When I installed WebStar, it installed a sample host file with comments.
The file's contents are pasted in below. I hope this helps.
--L
-------------------------------------------------------------------------
; Hosts
; This file is parsed by the MacTCP domain name resolver and the resource
records
; are loaded into the resolver's cache.
;
; The Hosts file follows a SUBSET of the Master File Format (see rfc1035 pg
33).
; Each line in this file has the form: <domain-name> <rr> [<comment>]
; <domain-name> is an absolute domain name (see rfc1034 pg 11).
; <rr> = [<ttl>] [<class>] <type> <rdata> OR [<class>] [<ttl>] <type>
<rdata>
; A comment starts with ";" or by a line begining with a " ".
;
; NOTES:
; $INCLUDE is not implemented
; Class is always IN, ttl is in seconds, type can be A, CNAME or NS.
; Examples
;knowAll.apple.com. A 128.8.1.1 ;
address of host knowAll.apple.com.
;
;apple.com. NS knowAll.apple.com. ;
apple.com name server
;. NS knowAll.apple.com. ; root
name server
;
;myHost.apple.com. IN 604800 A 128.8.1.2 ;
ttl of 1 week
;JohnS.apple.com. A 128.8.1.3
;Sculley.apple.com. CNAME JohnS.apple.com. ;
canonical name for alias Sculley.apple.com
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------