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

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

 



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

See http://bugs.debian.org/610036
Reported-by: Witold Baryluk <baryluk@xxxxxxxxxxxxxxxx>
---
 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@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