Re: [dnsext] Re: EDNS client IP should be opt-in (Was: I-D ACTION:draft-vandergaast-edns-client-ip-00.txt

Nicholas Weaver <nweaver@ICSI.Berkeley.EDU> Tue, 02 February 2010 23:01 UTC

Return-Path: <owner-namedroppers@ops.ietf.org>
X-Original-To: ietfarch-dnsext-archive@core3.amsl.com
Delivered-To: ietfarch-dnsext-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1DB1D3A6BA0; Tue, 2 Feb 2010 15:01:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.793
X-Spam-Level:
X-Spam-Status: No, score=-5.793 tagged_above=-999 required=5 tests=[AWL=-0.745, BAYES_00=-2.599, FH_RELAY_NODNS=1.451, RCVD_IN_DNSWL_MED=-4, RDNS_NONE=0.1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16GLFn+HA2rP; Tue, 2 Feb 2010 15:01:24 -0800 (PST)
Received: from psg.com (psg.com [IPv6:2001:418:1::62]) by core3.amsl.com (Postfix) with ESMTP id 0B4413A6B91; Tue, 2 Feb 2010 15:01:24 -0800 (PST)
Received: from majordom by psg.com with local (Exim 4.71 (FreeBSD)) (envelope-from <owner-namedroppers@ops.ietf.org>) id 1NcRew-0006Af-L2 for namedroppers-data0@psg.com; Tue, 02 Feb 2010 22:55:50 +0000
Received: from [192.150.186.11] (helo=fruitcake.ICSI.Berkeley.EDU) by psg.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.71 (FreeBSD)) (envelope-from <nweaver@ICSI.Berkeley.EDU>) id 1NcReu-0006AL-IX for namedroppers@ops.ietf.org; Tue, 02 Feb 2010 22:55:48 +0000
Received: from [IPv6:::1] (jack.ICSI.Berkeley.EDU [192.150.186.73]) by fruitcake.ICSI.Berkeley.EDU (8.12.11.20060614/8.12.11) with ESMTP id o12MtUpP008419; Tue, 2 Feb 2010 14:55:30 -0800 (PST)
References: <7c31c8cc1001271556w4918093er6e94e07cb92c4dc4@mail.gmail.com> <4B66E441.6090104@nic.cz> <4966825a1002010729m32b5ccfel94f7cb09d8b5e458@mail.gmail.com> <20100202113421.GA31244@nic.fr> <4966825a1002020355s41a182edvbc2fc8045af4a36e@mail.gmail.com> <4B681EB5.9040403@nic.cz> <71552.1265143879@nsa.vix.com> <7c31c8cc1002021327l4397502bk647f96813ac37948@mail.gmail.com> <4B689CB8.9030702@isc.org> <7c31c8cc1002021355p6e00eaeeq98b447466549e4ad@mail.gmail.com> <4B68A241.3020701@isc.org>
In-Reply-To: <4B68A241.3020701@isc.org>
Mime-Version: 1.0 (Apple Message framework v1077)
Content-Type: text/plain; charset="us-ascii"
Message-Id: <6AA99721-35D9-4DD3-A81B-B01B207953A5@icsi.berkeley.edu>
Content-Transfer-Encoding: quoted-printable
Cc: Nicholas Weaver <nweaver@ICSI.Berkeley.EDU>, Wilmer van der Gaast <wilmer@google.com>, DNSEXT WG <namedroppers@ops.ietf.org>
From: Nicholas Weaver <nweaver@ICSI.Berkeley.EDU>
Subject: Re: [dnsext] Re: EDNS client IP should be opt-in (Was: I-D ACTION:draft-vandergaast-edns-client-ip-00.txt
Date: Tue, 02 Feb 2010 14:55:30 -0800
To: Michael Graff <mgraff@isc.org>
X-Mailer: Apple Mail (2.1077)
Sender: owner-namedroppers@ops.ietf.org
Precedence: bulk
List-ID: <namedroppers.ops.ietf.org>
List-Unsubscribe: To unsubscribe send a message to namedroppers-request@ops.ietf.org with
List-Unsubscribe: the word 'unsubscribe' in a single line as the message text body.
List-Archive: <http://ops.ietf.org/lists/namedroppers/>

On Feb 2, 2010, at 2:08 PM, Michael Graff wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 2010-02-02 3:55 PM, Wilmer van der Gaast wrote:
>> Only clients of open resolvers and customers of ISPs with more peering
>> points than resolvers will benefit from this. Everybody else can
>> completely ignore this extension.
> 
> As a client that is likely true.  However, as the topic of this posting
> is opt-in, not default config, perhaps that's the important thing to
> discuss.
> 
> I see the huge benefit large hosting providers get from this extension.

> As a client, I'd benefit hugely from this perhaps, and my iPhone
> experience may be better than ever.

Actually, as a client, I hope you'd benefit relatively little if you are using your ISP's resolution infrastructure and the goal is to convey network location (rather than arbitrary location, which the resolver doesn't know anyway). 

The whole reason why all the CDN tricks work is the external IP where the DNS comes from tells the CDN what really counts: what network you are with, and what part of that network you are in, so the CDN-type transaction can know what set of machines are "best" to return to you (lowest latency, lowest cost, etc)...

And the ISP is best served by building a more distributed DNS architecture because that minimizes latency of lookups: having cached DNS go cross-country is a bad design.  Thus if, as a client, you'd benefit from this in your ISP's infrastructure, that implies your ISP's infrastructure is needlessly centralized and all your lookups are suffering higher latency.



Thus the client benefit is almost exclusively when you use third party resolution infrastructures, as the CDN-type operations can NOT identify your network provider and subpiece of that network provider when you use OpenDNS or Google Public DNS or Ultradns etc....

This is why I find client-opt-in a silly notion to insist on in the protocol:  The opt-in was made by using a third-party resolution infrastructure in the first place.  


This doesn't generally make sense for first-party infrastructure, yet putting opt-in into the protocol is a protocol killer: if we want to do changes to the stub resolver, I can think of a lot of better ones (like, say, bypassing the recursive resolver completely because its a lying SOB that may do such things as wildcard or even Man-in-the-Middle www.google.com, and instead generating direct requests.  And if I care about privacy, generate direct requests through multiple TOR paths)


> I also think this is more wide-spread than just the client side.  The
> servers will need to be modified to provide address information as well,
> and there is no way to do this in AXFR without special changes to group
> by address/netmask and add OPT records to AXFR.
> 
> I suspect this will affect interop, and no mention of how to tag this
> additional data, signal a slave can handle it, nor what happens when a
> slave does not handle it is mentioned in the draft.

Except that the authorities which would use this information have already solved this problem.  You don't see Akamai or Google fretting about master/slave coordination, interop, etc.  They just do it.  The code path-change on the CDN-using authority side is very small: where instead of using the resolver's IP in the lookup logic you use the EDNS0 client-ip value.