Re: [Add] TTL of resolver.arpa

Eric Orth <ericorth@google.com> Wed, 22 December 2021 16:55 UTC

Return-Path: <ericorth@google.com>
X-Original-To: add@ietfa.amsl.com
Delivered-To: add@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CD4A33A0A0A for <add@ietfa.amsl.com>; Wed, 22 Dec 2021 08:55:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.599
X-Spam-Level:
X-Spam-Status: No, score=-17.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 y0dHmDgNl1tg for <add@ietfa.amsl.com>; Wed, 22 Dec 2021 08:54:57 -0800 (PST)
Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) (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 1C63D3A09FE for <add@ietf.org>; Wed, 22 Dec 2021 08:54:57 -0800 (PST)
Received: by mail-yb1-xb2e.google.com with SMTP id f9so8454824ybq.10 for <add@ietf.org>; Wed, 22 Dec 2021 08:54:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cBfEAKQvCxbQ3C7AJNJbnaKLMnXSswnL1QgflCFr1+Q=; b=Vrpe6jmtzxTXPDyXtJCoSJeTjvSZhN10EvPt1Dye3j95L31Qrn87NJKURBPFbqehSp 48udTn5SWI2Vvor5zp3LxSHXYCcvaH9MamePWfA15RqZZSQlye3Yr8W0WD5MrbWI4541 C1K5+qQzDOOqCq+NKrCjk7HYW3QVmmaK48xORIL/e+kBOO0+cbug6KjtSlV4HrE1VnX3 Z3DCdc9eBVoekYpzAaRE2gaEm0UQ1wTMi/e9uCDOmiyzAKYljjda/EMSNLUpOwwmsbX5 ULUErOhg0R+dE77E+okgiKfzKzcNrWkLqUN00Mb/SUKPt3BPJR07DcYZK6RikGu485t6 sdFg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cBfEAKQvCxbQ3C7AJNJbnaKLMnXSswnL1QgflCFr1+Q=; b=MQuesYYtcyZU8IBuBCDdE0Nt3KseRqFU+mXNvOVq1rSQg/DUi04H8O8gDSoxqf3hmQ COI0Fe8qS1Upl/zUwxEeQM+Xnsc3se5ezJF2RVlm1xSrDe9iGcNGvIH4umi9QHt1kWsq L6IX/Hp5FGBwwTrEel0Tj5m/5TO/WwnSTpH+fCzj7uAidvPKiKvqWyJqiRu8fMomWF9U rR2KOQl4FISQmwR0rQrBPmY5oqKUQ5iWGhUeBLyOJfRmBAueDDQatd2JybGmCO8z6SaN iZzfbd5blptBlsnxkJ0YrWwWJqQqP3lPZtUNaBB0XldtB+BdsfJkN9ZPAdwU5v4Qsu/R reTg==
X-Gm-Message-State: AOAM533WxH5afXg0nVjZBGQHXvkDffr6XlslhAUzInQXCzob6p2cgVb0 +lQ8ho2dJm+tHLEzpG+GrGPTVUYEWYliSGzV/hyGg8dRSMI=
X-Google-Smtp-Source: ABdhPJzZAwuwZN2Nk2EXHcLVJjxg6939TZNnjtVctLYm2ovv8lb15k2/U29zoLI6kQ9M2nvLh8UZ5oSOi1afDU5n1KY=
X-Received: by 2002:a25:5582:: with SMTP id j124mr5631791ybb.366.1640192095970; Wed, 22 Dec 2021 08:54:55 -0800 (PST)
MIME-Version: 1.0
References: <CADZyTkmMKJ=shoWZxEUeyt8vNAs6SWHOr9BGkr-+63=Gcv934w@mail.gmail.com>
In-Reply-To: <CADZyTkmMKJ=shoWZxEUeyt8vNAs6SWHOr9BGkr-+63=Gcv934w@mail.gmail.com>
From: Eric Orth <ericorth@google.com>
Date: Wed, 22 Dec 2021 11:54:45 -0500
Message-ID: <CAMOjQcG7uHxzMFyGuH8RLY1i6aJ2gjWZWv3L7VQms_gDFJ6BqQ@mail.gmail.com>
To: Daniel Migault <mglt.ietf@gmail.com>
Cc: ADD Mailing list <add@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000003ecb6105d3befbb9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/add/Dp1s3JgcmtFIuDGaLGJ3GFE5r0s>
Subject: Re: [Add] TTL of resolver.arpa
X-BeenThere: add@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Applications Doing DNS <add.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/add>, <mailto:add-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/add/>
List-Post: <mailto:add@ietf.org>
List-Help: <mailto:add-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/add>, <mailto:add-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Dec 2021 16:55:02 -0000

I think there are some valid concerns here around clients mistakenly
applying resolver.arpa info when changing to different networks/resolvers.

But I think mandating some never-cache policy is way too strong and not the
right solution.  Many clients already do stuff like clear the cache on
network change or DNS config change, so such a policy is unnecessary for
them.  And when the network and resolver haven't changed, it is still
undesirable for the client to poll that resolver more frequently than the
TTL, so using their cache implementations is the obvious way for clients to
implement this desired behavior.

On Wed, Dec 22, 2021 at 9:45 AM Daniel Migault <mglt.ietf@gmail.com> wrote:

> Hi,
>
> I am wondering if some additional text is not needed regarding the TTL of
> the _dns.resolver.arpa RRset. As resolver.arpa is not owned by anyone, this
> information should not be cached. If one device is changing network for
> example, we should make sure the mobile will not consider the resolver.arpa
> response performed on a previous network. Similarly, when a dns client
> performs simultaneous discovery on different resolvers. Should we
> recommend/mandate the DNS client to set this TTL to 0 and not cache the
> response ?
>
> _dns.resolver.arpa  7200  IN SVCB 1 doh.example.net (
>         alpn=h2 dohpath=/dns-query{?dns} )
>
> Yours,
> Daniel
> --
> Daniel Migault
> Ericsson
> --
> Add mailing list
> Add@ietf.org
> https://www.ietf.org/mailman/listinfo/add
>