Re: [DNSOP] Terminology issue #8: context

"Paul Hoffman" <paul.hoffman@vpnc.org> Sun, 29 January 2017 22:32 UTC

Return-Path: <paul.hoffman@vpnc.org>
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 CB1BB1296B8 for <dnsop@ietfa.amsl.com>; Sun, 29 Jan 2017 14:32:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
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 lRUSG702pkMW for <dnsop@ietfa.amsl.com>; Sun, 29 Jan 2017 14:32:29 -0800 (PST)
Received: from mail.proper.com (Opus1.Proper.COM [207.182.41.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6D38B1296B2 for <dnsop@ietf.org>; Sun, 29 Jan 2017 14:32:29 -0800 (PST)
Received: from [10.32.60.26] (142-254-101-176.dsl.dynamic.fusionbroadband.com [142.254.101.176]) (authenticated bits=0) by mail.proper.com (8.15.2/8.14.9) with ESMTPSA id v0TMVLQA091505 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 29 Jan 2017 15:31:22 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: mail.proper.com: Host 142-254-101-176.dsl.dynamic.fusionbroadband.com [142.254.101.176] claimed to be [10.32.60.26]
From: Paul Hoffman <paul.hoffman@vpnc.org>
To: Ralph Droms <rdroms.ietf@gmail.com>
Date: Sun, 29 Jan 2017 14:32:26 -0800
Message-ID: <36CBF217-3514-4E1A-A7AA-5C2897247543@vpnc.org>
In-Reply-To: <C6938B18-7CF0-4CB3-9AFE-915E74388252@gmail.com>
References: <0C46C00E-B040-4D49-8032-424187491C7B@vpnc.org> <C6938B18-7CF0-4CB3-9AFE-915E74388252@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; format="flowed"
X-Mailer: MailMate (1.9.6r5319)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/n5e6UoVnLmn3kv8KUVGYYMkh3oI>
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: Sun, 29 Jan 2017 22:32:31 -0000

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.)

> 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.

> 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.

--Paul Hoffman