Re: [DNSOP] Batch Multiple Query Packet

Alfred Hönes <ah@TR-Sys.de> Thu, 29 March 2012 23:11 UTC

Return-Path: <A.Hoenes@TR-Sys.de>
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 9505A21E8019 for <dnsop@ietfa.amsl.com>; Thu, 29 Mar 2012 16:11:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -98.334
X-Spam-Level:
X-Spam-Status: No, score=-98.334 tagged_above=-999 required=5 tests=[AWL=-0.185, BAYES_00=-2.599, CHARSET_FARAWAY_HEADER=3.2, HELO_EQ_DE=0.35, J_CHICKENPOX_14=0.6, MIME_8BIT_HEADER=0.3, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yqtHN6Ov-hdY for <dnsop@ietfa.amsl.com>; Thu, 29 Mar 2012 16:11:53 -0700 (PDT)
Received: from TR-Sys.de (gateway.tr-sys.de [213.178.172.147]) by ietfa.amsl.com (Postfix) with ESMTP id 99A1A21F84F6 for <dnsop@ietf.org>; Thu, 29 Mar 2012 16:11:52 -0700 (PDT)
Received: from ZEUS.TR-Sys.de by w. with ESMTP ($Revision: 1.37.109.26 $/16.3.2) id AA287162641; Fri, 30 Mar 2012 01:10:41 +0200
Received: (from ah@localhost) by z.TR-Sys.de (8.9.3 (PHNE_25183)/8.7.3) id BAA21224; Fri, 30 Mar 2012 01:10:35 +0200 (MESZ)
From: Alfred Hönes <ah@TR-Sys.de>
Message-Id: <201203292310.BAA21224@TR-Sys.de>
To: hsantos@isdg.net
Date: Fri, 30 Mar 2012 01:10:35 +0200
X-Mailer: ELM [$Revision: 1.17.214.3 $]
Mime-Version: 1.0
Content-Type: text/plain; charset="hp-roman8"
Content-Transfer-Encoding: 8bit
Cc: dnsop@ietf.org
Subject: Re: [DNSOP] Batch Multiple Query Packet
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 29 Mar 2012 23:11:54 -0000

On 27 Feb 2012 13:35:45 -0500, Hector Santos wrote:
>
> I am interesting to find information about past or possible current
> interest regarding the support of a Batch single call of multiple
> query packets.
>
> If it doesn't already exist or not considered in the past as an
> unfeasible concept, I am interest in seeing if this is something
> worth pursuing.

Below are a few comments, and pointers to references, to my past,
humble contributions to a possible solution for the issue at hands.


In response to a draft that suggested a form of A+AAAA query type,
which was submitted/refreshed for the Hiroshima IETF meeting,
draft-li-dnsext-ipv4-ipv6-02, on 09 Nov 2009 I have submitted a
"more versatile proposal" to the DNSEXT WG's list [1], which was
only one possible variant (for brevity) for a "RR Group Query"
(RRGQ) to query for a group of RRtypes with the same QNAME and
QCLASS using an EDNS option to indicate the Data RRtypes wanted.
The distinguishing idea was to build in some kind of integrity of
RRsets using feedback signaling that allows to indicate empty RRsets
("nodata" indication per RRtype); caches that do not "know" the
entire RRset of an RRtype asked for do not send a partial RRset
but indicate that the response does not answer for such RRtype.
The initially posted single variant made use of a Pseudo-RRtype
as draft-li-dnsext-ipv4-ipv6, but another potential variant of
RRGQ that uses a traditiona Data RRtype in the query section
(plus the same EDNS option to indicate the desired Data RRtypes)
has been explained later, near the end of a follow-up message [2].

Among the possible applications motivating the proposal and mentioned
in the thread were DNSBLs and mail policy records (as you mention).
This proposal has been discussed on the list during the Hiroshima
IETF timeframe (see the thread started with [1], and shortly in the
DNSEXT session in Hiroshima.
However, unfortunately I never happened to fully write up this idea
as an I-D, but Ray Bellis' dnsext-multy-qtypes draft revives it now
(with some variation in the encoding of the EDNS option).

This solution -- although not "perfect" or "optimally coded" in the
present DNS protocol (with EDNS) -- might have the potential to
find enough traction to allow relatively fast deployment, eased
by its property that it has save fallback to traditional behavior
with servers that support EDNS0.  The obstacle to fast automatic
fallback with responders that do not support EDNS0 due to the rule
in RFC 2671[bis] that such responders MUST signal FormErr to query
messages carrying an EDNS OPT RR -- unlike in the case of unknown
EDNS options (that are to be ignored) is likely to be less of a
problem now, because the increase in response sizes expected, and
corresponding normative requirements to support EDNS0, for IPv6 and
DNSSEC, has lead to now widespread support for EDNS0.

So stakeholders interested in a tractable solution who do not want
to wait for some future "dns-ng" allowing this (and much more) in
some optimal way are invited to chime in and follow up in the
discussion of draft-bellis-dnsext-multi-qtypes on the dnsext list!


References to ancient messages on RRGQ -- once sent to the late
namedroppers list, and now archived in the dnsext list archive:
[1] http://www.ietf.org/mail-archive/web/dnsext/current/msg05291.html
[2] http://www.ietf.org/mail-archive/web/dnsext/current/msg05305.html
Please follow the entire thread to evaluate the raised point-of-views.

Recent messages on multi-qtypes :
    http://www.ietf.org/mail-archive/web/dnsext/current/msg12398.html
    http://www.ietf.org/mail-archive/web/dnsext/current/msg12403.html


Kind regards,
  Alfred Hönes.

-- 

+------------------------+--------------------------------------------+
| TR-Sys Alfred Hoenes   |  Alfred Hoenes   Dipl.-Math., Dipl.-Phys.  |
| Gerlinger Strasse 12   |  Phone: (+49)7156/9635-0, Fax: -18         |
| D-71254  Ditzingen     |  E-Mail:  ah@TR-Sys.de                     |
+------------------------+--------------------------------------------+