From b434a5f7edfbdf1cde1559c663b2b5da6453fe37 Mon Sep 17 00:00:00 2001 From: Jason McIntyre Date: Tue, 24 Jan 2017 12:43:01 +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 --- lib/libc/net/resolver.3 | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'lib/libc/net') diff --git a/lib/libc/net/resolver.3 b/lib/libc/net/resolver.3 index 74604b95770..c395c9929b4 100644 --- a/lib/libc/net/resolver.3 +++ b/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