Thread (1 message) 1 message, 1 author, 2012-10-25
DORMANTno replies

[PATCH] resolv.conf.5: document IPv6 format for nameserver

From: Simon Paillard <hidden>
Date: 2012-10-25 00:15:51
Subsystem: the rest · Maintainer: Linus Torvalds

Note this format is specified by RFC2373 and implemented in inet_pton().

See http://bugs.debian.org/610036
Reported-by: Witold Baryluk <baryluk-W6Hso+/wx31C2Nf1M/Lcnw@public.gmane.org>
---
 man5/resolv.conf.5 |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/man5/resolv.conf.5 b/man5/resolv.conf.5
index e82ea72..fad39b5 100644
--- a/man5/resolv.conf.5
+++ b/man5/resolv.conf.5
@@ -41,9 +41,10 @@ and the domain search path is constructed from the domain name.
 .LP
 The different configuration options are:
 .TP
-\fBnameserver\fP Name server IP address
-Internet address (in dot notation) of a name server
-that the resolver should query.
+\fBnameserver\fP Name server address
+that the resolver should query, either
+an IPv4 address (in dot notation),
+or an IPv6 address in colon (and possibly dot) notation as per RFC2373.
 Up to
 .B MAXNS
 (currently 3, see \fI<resolv.h>\fP) name servers may be listed,
-- 
1.7.10.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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help