Re: [DNSOP] ANAME in answer or additional section [issue #62]

Joe Abley <jabley@hopcount.ca> Thu, 13 June 2019 18:06 UTC

Return-Path: <jabley@hopcount.ca>
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 9B0161201E9 for <dnsop@ietfa.amsl.com>; Thu, 13 Jun 2019 11:06:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.996
X-Spam-Level:
X-Spam-Status: No, score=-1.996 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=hopcount.ca
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 eU4mbXRbVVOn for <dnsop@ietfa.amsl.com>; Thu, 13 Jun 2019 11:06:33 -0700 (PDT)
Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (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 A14111201DA for <dnsop@ietf.org>; Thu, 13 Jun 2019 11:06:33 -0700 (PDT)
Received: by mail-qt1-x82b.google.com with SMTP id z24so10401238qtj.10 for <dnsop@ietf.org>; Thu, 13 Jun 2019 11:06:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hopcount.ca; s=google; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=uCCA2IUoVKWOm7IL2qufHXxp1nBynmf7cFqLbDiTM9M=; b=FempzBVvOgizUbuTjQcIsrW9e07ZPgIRnNsKkk8KsZzWA3PhEmCfrAVtDWSDFGTwLQ 6EB37k/RO7pd22piVMD9nZdoGNLkJa9yAy20vlGPM6BV6yscKSUypLqeUi7BahchHG36 /Asr6316FWnwiwcBz5j/n4XZP49WL8/TSPkpY=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=uCCA2IUoVKWOm7IL2qufHXxp1nBynmf7cFqLbDiTM9M=; b=Qehb5dNQTTH5VIHSUFQgTS7fzaSpPGK5Lf8ohNpZ99rH96EoFh3RFBXsBksV7gq0Hx T03r8m596Gqbkjma7OLX414KSs5j9C9W29tIzI4VnPRxrVYoCc7TC/fmnLd1mJ8tI5pF +btBqqYrS5MNnE4DJNKlhbLhhGGltRGXPmraWRmE++MINSjVOIssu8rdKkem9pXgGueX 1WbA3cXZm9Lp0eE89dnb5zheHfs5Z8VPhAX1zNU6gkii87W6hjMf1miEYoJ0kXsKk1Mq YVXJ+djPa+A32qCyqgl8ccyBTOlEFvWERJLHBRWzBVUKrJpN6D0pxETfRtA3oUI4w9bE oBXA==
X-Gm-Message-State: APjAAAWZP0mUNuvILcBDhWhYy87YVbLuZNjMe9nKaBCfTBfrGoeCndOQ v3msOw4ZlOXINMQJ3Tuesqf7gw==
X-Google-Smtp-Source: APXvYqzzs4gV7ZClO27LKU5IOA9DHTF/Yzs7VcIRjipjlQy9L7iexltww9iytVEh+o007NYJPeguAw==
X-Received: by 2002:ac8:16ac:: with SMTP id r41mr77637634qtj.346.1560449192685; Thu, 13 Jun 2019 11:06:32 -0700 (PDT)
Received: from [10.148.251.157] ([216.185.26.20]) by smtp.gmail.com with ESMTPSA id w189sm126336qkc.38.2019.06.13.11.06.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jun 2019 11:06:31 -0700 (PDT)
From: Joe Abley <jabley@hopcount.ca>
Message-Id: <04BC6BC2-6088-4EB9-A846-DA099CE5ADC7@hopcount.ca>
Content-Type: multipart/signed; boundary="Apple-Mail=_EA90CC54-2EF3-4126-9956-66EA9828B32C"; protocol="application/pgp-signature"; micalg="pgp-sha1"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Thu, 13 Jun 2019 14:06:30 -0400
In-Reply-To: <68b5997e-1c24-a366-1165-9874a36169b5@pletterpet.nl>
Cc: Brian Dickson <brian.peter.dickson@gmail.com>, "dnsop@ietf.org" <dnsop@ietf.org>
To: Matthijs Mekking <matthijs@pletterpet.nl>
References: <3b136e34-7ec0-e144-2c2a-0885185ec2b1@pletterpet.nl> <20190612000459.GA60387@isc.org> <CAJhMdTP-iDbbgnCDV7WRhbh495KvhOW3cGS+0tu74VAoYfU=gg@mail.gmail.com> <CAH1iCiqE70T3fWVcCrSvA86=qJKoWwuRGFRzKnQyediMrm404A@mail.gmail.com> <68b5997e-1c24-a366-1165-9874a36169b5@pletterpet.nl>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/25TaJGFGpmf72mmV7v-B36xQSWI>
Subject: Re: [DNSOP] ANAME in answer or additional section [issue #62]
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: Thu, 13 Jun 2019 18:06:36 -0000

Hey Matthijs,

On 12 Jun 2019, at 04:11, Matthijs Mekking <matthijs@pletterpet.nl> wrote:

> Thanks for the detailed background on why DNAME worked. There are a few
> things that caught my attention:
> 
>> When a recursive queried an authority server, if it got back a DNAME
>> but did not understand it, it ignored the DNAME but processed the CNAME
>> (as if only the CNAME existed) (plus any other data like chained CNAMEs
>> or A/AAAA records)
> 
> Following this logic, this suggests that having an ANAME in the answer
> section, together with the requested A or AAAA records, the resolver
> most likely will ignore the ANAME and use the A/AAAA records.

I also think that is worth testing. If that's a widespread behaviour in the deployed infrastructure.

> This motivates me to write down that the ANAME should go in the answer
> section for address type queries.

That seems like the right thing to write down.

>> The real problem here, is the "other" record for backward
>> compatibility isn't a rewrite-type (such as CNAME or DNAME), but is a
>> "promoted" A/AAAA record of potentially limited utility and questionable
>> provenance (due to geo-ip stuff, TTL stuff, and RRSIG problems).
> 
> I actually see the A/AAAA record as the backward compatibility records:
> An ANAME-aware resolver would understand the ANAME and can act upon it,
> an ANAME-unaware resolver will use the A/AAAA records that the
> authoritative returned.

I agree.


Joe