Re: [DNSOP] tdns, 'hello-dns' progress, feedback requested

Robert Edmonds <edmonds@mycre.ws> Wed, 18 April 2018 22:21 UTC

Return-Path: <edmonds@mycre.ws>
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 B78581241F3 for <dnsop@ietfa.amsl.com>; Wed, 18 Apr 2018 15:21:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-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 81Dt9ES0zSRo for <dnsop@ietfa.amsl.com>; Wed, 18 Apr 2018 15:21:42 -0700 (PDT)
Received: from mycre.ws (mycre.ws [45.33.102.105]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EF47B120047 for <dnsop@ietf.org>; Wed, 18 Apr 2018 15:21:41 -0700 (PDT)
Received: by chase.mycre.ws (Postfix, from userid 1000) id 67E9712C18E2; Wed, 18 Apr 2018 18:21:41 -0400 (EDT)
Date: Wed, 18 Apr 2018 18:21:41 -0400
From: Robert Edmonds <edmonds@mycre.ws>
To: bert hubert <bert.hubert@powerdns.com>
Cc: dnsop@ietf.org
Message-ID: <20180418222141.53yyvq6vvg2frfki@mycre.ws>
References: <20180413144707.GA4767@server.ds9a.nl>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20180413144707.GA4767@server.ds9a.nl>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/H7hf2vXnoqNsjzaTBia9zw7Zv_I>
Subject: Re: [DNSOP] tdns, 'hello-dns' progress, feedback requested
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, 18 Apr 2018 22:21:44 -0000

bert hubert wrote:
> 2) Try: 
>   ping goes-via-embedded-nul.tdns.powerdns.org
>   ping goes-via-embedded-space.tdns.powerdns.org.
>   ping goes-via-embedded-dot.tdns.powerdns.org.
> 
>   None of these resolve when I try them, I wonder if that is because
>   implementations want CNAMEs to be 'host names', or if this a chain of
>   bugs.  Not practically very relevant, but still.

I think this is intentional behavior in the stub resolver, e.g. in glibc
there's a function res_hnok used to enforce restrictions on hostnames.

It looks like res_hnok in glibc got rewritten recently, too:

https://sourceware.org/bugzilla/show_bug.cgi?id=22412

-- 
Robert Edmonds