Re: [DNSOP] "Optimization" in draft-ietf-dnsop-qname-minimisation

Stephane Bortzmeyer <bortzmeyer@nic.fr> Thu, 08 January 2015 21:18 UTC

Return-Path: <bortzmeyer@nic.fr>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4D3901A039D for <dnsop@ietfa.amsl.com>; Thu, 8 Jan 2015 13:18:10 -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
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 VP3eluBvzkhb for <dnsop@ietfa.amsl.com>; Thu, 8 Jan 2015 13:18:08 -0800 (PST)
Received: from mail.bortzmeyer.org (aetius.bortzmeyer.org [217.70.190.232]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 866191A0383 for <dnsop@ietf.org>; Thu, 8 Jan 2015 13:18:08 -0800 (PST)
Received: by mail.bortzmeyer.org (Postfix, from userid 10) id 27D563BB44; Thu, 8 Jan 2015 22:18:07 +0100 (CET)
Received: by mail.sources.org (Postfix, from userid 1000) id D2153190726; Thu, 8 Jan 2015 22:14:28 +0100 (CET)
Date: Thu, 08 Jan 2015 22:14:28 +0100
From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: Paul Vixie <paul@redbarn.org>
Message-ID: <20150108211428.GB32326@sources.org>
References: <CAH1iCirCRpJxHWu62nCSTCmSumXfTNHi=-jt5eWXzRgspJjm9w@mail.gmail.com> <CAH1iCip7iGgM=eiaVcy3fHx+KdOJgd5Rh8zLsnDPMgoEnE-HvA@mail.gmail.com> <0BB798D6-60F4-492D-819A-EF4E0F5848B5@virtualized.org> <20150104193602.GA23109@sources.org> <4FF33728-5940-475A-AA41-A197295388AD@virtualized.org> <5D8FEE1D-1283-4F67-B5B9-E2572C3D2185@vpnc.org> <CA+nkc8CtWO1xSy7QwBXbM2U50YuK0G_D+59GdH+s4LCpcT70Ug@mail.gmail.com> <54AB9E97.3010108@sidn.nl> <alpine.LSU.2.00.1501061004130.23307@hermes-1.csi.cam.ac.uk> <54ABFD03.2040503@redbarn.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <54ABFD03.2040503@redbarn.org>
X-Transport: UUCP rules
X-Operating-System: Debian GNU/Linux 7.7
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/dnsop/ysDlXi-SAQmAweD-AroxQMSDHCM>
Cc: Tony Finch <dot@dotat.at>, Bob Harold <rharolde@umich.edu>, "dnsop@ietf.org WG" <dnsop@ietf.org>
Subject: Re: [DNSOP] "Optimization" in draft-ietf-dnsop-qname-minimisation
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.15
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, 08 Jan 2015 21:18:10 -0000

On Tue, Jan 06, 2015 at 07:19:31AM -0800,
 Paul Vixie <paul@redbarn.org> wrote 
 a message of 137 lines which said:

> that's true in an empty cache. but that emptiness will be short lived.
> at stead state, query-minimization has no more queries than
> longest-match.

And this point is already mentioned in the draft. Section 3 of -00:

   Qname minimisation can decrease performance in some cases, for
   instance for a deep domain name (like
   www.host.group.department.example.com where
   host.group.department.example.com is hosted on example.com's name
   servers).  For such a name, a cold resolver will, depending how qname
   minimisation is implemented, send more queries.  Once warm, there
   will be no difference with a traditional resolver.  A possible
   solution is to always use the traditional algorithm when the cache is
   cold and then to move to qname minimisation.  This will decrease the
   privacy a bit but will guarantee no degradation of performance.

> the qtype on those doesn't matter. they should probably use the
> original qtype,

There is a (very) small gain in privacy by using a "neutral" qtype
such as A or NS, especially for rare qtypes likes LOC or SRV.