summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorjca <>2017-02-18 19:23:05 +0000
committerjca <>2017-02-18 19:23:05 +0000
commitf5687e58de136104a8aedcd260a57135fbb9572c (patch)
tree8ecfc04c754925db7c79a93f436e7aae19ac83d5 /src/lib
parenta6dac7f3fc954bd3eac151bdc87f9f3b798a4f28 (diff)
downloadopenbsd-f5687e58de136104a8aedcd260a57135fbb9572c.tar.gz
openbsd-f5687e58de136104a8aedcd260a57135fbb9572c.tar.bz2
openbsd-f5687e58de136104a8aedcd260a57135fbb9572c.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')
-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),