diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2020-04-25 14:22:05 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2020-04-25 14:22:05 +0000 |
commit | 6566ae8b72e7f4e817c76e04c720af55b5c43774 (patch) | |
tree | 91b5ced0fb6640274926015709d9e8ac2fe3a230 /share/man/man5 | |
parent | 088bf80740bbf543153808a9ab7b7db2fb72f7ce (diff) |
Make it clearer that "options inet6" does nothing on OpenBSD
The previous wording could imply that "options inet6" did set
RES_USE_INET6 on OpenBSD but that RES_USE_INET6 had no effect.
The truth is, "options inet6" isn't recognized by libc/asr, but
RES_USE_INET6 has an effect on OpenBSD.
So first state that "options inet6" does nothing on our system, then
describe concisely what it used to do/what it does on other systems.
Prompted by a diff from solene@, claudio@ insisted that we keep
dcumenting this option. ok eric@ deraadt@ solene@
Diffstat (limited to 'share/man/man5')
-rw-r--r-- | share/man/man5/resolv.conf.5 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/share/man/man5/resolv.conf.5 b/share/man/man5/resolv.conf.5 index 04fd400ec41..1cef19f18e7 100644 --- a/share/man/man5/resolv.conf.5 +++ b/share/man/man5/resolv.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: resolv.conf.5,v 1.59 2020/01/24 06:16:47 tedu Exp $ +.\" $OpenBSD: resolv.conf.5,v 1.60 2020/04/25 14:22:04 jca Exp $ .\" $NetBSD: resolv.conf.5,v 1.7 1996/03/06 18:22:16 scottr Exp $ .\" .\" Copyright (c) 1986, 1991 The Regents of the University of California. @@ -30,7 +30,7 @@ .\" .\" @(#)resolver.5 5.12 (Berkeley) 5/10/91 .\" -.Dd $Mdocdate: January 24 2020 $ +.Dd $Mdocdate: April 25 2020 $ .Dt RESOLV.CONF 5 .Os .Sh NAME @@ -259,12 +259,13 @@ as is often the case with .Xr pppoe 4 or with tunnels. .It Cm inet6 -Enables support for IPv6-only applications, by setting RES_USE_INET6 in -_res.options (see -.Xr res_init 3 ) . On .Ox this option does nothing. +On some operating systems, this option enables IPv6 support in +.Xr gethostbyname 3 +by setting RES_USE_INET6 in _res.options (see +.Xr res_init 3 ) . .It Cm insecure1 Do not require IP source address on the reply packet to be equal to the server's address. |