Re: [DNSOP] Solicit feedback on the problems of DNS for Cloud Resources described by the draft-ietf-rtgwg-net2cloud-problem-statement

Paul Vixie <paul@redbarn.org> Wed, 12 February 2020 03:01 UTC

Return-Path: <paul@redbarn.org>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 02AD41200B4 for <dnsop@ietfa.amsl.com>; Tue, 11 Feb 2020 19:01:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=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 uSmKdEYActQJ for <dnsop@ietfa.amsl.com>; Tue, 11 Feb 2020 19:01:29 -0800 (PST)
Received: from family.redbarn.org (family.redbarn.org [24.104.150.213]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4F8E61200B3 for <dnsop@ietf.org>; Tue, 11 Feb 2020 19:01:29 -0800 (PST)
Received: from linux-9daj.localnet (dhcp-183.access.rits.tisf.net [24.104.150.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by family.redbarn.org (Postfix) with ESMTPSA id 1A2A5B0750; Wed, 12 Feb 2020 03:01:26 +0000 (UTC)
From: Paul Vixie <paul@redbarn.org>
To: "dnsop@ietf.org" <dnsop@ietf.org>, Paul Ebersman <ebersman-ietf@dragon.net>
Cc: Linda Dunbar <linda.dunbar@futurewei.com>
Date: Wed, 12 Feb 2020 03:01:25 +0000
Message-ID: <1698737.Wqn7rEUb4T@linux-9daj>
Organization: none
In-Reply-To: <BN6PR1301MB20839C511BDF230D79658BF485180@BN6PR1301MB2083.namprd13.prod.outlook.com>
References: <BN6PR1301MB2083B6F88FDE9A0A4EA2384985180@BN6PR1301MB2083.namprd13.prod.outlook.com> <BN6PR1301MB20839C511BDF230D79658BF485180@BN6PR1301MB2083.namprd13.prod.outlook.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/GbWEIzAD-AEkYrkeBoKlpCm9BYc>
Subject: Re: [DNSOP] Solicit feedback on the problems of DNS for Cloud Resources described by the draft-ietf-rtgwg-net2cloud-problem-statement
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 12 Feb 2020 03:01:32 -0000

On Tuesday, 11 February 2020 22:21:05 UTC Linda Dunbar wrote:
> ...
> 
> https://datatracker.ietf.org/doc/draft-ietf-rtgwg-net2cloud-problem-statement/
> 
> During IETF 106, we received comments that the document should cover the
> problems associated with DNS service by different Cloud Operators for
> Enterprise to utilize Cloud Resources even though DNS is not within the
> scope of IETF routing area.  We greatly appreciate DNS experts to provide
> comments to our description.

you've addressed this e-mail to two mailing lists (dnsop@ and rtgwg@) which 
you are a member of, and both will accept and publish your e-mail. however, 
some of us here are members of only one of those mailing lists (me, dnsop@), 
and won't be able to participate in whatever threads may occur on the other 
mailing list (me, rtgwg@). so, i am removing rtgwg@ from my reply here.

> 3.4    DNS for Cloud Resources
> DNS name resolution is essential for on-premises and cloud-based resources.
> For customers with hybrid workloads, which include on-premises and
> cloud-based resources, extra steps are necessary to configure DNS to work
> seamlessly across both environments. ...

you may not realize it, but that is an astonishing statement. i'll explain 
below.

> ... Cloud operators have their own DNS to
> resolve resources within their Cloud DCs and to well-known public domains.
> Cloud's DNS can be configured to forward queries to customer managed
> authoritative DNS servers hosted on-premises, and to respond to DNS queries
> forwarded by on-premises DNS servers. ...

while this is an obvious approach for each and every cloud service operator, 
it depends on lock-in, is not multi-cloud ready, and cannot be made so within 
the DNS paradigm or using any of the common layers added to that paradigm.

DNS is currently viral, if you can look up anything at all global, then you 
can look up everything global. cutouts for non-global names are quite common 
especially when accompanied by NAT. however, collisions cannot be managed this 
way. you can have some names (like .cloud or .corp or .internal) visible 
within your network as long as they aren't also used globally, because there 
is no way to discriminate which collision-name is wanted, other than by 
client-ip address and even that is nonstandard, relying on DNS vendor 
extensions.

similarly, if you use an internal name like .cloud and then want your services 
to be available via or within some other cloud provider which also uses 
.cloud, then there can be no discriminator, and so it can't work. this is why 
most names are global -- there can be no collisions that way. even with large 
NAT buildouts, it's become common to use the global domain name both 
internally and externally, and to simply provide different views of that 
global domain name internally vs. externally.

this was explored 25 years ago: http://family.redbarn.org/~vixie/proxynet.pdf

can you explain why the simple answer (use unique global names for each cloud 
resource) isn't reachable by your proposal?

> ... For enterprises utilizing Cloud
> services by different cloud operators, it is necessary to establish
> policies and rules on how/where to forward DNS queries to. ...

if the names are local, and never collide, this has been possible in one 
vendor's DNS implementation for about 20 years, and is variously possible in 
others. however, this became much more difficult in the DNSSEC era.

if the names are local and may collide, no coherent set of policies or rules 
about how/where to forward DNS queries will be possible.

if the names are global then they will be unique and DNS itself will handle 
the decision of how to route questions to the right authority servers.

> ... When
> applications in one Cloud need to communication with applications hosted in
> another Cloud, there could be DNS queries from one Cloud DC being forwarded
> to the enterprise's on premise DNS, which in turn be forwarded to the DNS
> service in another Cloud. Needless to say, configuration can be complex
> depending on the application communication patterns.

it is that complexity that prohibits scale. are you suggesting that the DNS 
paradigm be expanded to include automated context-dependent naming? i imagine 
it would look something like BGP4, but for names rather than addresses. but 
first i hope you can explain why the simpler and existing viral DNS paradigm 
(all names are global and unique) is unacceptable for your purpose.

thanks for bringing your question here, and thanks to otherpaul and suz for 
what appears to have been vital outreach.

-- 
Paul