From d03f80baf45681beaf883ce39b6678edf8e663a6 Mon Sep 17 00:00:00 2001 From: jmc <> Date: Tue, 24 Jan 2017 12:43:00 +0000 Subject: in resolver(3), document that _EDNS0 and _DNSSEC are no ops; diff from kirill miazine while here, bump all the no op texts to one standard blurb; help/ok jca --- src/lib/libc/net/resolver.3 | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libc/net/resolver.3 b/src/lib/libc/net/resolver.3 index 74604b9577..c395c9929b 100644 --- a/src/lib/libc/net/resolver.3 +++ b/src/lib/libc/net/resolver.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: resolver.3,v 1.34 2016/08/05 16:16:06 schwarze Exp $ +.\" $OpenBSD: resolver.3,v 1.35 2017/01/24 12:43:00 jmc Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: August 5 2016 $ +.Dd $Mdocdate: January 24 2017 $ .Dt RES_INIT 3 .Os .Sh NAME @@ -130,12 +130,16 @@ Accept authoritative answers only. With this option, .Fn res_send should continue until it finds an authoritative answer or finds an error. -Currently this is not implemented. +On +.Ox +this option does nothing. .It Dv RES_USEVC Use TCP connections for queries instead of UDP datagrams. .It Dv RES_PRIMARY Query the primary name server only. -Currently this is not implemented. +On +.Ox +this option does nothing. .It Dv RES_IGNTC Ignore truncation errors, i.e. don't retry with TCP. .It Dv RES_RECURSE @@ -178,8 +182,9 @@ feature. Enables support for IPv6-only applications. This causes IPv4 addresses to be returned as an IPv4 mapped address. For example, 10.1.1.1 will be returned as ::ffff:10.1.1.1. -The option is not meaningful on -.Ox . +On +.Ox +this option does nothing. .It Dv RES_USE_EDNS0 Attach an OPT pseudo-RR for the EDNS0 extension, as specified in RFC 2671. @@ -188,10 +193,16 @@ allowing them to take advantage of a non-default receive buffer size, and thus to send larger replies. DNS query packets with the EDNS0 extension are not compatible with non-EDNS0 DNS servers. +On +.Ox +this option does nothing. .It Dv RES_USE_DNSSEC Request that the resolver uses Domain Name System Security Extensions (DNSSEC), as defined in RFCs 4033, 4034, and 4035. +On +.Ox +this option does nothing. .El .Pp The -- cgit v1.2.3-55-g6feb