Re: [DNSOP] draft-fujiwara-dnsop-resolver-update-00

Ondřej Surý <ondrej.sury@nic.cz> Wed, 09 November 2016 13:18 UTC

Return-Path: <ondrej.sury@nic.cz>
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 718C712945B for <dnsop@ietfa.amsl.com>; Wed, 9 Nov 2016 05:18:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.497
X-Spam-Level:
X-Spam-Status: No, score=-8.497 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.497] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nic.cz
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 3KVFVq-UB7pm for <dnsop@ietfa.amsl.com>; Wed, 9 Nov 2016 05:18:32 -0800 (PST)
Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0A7D71293EC for <dnsop@ietf.org>; Wed, 9 Nov 2016 05:18:32 -0800 (PST)
Received: from zimbra.rfc1925.org (calcifer.labs.nic.cz [217.31.192.138]) by mail.nic.cz (Postfix) with ESMTP id C969E61366; Wed, 9 Nov 2016 14:18:30 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1478697510; bh=27w0IZMva7vD3qS0ZIVvXihMDhT+6GjnNNzzS8rfS2Y=; h=Date:From:To; b=wfCJIrwbFYxvCkJ+zDv8X1Tblv/RGmVF16hI4ip3XgEPTLFSy7Ie3sOqSHaqPhJlf TknCb/PMmhnZiw4XmvmqHK1WFafRw6gBf4Fr5bfuWRt9pYllAdzHIKMXzSkv8T4ilS T1xmtf3yAwTdsypX+abwSWX0Ya9DUHdRYR2sn0yQ=
Date: Wed, 09 Nov 2016 14:18:30 +0100
From: Ondřej Surý <ondrej.sury@nic.cz>
To: fujiwara <fujiwara@jprs.co.jp>
Message-ID: <2044999450.713.1478697510649.JavaMail.zimbra@nic.cz>
In-Reply-To: <701285746.574.1478689178994.JavaMail.zimbra@nic.cz>
References: <147795220408.23229.3823829447888504743.idtracker@ietfa.amsl.com> <20161102.151018.2232639331039185901.fujiwara@jprs.co.jp> <701285746.574.1478689178994.JavaMail.zimbra@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Originating-IP: [217.31.192.138]
X-Mailer: Zimbra 8.7.0_GA_1659 (ZimbraWebClient - FF49 (Linux)/8.7.0_GA_1659)
Thread-Topic: draft-fujiwara-dnsop-resolver-update-00
Thread-Index: 82Kemxtrp0qV7AKXmHsT2LH5c8RULOQi4vhi
X-Virus-Scanned: clamav-milter 0.98.7 at mail
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/A9puyDIG995Y_UwqPKBzrE7gMs4>
Cc: dnsop <dnsop@ietf.org>
Subject: Re: [DNSOP] draft-fujiwara-dnsop-resolver-update-00
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.17
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, 09 Nov 2016 13:18:34 -0000

One more thought I have just realized in the discussion with my colleague and that might tilt the scales towards the Fujiwara-san's proposal.

The modern authoritative nameservers tries to minimize the amount of data given back, so they don't fill an AUTHORITATIVE section for every query. The consequences of that is that a one more roundtrip would be needed to check the child-side NS.

I still don't know how to explain: "You absolutely must fill this in, but it will be never used unless the parent and child resides at the same server."

Cheers,
Ondrej

--
 Ondřej Surý -- Technical Fellow
 --------------------------------------------
 CZ.NIC, z.s.p.o.    --     Laboratoře CZ.NIC
 Milesovska 5, 130 00 Praha 3, Czech Republic
 mailto:ondrej.sury@nic.cz    https://nic.cz/
 --------------------------------------------

----- Original Message -----
> From: "Ondřej Surý" <ondrej.sury@nic.cz>
> To: "fujiwara" <fujiwara@jprs.co.jp>
> Cc: "dnsop" <dnsop@ietf.org>
> Sent: Wednesday, 9 November, 2016 11:59:39
> Subject: Re: [DNSOP] draft-fujiwara-dnsop-resolver-update-00

