[DNSOP] Re: Deployment tests for "probe.resolver.arpa"

Michael De Roover <ietf@nixmagic.com> Sat, 31 May 2025 00:30 UTC

Return-Path: <ietf@nixmagic.com>
X-Original-To: dnsop@mail2.ietf.org
Delivered-To: dnsop@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 7D42A2F068A9 for <dnsop@mail2.ietf.org>; Fri, 30 May 2025 17:30:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0ZgXJvR87QSP for <dnsop@mail2.ietf.org>; Fri, 30 May 2025 17:30:38 -0700 (PDT)
Received: from nixmagic.com (e1.nixmagic.com [116.203.235.171]) by mail2.ietf.org (Postfix) with ESMTP id 36DBA2F068A4 for <dnsop@ietf.org>; Fri, 30 May 2025 17:30:38 -0700 (PDT)
Received: from workstation.vm.ideapad.lan (dhcp13.lan [192.168.10.213]) by nixmagic.com (Postfix) with ESMTPSA id A8F55113C14; Sat, 31 May 2025 00:30:37 +0000 (UTC)
From: Michael De Roover <ietf@nixmagic.com>
To: Paul Wouters <paul@nohats.ca>, DNSOP WG <dnsop@ietf.org>, Ben Schwartz <bemasc@meta.com>
Date: Sat, 31 May 2025 02:30:37 +0200
Message-ID: <3431146.Kuh2JICle1@workstation.vm.ideapad.lan>
Organization: workstation.vm.ideapad.lan
In-Reply-To: <SA1PR15MB4370EB72F60180A1F1B8B068B367A@SA1PR15MB4370.namprd15.prod.outlook.com>
References: <SA1PR15MB4370984AE1604666FFA470E2B39CA@SA1PR15MB4370.namprd15.prod.outlook.com> <2433620.iX9r2QQqgv@workstation.vm.ideapad.lan> <SA1PR15MB4370EB72F60180A1F1B8B068B367A@SA1PR15MB4370.namprd15.prod.outlook.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"
Message-ID-Hash: XCEDRLJQETUAB7245ASOLYMAYB3O2F2I
X-Message-ID-Hash: XCEDRLJQETUAB7245ASOLYMAYB3O2F2I
X-MailFrom: ietf@nixmagic.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-dnsop.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [DNSOP] Re: Deployment tests for "probe.resolver.arpa"
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/9TRw2F2G6IOCPR7JEUgj03K35oQ>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Owner: <mailto:dnsop-owner@ietf.org>
List-Post: <mailto:dnsop@ietf.org>
List-Subscribe: <mailto:dnsop-join@ietf.org>
List-Unsubscribe: <mailto:dnsop-leave@ietf.org>

On Wednesday, May 28, 2025 5:17:45 PM CEST Ben Schwartz wrote:
> Yes, if you get an NXDOMAIN response, you (only) know that the "immediate
> DNS server" you are talking to is alive and reachable.

Hmm, that does seem like it would be useful and sufficiently simple to do. So I 
guess then the difference would be between NXDOMAIN if accessible, and timeout 
if not? I suppose it would be faster than ping (on success), not to mention 
only one round-trip as opposed to (usually) 4 or even indefinite by default. 
And it could also serve as a secondary test to that, if ICMP is blocked for 
some reason.

> > Meanwhile if the network connectivity does work properly, and perhaps the
> > local DNS server does not have this hardcoded in an RPZ or such. So it
> > decides to forward that query to whatever it is configured to relay to.
> > Where would that query end up?
> 
> If nothing handling the query implements the resolver.arpa Locally Served
> Zone (RFC 9462), it will recurse to the .arpa nameservers, which will
> return NXDOMAIN.

It's good that it would end up at such a neutral destination, and that some of 
this is already defined in an existing RFC. I'll try to take a look at it 
shortly.

> > Should other entities on the path be configured to respond
> > to this query like the local resolver would've done otherwise?
> 
> Yes, that's already established by RFC 9462.

> > What does that
> > say about connectivity? What if it's not just Starbucks or Flixbus or
> > whatever that's down, what if it's their upstream ISP being under e.g.
> > DDoS attack? What meaning does their ability to serve an ISP-local
> > request serve?
> It proves connectivity between you and the DNS server that responds.  It
> doesn't prove that this server is otherwise usable.  "Usable" isn't a
> binary value: if that server is the recursive resolver, it may be able to
> resolve some names but not others due to upstream infrastructure problems.

Fair enough. And I suppose those could then be troubleshooted separately, or 
even tested with other domain names queried from that server. But that would, 
admittedly, be out of scope here. I appreciate that you've entertained the 
question, thank you.

> > Don't get me wrong, I do like the idea of a vendor-neutral name -- even if
> > that currently means ambiguity on where those requests would be handled.
> > I'd imagine solving that to be the purpose of this here WG.
> 
> It sounds like you're imagining a "DNS traceroute" for debugging complex
> failures.  That's something that has been discussed many times, but it's a
> much bigger challenge.  This draft is more like a simple "DNS ping".

Mhm, it does. And for that, tools like traceroute and MTR would be better 
suited. Having something that can just ping a DNS server using its own 
protocol meanwhile, I can see the appeal of that. So yeah, for what it's 
worth, here's my stamp of approval. Let's make this happen.

-- 
Met vriendelijke groet,
Michael De Roover

Mail: ietf@nixmagic.com
Web: michael.de.roover.eu.org