Re: [DNSOP] Clarifying referrals (#35)

Tony Finch <dot@dotat.at> Wed, 29 November 2017 23:34 UTC

Return-Path: <dot@dotat.at>
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 CAFE312700F for <dnsop@ietfa.amsl.com>; Wed, 29 Nov 2017 15:34:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.62
X-Spam-Level:
X-Spam-Status: No, score=-2.62 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=messagingengine.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 x9i4Hejx-czU for <dnsop@ietfa.amsl.com>; Wed, 29 Nov 2017 15:34:16 -0800 (PST)
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 286431201FA for <dnsop@ietf.org>; Wed, 29 Nov 2017 15:34:16 -0800 (PST)
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id E2413209AE; Wed, 29 Nov 2017 18:34:14 -0500 (EST)
Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Wed, 29 Nov 2017 18:34:14 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=P5brRI 1HJRhG0+P4RdVF8VXx22OAcTHtE41+emth/gw=; b=FvTk1SsSJ0kQP+/Ah19q4z DNZIcXi7r9ffWVFikAOqliEeF6SomcJNfsS6JCd5AyjOKXumsqM4IAlk7II1y9b8 Ix3G781fji1he7GuYHVCZXHqe/TKffMAsrSiOMnBawFWLNaX8qTID5VsUXjUMoho JzLQPbdD3oIQQlld0wuW47XRDe0nfN5AEfSMmNJpoCl6sWo0mAIdKfxUBw9L2EYa /ZxeNwC9P+5M7OjRBrpxsxOyahTFIgLJ+X/Lo8ejl13+dklHEe44iuZ/Px1QDrNR tBw0RTc557jh5uU5FO50CK9a+wfjiuZ0ZgMP8AP5pdntsCktemNdEAJi9IYp9LKQ ==
X-ME-Sender: <xms:9kMfWs93fRLPQVMUTzd3j_poHCXkcAJzQl4fyDy61p3Lq4EDRBzaxw>
Received: from [192.168.1.128] (unknown [195.147.34.210]) by mail.messagingengine.com (Postfix) with ESMTPA id 9241E243F9; Wed, 29 Nov 2017 18:34:14 -0500 (EST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (1.0)
From: Tony Finch <dot@dotat.at>
X-Mailer: iPhone Mail (15B202)
In-Reply-To: <8CA9C8EB-F117-4797-810F-DEF047F110BB@dotat.at>
Date: Wed, 29 Nov 2017 23:34:12 +0000
Cc: IETF DNSOP WG <dnsop@ietf.org>, Andrew Sullivan <ajs@anvilwalrusden.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <F0D18DF2-1037-4BBA-B111-4D089E5E445F@dotat.at>
References: <20171112075445.tf2ut5dxzhhnqe7l@mx4.yitter.info> <20171128195025.ifzwsjk42wz7ard6@mx4.yitter.info> <FAA4A6D6-1454-4705-B87F-1FB96CC50658@isc.org> <20171129014436.sx546yjwvobepnyp@mx4.yitter.info> <8E36C30A-A7BC-4908-BE06-6D2B8B469006@isc.org> <20171129015303.kthpahbi6w6m645d@mx4.yitter.info> <AE976F3F-0270-4484-BCE4-FE0E9BF9D03E@isc.org> <20171129020347.b3zq3rcwsubmrlhh@mx4.yitter.info> <476FF2A7-DB80-40B6-917A-2675497DD6FC@isc.org> <20171129121706.4zh4kgx3wmtucmpc@mx4.yitter.info> <CAKW6Ri4T1h0n2r-Zp5xUUvW4n+u4oFPww2SDRnqwQMBF_wjY0g@mail.gmail.com> <8CA9C8EB-F117-4797-810F-DEF047F110BB@dotat.at>
To: Dick Franks <rwfranks@acm.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/AYh5w8exXQyIOJJ2QphEoEfoInU>
Subject: Re: [DNSOP] Clarifying referrals (#35)
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: Wed, 29 Nov 2017 23:34:18 -0000

> On 29 Nov 2017, at 23:13, Tony Finch <dot@dotat.at> wrote:
> ... you get an implicit referral from the cache (which can be upwards).

I just realised this might be a useful point.

Normal (downward) referrals come from authoritative data, and indicate the server is saying to the client, you need to ask here next; on the other hand these special kinds of referrals come from the cache. An implicit referral comes in a full-fat RD=1 RA=1 answer, and indicates the server is telling the client where the answer came from; if RD=0 or RA=0 you can get an upward referral, which indicates the server is telling the client where the server would ask next in order to fill its cache.

Normal (downward) referrals are instructions to iterative resolvers; implicit referrals and upward referrals are supposed to be cache-filling gossip (in the distributed systems sense of gossip protocols).

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at