[dnsoverhttp] Caching model
Martin Thomson <martin.thomson@gmail.com> Mon, 30 October 2017 01:36 UTC
Return-Path: <martin.thomson@gmail.com>
X-Original-To: dnsoverhttp@ietfa.amsl.com
Delivered-To: dnsoverhttp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 08712139435 for <dnsoverhttp@ietfa.amsl.com>; Sun, 29 Oct 2017 18:36:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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 sO_Nel9F9j1M for <dnsoverhttp@ietfa.amsl.com>; Sun, 29 Oct 2017 18:36:55 -0700 (PDT)
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 43F9813954B for <dnsoverhttp@ietf.org>; Sun, 29 Oct 2017 18:36:55 -0700 (PDT)
Received: by mail-oi0-x230.google.com with SMTP id q4so19494712oic.7 for <dnsoverhttp@ietf.org>; Sun, 29 Oct 2017 18:36:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Bb9CnfdGONPqlerXNxJqyI6xl4GKz4YT8kDvhjwAt9U=; b=LzPvXjtrIleSR6HPDqm7Cq1oUZO7xbwObAVKcCHi6Aro4VEqJre99t1vO+nsuQPMe3 oJc3wElo7MhBQXIOEjjZN556VU1ZFUCuV9dYH2iUpAxWUtej7+mxdBmmpVzWwcCNC4ch C19CKuhdWoCT9E8ZcrHq89fTUakEA5h8tqVH+XhQ49ZLrXs26hPchBwwFr+W7/unKwKe ZVUCf0/e0amyqg8m3goxGYz0D3z88xZM56hRmt9uTPH/ir7q8u3Brb7GimS16BOQHrqy 6e9eM7+WjOyhztYM7hGUiQWqMnCjtG01GVA8nImRoHHsxej+WOq9KBbBLIXkn/OqxByU P+Ew==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Bb9CnfdGONPqlerXNxJqyI6xl4GKz4YT8kDvhjwAt9U=; b=R8gAWrkpo47c2BbHMG6ErAY6VUGS0gVdqBvD3Ivp82z9dMud+huF37JYzHug9gA623 oro7jithYiK3U0ECULjME+PCLt2Jj5FFu735XbatUm0151Kg//YifrXawkwbBKJDopMc houFVbK3+4xKFAZWlf4CYU4v+Kzvn6vtURdlU5JZSEeySRBaOn9D+YLX5Uruf1kZTMu0 Rbn3+Qi/ClZdIo0QghGFkfWtcgkofHjMESctt4qE9aioAl7Om1rv79jn6Ep7z9sElM+P +Ttxn8KcjTrjLo1C2UGXpUyey0Wr8bWftg7DkMorFe17NdnZiyW5ga8nXZQdYV98ksv4 sySQ==
X-Gm-Message-State: AMCzsaWM4tbDkAtUjzuD4pwDKGFfR9FSTQ7LjQxULyY5j0lKJqruS1vN d0zDSWISr5zSsCFzqG0uqQV2Sb6hl8BosJJshVs/9Uoe
X-Google-Smtp-Source: ABhQp+QmWJcLnRw0wb9DSh2PwfblfMedf3pOw8rVy9uESKWdTnztwRr38zk3pvHiDS+k5S0PcveqLjmJql+M9b4wKNI=
X-Received: by 10.202.213.209 with SMTP id m200mr3559643oig.177.1509327414403; Sun, 29 Oct 2017 18:36:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.157.72.178 with HTTP; Sun, 29 Oct 2017 18:36:53 -0700 (PDT)
From: Martin Thomson <martin.thomson@gmail.com>
Date: Mon, 30 Oct 2017 12:36:53 +1100
Message-ID: <CABkgnnU_5Q6BOxf+HzpuCSkb8OG5i0sgqyF9UEr9VRyDvd5s7w@mail.gmail.com>
To: dnsoverhttp@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsoverhttp/l6SflyWL7guKQaX1WHZgYoalnIg>
Subject: [dnsoverhttp] Caching model
X-BeenThere: dnsoverhttp@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Discussion of DNS over HTTP <dnsoverhttp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsoverhttp>, <mailto:dnsoverhttp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsoverhttp/>
List-Post: <mailto:dnsoverhttp@ietf.org>
List-Help: <mailto:dnsoverhttp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsoverhttp>, <mailto:dnsoverhttp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Oct 2017 01:36:57 -0000
See https://github.com/paulehoffman/draft-ietf-doh-dns-over-https/issues/14 and several others. My request is that we agree on what the model is, then we can talk about the properties we can extract from that. My understanding is that the DNS client would consult its local stack and that stack would use HTTP to talk to a DNS API server. In that model, there are at least three caches in play: the local DNS resolver cache, the HTTP cache and the DNS API server cache. If those caches are ordered as I describe, and the two DNS caches are driven based on the TTL, I'm struggling to find a role for the HTTP cache. There are things that HTTP can do with caching that would be nice, but I'm not seeing any way to really access HTTP caching features in that architecture. It's a little unfortunate, but in that architecture it would probably be better to disable HTTP caching entirely. HTTP caching has a bunch of features that are more flexible, but if that caching is wedged between two relatively inflexible caches, it won't have any opportunity to add value.
- [dnsoverhttp] Caching model Martin Thomson
- Re: [dnsoverhttp] Caching model Ian Swett
- Re: [dnsoverhttp] [Ext] Caching model Paul Hoffman
- Re: [dnsoverhttp] [Ext] Caching model Martin Thomson
- Re: [dnsoverhttp] Caching model Mark Nottingham
- Re: [dnsoverhttp] [Ext] Caching model Paul Hoffman
- Re: [dnsoverhttp] [Ext] Caching model Martin Thomson
- Re: [dnsoverhttp] [Ext] Caching model Ben Schwartz
- Re: [dnsoverhttp] [Ext] Caching model Mark Nottingham
- Re: [dnsoverhttp] Caching model Patrick McManus
- Re: [dnsoverhttp] [Ext] Caching model Erik Kline