summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2017-01-24 12:43:01 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2017-01-24 12:43:01 +0000
commitb434a5f7edfbdf1cde1559c663b2b5da6453fe37 (patch)
treed3b532537b5c8f2b290b5ecb1ad4faafae197696 /lib/libc
parent9415ae3aa49da3ac8d8b3b9a6f50eaa4bd798f0f (diff)
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
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/resolver.323
1 files changed, 17 insertions, 6 deletions
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