diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2019-12-08 21:31:17 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2019-12-08 21:31:17 +0000 |
commit | 49467edf8c224252533257264ee4ea1cba261cbf (patch) | |
tree | e7ec443efbff85e89a0c8047d11a4c3d0830a8e9 /sbin | |
parent | 1a0b4af4533e919219eba8bec390b4b187708359 (diff) |
Limit advertised UDP payload size to 1232 bytes to prevent PMTU /
fragmentation issues.
OK otto
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/unwind/resolver.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/unwind/resolver.c b/sbin/unwind/resolver.c index d36176fe470..5ced98a5af2 100644 --- a/sbin/unwind/resolver.c +++ b/sbin/unwind/resolver.c @@ -1,4 +1,4 @@ -/* $OpenBSD: resolver.c,v 1.103 2019/12/08 09:47:50 florian Exp $ */ +/* $OpenBSD: resolver.c,v 1.104 2019/12/08 21:31:16 florian Exp $ */ /* * Copyright (c) 2018 Florian Obser <florian@openbsd.org> @@ -1160,7 +1160,8 @@ static const struct { const char *value; } options[] = { { "aggressive-nsec:", "yes" }, - { "fast-server-permil:", "950" } + { "fast-server-permil:", "950" }, + { "edns-buffer-size:", "1232" } }; struct uw_resolver * |