Re: [DNSOP] New Version Notification for draft-pusateri-dnsop-update-timeout-00.txt

Tom Pusateri <pusateri@bangj.com> Sat, 25 August 2018 19:09 UTC

Return-Path: <pusateri@bangj.com>
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 C36AD130EDE for <dnsop@ietfa.amsl.com>; Sat, 25 Aug 2018 12:09:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, 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 Y4TaNJOuRUUz for <dnsop@ietfa.amsl.com>; Sat, 25 Aug 2018 12:09:17 -0700 (PDT)
Received: from oj.bangj.com (amt0.gin.ntt.net [129.250.11.170]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4DFF9130ECE for <dnsop@ietf.org>; Sat, 25 Aug 2018 12:09:16 -0700 (PDT)
Received: from [172.16.10.126] (unknown [107.13.224.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by oj.bangj.com (Postfix) with ESMTPSA id B42E323FC; Sat, 25 Aug 2018 15:04:57 -0400 (EDT)
From: Tom Pusateri <pusateri@bangj.com>
Message-Id: <9B4A76C4-3BA6-46EC-90EB-E78065FD8BD3@bangj.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_C236FAA9-3F74-43E5-B01D-3FF434648690"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
Date: Sat, 25 Aug 2018 15:09:14 -0400
In-Reply-To: <CAPt1N1ksyp1t_e9Qd4FTtTVsZr9+VDm11MR-jS9Oz8Kpz7J7AQ@mail.gmail.com>
Cc: dnsop WG <dnsop@ietf.org>
To: Ted Lemon <mellon@fugue.com>
References: <153507165910.12116.7113196606839876181.idtracker@ietfa.amsl.com> <AFB90F6F-5D99-4403-AAB6-1123727973E6@bangj.com> <5B7F5E07.5080100@redbarn.org> <7F91FFF7-71C3-4F8E-82CD-266B170983E0@bangj.com> <C0EE2719-B662-4231-AF51-D3B98B00AD0D@fugue.com> <6D607922-393D-4549-AAFA-49279C260CA4@bangj.com> <3C6100BD-62D6-41ED-B7BF-679F0D4E4113@fugue.com> <5063A32B-4877-4860-BA73-CCB068AB7FCB@bangj.com> <CAPt1N1=tXZNgT6ygAaLFfOMze7hbGZ6q_eN1C3iEo9ryBNcyLg@mail.gmail.com> <98EF2CAC-7C13-4E68-8D2B-EC0659EA9646@bangj.com> <CAPt1N1kFNY4=CUMsTvXmeRREeLAkY8xpBdw4vPDxujgke6QT8A@mail.gmail.com> <963460AA-14BB-44AA-87CA-7F09A707DB5D@bangj.com> <47AE41F8-9F5F-4CC8-B4F0-7E8191011E99@bangj.com> <F4335D3A-0241-437F-A428-8EA95F0A1C18@fugue.com> <56E8B2A6-7B65-4D25-B102-9EFA7E2CBE7B@bangj.com> <86D465A4-F390-4370-83EC-0E72FBE115BE@isc.org> <CAPt1N1=xy+JAtgvvF_+9LiTiefbpTy_Vd0b8gswozA1K1C57Nw@mail.gmail.com> <99FA0B76-D225-45FC-A33C-B65E2673A45E@isc.org> <CAPt1N1kp8Tg5tWEiDCMuMNTmehRsBSkkC1=u+RcvkG6ZCegE-g@mail.gmail.com> <977DF12E-178B-4500-B045-F27BF1CDF51C@isc.org> <CAPt1N1=cafnVmnNM2eSF67QbgRk8hUEAd2Gwuqx4OUehPZSmyQ@mail.gmail.com> <AC3FE6CF-CC11-44D3-8C50-BC19C295F001@bangj.com> <CAPt1N1ksyp1t_e9Qd4FTtTVsZr9+VDm11MR-jS9Oz8Kpz7J7AQ@mail.gmail.com>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/9Z6lFpRk5Ndis7l70D10DWe4Pz4>
Subject: Re: [DNSOP] New Version Notification for draft-pusateri-dnsop-update-timeout-00.txt
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.27
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: Sat, 25 Aug 2018 19:09:20 -0000

I think I already agreed with you here.

My main point was that the primary needs a database and it already has one and probably doesn’t want another one. Because of the added benefit that Paul points out with promoting a secondary to primary after an extended outage, and the points that Joe makes about treating all records the same, it seems logical to store the lease lifetime information as actual resource records and transfer them to the secondary.

Thanks,
Tom


> On Aug 25, 2018, at 2:13 PM, Ted Lemon <mellon@fugue.com> wrote:
> 
> Well, okay, but isn't this just for garbage collection?   Why is it a problem if the garbage collection is delayed?   If the primary is down, it's not like some other device could claim that name anyway.
> 
> On Sat, Aug 25, 2018 at 2:11 PM Tom Pusateri <pusateri@bangj.com <mailto:pusateri@bangj.com>> wrote:
> This is a valid question.
> 
> In most cases, having the primary remember the lease lifetime should be enough. But if the outage is longer than the lease lifetime, it would better if the secondary would also have that information.
> 
> But more importantly, the primary has to store the lease lifetimes for it’s own use for protection against restarts, reboots, and crashes. Keeping the lease lifetime closest to the records they reference is a good principle and so storing them as records along with the records they reference seems not only reasonable, but preferred.
> 
> Whether or not they are transferred to the secondary is of secondary importance. But having them treated as regular records has been recommended so having them transferred during AXFR/IXFR will be looked upon with favor.
> 
> Thanks,
> Tom
> 
> 
> 
>> On Aug 25, 2018, at 11:11 AM, Ted Lemon <mellon@fugue.com <mailto:mellon@fugue.com>> wrote:
>> 
>> Right; my question is, is this an operational problem people are having IRL?   If it is, then it makes sense to do something about it.   If it's not, it doesn't.   I've never seen people do what you're describing in practice; that's why I'm asking..   And we definitely agree that there needs to be a cleanup process; the question is, does it have to be done this way.   E.g., if the lease isn't part of the zone, is that actually a problem?   Does the lease need to be part of the zone transfer, or is it enough that the primary has it?   For my part, it seems unnecessary for the secondaries to have it, since they can't update the zone anyway.   As long as the primary remembers that there's a lease, the right thing will happen.
>> 
>> On Sat, Aug 25, 2018 at 10:30 AM Mark Andrews <marka@isc.org <mailto:marka@isc.org>> wrote:
>> It avoids leaving dangling records published longer than necessary.
>> 
>> Network dies so the machine can’t do the cleanup it was intending.
>> 
>> Last second cleanup as the lid closes doesn’t get through. 
>> 
>> It’s relatively easy to implement, no more difficult than resigning for DNSSEC at the cost of a small amount of space.  It also transfers the necessary state to all the slaves allowing them to take over if the master server fails presuming they have the keying material for DNSSEC. 
>> 
>> -- 
>> Mark Andrews
>> 
>> On 25 Aug 2018, at 22:53, Ted Lemon <mellon@fugue.com <mailto:mellon@fugue.com>> wrote:
>> 
>>> I'm not saying nobody does it.   I'm trying to understand how this helps.
>>> 
>>> On Fri, Aug 24, 2018 at 11:24 PM Mark Andrews <marka@isc.org <mailto:marka@isc.org>> wrote:
>>> Ted stop being daft. People have been registering addresses of machines in the public DNS for decades.   SLAAC. Is just one source of addresses. DHCP is another. Come up with a third method and they will do it with it. 
>>> 
>>> Also DHCP servers from ISPs don’t have authority to update DNS servers for my machines. Only those machines have such authority so don’t discount DHCP derived addresses. 
>>> 
>>> -- 
>>> Mark Andrews
>>> 
>>> On 25 Aug 2018, at 12:53, Ted Lemon <mellon@fugue.com <mailto:mellon@fugue.com>> wrote:
>>> 
>>>> When would that happen?
>>>> 
>>>> On Fri, Aug 24, 2018 at 10:52 PM Mark Andrews <marka@isc.org <mailto:marka@isc.org>> wrote:
>>>> Registering slaac derived addresses in the DNS.  These are tied to prefix lifetimes. 
>>>> 
>>>> 
>>>> -- 
>>>> Mark Andrews
>>>> 
>>>> On 25 Aug 2018, at 05:02, Tom Pusateri <pusateri@bangj.com <mailto:pusateri@bangj.com>> wrote:
>>>> 
>>>>> 
>>>>> 
>>>>>> On Aug 24, 2018, at 2:59 PM, Ted Lemon <mellon@fugue.com <mailto:mellon@fugue.com>> wrote:
>>>>>> 
>>>>>> On Aug 24, 2018, at 2:43 PM, Tom Pusateri <pusateri@bangj.com <mailto:pusateri@bangj.com>> wrote:
>>>>>>> It seems odd to take the position that the authoritative server shouldn’t need to clean up stale entries because it assumes the client will do it for you. I can’t imagine you taking this position under any other scenario.
>>>>>> 
>>>>>> The issue here is that this is a pretty major change to the DNS.   If we really want something this heavy, we should have a good reason for wanting it.   That's all.
>>>>>> 
>>>>>> The idea that some unnamed DHCP server somewhere doesn't do the right thing with cleaning up stale entries doesn't seem like a good enough reason, particularly given that the DHCID record tags the thing as having been added by the DHCP server, and considering that there are several open source implementations that do automatically delete records when the lease expires.
>>>>>> 
>>>>>> I think it might make sense to just wait on this.  I agree that it's an interesting idea for completeness, but we don't have enough operational experience yet to know whether we have a problem worth solving.   With respect to the DHCP use case, I'm certain we don't.
>>>>>> 
>>>>>> The good news is that if we do need this, you've done a design, and we also have Paul's design to look at.   So if operational experience a few years down the road shows us that we have a gap here, we can move on it pretty easily. I just don't see any reason to rush into it.
>>>>> 
>>>>> Ok, great. Hopefully others have some use cases they can share. In the mean time, back to learning Rust…
>>>>> 
>>>>> Thanks,
>>>>> Tom
>>>>> 
>>>>> _______________________________________________
>>>>> DNSOP mailing list
>>>>> DNSOP@ietf.org <mailto:DNSOP@ietf.org>
>>>>> https://www.ietf.org/mailman/listinfo/dnsop <https://www.ietf..org/mailman/listinfo/dnsop>
> 
> _______________________________________________
> DNSOP mailing list
> DNSOP@ietf.org
> https://www.ietf.org/mailman/listinfo/dnsop