186d7f5d3SJohn Marino# $FreeBSD: src/etc/hosts,v 1.16 2003/01/28 21:29:23 dbaker Exp $ 286d7f5d3SJohn Marino# $DragonFly: src/etc/hosts,v 1.2 2003/06/17 04:24:45 dillon Exp $ 386d7f5d3SJohn Marino# 486d7f5d3SJohn Marino# Host Database 586d7f5d3SJohn Marino# 686d7f5d3SJohn Marino# This file should contain the addresses and aliases for local hosts that 786d7f5d3SJohn Marino# share this file. Replace 'my.domain' below with the domainname of your 886d7f5d3SJohn Marino# machine. 986d7f5d3SJohn Marino# 1086d7f5d3SJohn Marino# In the presence of the domain name service or NIS, this file may 1186d7f5d3SJohn Marino# not be consulted at all; see /etc/nsswitch.conf for the resolution order. 1286d7f5d3SJohn Marino# 1386d7f5d3SJohn Marino# 1486d7f5d3SJohn Marino::1 localhost localhost.my.domain 1586d7f5d3SJohn Marino127.0.0.1 localhost localhost.my.domain 1686d7f5d3SJohn Marino# 1786d7f5d3SJohn Marino# Imaginary network. 1886d7f5d3SJohn Marino#10.0.0.2 myname.my.domain myname 1986d7f5d3SJohn Marino#10.0.0.3 myfriend.my.domain myfriend 2086d7f5d3SJohn Marino# 2186d7f5d3SJohn Marino# According to RFC 1918, you can use the following IP networks for 2286d7f5d3SJohn Marino# private nets which will never be connected to the Internet: 2386d7f5d3SJohn Marino# 2486d7f5d3SJohn Marino# 10.0.0.0 - 10.255.255.255 2586d7f5d3SJohn Marino# 172.16.0.0 - 172.31.255.255 2686d7f5d3SJohn Marino# 192.168.0.0 - 192.168.255.255 2786d7f5d3SJohn Marino# 2886d7f5d3SJohn Marino# In case you want to be able to connect to the Internet, you need 2986d7f5d3SJohn Marino# real official assigned numbers. Do not try to invent your own network 3086d7f5d3SJohn Marino# numbers but instead get one from your network provider (if any) or 3186d7f5d3SJohn Marino# from your regional registry (ARIN, APNIC, LACNIC, RIPE NCC, or AfriNIC.) 3286d7f5d3SJohn Marino# 33