Received: from st43p00im-zteg10073401.me.com (st43p00im-zteg10073401.me.com [17.58.63.181]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 88772781A86 for <~alpine/devel@lists.alpinelinux.org>; Thu, 26 Mar 2020 18:58:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1585249125; bh=pcDDTxI5vO5eh39nSsmf0W4mjy0O2IKGdBvyPYGsSh8=; h=Content-Type:Subject:From:Date:Message-Id:To; b=cM2Xgf1UEZ+0M4OEw77Ifm7cBjvBL07Bku78uqfWmmu0YDNhcWwwYsJsAdWtKU7dK 7GpLHO5/QrT3yaIHqi3J3XH4Mb+EsLS749GrQy3o6FkhI9seli+sQRTTh2H3LvtOTY hwpC2fMWmfZZComs0rlx4fnSpdKR6R1l4vVpjSFkAb2IsFNqqp9GhjFI9q2o7k8vt9 h4gF1qulYS/7qp4wpjQYB6HC7UIp8s/XAArgTplOz/NNssK2L15H3pxOFNYeEOrVJa nQYenwpTZrwnl8HWL2Gb/+3sqYdrWEfAkdPvk3WfNZBRWSso0iRFmGEAw+tKFoYSco LS2weeQJbkTaQ== Received: from denkimushi.lan (vikavolt.denkimushi.com [212.159.101.34]) by st43p00im-zteg10073401.me.com (Postfix) with ESMTPSA id C48065E0860; Thu, 26 Mar 2020 18:58:44 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: DNS resolvers and root hints From: Duncan Bellamy In-Reply-To: <20200326124654.1352edb8@ncopa-desktop.copa.dup.pw> Date: Thu, 26 Mar 2020 18:58:41 +0000 Cc: Alpine develmopment <~alpine/devel@lists.alpinelinux.org> Content-Transfer-Encoding: quoted-printable Message-Id: <8827C016-685C-4307-8339-45B5F12E5479@me.com> References: <20200326124654.1352edb8@ncopa-desktop.copa.dup.pw> To: Natanael Copa X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2020-03-26_10:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=2 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=697 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-2003260142 Hi I volunteer to be a maintainer for number 3 if that is chosen.=20 > On 26 Mar 2020, at 11:46, Natanael Copa wrote: >=20 > Hi! >=20 > We got a request[1] to remove dns-root-hints package, which has been a > source of controversy in the past. >=20 > The problem is that a DNS resolver needs the root hints to resolve and > this data is not static, it changes over time. To fetch the updated > root.hints you need an old version of it (eg it is a boot strap > problem), so we ship a copy of root hints with our resolvers. >=20 > [1]: https://gitlab.alpinelinux.org/alpine/aports/issues/11324 >=20 > There are two problems with this: The root.hints gets outdated and = need > to be maintained. We have been rightfully critizised for not maintain > this well in the past. To solve this we provide a maintenance cron job > that fetches it regularily. This leads to the second problem: > Maintenance script requires gnupg to verify signature, so it = introduces > a big dependency chain for the resolvers. >=20 > As I see we have the following options: >=20 > 1) keep things as it currently is, provide a shared dns-root-hints = with > update script/cronjob. > Pros: > - resolvers work out of the box, inclusive maintenance > - relatively low maintance for us. we only need keep the version in > git master updated. (update one branch once every 6 months) > Cons: > - we have gnupg dependency for all resolvers, which may not be needed > for everyone. > - non trivial to remove gnupg if update script is not needed/used >=20 >=20 >=20 > 2) keep dns-root-hints as optional package, but remove the hard = dependency of it > Pros: > - relatively low maintenance for us. we only need update git master > every six months. > - give flexibility to use own solution or use the dns-roots-hits > solution from alpine repos. > Cons: > - resolvers may not work out of the box and users may need to > explicitly install the extra dns-root-hints package. This needs to > be documented. > - we still need to maintain the optional dns-root-hints package. > - DNS resolving may break for users when they upgrade >=20 >=20 >=20 > 3) keep dns-root-hints but exclude the update script > Pros: > - resolvers will work out of the box > - we get rid of gnupg dependency > - backwards compatible. upgrades will not break anything > Cons: > - more maintenance on us. we may need update the package every 6 > months for our 5 maintained git branches. (master + 4 x 3.*-stable) >=20 >=20 >=20 > 4) remove dns-root-hints and let user deal with it. > Pros: > - saves us for lots of work > Cons: > - resolvers will probably not work out of the box (at least unbound > ships with an internal root.hints so I think unbound will work) > - inconvenient for users who will have to write their own > - DNS resolving may break for users when they upgrade >=20 >=20 >=20 > Do we have other options? >=20 > What do you think we should do? >=20 > Are there any volunteers to do maintenance (for option 3)? >=20 >=20 > -nc