Re: [DNSOP] Terminology issue #8: context

Ralph Droms <rdroms.ietf@gmail.com> Mon, 30 January 2017 02:47 UTC

Return-Path: <rdroms.ietf@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 8B0F0129851 for <dnsop@ietfa.amsl.com>; Sun, 29 Jan 2017 18:47:49 -0800 (PST)
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 qt6gwyiGN7ao for <dnsop@ietfa.amsl.com>; Sun, 29 Jan 2017 18:47:47 -0800 (PST)
Received: from mail-qk0-x22a.google.com (mail-qk0-x22a.google.com [IPv6:2607:f8b0:400d:c09::22a]) (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 9EB5B127ABE for <dnsop@ietf.org>; Sun, 29 Jan 2017 18:47:47 -0800 (PST)
Received: by mail-qk0-x22a.google.com with SMTP id u25so116182211qki.2 for <dnsop@ietf.org>; Sun, 29 Jan 2017 18:47:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=djR+doNFP/74moF+E2KhdT3HWbnMBsQziEn6incXso0=; b=DhSq0eAB8riuvK2RiXaE0uhjmW606Dm7IQXCAkJvEBN5Kw0QvXzMpfjR7er5ynu0zl 8X4SMYRuRiUFH0nZEOTe6mkxXwY1VIDtim1H8WSigkpnEA3IOUZjq8gYS219CgtOk5Xb K5jAFczbAYuaFG1Jf4kqaqaQUitB73KSei+6/LEkVtFrVpvFyT1EXPmCWLunfO9q3/4D klYLS3NBQAJ3omerrx2W3hwyFuWzACMk2FAM76HJrQ07KF4pcwyDu3a2TSL94Ya97o7Q 1lqSWOqciC4Ws8wiybln6Mq1cV0Lra1iMM+IYkmh22kGc+BOT5n9Vf78hA5W5BOAHt9V pXRA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=djR+doNFP/74moF+E2KhdT3HWbnMBsQziEn6incXso0=; b=a/nVFbxw1+lmXlMtzo/q09NS6xsiecxUl5SrYgvl/xbUZNzGJH3rpoITwe24dNiyGS GyJU6eeSFv/rtcD4qz7S5+LwTSoV7afIt3yhIVWxO4QXqIIoBXY1zM6iGvXvE9MbRyOm iAPxOyV2iBL069R1m9+3gjBGDZyUbNnraz1bflCnhoGPPE3bLWqyINkjIFtp5XnQiaje U/YuLrQ7p4nxVVD3GBZRIbUqkGSz89QL1Q18r3OKRs4m5Y1vciUovLoYQakGFW8uLhf/ xhWeSExpJnAIPe3gqnGidF0mlLvcnGc3cTNYjDm3Ebf9mg2cEJkyTL87A0fksy7BL36J vY8A==
X-Gm-Message-State: AIkVDXKV7WzshpIWIokDqTE+rhMKN7vZjudJli+ROjNOXUEQvIs8V7vwv6ARhaCUCbFnig==
X-Received: by 10.55.157.17 with SMTP id g17mr20827626qke.122.1485744466641; Sun, 29 Jan 2017 18:47:46 -0800 (PST)
Received: from ?IPv6:2601:18f:801:600:4145:3c3b:7a77:ba0? ([2601:18f:801:600:4145:3c3b:7a77:ba0]) by smtp.gmail.com with ESMTPSA id k19sm10935797qtf.37.2017.01.29.18.47.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Jan 2017 18:47:46 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\))
From: Ralph Droms <rdroms.ietf@gmail.com>
In-Reply-To: <36CBF217-3514-4E1A-A7AA-5C2897247543@vpnc.org>
Date: Sun, 29 Jan 2017 21:47:45 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <F4A18069-0696-4B6A-9A21-7C24D1FCD7E4@gmail.com>
References: <0C46C00E-B040-4D49-8032-424187491C7B@vpnc.org> <C6938B18-7CF0-4CB3-9AFE-915E74388252@gmail.com> <36CBF217-3514-4E1A-A7AA-5C2897247543@vpnc.org>
To: Paul Hoffman <paul.hoffman@vpnc.org>
X-Mailer: Apple Mail (2.3259)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/1gB1jcTsvHjrG6JRxoC2poJ3fJg>
Cc: dnsop <dnsop@ietf.org>
Subject: Re: [DNSOP] Terminology issue #8: context
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.17
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: Mon, 30 Jan 2017 02:47:49 -0000

