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

Mark Stapp <mjs@cisco.com> Thu, 19 June 2003 22:08 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 SAA22093 for <dhcwg-archive@odin.ietf.org>; Thu, 19 Jun 2003 18:08:30 -0400 (EDT)
Received: (from exim@localhost) by www1.ietf.org (8.11.6/8.11.6) id h5JM84k18043 for dhcwg-archive@odin.ietf.org; Thu, 19 Jun 2003 18:08:04 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 19T7Zc-0004gw-In for dhcwg-web-archive@optimus.ietf.org; Thu, 19 Jun 2003 18:08:04 -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 SAA22024 for <dhcwg-web-archive@ietf.org>; Thu, 19 Jun 2003 18:08:00 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 19T7XI-00045j-00 for dhcwg-web-archive@ietf.org; Thu, 19 Jun 2003 18:05:40 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org) by ietf-mx with esmtp (Exim 4.12) id 19T7XI-00045g-00 for dhcwg-web-archive@ietf.org; Thu, 19 Jun 2003 18:05:40 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 19T7ZY-0004fd-Uv; Thu, 19 Jun 2003 18:08:00 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 19T7Ye-0004Rq-Bk for dhcwg@optimus.ietf.org; Thu, 19 Jun 2003 18:07:04 -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 SAA21913 for <dhcwg@ietf.org>; Thu, 19 Jun 2003 18:07:00 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 19T7WK-00045N-00 for dhcwg@ietf.org; Thu, 19 Jun 2003 18:04:40 -0400
Received: from rtp-core-1.cisco.com ([64.102.124.12]) by ietf-mx with esmtp (Exim 4.12) id 19T7WJ-00044u-00 for dhcwg@ietf.org; Thu, 19 Jun 2003 18:04:39 -0400
Received: from mjs-w2k01.cisco.com ([10.86.146.21]) by rtp-core-1.cisco.com (8.12.9/8.12.6) with ESMTP id h5JM6SO2017321; Thu, 19 Jun 2003 18:06:28 -0400 (EDT)
Message-Id: <4.3.2.7.2.20030619174731.01fe6eb8@goblet.cisco.com>
X-Sender: mjs@goblet.cisco.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Thu, 19 Jun 2003 18:06:23 -0400
To: Ted Lemon <mellon@fugue.com>
From: Mark Stapp <mjs@cisco.com>
Subject: Re: [dhcwg] DDNS-DHCP [6]: Relationship between DNS TTL and DHCP lease length
Cc: Robert Elz <kre@munnari.OZ.AU>, dhcwg@ietf.org, namedroppers@ops.ietf.org
In-Reply-To: <200306191240.56057.mellon@fugue.com>
References: <14436.1056021556@munnari.OZ.AU> <4.3.2.7.2.20030618091029.00b76578@funnel.cisco.com> <14436.1056021556@munnari.OZ.AU>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
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>

Would this be a reasonable summary of the discussion on this topic?

1. the looseness of the coupling among primary, secondary, and caching dns 
servers makes it unrealistic to guarantee that no query will see stale 
records. the deployment experience that we have does not indicate that this 
is a problem.

2. this section of the draft should make the issues about dns ttls and 
caching more explicit, so that it's clearer what the operational 
consequences of 'stale' records might be. I'll add text about the benefits 
to removing dhcp-added dns records when leases expire.

3. the simple ttl guidelines that are in the draft are present to give 
implementors (and administrators) some clue about reasonable ranges and 
defaults. the guidelines are meant to help folks avoid hare-brained 
configurations (what Robert calls "minimizing damage"); the guidelines 
aren't intended to provide a guarantee about how long it may be before 
changes to the dns become universally visible.

4. it's not worthwhile to impose new requirements on DHCP servers to put 
names or addresses in limbo in some way for some period of time after 
leases expire.

-- Mark

At 12:40 PM 6/19/2003 -0500, Ted Lemon wrote:
>On Thursday 19 June 2003 06:19, Robert Elz wrote:
> > That is, reworded, to make sure my understanding is correct, the
> > problem to be avoided is having a name referring to an address that
> > is now to be assigned to a different name ?
> >
> > Who cares?
>
>Let's say machine X has an SMTP listener, and machine Y also has an SMTP
>listener.   Machine X gets an IP address, Z, from the DHCP server.   Then the
>owner of Machine X wanders away, leaving the lease active.   The lease
>expires, and then machine Y gets the address.   But there is still an A
>record for machine X pointing at IP address Z.   So now, machine Q connects
>to Z because of that A record, and tries to drop mail for X on Y.   Y will
>either bounce it immediately, or bounce it after it notices that the A record
>for X is pointing at it.   So we'd really like it if the time that the A
>record goes away and the time that the lease goes away are fairly close
>together, so that the chances of this happening are slim.
>
>Of course, I would say that this is a broken configuration anyway - you 
>really
>want to use protocols that verify who they're talking to if you have a mobile
>computer.   But that's the basis for caring about this sort of thing, and
>while I don't think we can completely solve the problem, it's worth setting
>things up to minimize the damage that occurs in cases like this.
>
>
>_______________________________________________
>dhcwg mailing list
>dhcwg@ietf.org
>https://www1.ietf.org/mailman/listinfo/dhcwg


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