Re: [DNSOP] NXDOMAIN and RFC 8020

"Murray S. Kucherawy" <superuser@gmail.com> Tue, 06 April 2021 22:39 UTC

Return-Path: <superuser@gmail.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 D2FCB3A33FD for <dnsop@ietfa.amsl.com>; Tue, 6 Apr 2021 15:39:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 wtmwNHRaFU46 for <dnsop@ietfa.amsl.com>; Tue, 6 Apr 2021 15:39:44 -0700 (PDT)
Received: from mail-ua1-x931.google.com (mail-ua1-x931.google.com [IPv6:2607:f8b0:4864:20::931]) (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 AD5A53A33FF for <dnsop@ietf.org>; Tue, 6 Apr 2021 15:39:44 -0700 (PDT)
Received: by mail-ua1-x931.google.com with SMTP id b4so2039794uap.8 for <dnsop@ietf.org>; Tue, 06 Apr 2021 15:39:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7y7xgv+zfvm3iJx9PzKsq3J++uVn96/VrJc7oTFzFGU=; b=PW9KA4s55MVlNJGDJcjcaljvZ8JtvQbR+wjYx1j4vM4v7u6zlZXR0z7PVDPpwmuz5S 3PsGwZin0gwqRmdH+aRryyGSmQpg3HzpokadVRwQWC69RWNJRhEmEu5lZMKhoTfsfegr JVgQiKW25vgfMQQdx1C6fxSckWe+0YiMzIaxtpEboIgd0XCK1a/v3uFuUadSlBNqWnwJ NJ0Zo3NEWYWX7W72E561khfKsVq3ZDSTKjoXefJE7ClNovTuHkVj1aTEPnSk1N01ePwJ IiD9E5Tuv436NIV2XaMhcHwCqDHxV7N8TopTYDx2uO0TE/QAGZrfADXd5B7BQM4JqcSb gwGw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7y7xgv+zfvm3iJx9PzKsq3J++uVn96/VrJc7oTFzFGU=; b=YELgRLmAQPgosBbmHDkxE9oOYlIxgKLLWuGzsHTs0dGZuwrC1rUCDVz33aB8yjtkU/ 9YZb5AaDrU7lg7YQxlq/nWT/RI2TJ83LwrXFs5OedWTHB9KBkONBG2iGiVGCh3vufeop Nkah/lMZbqS/39TCyPVAolD+O4U2iuFF/Ixc7WH0aZkIGKpGY/WZtThM8MBTBqrukvQx lA1vDyGbIfaui1mVFO0nW2m9lPPK/VMjJzihHd5INWEPGFbFIAs9p09E1EeDEz/6lHGw xqa4Ib6cjqiyIyKpJBbvUVt7oCHvVTnreuAqfnvViglll+hra8GWVQ3N8r7AUKeZ9Fa1 E14Q==
X-Gm-Message-State: AOAM5303021JZN/J81BjCxY76cuzrPqprx9MwHVOKXPss+nr17G2Pddo 30kCA10zn6UbM7BqNMlqLOfDzKwf3/cr0NrbIVHgHOIA
X-Google-Smtp-Source: ABdhPJyCrMjHLuUP9WLATu1bVaQ1tDdMxXoEhqhPGoWe1G+HECat4NXAVI2GUjpaS8G4/qd6Pnl31HKkPRaVwcNAKkQ=
X-Received: by 2002:ab0:2819:: with SMTP id w25mr329885uap.76.1617748783029; Tue, 06 Apr 2021 15:39:43 -0700 (PDT)
MIME-Version: 1.0
References: <CAL0qLwai81BFYfG=u-Z+sVgE8aBvU1gGgOjO_vYH_aLP9GsnxA@mail.gmail.com> <20210406214110.DFA40721DA12@ary.qy>
In-Reply-To: <20210406214110.DFA40721DA12@ary.qy>
From: "Murray S. Kucherawy" <superuser@gmail.com>
Date: Tue, 06 Apr 2021 15:39:31 -0700
Message-ID: <CAL0qLwbY22_oH163Ob+DKcojDzmb+ytKUQKr_Z2_9+5x7_dwuA@mail.gmail.com>
To: John Levine <johnl@taugh.com>
Cc: "dnsop@ietf.org WG" <dnsop@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000008c628905bf557d34"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/GEqzdLL1VVjkn8QY0gQKCwE8duo>
Subject: Re: [DNSOP] NXDOMAIN and RFC 8020
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 06 Apr 2021 22:39:50 -0000

On Tue, Apr 6, 2021 at 2:41 PM John Levine <johnl@taugh.com> wrote:

> In this application, no, because it's not doing a strict tree walk:
>
> _dmarc.newjersey.sales.bigcorp.wtf
> _dmarc.sales.bigcorp.wtf
> _dmarc.bigcorp.wtf
>
> The _dmarc tag means that none of the names is an ancestor of any of
> the others. It could also look at, e.g., sales.bigcorp.wtf and see if
> it has an NXDOMAIN and prune names below that, but I don't think that
> approach is likely to win overall.


Sure, but if I query "_dmarc.newjersey.sales.bigcorp.wtf" and I get back an
NXDOMAIN for "sales.bigcorp.wtf", I can eliminate at least one query,
because I know right away that the second one in your list isn't there
either.  Extend that out to a name with a dozen or more labels in it and
you're getting somewhere.

-MSK