From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6136 invoked from network); 5 Jul 2023 11:24:49 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 5 Jul 2023 11:24:49 -0000 Received: (qmail 17850 invoked by uid 550); 5 Jul 2023 11:24:45 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 17812 invoked from network); 5 Jul 2023 11:24:44 -0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) From: "A. Wilcox" In-Reply-To: <20230705034111.GD4163@brightrain.aerifal.cx> Date: Wed, 5 Jul 2023 06:24:19 -0500 Cc: Rich Felker Content-Transfer-Encoding: quoted-printable Message-Id: <920FAE31-1962-4465-AB23-06E6FF55E63A@Wilcox-Tech.com> References: <20230704032918.GB4163@brightrain.aerifal.cx> <20230704160700.GC4163@brightrain.aerifal.cx> <20230705034111.GD4163@brightrain.aerifal.cx> To: musl@lists.openwall.com X-Mailer: Apple Mail (2.3731.400.51.1.1) Subject: Re: [musl] DNS answer buffer is too small On Jul 4, 2023, at 10:41 PM, Rich Felker wrote: >=20 > while the DNS RFCs do not specify any limit on the length of a CNAME > chain, or any reasonable behavior is the chain exceeds the entire 64k Is -> if, maybe? Otherwise, this is a fragment and perhaps it should start =E2=80=9Cthe DNS RFCs=E2=80=9D and the comma should be removed. Then the sentence should end at =E2=80=9Cany reasonable behaviour." > possible message size, actual recursive servers have to impose a > limit, and a such, for all practical purposes, chains longer than this =E2=80=A6and *as* such=E2=80=A6 > limit are not usable. it turns out BIND has a hard-coded limit of 16, > and Unbound has a default limit of 11. The code change looks good; just trying to fix up the commit msg. Best, -A. -- A. Wilcox (they/them) SW Engineering: C++/Rust, DevOps, POSIX, Py/Ruby Wilcox Technologies Inc.=