> On Jan 29, 2017, at 5:32 PM, Paul Hoffman <paul.hoffman@vpnc.org> wrote:
> 
> On 29 Jan 2017, at 5:26, Ralph Droms wrote:
> 
>>> On Jan 28, 2017, at 4:22 PM, Paul Hoffman <paul.hoffman@vpnc.org> wrote:
>>> 
>>> On 28 Jan 2017, at 12:28, Ralph Droms wrote:
>>> 
>>>> I've submitted three issues to the doc repo:
>>>> 
>>>> Issue #8: https://github.com/DNSOP/draft-ietf-dnsop-terminology-bis/issues/8 <https://github.com/DNSOP/draft-ietf-dnsop-terminology-bis/issues/8>
>>>> 
>>>> Add "context" as a facet in the definition of a naming system.  A naming system needs a context in which to perform resolution of a name.  As an example, "locally served DNS zones" (see Issue #10) use the DNS resolution mechanism through a local context rather than through the global root.
>>> 
>>> Is that "context" or "possible contexts"? That is, if you consider 1034/1035 as a naming scheme, it seems like there could be "the global context" (the root servers that everyone assumed then) and "a local context" (hosts.txt) or even a mixed context ("first try to resolve in hosts.txt but then go to the root servers if you get an NXDOMAIN", or even the reverse of that). Some naming schemes might have other interesting mixes of context.
>>> 
>>> But I agree that something like this is a common, and commonly-ignored, facet that would be useful to list.
>> 
>> I see your point about "possible contexts".  I was thinking of what's needed for the evaluation of one specific name.  Another way to describe the facet is what are the possible contexts.
>> 
>> How about:
>> 
>> * Contexts that can be used for resolving a name and obtaining its associated data, and the way in which a context is specified for resolution of a name
> 
> I'm OK with that for now, but hope that, after we have a definition for "resolve", that we can remove the "and obtaining its associated data" because that's part of resolving. (Maybe. Hopefully.)

Hm.  I hadn't noticed I used the words "resolving" and "resolution" without definition (either mine or elsewhere in the doc).  I'll also admit that I'm still framing this discussion in my head in terms of my PhD work of 30 years ago, when papers by Shoch and Saltzer were a little more current and we had a lot less operational experience cluttering the conversation.

Looking back more carefully at the other facets of a naming system, how about:

* Contexts in which the protocol is applied to get data from a name, and the way in which a context is specified for that application of the protocol

> 
>> I'd like to discuss your example a little.  In my opinion, hosts.txt lookup and DNS are two different naming systems.  They happen to share the same name syntax but use different resolution methods.  The client name resolution code gets handed a name from an app, and then uses one or more naming systems - in sequence, if more than one - to resolve the name.  In your example, the client code might go to the hosts.txt naming system first and then the DNS naming system.
> 
> Client code often goes to a stub resolver (which we do define in 7719). A stub resolver might use the sequence I gave above; in fact, we know of ones that do. So a naming system might go through different mechanisms when doing resolution.

Following the pointers to RFC 1123, it seems a stub resolver only performs DNS name resolution.  Not meaning to be pedantic, in my opinion there is another type of resolution mechanism in a client, which chooses between different naming systems and contexts, one of which is the global DNS (accessed through the stub resolver).  I understand that draft-ietf-dnsop-terminology-bis is about DNS terminology, but if we agree about that mechanism for choosing among naming systems, we should consider naming and defining it in draft-ietf-dnsop-terminology-bis.

> 
>> But I'm quite naive about the details and it may be common practice to consider both hosts.txt and DNS server resolution part of the DNS naming system.
> 
> Fortunately, it is not common on the Internet with respect to the global DNS. Unfortunately, when it does happen, it causes collisions to have negative consequences when names (not just new TLDs) are added to the DNS.

Thanks for the clarification...

- Ralph

> 
> --Paul Hoffman