Re: [DNSOP] I-D Action: draft-ietf-dnsop-rrserial-01.txt

Petr Špaček <pspacek@isc.org> Thu, 07 April 2022 06:54 UTC

Return-Path: <pspacek@isc.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 9FDDA3A10B2 for <dnsop@ietfa.amsl.com>; Wed, 6 Apr 2022 23:54:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.108
X-Spam-Level:
X-Spam-Status: No, score=-2.108 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isc.org header.b=OGhky9Va; dkim=pass (1024-bit key) header.d=isc.org header.b=Jvqp7SaH
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 XoVQ2vRhP9Mw for <dnsop@ietfa.amsl.com>; Wed, 6 Apr 2022 23:54:36 -0700 (PDT)
Received: from mx.pao1.isc.org (mx.pao1.isc.org [149.20.64.53]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8F9393A10E9 for <dnsop@ietf.org>; Wed, 6 Apr 2022 23:54:35 -0700 (PDT)
Received: from zimbrang.isc.org (zimbrang.isc.org [149.20.1.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx.pao1.isc.org (Postfix) with ESMTPS id 9E16F3AB006 for <dnsop@ietf.org>; Thu, 7 Apr 2022 06:54:34 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.10.3 mx.pao1.isc.org 9E16F3AB006
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=isc.org; s=ostpay; t=1649314474; bh=asYd57xVL/tgf0AY4y7pTqmrMLlkjIVpjXHyWrOfGBA=; h=Date:To:References:From:Subject:In-Reply-To; b=OGhky9VaSFfiDwOrmTCLCMEUxkgdfhiuMRbToJXgmVcqNJ0ZZ9pQk7jGOq0i6ueXj 8e6LsIXQx7yFekH6cUbud3AKApn/4lXb7fMJN+6PGES1NS8O2pHYzPlUH8DHsTxZpl XNJ5YhGlkc5b2t/L3AZWrKIPxf7WjENehT2NYD5Y=
Received: from zimbrang.isc.org (localhost.localdomain [127.0.0.1]) by zimbrang.isc.org (Postfix) with ESMTPS id 87874982AAE for <dnsop@ietf.org>; Thu, 7 Apr 2022 06:54:34 +0000 (UTC)
Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbrang.isc.org (Postfix) with ESMTP id 55D45982AB0 for <dnsop@ietf.org>; Thu, 7 Apr 2022 06:54:34 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.10.3 zimbrang.isc.org 55D45982AB0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isc.org; s=05DFB016-56A2-11EB-AEC0-15368D323330; t=1649314474; bh=MzHOK2RuqPven/PFO8LY8ZRUhPjLNazYowXSue6CQuE=; h=Message-ID:Date:MIME-Version:To:From; b=Jvqp7SaHGqFhHOTHx25cRrd085eBLhOMgwnrumKuRgaeyrOQ3QvwvQTyy+0vPVTcw sCbjplfo5pADlrxB8E+cKkgThMHlQu2YLJUOiec2eF+hNytD9INkwbdIWBRV71/ngw S5T02hCcgLmaJeMH7xAnq+t9GbGq+zDkJy8fTfyA=
Received: from zimbrang.isc.org ([127.0.0.1]) by localhost (zimbrang.isc.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id k5CX3Vp9Wa56 for <dnsop@ietf.org>; Thu, 7 Apr 2022 06:54:34 +0000 (UTC)
Received: from [192.168.0.157] (ip-86-49-254-124.net.upcbroadband.cz [86.49.254.124]) by zimbrang.isc.org (Postfix) with ESMTPSA id D3BD2982AAE for <dnsop@ietf.org>; Thu, 7 Apr 2022 06:54:33 +0000 (UTC)
Message-ID: <2d437493-7f88-5a81-22a9-1bd05081f70a@isc.org>
Date: Thu, 07 Apr 2022 08:54:31 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0
Content-Language: en-US
To: dnsop@ietf.org
References: <164925410133.8707.7855283268813227906@ietfa.amsl.com> <20220406142614.GD94415@pepino>
From: Petr Špaček <pspacek@isc.org>
In-Reply-To: <20220406142614.GD94415@pepino>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/aGnhXxgg-3Q-LsM8cJ6BZa2946Q>
Subject: Re: [DNSOP] I-D Action: draft-ietf-dnsop-rrserial-01.txt
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 07 Apr 2022 06:54:42 -0000

Hello,

I think this is useful in a very limited way. The reason of this 
limitation is already stated in section 1:

 > The RRSERIAL EDNS extension doesn't offer much relevance for zones 
served by an Authoritative server that don't use the SOA serial 
versioning as a meaning to its content. There are cases where 
nameservers use different backends for its data sources, like relational 
databases or by using a different off-DNS synchronicity. In such cases 
this extension has no benefit or utility to use in debugging or analysis 
of a response.

 From my perspective, these systems are not rare, quite the contrary:
- PowerDNS with a database backend
- Multi-master flavors of BIND
- Various "cloud" auths with dynamic backends
- Windows DNS with Active Directory (I think)

To handle the traditional SERIAL together with more "modern" backends I 
propose simple modification to extend this draft to handle both.

Say that wire format could look like:

<length field, 2 octets, unsigned int>
<backend specific data with length specific above>

This allows the auth server to either send (length=2,data=4) with SOA 
serial as usual, or return any other identification suitable for a given 
backend.

If we _really_ wanted we could add also type field to distinguish 
"traditional" SERIAL vs. backend-specific blob, but I think it is not 
really needed.


To me this is very simple addition which increases value of the proposed 
protocol.

Opinions?

Petr Špaček





On 06. 04. 22 16:26, Hugo Salgado wrote:
> Dear DNSOP.
> The authors have just reactivated the draft after its expiration, with
> no changes. After some time waiting for other more urgent documents, we
> believe that we can now reactivate it in the WG and ask for your
> opinions. The last comments and suggestion were acknowledged, and we
> think we could be close to Last Call.
> 
> As this document indicates where I have tried to keep track of work
> (https://github.com/huguei/rrserial) there's a new implementation in
> NSD and a couple of clients (dig and perl Net::DNS).
> 
> Currently we're working in an infrastructure for a public testbed that
> we'll make available for implementers.
> 
> Thanks,
> 
> Hugo
> 
> 
> On 07:08 06/04, internet-drafts@ietf.org wrote:
>>
>> A New Internet-Draft is available from the on-line Internet-Drafts directories.
>> This draft is a work item of the Domain Name System Operations WG of the IETF.
>>
>>          Title           : The "RRSERIAL" EDNS option for the SOA serial of a RR's zone
>>          Authors         : Hugo Salgado
>>                            Mauricio Vergara Ereche
>> 	Filename        : draft-ietf-dnsop-rrserial-01.txt
>> 	Pages           : 6
>> 	Date            : 2022-04-06
>>
>> Abstract:
>>     The "RRSERIAL" EDNS option allows a DNS querier to request a DNS
>>     authoritative server to add an EDNS option in the answer of such
>>     query with the SOA serial number field of the origin zone which
>>     contains the answered Resource Record.
>>
>>     This "RRSERIAL" data allows to debug and diagnose problems by helping
>>     to recognize the data source of an answer in an atomic single query,
>>     by associating the response with a respective zone version.
>>
>>
>> The IETF datatracker status page for this draft is:
>> https://datatracker.ietf.org/doc/draft-ietf-dnsop-rrserial/
>>
>> There is also an HTML version available at:
>> https://www.ietf.org/archive/id/draft-ietf-dnsop-rrserial-01.html
>>
>> A diff from the previous version is available at:
>> https://www.ietf.org/rfcdiff?url2=draft-ietf-dnsop-rrserial-01
>>
>>
>> Internet-Drafts are also available by rsync at rsync.ietf.org::internet-drafts