[DNSOP] Re: Introducing Relative Label for DNS

Ben <ben@yocto.com> Mon, 22 July 2024 09:40 UTC

Return-Path: <ben@yocto.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 67234C151069 for <dnsop@ietfa.amsl.com>; Mon, 22 Jul 2024 02:40:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=0.01] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p6mMSt3oDS-v for <dnsop@ietfa.amsl.com>; Mon, 22 Jul 2024 02:40:06 -0700 (PDT)
Received: from mx2.yocto.eu (ns2.yoctodns.com [IPv6:2a01:7c8:d004:18d::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 41595C14F726 for <dnsop@ietf.org>; Mon, 22 Jul 2024 02:40:05 -0700 (PDT)
MIME-Version: 1.0
Authentication-Results: mx2.yocto.eu; auth=pass smtp.mailfrom=ben@yocto.com
Date: Mon, 22 Jul 2024 09:40:02 +0000
From: Ben <ben@yocto.com>
To: dnsop@ietf.org
In-Reply-To: <Zp4kK5Ad39SLkJo2@w2>
References: <32cb827b0875605f8fbf47ccae1d4a9c@yocto.com> <690B1EDE-7DCF-4E33-9688-97295F9D842D@gmail.com> <0dc78e99117e369d6d617b937495d722@yocto.com> <Zp4kK5Ad39SLkJo2@w2>
Message-ID: <0c4b573f7173761dc35df5eae101d7c8@yocto.com>
X-Sender: ben@yocto.com
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Spamd-Bar: ---
Message-ID-Hash: JRY47N4N66TWRUUNKVD4EDXBDTFOHKYH
X-Message-ID-Hash: JRY47N4N66TWRUUNKVD4EDXBDTFOHKYH
X-MailFrom: ben@yocto.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-dnsop.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [DNSOP] Re: Introducing Relative Label for DNS
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/3E5kHWjG_OwhBQa8299ew2CaCpw>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Owner: <mailto:dnsop-owner@ietf.org>
List-Post: <mailto:dnsop@ietf.org>
List-Subscribe: <mailto:dnsop-join@ietf.org>
List-Unsubscribe: <mailto:dnsop-leave@ietf.org>

Hi Mukund,

Thank you for your response. My reponse is inline:

Mukund Sivaraman schreef op 2024-07-22 09:19:
> Hi Ben
> 
> I've read through the draft quickly. While I don't want you to feel
> discouraged, I have a negative opinion of this idea.
> 
> (a) This draft is a little confusing without making assumptions. It
> should clearly mention that the relative labels are for name
> representation in DNS messages. The draft also doesn't appear to 
> mention
> relative to what other item in the message. We have such a facility
> already by means of a name compression pointer.
I'm aware that my first draft was little bit confusing, compared to what 
I said in one of my emails. I'm planning to update my draft to address 
those confusions. Also, compression pointer has a totally different 
purpose in my opinion.
> 
> (b) RFC 2671 is obsolete, and you should read the introduction and
> section 5 in RFC 6891 about the practial problems in using extended
> label types (and what happened with bit-string labels). Think of the
> amount of change in deployed implementations that would be required if
> the concept you're proposing has to work.
Noted (again) :D
> 
> (c) Given the burden of DNS (and as you are an implementor, you must be
> well aware of it), it is also pertinent to ask whether the DNS
> absolutely needs a new idea to work or deliver, i.e., can we do without
> it? At best, the concept you are proposing is a minor optimization. 
> Name
> pointers already compress superdomain names in owner names and names in
> RDATA of RFC 1035 types. There's no pressing "need" to avoid the
> absolute name.
I agree it doesn't have to be needed for everyone. Also, not everything 
always has to be implemented by every software. (I mean, I would like if 
it is the case, but I don't expect all software to have all the relevant 
standards implemented.) In my opinion, this draft is clearly a provided 
way to handle relative domains if people want to, but if the software 
doesn't support it (and it is totally possible some implementers choose 
not to support it), you have to fallback on using absolute domains.
> 
> The draft mentions a "problem", but there is not really a problem. At
> most, an implementation has to perform marginally more work with no
> change in time or space complexity to generate the absolute names.
It isn't a problem for people that don't need it. I need it, so I see 
problem. It is totally optional to implement this draft, so complexity 
is only for the implementers that want to touch it. Also, I don't think 
it will be more complex than O(n), as far as I know.
> 
> I am sorry to be negative, but please consider the above items.
Don't be sorry. I respect your honest feedback. :D
> 
> On Mon, Jul 22, 2024 at 08:35:39AM +0000, Ben wrote:
>> > In general, what suffix is affixed to a relative label?  In printed zone
>> > files, there is the $ORIGIN directive, and dynamic update specifies a
>> > zone, but those are part of use cases (and are not the same, not
>> > equivalent).  I say not equivalent as dynamic update needs to know what
>> > zone to edit, the value isn’t intended the same way $ORIGIN is - in a
>> > zone file $ORIGIN may be redefined as desired.
>> I think we should not focus to much specificly on how BIND handles 
>> things
>> with $ORIGIN. I'm talking about the concept of zones in general. For
> 
> $ORIGIN is from RFC 1035, for any implementation that supports master
> files. It is not a BIND-specific item.
I thought it was BIND-specific, but because everybody loved that zone 
format, it got standardized by a section in RFC 1035.
> 
> 		Mukund
Ben
> 
> _______________________________________________
> DNSOP mailing list -- dnsop@ietf.org
> To unsubscribe send an email to dnsop-leave@ietf.org