Re: [dhcwg] DDNS-DHCP [6]: Relationship between DNS TTL and DHCP lease length

"D. J. Bernstein" <djb@cr.yp.to> Mon, 23 June 2003 17:47 UTC

Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA00840 for <dhcwg-archive@odin.ietf.org>; Mon, 23 Jun 2003 13:47:43 -0400 (EDT)
Received: (from exim@localhost) by www1.ietf.org (8.11.6/8.11.6) id h5NHlF517741 for dhcwg-archive@odin.ietf.org; Mon, 23 Jun 2003 13:47:15 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 19UVPP-0004by-2n for dhcwg-web-archive@optimus.ietf.org; Mon, 23 Jun 2003 13:47:15 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA00764 for <dhcwg-web-archive@ietf.org>; Mon, 23 Jun 2003 13:47:12 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 19UVPM-0004ET-00 for dhcwg-web-archive@ietf.org; Mon, 23 Jun 2003 13:47:12 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org) by ietf-mx with esmtp (Exim 4.12) id 19UVPG-0004EN-00 for dhcwg-web-archive@ietf.org; Mon, 23 Jun 2003 13:47:06 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 19UVPB-0004ZJ-Cs; Mon, 23 Jun 2003 13:47:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 19USw8-0004iT-Gb for dhcwg@optimus.ietf.org; Mon, 23 Jun 2003 11:08:52 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA23883 for <dhcwg@ietf.org>; Mon, 23 Jun 2003 11:08:48 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 19USw5-0002pS-00 for dhcwg@ietf.org; Mon, 23 Jun 2003 11:08:49 -0400
Received: from stoneport.math.uic.edu ([131.193.178.160]) by ietf-mx with smtp (Exim 4.12) id 19USvu-0002pP-00 for dhcwg@ietf.org; Mon, 23 Jun 2003 11:08:38 -0400
Received: (qmail 48341 invoked by uid 1016); 23 Jun 2003 15:09:05 -0000
Date: Mon, 23 Jun 2003 15:09:05 -0000
Message-ID: <20030623150905.48340.qmail@cr.yp.to>
Automatic-Legal-Notices: See http://cr.yp.to/mailcopyright.html.
From: "D. J. Bernstein" <djb@cr.yp.to>
To: namedroppers@ops.ietf.org, dhcwg@ietf.org
Subject: Re: [dhcwg] DDNS-DHCP [6]: Relationship between DNS TTL and DHCP lease length
References: <20030620224347.48646.qmail@cr.yp.to> <Pine.LNX.4.44.0306231420410.611-100000@x45.ripe.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
Sender: dhcwg-admin@ietf.org
Errors-To: dhcwg-admin@ietf.org
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Id: <dhcwg.ietf.org>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>

Bruce Campbell writes:
> So, the next question is, since Client A and Client B received different
> (authoritative) responses, does that mean that there were different
> versions of the zone 'example.com' at time T and T+100 ?

Of course not; that would be silly. The TTD---which is what caches
actually store anyway---is the same. Queries at different times will
interpret the same TTD as different TTLs, of course, but that doesn't
mean the zone has changed.

If you insist on corrupting the zone by retrieving it through AXFR,
you'll get 2-second TTLs from my AXFR server. Of course, the record also
won't disappear until the next AXFR. The effects on the secondary, and
on clients talking to the secondary, are the same as if you had manually
set a 2-second TTL in the first place.

If you transfer the zone accurately (for example, through rsync), the
secondary will allow more caching before the time-to-die than it would
have with a 2-second TTL, and it will remove the record at exactly the
right time without another transfer.

---D. J. Bernstein, Associate Professor, Department of Mathematics,
Statistics, and Computer Science, University of Illinois at Chicago

_______________________________________________
dhcwg mailing list
dhcwg@ietf.org
https://www1.ietf.org/mailman/listinfo/dhcwg