Re: [DNSOP] WGLC for draft-ietf-dnsop-let-localhost-be-localhost-02

Wes Hardaker <wjhns1@hardakers.net> Thu, 01 February 2018 21:51 UTC

Return-Path: <wjhns1@hardakers.net>
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 BB03C126C3D for <dnsop@ietfa.amsl.com>; Thu, 1 Feb 2018 13:51:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.107
X-Spam-Level:
X-Spam-Status: No, score=-1.107 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RDNS_NONE=0.793, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 sIxGXZmxIOEu for <dnsop@ietfa.amsl.com>; Thu, 1 Feb 2018 13:51:20 -0800 (PST)
Received: from mail.hardakers.net (unknown [168.150.192.181]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AE35F1242EA for <dnsop@ietf.org>; Thu, 1 Feb 2018 13:51:19 -0800 (PST)
Received: from localhost (c-67-164-214-219.hsd1.ca.comcast.net [67.164.214.219]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.hardakers.net (Postfix) with ESMTPSA id 612D924A83; Thu, 1 Feb 2018 13:50:48 -0800 (PST)
From: Wes Hardaker <wjhns1@hardakers.net>
To: Andrew Sullivan <ajs@anvilwalrusden.com>
Cc: dnsop@ietf.org
References: <9DCE2F63-EE37-4865-B9D6-6B79BBE05593@gmail.com> <20180129155112.GC16545@mx4.yitter.info> <5A6F5CF1.4080706@redbarn.org> <CA+nkc8D7tne5SxGOUhvJqstmDa=1=RmvcHQte1byAab5dUd5sQ@mail.gmail.com> <AE634FC4-0EAF-4F54-8860-61E41284F873@fugue.com> <20180130185919.GJ19193@mx4.yitter.info> <3b57a486-df8e-ca57-ab89-c167cea0dcc9@bellis.me.uk> <20180131161507.GP3322@mournblade.imrryr.org> <20180201172644.GD26453@mx4.yitter.info> <1D7693F7-000C-451A-8F7A-45B94366240F@fugue.com> <20180201204833.GA27125@mx4.yitter.info>
Date: Thu, 01 Feb 2018 13:50:43 -0800
In-Reply-To: <20180201204833.GA27125@mx4.yitter.info> (Andrew Sullivan's message of "Thu, 1 Feb 2018 15:48:33 -0500")
Message-ID: <ybla7wsbcr0.fsf@wu.hardakers.net>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/oBntwwkcGnhojmnKB1iurvXpJH8>
Subject: Re: [DNSOP] WGLC for draft-ietf-dnsop-let-localhost-be-localhost-02
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: Thu, 01 Feb 2018 21:51:22 -0000

Andrew Sullivan <ajs@anvilwalrusden.com> writes:

> But of course, there _is_ a name "localhost" in the DNS.
> It's already defined, in the RFCs, to this effect.

You can probably have your cake and eat it too by saying "sure,
hypothetically it exists in the DNS because it's magically reserved in
an RFC; but there is no data for it so any queries for it for any type
will always return 'does not exist'".  See!  Problem solved!

Returning anything other than NXDOMAIN and NSEC* for it is crazy,
because the reality is that the name does not exist in the root zone
data (and should not exist).  Let's not start adding special exceptions.

We could do something crazy like "return NXDOMAIN" and don't set the
AA bit, because the DNS is not authoritative for that domain (and
others, like .onion).  But I'm not sure that helps anyone, and adds
unneeded complexity to an already too complex code base.

-- 
Wes Hardaker
USC/ISI