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.

The only misleading part IMO is the "dot notation" wording and sortlist options:
nameserver Name server IP address
        Internet address (in dot notation)
[..]
sortlist
[..]
        sortlist 130.155.160.0/255.255.240.0 130.155.0.0

I don't know whether it works, I don't have IPv6 to easily perform the test.
If this works, an IPv6 example would be welcomed.

> PS. Manpage also misses the important fact that empty lines, and lines 
> begining  (?) from # are ignored.
> I was always thinking that putting # will make some error, as it was no 
> information
> in manpage about it, but I found that resolvconf put # automatically so i 
> assume it works.
> There are probably few other syntax rules, which are not mentioned.

Fixed since upstrea 3.36, that means first in Debian since 3.40-0.1.
 
commit 98afd65767dbf0981205956f32ba5ca22d1e0b9b
Refs: man-pages-3.35-28-g98afd65
Commit:     Michael Kerrisk <[email protected]>
CommitDate: Wed Feb 8 07:29:23 2012 +1300

    resolv.conf.5: Describe syntax used for comments
    See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656994


-- 
Simon Paillard



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to