Re: [dnsext] Re: I-D ACTION:draft-vandergaast-edns-client-ip-00.txt

Nicholas Weaver <nweaver@ICSI.Berkeley.EDU> Mon, 01 February 2010 18:52 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 907083A6914; Mon, 1 Feb 2010 10:52:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.569
X-Spam-Level:
X-Spam-Status: No, score=-106.569 tagged_above=-999 required=5 tests=[AWL=0.030, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 mt4n96-LYluz; Mon, 1 Feb 2010 10:52:27 -0800 (PST)
Received: from psg.com (psg.com [147.28.0.62]) by core3.amsl.com (Postfix) with ESMTP id A70D63A659B; Mon, 1 Feb 2010 10:52:27 -0800 (PST)
Received: from majordom by psg.com with local (Exim 4.71 (FreeBSD)) (envelope-from <owner-namedroppers@ops.ietf.org>) id 1Nc1H7-0007fC-7e for namedroppers-data0@psg.com; Mon, 01 Feb 2010 18:45:29 +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 1Nc1H5-0007eb-1i for namedroppers@ops.ietf.org; Mon, 01 Feb 2010 18:45:27 +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 o11IiQ7V029731; Mon, 1 Feb 2010 10:45:18 -0800 (PST)
References: <7c31c8cc1001271556w4918093er6e94e07cb92c4dc4@mail.gmail.com> <OF675CC47F.6FE1B342-ON802576BA.00453090-C12576BA.0047E04C@nominet.org.uk> <74DFF61A-A8BB-4B46-A873-F2407C34C412@sackheads.org> <139D0D6A-5A31-4EE8-88B9-3CACE933187B@icsi.berkeley.edu> <6e04e83a1002010944q7abfabc6h892ce4cbb1bddcbf@mail.gmail.com>
In-Reply-To: <6e04e83a1002010944q7abfabc6h892ce4cbb1bddcbf@mail.gmail.com>
Mime-Version: 1.0 (Apple Message framework v1077)
Content-Type: text/plain; charset="us-ascii"
Message-Id: <973B1F15-E822-491E-89BF-F09FC7E67509@ICSI.Berkeley.EDU>
Content-Transfer-Encoding: quoted-printable
Cc: Nicholas Weaver <nweaver@ICSI.Berkeley.EDU>, John Payne <john@sackheads.org>, Roy Arends <roy@nominet.org.uk>, Wilmer van der Gaast <wilmer@google.com>, namedroppers@ops.ietf.org
From: Nicholas Weaver <nweaver@ICSI.Berkeley.EDU>
Subject: Re: [dnsext] Re: I-D ACTION:draft-vandergaast-edns-client-ip-00.txt
Date: Mon, 01 Feb 2010 10:45:18 -0800
To: Ted Hardie <ted.ietf@gmail.com>
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 1, 2010, at 9:44 AM, Ted Hardie wrote:

> Howdy,
> 
> On Mon, Feb 1, 2010 at 8:39 AM, Nicholas Weaver
> <nweaver@icsi.berkeley.edu> wrote:
>> 
>> a)  Not everything is HTTP or HTTPS and supports such clean redirections.
>> 
> And this is one of the clearest point in this whole debate:  CDNs serve one
> sort of application, which has a host of other methods in play (redirects,
> content negotiation, an UPGRADE mechanism to change the security characteristics
> of the channel).   Many other applications do not have any of these or use
> fundamentally different approaches (store-and-forward protocols, for example,
> are pretty unlikely to use a redirect-style approach).

Here's a concrete example, lets take imap.google.com (latency matters for IMAP, bigtime...)

Do a query through a random open DNS proxy in Finland, you get:
;; ANSWER SECTION:
imap.gmail.com. 		A       74.125.43.109

Do it through a random open DNS proxy in australia you ge:
imap.gmail.com.			CNAME   gmail-imap.l.google.com.
gmail-imap.l.google.com. 	A       74.125.39.109

Do it through new zeland you get:
imap.gmail.com. 		CNAME   gmail-imap.l.google.com.
gmail-imap.l.google.com.	A       74.125.95.109


Do it through my local DNS settings you get:
imap.gmail.com.			CNAME   gmail-imap.l.google.com.
gmail-imap.l.google.com		A       72.14.221.111
gmail-imap.l.google.com		A       72.14.221.109

(Just from a couple of random DNS proxies)

So its clear that DNS-based network localization is being used for services beyond HTTP already.  Do we want such localizations to still work well when the user is using a 3rd party DNS resolver?

> Are we expecting the client's interaction with the DNS to be different on an
> application basis here?  Specifically, do we expect the DNS query to look
> different when the browser makes a request than when the mail stack does?
> How realistic is that, really, without the browser maintaining its own stack?
> Isn't it more likely that this will be turned on or off globally?  If
> it does vary, what
> does that mean for intermediate caching?  Does
> this create yet another pressure to reduce cache times?

The net result would probably be the opposite:  If you know that an entry will only be cached for requests from a subrange, you can use a longer, rather than shorter TTL.

> On a slightly different point, I think Stephane's point on the prevalence of
> tunnels in Mobile IP situations is being lost here--we not only have the case
> of proxy/tunnels configured for specific applications, but the MIP tunnels which
> may be in play here--and that hits a lot of mobile clients that I fear are not
> captured in netalyzr data.

a:  We don't have web browsers in phones (no java support for iPhone, Blackberry etc), but we DO have plenty of data for web browsers on PCs through wide-area connections.

b:  The purpose is NETWORK identification, so "Customer is 'west coast verizon wireless' " is, in the end, what the authority is trying to infer.  The proxy is still going to be topologically close to the IP address in terms of network behavior and thats what you want.