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

Viktor Dukhovni <ietf-dane@dukhovni.org> Thu, 25 January 2018 17:54 UTC

Return-Path: <ietf-dane@dukhovni.org>
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 052AF126FDC for <dnsop@ietfa.amsl.com>; Thu, 25 Jan 2018 09:54:20 -0800 (PST)
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, SPF_PASS=-0.001, URIBL_BLOCKED=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 FkpzKLbDrI7J for <dnsop@ietfa.amsl.com>; Thu, 25 Jan 2018 09:54:18 -0800 (PST)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1E373127010 for <dnsop@ietf.org>; Thu, 25 Jan 2018 09:54:17 -0800 (PST)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id C461D7A330A; Thu, 25 Jan 2018 17:54:16 +0000 (UTC)
Date: Thu, 25 Jan 2018 17:54:16 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: dnsop@ietf.org
Message-ID: <20180125175416.GA3322@mournblade.imrryr.org>
Reply-To: dnsop@ietf.org
References: <9DCE2F63-EE37-4865-B9D6-6B79BBE05593@gmail.com> <062ab681-2226-4f86-0ed8-132c3d1d86ea@nic.cz> <4b9d884e-627b-8019-2b05-b64cc20ffd84@nic.cz> <75AC4EA7-1E38-463F-B3A7-B996F7584306@isc.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <75AC4EA7-1E38-463F-B3A7-B996F7584306@isc.org>
User-Agent: Mutt/1.7.2 (2016-11-26)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/hyjICL0BqPV2Ye6xOqMfk-0njpo>
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, 25 Jan 2018 17:54:20 -0000

On Fri, Jan 26, 2018 at 12:19:00AM +1100, Mark Andrews wrote:

> > RFC 6303 says that we should have empty domain for it, but this part is
> > confusing:
> >   The recommendation to serve an empty zone 127.IN-ADDR.ARPA is not an
> >   attempt to discourage any practice to provide a PTR RR for
> >   1.0.0.127.IN-ADDR.ARPA locally.
> > 
> > PTR is DNS-specific term, so I'm not sure if it is clumsy expression for
> > "stub should hardcode the answer" or something else.
> 
> No. It says if there isn’t a zone configured then return NXDOMAIN rather than
> recurse to the in-addr.arpa servers. That is different to always /just return
> NXDOMAIN.
> 
> All the zones listed in RFC 6303 can be overridden locally. The point of RFC 6303
> is to stop traffic going to the public server if the zones are not otherwise
> configured locally.

And this precisely where I take issue with the current draft.  It
mandates NXDOMAIN without admitting the possibility of a local
override.  I'm fine with recursive resolvers not *forwarding*
"localhost.", but forbidding local answers is I think taking it
too far and counter-productive.  If a resolver has a working
"localhost." zone that serves the expected loopback answers, it
should be free to reply with those.

Indeed I would go further, and recommend that resolvers add such
local overrides if not present, and answer accordingly.  Sure, it
would also be great if stub resolvers never asked, but just in case
they do, there's no need to punish them, that's rarely effective.

-- 
	Viktor.