| 1 | # $FreeBSD: src/etc/hosts,v 1.16 2003/01/28 21:29:23 dbaker Exp $ |
| 2 | # $DragonFly: src/etc/hosts,v 1.2 2003/06/17 04:24:45 dillon Exp $ |
| 3 | # |
| 4 | # Host Database |
| 5 | # |
| 6 | # This file should contain the addresses and aliases for local hosts that |
| 7 | # share this file. Replace 'my.domain' below with the domainname of your |
| 8 | # machine. |
| 9 | # |
| 10 | # In the presence of the domain name service or NIS, this file may |
| 11 | # not be consulted at all; see /etc/nsswitch.conf for the resolution order. |
| 12 | # |
| 13 | # |
| 14 | ::1 localhost localhost.my.domain |
| 15 | 127.0.0.1 localhost localhost.my.domain |
| 16 | # |
| 17 | # Imaginary network. |
| 18 | #10.0.0.2 myname.my.domain myname |
| 19 | #10.0.0.3 myfriend.my.domain myfriend |
| 20 | # |
| 21 | # According to RFC 1918, you can use the following IP networks for |
| 22 | # private nets which will never be connected to the Internet: |
| 23 | # |
| 24 | # 10.0.0.0 - 10.255.255.255 |
| 25 | # 172.16.0.0 - 172.31.255.255 |
| 26 | # 192.168.0.0 - 192.168.255.255 |
| 27 | # |
| 28 | # In case you want to be able to connect to the Internet, you need |
| 29 | # real official assigned numbers. Do not try to invent your own network |
| 30 | # numbers but instead get one from your network provider (if any) or |
| 31 | # from your regional registry (ARIN, APNIC, LACNIC, RIPE NCC, or AfriNIC.) |
| 32 | # |