]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1984. [func] dig, nslookup and host now advertise a 4096 byte
authorMark Andrews <marka@isc.org>
Fri, 17 Feb 2006 00:10:42 +0000 (00:10 +0000)
committerMark Andrews <marka@isc.org>
Fri, 17 Feb 2006 00:10:42 +0000 (00:10 +0000)
                        EDNS UDP buffer size by default. [RT #15855]

CHANGES
bin/dig/dighost.c

diff --git a/CHANGES b/CHANGES
index 064b2e860546d36c70b0f1bdcd61652124d3258a..4b3d97f22944fa22e425e5781b48a7a3aa93c9ac 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -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]
 
index 3aaa1063712ebf4693c11ccf6c5b07e4019c21a5..711428f18ff6fb88d919d01c370fa9927cf2eae3 100644 (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,