diff options
author | jmc <> | 2017-01-24 12:43:00 +0000 |
---|---|---|
committer | jmc <> | 2017-01-24 12:43:00 +0000 |
commit | d03f80baf45681beaf883ce39b6678edf8e663a6 (patch) | |
tree | c44df822f115753b9863412b0186c8943483a41d /src | |
parent | 2d0db2a357084a44a325cae430d05673e948625c (diff) | |
download | openbsd-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.3 | 23 |
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. | |||
130 | With this option, | 130 | With this option, |
131 | .Fn res_send | 131 | .Fn res_send |
132 | should continue until it finds an authoritative answer or finds an error. | 132 | should continue until it finds an authoritative answer or finds an error. |
133 | Currently this is not implemented. | 133 | On |
134 | .Ox | ||
135 | this option does nothing. | ||
134 | .It Dv RES_USEVC | 136 | .It Dv RES_USEVC |
135 | Use TCP connections for queries instead of UDP datagrams. | 137 | Use TCP connections for queries instead of UDP datagrams. |
136 | .It Dv RES_PRIMARY | 138 | .It Dv RES_PRIMARY |
137 | Query the primary name server only. | 139 | Query the primary name server only. |
138 | Currently this is not implemented. | 140 | On |
141 | .Ox | ||
142 | this option does nothing. | ||
139 | .It Dv RES_IGNTC | 143 | .It Dv RES_IGNTC |
140 | Ignore truncation errors, i.e. don't retry with TCP. | 144 | Ignore truncation errors, i.e. don't retry with TCP. |
141 | .It Dv RES_RECURSE | 145 | .It Dv RES_RECURSE |
@@ -178,8 +182,9 @@ feature. | |||
178 | Enables support for IPv6-only applications. | 182 | Enables support for IPv6-only applications. |
179 | This causes IPv4 addresses to be returned as an IPv4 mapped address. | 183 | This causes IPv4 addresses to be returned as an IPv4 mapped address. |
180 | For example, 10.1.1.1 will be returned as ::ffff:10.1.1.1. | 184 | For example, 10.1.1.1 will be returned as ::ffff:10.1.1.1. |
181 | The option is not meaningful on | 185 | On |
182 | .Ox . | 186 | .Ox |
187 | this option does nothing. | ||
183 | .It Dv RES_USE_EDNS0 | 188 | .It Dv RES_USE_EDNS0 |
184 | Attach an OPT pseudo-RR for the EDNS0 extension, | 189 | Attach an OPT pseudo-RR for the EDNS0 extension, |
185 | as specified in RFC 2671. | 190 | as specified in RFC 2671. |
@@ -188,10 +193,16 @@ allowing them to take advantage of a non-default receive buffer size, | |||
188 | and thus to send larger replies. | 193 | and thus to send larger replies. |
189 | DNS query packets with the EDNS0 extension are not compatible with | 194 | DNS query packets with the EDNS0 extension are not compatible with |
190 | non-EDNS0 DNS servers. | 195 | non-EDNS0 DNS servers. |
196 | On | ||
197 | .Ox | ||
198 | this option does nothing. | ||
191 | .It Dv RES_USE_DNSSEC | 199 | .It Dv RES_USE_DNSSEC |
192 | Request that the resolver uses | 200 | Request that the resolver uses |
193 | Domain Name System Security Extensions (DNSSEC), | 201 | Domain Name System Security Extensions (DNSSEC), |
194 | as defined in RFCs 4033, 4034, and 4035. | 202 | as defined in RFCs 4033, 4034, and 4035. |
203 | On | ||
204 | .Ox | ||
205 | this option does nothing. | ||
195 | .El | 206 | .El |
196 | .Pp | 207 | .Pp |
197 | The | 208 | The |