aboutsummaryrefslogtreecommitdiff
path: root/zh_CN.GB2312/books/handbook/config
diff options
context:
space:
mode:
authorFukang Chen <loader@FreeBSD.org>2008-09-01 19:16:56 +0000
committerFukang Chen <loader@FreeBSD.org>2008-09-01 19:16:56 +0000
commit07c879b96fac6182bfd0c6e20a2b98783d514af0 (patch)
treee0da9e93feca7cc3cdc9052361f681ea966757ba /zh_CN.GB2312/books/handbook/config
parent755d80474b24cbee8a226e8bd0f088430e072437 (diff)
Notes
Diffstat (limited to 'zh_CN.GB2312/books/handbook/config')
-rw-r--r--zh_CN.GB2312/books/handbook/config/chapter.sgml32
1 files changed, 17 insertions, 15 deletions
diff --git a/zh_CN.GB2312/books/handbook/config/chapter.sgml b/zh_CN.GB2312/books/handbook/config/chapter.sgml
index ceb84618e0..5e88d42528 100644
--- a/zh_CN.GB2312/books/handbook/config/chapter.sgml
+++ b/zh_CN.GB2312/books/handbook/config/chapter.sgml
@@ -2,7 +2,7 @@
The FreeBSD Documentation Project
The FreeBSD Chinese Documentation Project
- Original Revision: 1.232
+ Original Revision: 1.233
$FreeBSD$
-->
@@ -1369,33 +1369,35 @@ nameserver 147.11.100.30</programlisting>
<programlisting># &dollar;&os;&dollar;
#
+#
# Host Database
-# This file should contain the addresses and aliases
-# for local hosts that share this file.
+#
+# This file should contain the addresses and aliases for local hosts that
+# share this file. Replace 'my.domain' below with the domainname of your
+# machine.
+#
# In the presence of the domain name service or NIS, this file may
# not be consulted at all; see /etc/nsswitch.conf for the resolution order.
#
#
-::1 localhost localhost.my.domain myname.my.domain
-127.0.0.1 localhost localhost.my.domain myname.my.domain
-
+::1 localhost localhost.my.domain
+127.0.0.1 localhost localhost.my.domain
#
# Imaginary network.
-#10.0.0.2 myname.my.domain myname
-#10.0.0.3 myfriend.my.domain myfriend
+#10.0.0.2 myname.my.domain myname
+#10.0.0.3 myfriend.my.domain myfriend
#
# According to RFC 1918, you can use the following IP networks for
# private nets which will never be connected to the Internet:
#
-# 10.0.0.0 - 10.255.255.255
-# 172.16.0.0 - 172.31.255.255
-# 192.168.0.0 - 192.168.255.255
+# 10.0.0.0 - 10.255.255.255
+# 172.16.0.0 - 172.31.255.255
+# 192.168.0.0 - 192.168.255.255
#
# In case you want to be able to connect to the Internet, you need
-# real official assigned numbers. PLEASE PLEASE PLEASE do not try
-# to invent your own network numbers but instead get one from your
-# network provider (if any) or from the Internet Registry (ftp to
-# rs.internic.net, directory `/templates').
+# real official assigned numbers. Do not try to invent your own network
+# numbers but instead get one from your network provider (if any) or
+# from your regional registry (ARIN, APNIC, LACNIC, RIPE NCC, or AfriNIC.)
#</programlisting>
<para><filename>/etc/hosts</filename> 用简单的格式:</para>