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

Ted Hardie <ted.ietf@gmail.com> Mon, 01 February 2010 19:15 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 5059228C1BD; Mon, 1 Feb 2010 11:15:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.774
X-Spam-Level:
X-Spam-Status: No, score=-105.774 tagged_above=-999 required=5 tests=[AWL=0.825, 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 P9kSTIqEP9-W; Mon, 1 Feb 2010 11:15:19 -0800 (PST)
Received: from psg.com (psg.com [147.28.0.62]) by core3.amsl.com (Postfix) with ESMTP id 5CAD128C13C; Mon, 1 Feb 2010 11:15:19 -0800 (PST)
Received: from majordom by psg.com with local (Exim 4.71 (FreeBSD)) (envelope-from <owner-namedroppers@ops.ietf.org>) id 1Nc1eb-000CyB-5Q for namedroppers-data0@psg.com; Mon, 01 Feb 2010 19:09:45 +0000
Received: from [209.85.222.198] (helo=mail-pz0-f198.google.com) by psg.com with esmtp (Exim 4.71 (FreeBSD)) (envelope-from <ted.ietf@gmail.com>) id 1Nc1eV-000CwM-5O for namedroppers@ops.ietf.org; Mon, 01 Feb 2010 19:09:39 +0000
Received: by pzk36 with SMTP id 36so5903563pzk.5 for <namedroppers@ops.ietf.org>; Mon, 01 Feb 2010 11:09:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=f7W6MvcOv/890TAeTAEiWyKN1VKkvPK9U2runAmHGLU=; b=fkUJlLzEeWeLXGQwHlkS34TqppA5pYYRzdRFCRwcvmx7t5deXuRjGKeipBMbP+hiY9 a/IC9LOCrB+7zRtiHxtdJNNL0MVZI1cnPqZsXktz7TuBo+0/JMXAXmK883GcMvxs3Coq LiXPSsyTfurlUouUVwNjtvReatKxEnEd+VdH0=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Ds+Mvs0a20Q6l8AkIAswEaYRcUKMEeHPRsbDtAR9Uba17+cvfVfKdTNOnq/rn+k9U8 c2ySI83C03P2Rv9IBgvk3h+nhA7M3AP7HBcNJzaWRYdLcFLhQA+GmtSWE/YEvqgnN/bi 9PXmXBafzwLsBYyPD5bED6FVXGDAj+RomPOc4=
MIME-Version: 1.0
Received: by 10.142.67.7 with SMTP id p7mr3160425wfa.120.1265051378877; Mon, 01 Feb 2010 11:09:38 -0800 (PST)
In-Reply-To: <973B1F15-E822-491E-89BF-F09FC7E67509@ICSI.Berkeley.EDU>
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> <973B1F15-E822-491E-89BF-F09FC7E67509@ICSI.Berkeley.EDU>
Date: Mon, 01 Feb 2010 11:09:38 -0800
Message-ID: <6e04e83a1002011109u1cd55c99k8b584648184cdc73@mail.gmail.com>
Subject: Re: [dnsext] Re: I-D ACTION:draft-vandergaast-edns-client-ip-00.txt
From: Ted Hardie <ted.ietf@gmail.com>
To: Nicholas Weaver <nweaver@icsi.berkeley.edu>
Cc: John Payne <john@sackheads.org>, Roy Arends <roy@nominet.org.uk>, Wilmer van der Gaast <wilmer@google.com>, namedroppers@ops.ietf.org
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
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/>

In-line below.

On Mon, Feb 1, 2010 at 10:45 AM, Nicholas Weaver
<nweaver@icsi.berkeley.edu> wrote:

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

IMAP is not one of the store-and-forward bits of the email architecture;
SMTP would be.  But the core question comes back to:  how does the
DNS stack know that this application is one for which localization will
be desirable, given that this is a decision made by the authoritative
server?  Do you expect this to be opted-into for every query, or only
for some?


>> 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.

You don't actually know that--you're providing a response based on the subrange,
but depending on the liveness of your load balancing and the caching
implementation
you could get a wide variety of results.  If I previously provided a
single response
based on the IP address of the querying server and now provide one based on
the subrange being served, I might choose to lower the TTL to 0 in order to make
sure that each subrange query is served "fresh", rather than from the cache.
Otherwise, I have to trust that the cache is maintaining multiple entries on the
subrange basis.  You want to set a bit for that too?

>
>> 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.
>

And those tend to be nomadic, rather than using Mobile IP to deal with
visited network issues.  Any phone afflicted by (er, using) IMS or the
"visitied network" approach will have two IPs--the one associated with
MIP tunnel
and a local IP in the actual serving network.  It's not uncommon to source
some or all DNS queries from the tunnel interface, because of the joys of
split DNS needed to reach home network resources.  This ID would prefer
them to come from the local IP address for this localization to work--but that
means somehow passing a lot of data to the client on which queries should
go where using what source.

Coherence ain't just elegant, it's easier.  I recognize that there is value to
the CDN approach, but the complications here (and the privacy implications)
aren't trivial.  Doing this may be well past the 80/20 line for DNS-based
localization.

Regards,

Ted Hardie