1984. [func] dig, nslookup and host now advertise a 4096 byte

EDNS UDP buffer size by default. [RT #15855]
This commit is contained in:
Mark Andrews
2006-02-17 00:10:42 +00:00
parent fd3cdd15de
commit 3e9ab6efd1
2 changed files with 5 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
1984. [func] dig, nslookup and host now advertise a 4096 byte
EDNS UDP buffer size by default. [RT #15855]
1983. [func] Two new update policies. "selfsub" and "selfwild".
[RT #12895]

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dighost.c,v 1.291 2006/01/27 02:35:14 marka Exp $ */
/* $Id: dighost.c,v 1.292 2006/02/17 00:10:42 marka Exp $ */
/*! \file
* \note
@@ -1946,7 +1946,7 @@ setup_lookup(dig_lookup_t *lookup) {
check_result(result, "dns_message_renderbegin");
if (lookup->udpsize > 0 || lookup->dnssec || lookup->edns > -1) {
if (lookup->udpsize == 0)
lookup->udpsize = 2048;
lookup->udpsize = 4096;
if (lookup->edns < 0)
lookup->edns = 0;
add_opt(lookup->sendmsg, lookup->udpsize,