> Fujiwara-san,
> 
> I was strongly opposed to the idea after your DNS-OARC presentation
> and I am glad you are continuing the effort :).
> 
> I had some private conversation with Ralf Weber from Nominum and
> we have conducted few experiments (and I plan to do more).
> 
> My biggest concern is that your draft is missing the impact on the
> authoritative side:
> 
> 1) what should happen when there's wrong NS at the child?
> 2) what should happen when there's no NS at the child?
> 3) what should happen in 1) and 2) when they are at the same server (generally
> the child NS is served)?
> 
> The most practical thing would be to require that child and parent NS MUST
> match, but we would
> be saying at the same time that it won't be used at all.
> 
> The second concern is about TTL. You dismiss it very quickly in 5.4, but
> implementation wise - it would be probably best to split "delegation" and RR
> caches as you generally the query for:
> 
> "example.com." IN NS
> 
> should return child records with child TTL, but the delegation at parent could
> have different values with different TTL. Also I can imagine this will be very
> confusing to end-users - when I query my resolver for "IN NS" I generally want
> to know when the changes in the delegations will be reflected.
> 
> One possible way might be to return child NS in ANSWER and parent NS in
> AUTHORITY section in such case - but this needs to be addressed in the draft.
> 
> This will also have an impact on registries - usually the TTL at the parent is
> picked by the registry, but when the TTL at the parent could have such strong
> impact on the resolver behavior, the registries would have to modify their
> systems to allow TTL specification per delegated domain. This applies
> especially in the cases when the registry picks some large (but still
> reasonable) number for TTL.
> 
> P.S.: I am not so strongly opposed to the idea since I think a more
> deterministic approach to the resolution is generally a good thing, but I think
> there are many thing that need to be addressed before we can consider this to
> be an official standard and change in the paradigm how the domains are
> resolved.
> 
> Cheers,
> Ondrej
> 
> --
> Ondřej Surý -- Technical Fellow
> --------------------------------------------
> CZ.NIC, z.s.p.o.    --     Laboratoře CZ.NIC
> Milesovska 5, 130 00 Praha 3, Czech Republic
> mailto:ondrej.sury@nic.cz    https://nic.cz/
> --------------------------------------------
> 
> ----- Original Message -----
>> From: fujiwara@jprs.co.jp
>> To: "dnsop" <dnsop@ietf.org>
>> Sent: Wednesday, 2 November, 2016 07:10:18
>> Subject: [DNSOP] draft-fujiwara-dnsop-resolver-update-00
> 
>> Hello,
>> 
>> I submitted draft-fujiwara-dnsop-resolver-update-00 that tries to
>> improve resolver algorithm.
>> 
>> Please read it and comment.
>> 
>> I also made a presentation of the same topic
>> at previous DNS-OARC workshop.
>> 
>>  https://indico.dns-oarc.net/event/25/session/6/contribution/19/material/slides/2.pdf
>> 
>> Regards,
>> 
>> --
>> Kazunori Fujiwara, JPRS <fujiwara@jprs.co.jp>
>> 
>>> From: internet-drafts@ietf.org
>>> 
>>> A new version of I-D, draft-fujiwara-dnsop-resolver-update-00.txt
>>> has been successfully submitted by Kazunori Fujiwara and posted to the
>>> IETF repository.
>>> 
>>> Name:		draft-fujiwara-dnsop-resolver-update
>>> Revision:	00
>>> Title:		Updating Resolver Algorithm
>>> Document date:	2016-11-01
>>> Group:		Individual Submission
>>> Pages:		9
>>> URL:
>>> https://www.ietf.org/internet-drafts/draft-fujiwara-dnsop-resolver-update-00.txt
>>> Status:
>>> https://datatracker.ietf.org/doc/draft-fujiwara-dnsop-resolver-update/
>>> Htmlized:
>>> https://tools.ietf.org/html/draft-fujiwara-dnsop-resolver-update-00
>>> 
>>> 
>>> Abstract:
>>>    Parent side NS RRSet and glue records are all information to access
>>>    servers for child zone.  However, they may be overwritten by child
>>>    zone data (zone apex NS RRSet and other A/AAAA RRSets).  The
>>>    overwrite makes name resolution unstable and induces vulnerabilities.
>>>    RFC 2181 section 5.4.1 specifies trustworthiness of DNS data.  And it
>>>    is deemed that that all cached data (authoritative data, non-
>>>    authoritative data, referrals and glue records) are merged into one.
>>>    Resolvers may answer non-authoritative data, referrals and glue
>>>    records that should not be returned.  This document proposes updating
>>>    resolver algorithm that separates the cache to "authoritative data
>>>    cache" and "delegation cache".  The former is used to answer stub
>>>    resolvers, and the latter is used to iterate zones.
>>> 
>>>                                                                                   
>>> 
>>> 
>>> Please note that it may take a couple of minutes from the time of submission
>>> until the htmlized version and diff are available at tools.ietf.org.
>>> 
>>> The IETF Secretariat
>>> 
>> 
>> _______________________________________________
>> DNSOP mailing list
>> DNSOP@ietf.org
> > https://www.ietf.org/mailman/listinfo/dnsop