xref: /freebsd/lib/libc/net/hosts (revision 315ee00f)
1#
2# Host Database
3#
4# This file should contain the addresses and aliases for local hosts that
5# share this file.  Replace 'my.domain' below with the domainname of your
6# machine.
7#
8# In the presence of the domain name service or NIS, this file may
9# not be consulted at all; see /etc/nsswitch.conf for the resolution order.
10#
11#
12::1			localhost localhost.my.domain
13127.0.0.1		localhost localhost.my.domain
14#
15# Imaginary network.
16#10.0.0.2		myname.my.domain myname
17#10.0.0.3		myfriend.my.domain myfriend
18#
19# According to RFC 1918, you can use the following IP blocks for
20# private internets:
21#
22#	10.0.0.0	-   10.255.255.255	(10/8 prefix)
23#	172.16.0.0	-   172.31.255.255	(172.16/12 prefix)
24#	192.168.0.0	-   192.168.255.255	(192.168/16 prefix)
25#
26# In case you want to make addresses available on the Internet, you need
27# real official assigned numbers.  Do not try to invent your own network
28# numbers but instead get one from your network provider (if any) or
29# from your regional registry (ARIN, APNIC, LACNIC, RIPE NCC, or AfriNIC.)
30#
31