1 |
commit: 24af4fb374c67661fb1bf9dfb842fae70fd7f5f2 |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 26 19:21:07 2016 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 26 19:26:33 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/baselayout.git/commit/?id=24af4fb3 |
7 |
|
8 |
etc/hosts: document the alias order |
9 |
|
10 |
Add documentation showing that the first host alias is the canonical |
11 |
host name. |
12 |
|
13 |
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=536624 |
14 |
|
15 |
etc/hosts | 6 ++++++ |
16 |
1 file changed, 6 insertions(+) |
17 |
|
18 |
diff --git a/etc/hosts b/etc/hosts |
19 |
index 8a37ca5..b3d3721 100644 |
20 |
--- a/etc/hosts |
21 |
+++ b/etc/hosts |
22 |
@@ -3,6 +3,12 @@ |
23 |
# This file describes a number of aliases-to-address mappings for the for |
24 |
# local hosts that share this file. |
25 |
# |
26 |
+# The format of lines in this file is: |
27 |
+# |
28 |
+# IP_ADDRESS canonical_hostname [aliases...] |
29 |
+# |
30 |
+#The fields can be separated by any number of spaces or tabs. |
31 |
+# |
32 |
# In the presence of the domain name service or NIS, this file may not be |
33 |
# consulted at all; see /etc/host.conf for the resolution order. |
34 |
# |