summaryrefslogtreecommitdiff
path: root/lib/libc/net
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-02-27 11:38:09 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-02-27 11:38:09 +0000
commitf088c9c75a9b3f132918d677b8b52eabe493e633 (patch)
tree3a1320c26692624d06130309bc011c5892759cd8 /lib/libc/net
parent9edc258191f4552fdf21290b3257df0602093054 (diff)
Add support for RES_USE_DNSSEC
RES_USE_DNSSEC is implemented by setting the DNSSEC DO bit in outgoing queries. The resolver is then supposed to set the AD bit in the reply if it managed to validate the answer through DNSSEC. Useful when the application doesn't implement validation internally. This scheme assumes that the validating resolver is trusted and that the communication channel between the validating resolver and and the client is secure. ok eric@ gilles@
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/resolver.37
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/libc/net/resolver.3 b/lib/libc/net/resolver.3
index 68e509f4f0d..e371f7851c3 100644
--- a/lib/libc/net/resolver.3
+++ b/lib/libc/net/resolver.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: resolver.3,v 1.36 2017/02/18 19:23:05 jca Exp $
+.\" $OpenBSD: resolver.3,v 1.37 2017/02/27 11:38:08 jca 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: February 18 2017 $
+.Dd $Mdocdate: February 27 2017 $
.Dt RES_INIT 3
.Os
.Sh NAME
@@ -199,9 +199,6 @@ uses 4096 bytes as input buffer size.
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