From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 15 Aug 2024 22:12:49 +0000 (-0400) Subject: Add doc reference to oversized chunk message X-Git-Tag: rec-5.2.0-alpha1~96^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14561%2Fhead;p=thirdparty%2Fpdns.git Add doc reference to oversized chunk message --- diff --git a/pdns/dnspacket.cc b/pdns/dnspacket.cc index e926a658b4..324399cd3c 100644 --- a/pdns/dnspacket.cc +++ b/pdns/dnspacket.cc @@ -353,7 +353,7 @@ void DNSPacket::wrapup(bool throwsOnTruncation) pos->dr.getContent()->toPacket(pw); if(pw.size() + optsize > (d_tcp ? 65535 : getMaxReplyLen())) { if (throwsOnTruncation) { - throw PDNSException("attempt to write an oversized chunk"); + throw PDNSException("attempt to write an oversized chunk, see https://docs.powerdns.com/authoritative/settings.html#workaround-11804"); } pw.rollback(); pw.truncate();