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