[PATCH] hosts.5: mention 127.0.1.1 for FQDN and IPv6 examples

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Debian bug #562890 reported by Vincent Lefevre <vincent@xxxxxxxxxx>

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=562890
Signed-off-by: Stéphane Aulery <saulery@xxxxxxx>
---
 man5/hosts.5 | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/man5/hosts.5 b/man5/hosts.5
index 9ec8cb2..2eaeb69 100644
--- a/man5/hosts.5
+++ b/man5/hosts.5
@@ -106,11 +106,20 @@ I just found three, from 92,
 94, and 95.
 .SH EXAMPLE
 .nf
+# The following lines are desirable for IPv4 capable hosts
 127.0.0.1       localhost
+
+# 127.0.1.1 is often used for the FQDN of the machine
+127.0.1.1       thishost.mydomain.org  thishost
 192.168.1.10    foo.mydomain.org       foo
 192.168.1.13    bar.mydomain.org       bar
 146.82.138.7    master.debian.org      master
 209.237.226.90  www.opensource.org
+
+# The following lines are desirable for IPv6 capable hosts
+::1             localhost ip6-localhost ip6-loopback
+ff02::1         ip6-allnodes
+ff02::2         ip6-allrouters
 .fi
 .SH SEE ALSO
 .BR hostname (1),
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux