* [PATCH] hosts.5: mention 127.0.1.1 for FQDN and IPv6 examples
@ 2015-03-12 21:12 Stéphane Aulery
[not found] ` <1426194745-8406-1-git-send-email-saulery-GANU6spQydw@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Stéphane Aulery @ 2015-03-12 21:12 UTC (permalink / raw)
To: 562890-forwarded-61a8vm9lEZVf4u+23C9RwQ,
mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
Cc: Stéphane Aulery, linux-man-u79uwXL29TY76Z2rM5mHXA
Debian bug #562890 reported by Vincent Lefevre <vincent-buymaDBGzMOsTnJN9+BGXg@public.gmane.org>
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=562890
Signed-off-by: Stéphane Aulery <saulery-GANU6spQydw@public.gmane.org>
---
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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] hosts.5: mention 127.0.1.1 for FQDN and IPv6 examples
[not found] ` <1426194745-8406-1-git-send-email-saulery-GANU6spQydw@public.gmane.org>
@ 2015-03-22 18:55 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-03-22 18:55 UTC (permalink / raw)
To: Stéphane Aulery, 562890-forwarded-61a8vm9lEZVf4u+23C9RwQ
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
linux-man-u79uwXL29TY76Z2rM5mHXA
On 03/12/2015 10:12 PM, Stéphane Aulery wrote:
> Debian bug #562890 reported by Vincent Lefevre <vincent-buymaDBGzMOsTnJN9+BGXg@public.gmane.org>
Applied. Thanks, Stéphane.
Cheers,
Michael
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=562890
> Signed-off-by: Stéphane Aulery <saulery-GANU6spQydw@public.gmane.org>
> ---
> 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),
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-22 18:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-12 21:12 [PATCH] hosts.5: mention 127.0.1.1 for FQDN and IPv6 examples Stéphane Aulery
[not found] ` <1426194745-8406-1-git-send-email-saulery-GANU6spQydw@public.gmane.org>
2015-03-22 18:55 ` Michael Kerrisk (man-pages)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).