Re: [DNSOP] WGLC for draft-ietf-dnsop-let-localhost-be-localhost-02

Ted Lemon <mellon@fugue.com> Sat, 27 January 2018 00:02 UTC

Return-Path: <mellon@fugue.com>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C1BBE12D778 for <dnsop@ietfa.amsl.com>; Fri, 26 Jan 2018 16:02:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fugue-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d0AN50unkQ_l for <dnsop@ietfa.amsl.com>; Fri, 26 Jan 2018 16:02:06 -0800 (PST)
Received: from mail-oi0-x230.google.com (mail-oi0-x230.google.com [IPv6:2607:f8b0:4003:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4DF3C127735 for <dnsop@ietf.org>; Fri, 26 Jan 2018 16:02:06 -0800 (PST)
Received: by mail-oi0-x230.google.com with SMTP id t78so1433579oih.4 for <dnsop@ietf.org>; Fri, 26 Jan 2018 16:02:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20150623.gappssmtp.com; s=20150623; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=Kp4U0boP/Wo2RsJ5qSyiGNoGzY8jepuvXDnhED9JH6M=; b=nqOwyo8kto6f/L4cf8uEmtsehYzxJIOq+x9cPVwIJAkYIS7gJqF57VjrQ/Uc5q5P05 hpYQRRvwFWfdaw7yglBjRzQQ233srwcbuKOe6MOUe//fjsfVyR6lj0lSqjWb3qVlDIvI 8f+//GcYSPNhakLj5XCqUxm/QU0HxAGk/RYlM0PcC+PN3saCjKx2GFwiJj2N0KpPdM8j R7eZ5Ia8u8ocePH6SneZapi/T5JlQdSH1KtUxzxDRbBzLEDKa56fnK5I/dMefGou/Vqa L66D+CI9o4b3EYFWWEWdFSXiZg8hEqdoK+Jnoj3jH7DnXEgQ3qi+1SsNzGyOU3EQyYsB nxzQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=Kp4U0boP/Wo2RsJ5qSyiGNoGzY8jepuvXDnhED9JH6M=; b=sa4b+C4KHtoJtjriMPVko2qPe6uod8Pnbi9Ct55IYAzIKicRI2blOKcM43mUeak8sN 6c+YbtVHECRx25tivh3x4ScwROXBo79uSQbRLmYkvV1mfIpzOOItfsC5PQaRRt79Ild2 prQGlpNjzNeOBYqoTWh01LGy7SlpnjlB+2i5FVL6KeVIHwvXLfSdVIKNESdrg8CjF9cQ nKFxYVCeHEsz2XzL7X2+VnISKop9ruj85vSLwk8I5sPdgpWjtM0gWaSC+s+pKoe7sUHR j0L4sZmkwvEHT77StwXxm6I1F48noBmaGP1U9xJAk6jhCHCHjHy0Bv2NYfRWRlpYQZoe vgOg==
X-Gm-Message-State: AKwxytczJirYCW22BcFOwA/cqUxojcdQu6gQT1asShnDXTyoTcTdtBF/ l1zkWbSmoGpYu1JljDLmTpn4LiFfgsQ=
X-Google-Smtp-Source: AH8x225g/MDNxXGckw39SYIwSCkBXaX17O5070WRQ3uJb2RsZdg+rcpuo5FXoPiajbyaLSWyk7ofNQ==
X-Received: by 10.202.212.203 with SMTP id l194mr1651813oig.164.1517011325363; Fri, 26 Jan 2018 16:02:05 -0800 (PST)
Received: from ?IPv6:2605:6000:e94d:3900:612f:eb3b:5b89:72af? ([2605:6000:e94d:3900:612f:eb3b:5b89:72af]) by smtp.gmail.com with ESMTPSA id h16sm4661469otd.73.2018.01.26.16.02.04 for <dnsop@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jan 2018 16:02:04 -0800 (PST)
From: Ted Lemon <mellon@fugue.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_66EE915E-AB3D-472C-AF7A-6BA7E45CBEA0"
Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\))
Date: Fri, 26 Jan 2018 18:02:00 -0600
References: <CANV=THh6bOxd_UW=TuLonWzz0KyGapkGWpMiNuu54W=45gFAvg@mail.gmail.com> <20180124205620.GZ3322@mournblade.imrryr.org> <alpine.DEB.2.11.1801251558440.5022@grey.csi.cam.ac.uk> <CAJE_bqf+GqYGFRAsXbBPymQLXoJRs_AxvVHhtcMJF1LEvTL7sQ@mail.gmail.com> <77B805CC-E8FE-4B09-A261-C5CB13707EE4@dotat.at> <CAJE_bqdCZ_vj2nncvEVpYunVmE=xxAiXqrzhu8BGxnSsLjy+3Q@mail.gmail.com> <37A9F504-A8BE-4F47-AAE9-AF2458206F03@fugue.com> <20180126201613.GK3322@mournblade.imrryr.org> <B17E9259-BC28-4861-8102-B716685C75B3@fugue.com> <20180126230343.GL3322@mournblade.imrryr.org>
To: dnsop@ietf.org
In-Reply-To: <20180126230343.GL3322@mournblade.imrryr.org>
Message-Id: <D567DE88-9B92-4E82-97AD-743C36D26B70@fugue.com>
X-Mailer: Apple Mail (2.3445.5.20)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/GD_OXhtO-iFOEI1w5h1fFC-St1w>
Subject: Re: [DNSOP] WGLC for draft-ietf-dnsop-let-localhost-be-localhost-02
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Jan 2018 00:02:09 -0000

On Jan 26, 2018, at 5:03 PM, Viktor Dukhovni <ietf-dane@dukhovni.org> wrote:
> Multiple participants in this discussion have pointed out that such
> queries are rare.

Sigh.   Yes, such queries are rare.   The things that make those queries are the things that are vulnerable.   That such queries are rare is further evidence that responding to them when they come with NXDOMAIN is a safe choice to make.

> And, we must not forget that, absent local
> overrides, the iterative resolvers are *already* returning NXDomain,
> because the authoritative data from the root returns NXDomain.

That's a good point, of course.   However, I think we heard in the discussion prior to adoption that this is not in fact the default behavior for all recursive resolvers.

> Yes.  Keep the MUST for the platform library.  Downgrade the MUST for
> the iterative resolver to a SHOULD (absent local data), and either
> exempt DNSSEC or explain why "bogus" local NXDomain is better than
> a cacheable validated NXDomain from the roots.

How about if it says "SHOULD" but explains what the exception is, and strongly advocates the position that only when that exception is applicable should this be treated as optional behavior.

I would say that the exception is "when answering queries for the local host" or something, but I don't understand the intricacies of your use case sufficiently to know what would satisfy it.   I thought I understood your use case to be the case where the stub resolver is on the same host as the recursive resolver, but I may have misunderstood.

The case I'm trying to exclude is the one where the recursive resolver is answering queries for hosts other than, well, localhost.