On 06-09 15:36, Simon Paillard wrote: > tag 610036 +ipv6 > thanks > > Hi, > > On Sat, Jan 15, 2011 at 12:52:17AM +0100, Witold Baryluk wrote: > > Package: manpages > > Version: 3.27-1 > > Severity: normal > > > > I today discovered undocumented feature of resolv.conf > > Nameply nameserver can be a IPv6 address! > > Current manpage (implicitly) says only IPv4 is supported. > > ================== > > nameserver 2001:470:20::2 > > nameserver 149.156.82.205 > > search smp.if.uj.edu.pl > > ================== > > Well, not documented indeed, I wonder if it is really necessary to explicit > this. >
Hello Simon, Well, many programs often use slightly different notation for IPv4 and IPv6, like putting IPv6 in square brackets (this is for example a case for hosts.allow/hosts.deny syntax). It also needs documenting, in case in the future glibc would allow changing default port 53 to something else. One could think that it will be something like 'nameserver 10.0.1.1:5353', but it will not work in ipv6 case. So probably a keyword-like syntax 'nameserver 10.0.1.1 port 5353', or squere brackets notations (like in URLs), will be needed. Some tools like network-manager, resolvconf, rdnssd, openvpn, etc. sometimes need to write to resolv.conf and until it is documented and stabilized, it cannot be done safely. Regards, Witek -- Witold Baryluk -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

