Re: [DNSOP] abandoning ANAME and standardizing CNAME at apex

Lanlan Pan <abbypan@gmail.com> Tue, 19 June 2018 14:47 UTC

Return-Path: <abbypan@gmail.com>
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 0008F130DCB for <dnsop@ietfa.amsl.com>; Tue, 19 Jun 2018 07:47:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 qv2OoF2aoLYx for <dnsop@ietfa.amsl.com>; Tue, 19 Jun 2018 07:47:16 -0700 (PDT)
Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 353C5130DEC for <dnsop@ietf.org>; Tue, 19 Jun 2018 07:47:16 -0700 (PDT)
Received: by mail-wm0-x22e.google.com with SMTP id p126-v6so865807wmb.2 for <dnsop@ietf.org>; Tue, 19 Jun 2018 07:47:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=giBco8xt8rI38FWDGThc1C1Aney35npPB93uPaSWrRY=; b=H7kDblANK1Nw2qdFbdH8HSrgTlO+BHkIT/8NcT8Kqa0QExzL9t/XDwm6JWcEpSA143 JmGSsjhcbkm5YtihZLGi0Rk638OhIoTGBoqq8rNGLhSRuj2DhmmTuCiilQAjtzP68OXZ MkhHiXR7/hCLxxcT3euRXv9G413eQgYbLb3CVGVrcJs7rrkHDLjvUDepy1R9fFQtUU0Z pED29/ilmyr0Uo5t3flZXADplw2ec0hk51nNUnz3aRdUkILt+N0sP2It+TdajbrtauY7 ZqOFtw/SO9BkjLMfYKhI9gJWuwe+pHewZtq3k3A5EAUV4w1PhFIv9Tn4A7t2O3ggPr+O uaMg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=giBco8xt8rI38FWDGThc1C1Aney35npPB93uPaSWrRY=; b=BbKw7Mf39LT7JAbukFibdSJPokBd6lR23LW/x8GRu2zEl+JfMZ9/zmvink4xiiyVin LdUtahpBvEWvrW3qh9jeMYZTzRsKZN5D99TfsvCqOY+UcfqkBu8vzwxd2Lm4z85fsaFl tlLGvm8JTmGSQAg8jRV42zJg+M43AKo6D2/ZUPv0i/cxTQy4UsTUAKD+YPzoBApdJ9Gl Dr9p+PxDoF6OlFCQBt1X/ZasHon2rb18GMgRaslZkly/lRSW2i6ezvz5r4TtocTM5hE1 Lyy/ok87CJ15cWsQqGdU/TvpBRKd9QZnFI9rA1SGLgHpr70Y62Q0o0/tXsqJXCyCEbpm EOSA==
X-Gm-Message-State: APt69E0mHrb0jssgxa9cl5llP44R/Rb9BYa5+OOCnIVFboRjCAmw9k1O buyel8wnbkfs9LEJ+Wn6f6/qc8WG3qmep19x59ts1Q==
X-Google-Smtp-Source: ADUXVKKNyHw94GePk/3porAw8uWE9fy/CRnqM3wkghI9aRS3deG43uYJ+HSNyy/BvyxuVEdm9qnNGbOt/uakopIYXv4=
X-Received: by 2002:a50:a5b5:: with SMTP id a50-v6mr14875715edc.289.1529419634759; Tue, 19 Jun 2018 07:47:14 -0700 (PDT)
MIME-Version: 1.0
References: <b73f3dc7-b378-d5d8-c7a2-42bc4326fbae@nic.cz>
In-Reply-To: <b73f3dc7-b378-d5d8-c7a2-42bc4326fbae@nic.cz>
From: Lanlan Pan <abbypan@gmail.com>
Date: Tue, 19 Jun 2018 09:47:09 -0500
Message-ID: <CANLjSvVoCkKycYiqz1TEaigO_-pfdDKXr0EAYAXoG0awKCtoMg@mail.gmail.com>
To: Petr Špaček <petr.spacek@nic.cz>
Cc: "dnsop@ietf.org WG" <dnsop@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000000add71056effc24d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/IfBY5vAJ5nTeMP9lIcYuI670HPk>
Subject: Re: [DNSOP] abandoning ANAME and standardizing CNAME at apex
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.26
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: Tue, 19 Jun 2018 14:47:19 -0000

Petr Špaček <petr.spacek@nic.cz>于2018年6月19日周二 下午9:19写道:

> Hello dnsop,
>
> beware, material in this e-mail might cause your head to explode :-)
>
> This proposal is based on following observations:
> - It seems that DNS protocol police lost battle about CNAME at apex,
>    is is deployed on the Internet.
> - Major DNS resolvers like BIND, Unbound, PowerDNS Recursor, dnsmasq
>    already have code to cope with the "impossible" case of CNAME at the
>    apex and deal with it in ways which do not break stuff on resolver
>    side.
> - Authoritative servers of vendors named above refuse to serve CNAME at
>    apex.
> - There are CDNs etc. which allow users to create CNAME at apex
>    no matter what the standards and "normal" servers say and do.
> (We have found out this because Knot Resolver is missing hacks for CNAME
> at apex and users complain that "it works with every other resolver".)
>
>
> Take a deep breath!
>
>
> Given that resolver side somehow works already ...
> could we standardize this obvious violation of RFC 1035?
>
> It is very clear violation of the standard, but almost everyone found
> his way around it using different hacks. These hacks are not going away
> because all the CDNs just don't care about standards so we will have
> to maintain this code no matter what a great solution we will invent for
> future. I.e. adding ANAME will just increase complexity because CNAME at
> apex will be there for a long time (if not forever).
>
> I personally do not like this but it seems better to think though
> corner cases in code we already have in production (i.e. think through
> current hacks for CNAME at apex) instead of inventing new things like
> ANAME (or whatever else).
>
I think ANAME RR is hard to compatible with many old version resolvers.
If there are mutiple ANAME RR at compatible resolvers, authoritatives may
not know that resolvers will choose which A RR for client response.

ANAME can ease apex CNAME configuration, maybe a work round is that
authoritatives directly return A RR to resolvers (but not ANAME RR).

>
> Opinions? Tomatoes? Can it work? If not, why not?
>
> --
> Petr Špacek  @  CZ.NIC
>
> _______________________________________________
> DNSOP mailing list
> DNSOP@ietf.org
> https://www.ietf.org/mailman/listinfo/dnsop
>
-- 
致礼  Best Regards

潘蓝兰  Pan Lanlan