summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorjakob <>2001-08-08 16:28:43 +0000
committerjakob <>2001-08-08 16:28:43 +0000
commitbd434151910050c9b9259432fe7a0c0542edf08d (patch)
tree6abdc8effcc1f27dab00aea37746e023d19f4f54 /src/lib
parent738593f3dda39a38d3edb4180531231f073590c5 (diff)
downloadopenbsd-bd434151910050c9b9259432fe7a0c0542edf08d.tar.gz
openbsd-bd434151910050c9b9259432fe7a0c0542edf08d.tar.bz2
openbsd-bd434151910050c9b9259432fe7a0c0542edf08d.zip
add CAVEATS section that talks about trust and the AD-bit
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libc/net/getrrsetbyname.312
1 files changed, 11 insertions, 1 deletions
diff --git a/src/lib/libc/net/getrrsetbyname.3 b/src/lib/libc/net/getrrsetbyname.3
index 19a89d985e..1cec0c726b 100644
--- a/src/lib/libc/net/getrrsetbyname.3
+++ b/src/lib/libc/net/getrrsetbyname.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: getrrsetbyname.3,v 1.3 2001/08/06 15:10:23 jakob Exp $ 1.\" $OpenBSD: getrrsetbyname.3,v 1.4 2001/08/08 16:28:43 jakob Exp $
2.\" 2.\"
3.\" Copyright (C) 2000, 2001 Internet Software Consortium. 3.\" Copyright (C) 2000, 2001 Internet Software Consortium.
4.\" 4.\"
@@ -151,3 +151,13 @@ The data in
151should be returned in uncompressed wire format. 151should be returned in uncompressed wire format.
152Currently, the data is in compressed format and the caller can't 152Currently, the data is in compressed format and the caller can't
153uncompress since it doesn't have the full message. 153uncompress since it doesn't have the full message.
154.Sh CAVEATS
155The
156.Dv RRSET_VALIDATED
157flag in
158.Li rri_flags
159is set if the AD (autenticated data) bit in the DNS answer is
160set. This flag
161.Em should not
162be trusted unless the transport between the nameserver and the resolver
163is secure (e.g. IPsec, trusted network, loopback communication).