summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjmc <>2017-01-24 12:43:00 +0000
committerjmc <>2017-01-24 12:43:00 +0000
commitd03f80baf45681beaf883ce39b6678edf8e663a6 (patch)
treec44df822f115753b9863412b0186c8943483a41d /src
parent2d0db2a357084a44a325cae430d05673e948625c (diff)
downloadopenbsd-d03f80baf45681beaf883ce39b6678edf8e663a6.tar.gz
openbsd-d03f80baf45681beaf883ce39b6678edf8e663a6.tar.bz2
openbsd-d03f80baf45681beaf883ce39b6678edf8e663a6.zip
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 'src')
-rw-r--r--src/lib/libc/net/resolver.323
1 files changed, 17 insertions, 6 deletions
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 @@
1.\" $OpenBSD: resolver.3,v 1.34 2016/08/05 16:16:06 schwarze Exp $ 1.\" $OpenBSD: resolver.3,v 1.35 2017/01/24 12:43:00 jmc 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 5 2016 $ 30.Dd $Mdocdate: January 24 2017 $
31.Dt RES_INIT 3 31.Dt RES_INIT 3
32.Os 32.Os
33.Sh NAME 33.Sh NAME
@@ -130,12 +130,16 @@ Accept authoritative answers only.
130With this option, 130With this option,
131.Fn res_send 131.Fn res_send
132should continue until it finds an authoritative answer or finds an error. 132should continue until it finds an authoritative answer or finds an error.
133Currently this is not implemented. 133On
134.Ox
135this option does nothing.
134.It Dv RES_USEVC 136.It Dv RES_USEVC
135Use TCP connections for queries instead of UDP datagrams. 137Use TCP connections for queries instead of UDP datagrams.
136.It Dv RES_PRIMARY 138.It Dv RES_PRIMARY
137Query the primary name server only. 139Query the primary name server only.
138Currently this is not implemented. 140On
141.Ox
142this option does nothing.
139.It Dv RES_IGNTC 143.It Dv RES_IGNTC
140Ignore truncation errors, i.e. don't retry with TCP. 144Ignore truncation errors, i.e. don't retry with TCP.
141.It Dv RES_RECURSE 145.It Dv RES_RECURSE
@@ -178,8 +182,9 @@ feature.
178Enables support for IPv6-only applications. 182Enables support for IPv6-only applications.
179This causes IPv4 addresses to be returned as an IPv4 mapped address. 183This causes IPv4 addresses to be returned as an IPv4 mapped address.
180For example, 10.1.1.1 will be returned as ::ffff:10.1.1.1. 184For example, 10.1.1.1 will be returned as ::ffff:10.1.1.1.
181The option is not meaningful on 185On
182.Ox . 186.Ox
187this option does nothing.
183.It Dv RES_USE_EDNS0 188.It Dv RES_USE_EDNS0
184Attach an OPT pseudo-RR for the EDNS0 extension, 189Attach an OPT pseudo-RR for the EDNS0 extension,
185as specified in RFC 2671. 190as specified in RFC 2671.
@@ -188,10 +193,16 @@ allowing them to take advantage of a non-default receive buffer size,
188and thus to send larger replies. 193and thus to send larger replies.
189DNS query packets with the EDNS0 extension are not compatible with 194DNS query packets with the EDNS0 extension are not compatible with
190non-EDNS0 DNS servers. 195non-EDNS0 DNS servers.
196On
197.Ox
198this option does nothing.
191.It Dv RES_USE_DNSSEC 199.It Dv RES_USE_DNSSEC
192Request that the resolver uses 200Request that the resolver uses
193Domain Name System Security Extensions (DNSSEC), 201Domain Name System Security Extensions (DNSSEC),
194as defined in RFCs 4033, 4034, and 4035. 202as defined in RFCs 4033, 4034, and 4035.
203On
204.Ox
205this option does nothing.
195.El 206.El
196.Pp 207.Pp
197The 208The