Re: [DNSOP] Refusing NS queries, was Barry Leiba's Yes on draft-ietf-dnsop-qname-minimisation-08: (with COMMENT)

Paul Wouters <paul@nohats.ca> Mon, 28 December 2015 03:32 UTC

Return-Path: <paul@nohats.ca>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7B9951A8820 for <dnsop@ietfa.amsl.com>; Sun, 27 Dec 2015 19:32:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.01
X-Spam-Level:
X-Spam-Status: No, score=-2.01 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 L5uYEayht5uo for <dnsop@ietfa.amsl.com>; Sun, 27 Dec 2015 19:32:02 -0800 (PST)
Received: from mx.nohats.ca (mx.nohats.ca [IPv6:2a03:6000:1004:1::68]) (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 6C4051A87D1 for <dnsop@ietf.org>; Sun, 27 Dec 2015 19:32:02 -0800 (PST)
Received: from localhost (localhost [IPv6:::1]) by mx.nohats.ca (Postfix) with ESMTP id 3pTPZ814Dpz2Dc for <dnsop@ietf.org>; Mon, 28 Dec 2015 04:32:00 +0100 (CET)
Authentication-Results: mx.nohats.ca; dkim=pass (1024-bit key) header.d=nohats.ca header.i=@nohats.ca header.b=hf0ByIWI
X-OPENPGPKEY: Message passed unmodified
X-Virus-Scanned: amavisd-new at mx.nohats.ca
Received: from mx.nohats.ca ([IPv6:::1]) by localhost (mx.nohats.ca [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id 24xQiHbliB-7 for <dnsop@ietf.org>; Mon, 28 Dec 2015 04:31:59 +0100 (CET)
Received: from bofh.nohats.ca (206-248-139-105.dsl.teksavvy.com [206.248.139.105]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.nohats.ca (Postfix) with ESMTPS for <dnsop@ietf.org>; Mon, 28 Dec 2015 04:31:58 +0100 (CET)
Received: from bofh.nohats.ca (bofh.nohats.ca [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bofh.nohats.ca (Postfix) with ESMTPS id E559080060 for <dnsop@ietf.org>; Sun, 27 Dec 2015 22:31:52 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1451273512; bh=KQMjwGu4CzF3mhrNXSeXKCX5LNxmiEbSp2AXH3sj2E4=; h=Date:From:To:Subject:In-Reply-To:References; b=hf0ByIWI4ttT9SheHkE+iq80zatdLljJMwt5N91Iyd9WHJRr5mivhg2s/VFu7Pf8l /5gm0hJE0uJYxQvhtb/XdUjQxTR2sWf5ffQHEg9xryilWGyN+Edqq00N2suPlW0TJa 2ymB8dKINVeZWRkuECZOpj2BPzMMRb/za1OAYEWA=
Received: from localhost (paul@localhost) by bofh.nohats.ca (8.15.2/8.15.2/Submit) with ESMTP id tBS3VqXb003522 for <dnsop@ietf.org>; Sun, 27 Dec 2015 22:31:52 -0500
X-Authentication-Warning: bofh.nohats.ca: paul owned process doing -bs
Date: Sun, 27 Dec 2015 22:31:52 -0500
From: Paul Wouters <paul@nohats.ca>
To: dnsop <dnsop@ietf.org>
In-Reply-To: <20151228032023.48153.qmail@ary.lan>
Message-ID: <alpine.LFD.2.20.1512272223260.27044@bofh.nohats.ca>
References: <20151228032023.48153.qmail@ary.lan>
User-Agent: Alpine 2.20 (LFD 67 2015-01-07)
MIME-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="US-ASCII"
Archived-At: <http://mailarchive.ietf.org/arch/msg/dnsop/nlhnFAbzNQyV__ctDWfkPS4YpRs>
Subject: Re: [DNSOP] Refusing NS queries, was Barry Leiba's Yes on draft-ietf-dnsop-qname-minimisation-08: (with COMMENT)
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.15
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: Mon, 28 Dec 2015 03:32:03 -0000

On Sun, 28 Dec 2015, John Levine wrote:

>> Being listed as nameserver while unconditionally refusing all NS queries
>> leads to a guaranteed failure with DNSSEC as there would not be a signed
>> NS RRset published anywhere.
>
> Yes, we agree it could have bad results.
>
>> 	The NS RR states that the named host should be expected to have a zone
>> 	starting at owner name of the specified class.
>>
>> I would interpret that to mean that a parental NS glue record signifies
>> that the RDATA target must point to something that has that zone at the
>> owner name. Thus the NS queries at that target should return proper
>> results for NS queries (to itself)
>
> Unless, of course, the target doesn't like you and refuses your
> queries for policy reasons.

Note that I said "unconditionally refusing all NS queries". Conditionally
refusing queries based on query source behaviour is off-topic.

The section in question of the draft under discussion talks about the
specific case where a load balancer is returning REFUSED because it
did not implement NS queries, and that such behaviour is a violation
of the RFC. Not implementing NS queries on an authoritative nameserver
results in a DNS implementation that indeed violates the RFC. The question
was, which part of which RFC is the best reference to point to.

Paul