Re: [DNSOP] I-D Action: draft-song-dnsop-tcp-primingexchange-00.txt

Davey Song <songlinjian@gmail.com> Sat, 06 December 2014 07:16 UTC

Return-Path: <songlinjian@gmail.com>
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 C75421A6FE3 for <dnsop@ietfa.amsl.com>; Fri, 5 Dec 2014 23:16:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.399
X-Spam-Level:
X-Spam-Status: No, score=-1.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, J_CHICKENPOX_64=0.6, SPF_PASS=-0.001] autolearn=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 eEldzk34YDlt for <dnsop@ietfa.amsl.com>; Fri, 5 Dec 2014 23:16:05 -0800 (PST)
Received: from mail-qg0-x235.google.com (mail-qg0-x235.google.com [IPv6:2607:f8b0:400d:c04::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3683A1A01F9 for <dnsop@ietf.org>; Fri, 5 Dec 2014 23:16:05 -0800 (PST)
Received: by mail-qg0-f53.google.com with SMTP id q108so1549991qgd.12 for <dnsop@ietf.org>; Fri, 05 Dec 2014 23:16:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=b8ru6Qif+5Ao4Sm8NgpYvJhloe/GeKwpPaCkcqqfWVw=; b=F2IG1YXt8sy6bnUsRqrNfTCr3+B19lucCP3TDpto9KM1VyyNxeouQSWgTIWmJtwwnQ teWLltDZhjkeoKCEPpw80vPgBC57zpuigP/16ODCB1+u01naQeJBh9hzgY16+702448B Wt8XhyG0pS1SZ3SKCMVgCctQSKzLTeLtzfk6DFuvZHCpFfT2RXJPpsrlXqmH6QOV4AyH Xk7M7w+qlmki2TmGmWZ/P6y+oHJ0nGt4/JPz5/Lgy/+rF6fjBRDKUJyS5IVfUc1NrWcW q8RZaOtgM5fqYllpVswlJTQoQaTE/ATqKPr2Ru1c+ex3CuLEzT7iTtuKOtUvGqyXBEcs t7IA==
MIME-Version: 1.0
X-Received: by 10.224.38.71 with SMTP id a7mr33251064qae.24.1417850164219; Fri, 05 Dec 2014 23:16:04 -0800 (PST)
Received: by 10.140.91.202 with HTTP; Fri, 5 Dec 2014 23:16:04 -0800 (PST)
In-Reply-To: <35F88466-BEB0-4A1D-BE3A-D3726B111286@vpnc.org>
References: <20141126190228.2644.32272.idtracker@ietfa.amsl.com> <CAAObRXJM1Ucu3RtJCZPaw2ss0+ZBXxnDyyUvshuAnqEQYEi2XA@mail.gmail.com> <FFAC9976-D502-4AAE-AB7D-8A869CB140AB@vpnc.org> <CAAObRXKYOBS-uhv4mozz3i0Y3S5+gP4b0-QzV6vC3mvxe1WRNg@mail.gmail.com> <35F88466-BEB0-4A1D-BE3A-D3726B111286@vpnc.org>
Date: Sat, 06 Dec 2014 15:16:04 +0800
Message-ID: <CAAObRXLOpX-CgoS4BK-oe9mJo6WC2pvzVETo=eGbaRpkJO6eqQ@mail.gmail.com>
From: Davey Song <songlinjian@gmail.com>
To: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: multipart/alternative; boundary="001a11c2e37262161b050986f7a7"
Archived-At: http://mailarchive.ietf.org/arch/msg/dnsop/9hSvQxKXD91Y_YKQ7FDQcNWy1jk
Cc: dnsop@ietf.org
Subject: Re: [DNSOP] I-D Action: draft-song-dnsop-tcp-primingexchange-00.txt
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: Sat, 06 Dec 2014 07:16:07 -0000

On Fri, Nov 28, 2014 at 11:17 PM, Paul Hoffman <paul.hoffman@vpnc.org>
wrote:

> On Nov 28, 2014, at 1:25 AM, Davey Song <songlinjian@gmail.com> wrote:
> > Yes, two pages is enough to address the problem with your suggestion. It
> actually turns off the EDNS0 during Priming Exchange, right ?
>
> No, not at all. EDNS0 is orthogonal to "must be able to use TCP as
> specified in RFC 1035". EDNS0 is useful, but not required, to get a full
> priming query back when using TCP.
>
> On Nov 28, 2014, at 2:48 AM, Davey Song <songlinjian@gmail.com> wrote:
> > Oh, I may misunderstood. If you only require resolver able to use TCP ,
> is there anything new?
>
> No, and that's exactly the point.
>
> > As far as I know,  there are three exist  problems in DNS protocol (not
> only on Priming exchange),
> >
> > 1)  IP-level udp fregment ( EDNS0 make it more frequently)
> > 2)  No truncation for referral response which cause no TCP fallback for
> more AAAA record of NS server(root serve in this case )
> > 3)  No larger size than 1500B for single UDP packets.
>
> None of which matter if the priming query is done over TCP. By saying
> "must be able to use TCP as specified in RFC 1035", you allow a recursive
> to start with UDP and try again on TCP if they see a truncated answer, *or*
> to try on TCP initially. This then becomes a configuration issue.
>

I'm not sure I got your meaning by saying "*or* to try on TCP initially" .
Dose this mean you agree we can initiate TCP before UDP/EDNS0 or the hint
to send TCP/UDP query at the same time like the "happy eyeballs" mechanism
in dual stack ?

You see if the resolve use EDNS0 to initiate the priming query, it is much
less possible to use TCP as a backup.

> I only see TCP can overcome all those problems. and Priming Exchange is
> the very occasion to firstly deploy TCP by default with much less price.
> And it is promising to become  a start to evaluation of upgrading the whole
> DNS system for more reasons like DNS privacy and prevention of DDoS attack.
>
> Maybe have this document stay focused, and do not try to tack the latter
> on to the former in the document.
>
> --Paul Hoffman