Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save peymano/216709 to your computer and use it in GitHub Desktop.
Save peymano/216709 to your computer and use it in GitHub Desktop.
Mac OS 7.5 /etc/hosts file
; 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment