diff options
Diffstat (limited to 'src/lib/libc/net')
| -rw-r--r-- | src/lib/libc/net/res_init.3 | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/lib/libc/net/res_init.3 b/src/lib/libc/net/res_init.3 index 01a6b8e0b3..f9f13cf4f9 100644 --- a/src/lib/libc/net/res_init.3 +++ b/src/lib/libc/net/res_init.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: res_init.3,v 1.1 2019/08/30 18:33:17 deraadt Exp $ | 1 | .\" $OpenBSD: res_init.3,v 1.2 2020/04/25 14:30:05 jca Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 1985, 1991, 1993 | 3 | .\" Copyright (c) 1985, 1991, 1993 |
| 4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. |
| @@ -27,7 +27,7 @@ | |||
| 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 28 | .\" SUCH DAMAGE. | 28 | .\" SUCH DAMAGE. |
| 29 | .\" | 29 | .\" |
| 30 | .Dd $Mdocdate: August 30 2019 $ | 30 | .Dd $Mdocdate: April 25 2020 $ |
| 31 | .Dt RES_INIT 3 | 31 | .Dt RES_INIT 3 |
| 32 | .Os | 32 | .Os |
| 33 | .Sh NAME | 33 | .Sh NAME |
| @@ -180,12 +180,14 @@ In the past, it turned off the legacy | |||
| 180 | .Ev HOSTALIASES | 180 | .Ev HOSTALIASES |
| 181 | feature. | 181 | feature. |
| 182 | .It Dv RES_USE_INET6 | 182 | .It Dv RES_USE_INET6 |
| 183 | Enables support for IPv6-only applications. | 183 | With this option |
| 184 | This causes IPv4 addresses to be returned as an IPv4 mapped address. | 184 | .Xr gethostbyname 3 |
| 185 | will return IPv6 addresses if available. | ||
| 186 | On some operating systems this option also causes IPv4 addresses to be | ||
| 187 | returned as IPv4-mapped IPv6 addresses. | ||
| 185 | For example, 10.1.1.1 will be returned as ::ffff:10.1.1.1. | 188 | For example, 10.1.1.1 will be returned as ::ffff:10.1.1.1. |
| 186 | On | 189 | IPv4-mapped IPv6 addresses are not supported on |
| 187 | .Ox | 190 | .Ox . |
| 188 | this option does nothing. | ||
| 189 | .It Dv RES_USE_EDNS0 | 191 | .It Dv RES_USE_EDNS0 |
| 190 | Attach an OPT pseudo-RR for the EDNS0 extension, | 192 | Attach an OPT pseudo-RR for the EDNS0 extension, |
| 191 | as specified in RFC 2671. | 193 | as specified in RFC 2671. |
