summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authorjca <>2017-02-18 19:23:05 +0000
committerjca <>2017-02-18 19:23:05 +0000
commit17eaedeba84258abf9626346d66e5be2d6f42442 (patch)
tree8ecfc04c754925db7c79a93f436e7aae19ac83d5 /src/lib/libc
parentc9870b6d740fcfd799c679340c914b331330ea1f (diff)
downloadopenbsd-17eaedeba84258abf9626346d66e5be2d6f42442.tar.gz
openbsd-17eaedeba84258abf9626346d66e5be2d6f42442.tar.bz2
openbsd-17eaedeba84258abf9626346d66e5be2d6f42442.zip
Add EDNS0 support.
EDNS allows for various DNS extensions, among which UDP DNS packets size bigger than 512 bytes. The default is still to not advertize anything. ok eric@
Diffstat (limited to 'src/lib/libc')
-rw-r--r--src/lib/libc/net/resolver.37
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libc/net/resolver.3 b/src/lib/libc/net/resolver.3
index c395c9929b..68e509f4f0 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.35 2017/01/24 12:43:00 jmc Exp $ 1.\" $OpenBSD: resolver.3,v 1.36 2017/02/18 19:23:05 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: January 24 2017 $ 30.Dd $Mdocdate: February 18 2017 $
31.Dt RES_INIT 3 31.Dt RES_INIT 3
32.Os 32.Os
33.Sh NAME 33.Sh NAME
@@ -193,9 +193,8 @@ allowing them to take advantage of a non-default receive buffer size,
193and thus to send larger replies. 193and thus to send larger replies.
194DNS query packets with the EDNS0 extension are not compatible with 194DNS query packets with the EDNS0 extension are not compatible with
195non-EDNS0 DNS servers. 195non-EDNS0 DNS servers.
196On
197.Ox 196.Ox
198this option does nothing. 197uses 4096 bytes as input buffer size.
199.It Dv RES_USE_DNSSEC 198.It Dv RES_USE_DNSSEC
200Request that the resolver uses 199Request that the resolver uses
201Domain Name System Security Extensions (DNSSEC), 200Domain Name System Security Extensions (DNSSEC),