Re: [DNSOP] RFC2317 Question: Resolving cname delegation

Tony Finch <dot@dotat.at> Wed, 30 August 2017 19:53 UTC

Return-Path: <dot@dotat.at>
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 BDB0B13292A for <dnsop@ietfa.amsl.com>; Wed, 30 Aug 2017 12:53:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] 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 O0oiBHYYc4QX for <dnsop@ietfa.amsl.com>; Wed, 30 Aug 2017 12:53:06 -0700 (PDT)
Received: from ppsw-32.csi.cam.ac.uk (ppsw-32.csi.cam.ac.uk [131.111.8.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0A0F5132A05 for <dnsop@ietf.org>; Wed, 30 Aug 2017 12:53:06 -0700 (PDT)
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from grey.csi.cam.ac.uk ([131.111.57.57]:55401) by ppsw-32.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.136]:25) with esmtps (TLSv1:ECDHE-RSA-AES256-SHA:256) id 1dn92r-000byr-2B (Exim 4.89) (return-path <dot@dotat.at>); Wed, 30 Aug 2017 20:53:01 +0100
Date: Wed, 30 Aug 2017 20:53:01 +0100
From: Tony Finch <dot@dotat.at>
To: Hector Santos <hsantos@isdg.net>
cc: "dnsop@ietf.org" <dnsop@ietf.org>
In-Reply-To: <599EF4F2.6070509@isdg.net>
Message-ID: <alpine.DEB.2.11.1708302050450.2628@grey.csi.cam.ac.uk>
References: <599EF4F2.6070509@isdg.net>
User-Agent: Alpine 2.11 (DEB 23 2013-08-11)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/yKgwUITl-jZfy-LRqOD8IdJEpG0>
Subject: Re: [DNSOP] RFC2317 Question: Resolving cname delegation
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.22
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, 30 Aug 2017 19:53:09 -0000

Hector Santos <hsantos@isdg.net> wrote:
>
> Not expecting this in my DNS resolver code, I modified the resolver to take
> the CNAMEs into account and return the host names instead.  Was this the
> correct thing to do, thus providing the same results regardless of the query
> location?

Yes.

You should also make sure your response parser isn't tripped up by DNAME
records (you can safely skip them).

See also https://tools.ietf.org/html/draft-fanf-dnsop-rfc2317bis which
sadly ran out of steam and stalled...

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/  -  I xn--zr8h punycode
Southeast Iceland: Variable 3 or 4, becoming westerly 5 to 7. Moderate or
rough. Mainly fair, occasional drizzle later. Moderate or good.