On Thu, Apr 23, 2020 at 06:31:12PM +0200, Jeremie Courreges-Anglas wrote:
> On Thu, Apr 23 2020, Jason McIntyre <j...@kerhand.co.uk> wrote:
> > On Thu, Apr 23, 2020 at 05:17:08PM +0200, Solene Rapenne wrote:
> >> Is there a reason to keep this part in resolv.conf(5) about an option
> >> doing nothing?
> >> 
> >> > options inet6
> >> > Enables support for IPv6-only applications, by setting RES_USE_INET6
> >> > in _res.options (see res_init(3)). On OpenBSD this option does
> >> > nothing.
> >> 
> >> If we can remove it, here is the diff.
> >> 
> >
> > hi.
> >
> > i guess if you did this, you'd need to look at res_init.3 too.
> 
> "options inet6" in resolv.conf(5) does bothing, it doesn't "set
> RES_USE_INET6 in _res.options".  I think we can just delete any mention
> of "options inet6" in resolv.conf(5).
> 
> RES_USE_INET6 as documented in res_init(3) should be investigated some
> more.  It actually does *something* in the current code, but it
> doesn't enable the IPv4-mapped IPv6 addresses which we don't support.
> 
> Maybe this option should just be deleted (probably safer to wait after
> 6.7 is released).  People should use getaddrinfo(3) instead.
> 

resolv.conf and res_init is used on many other operating systems. It is
defacto a standard file and so it makes sense to document options that may
exist on other system.

-- 
:wq Claudio

Reply via email to