summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjca <>2021-11-24 20:06:32 +0000
committerjca <>2021-11-24 20:06:32 +0000
commitc4790b46c8f1d0af88e1915e2910ccb522155ca2 (patch)
tree5c54cb6cf992589936f091c9168bc2094e302988
parentbbc388471898c4f5853fe77c57c8e54f37b1739a (diff)
downloadopenbsd-c4790b46c8f1d0af88e1915e2910ccb522155ca2.tar.gz
openbsd-c4790b46c8f1d0af88e1915e2910ccb522155ca2.tar.bz2
openbsd-c4790b46c8f1d0af88e1915e2910ccb522155ca2.zip
Describe what RES_USE_DNSSEC does and how it's affected by trust-ad
ok florian@
-rw-r--r--src/lib/libc/net/res_init.317
1 files changed, 15 insertions, 2 deletions
diff --git a/src/lib/libc/net/res_init.3 b/src/lib/libc/net/res_init.3
index 03e6fca747..3e0cabc358 100644
--- a/src/lib/libc/net/res_init.3
+++ b/src/lib/libc/net/res_init.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: res_init.3,v 1.5 2021/11/22 20:18:27 jca Exp $ 1.\" $OpenBSD: res_init.3,v 1.6 2021/11/24 20:06:32 jca 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: November 22 2021 $ 30.Dd $Mdocdate: November 24 2021 $
31.Dt RES_INIT 3 31.Dt RES_INIT 3
32.Os 32.Os
33.Sh NAME 33.Sh NAME
@@ -218,6 +218,19 @@ uses 4096 bytes as input buffer size.
218Request that the resolver uses 218Request that the resolver uses
219Domain Name System Security Extensions (DNSSEC), 219Domain Name System Security Extensions (DNSSEC),
220as defined in RFCs 4033, 4034, and 4035. 220as defined in RFCs 4033, 4034, and 4035.
221The resolver routines will use the EDNS0 extension and set the DNSSEC DO
222flag in queries, asking the name server to signal validated records by
223setting the AD flag in the reply and to attach additional DNSSEC
224records.
225The resolver routines will clear the AD flag in replies unless the name
226servers are considered trusted.
227Also, client applications are often only interested in the value of the
228AD flag, making the additional DNSSEC records a waste of network
229bandwidth.
230See the description for
231.Dq options trust-ad
232in
233.Xr resolv.conf 5 .
221.It Dv RES_USE_CD 234.It Dv RES_USE_CD
222Set the Checking Disabled flag on queries. 235Set the Checking Disabled flag on queries.
223.El 236.El