Refresh, Expiry and Default TTL

Brad Knowles brad.knowles at skynet.be
Fri May 11 17:42:53 UTC 2001


At 4:34 PM +0100 5/11/01, Matthew Thompson wrote:

>  But I can't decide what the times chould be - does anyone have any
>  suggestions?

	What's your minimum pain threshold?  How long are you willing to 
be "down" before your machines are resolvable again?  If you set the 
TTL too low, can your nameservers take the load?

	These are the kinds of questions you'll need to answer for 
yourself, and once you do, it should become fairly obvious what the 
minimum TTL should be changed to.


	In my experience, if all you're worried about is mail, then one 
hour should probably be fine -- most mail servers kick off a queue 
runner every hour, and if you miss a single queue run on a set of 
machines, you should still be okay.  After you make the change, 
within an hour everyone should see the new addresses.

	If you've got a high-traffic web site, you may want to set the 
TTL down a bit lower, but nothing below five minutes makes sense 
(there are still far too many old nameservers out there that will 
change any numbers lower than five minutes to be exactly five 
minutes, before they store the data).

	Of course, you can change the TTLs on different records to have 
different values, depending on your particular needs.

-- 
Brad Knowles, <brad.knowles at skynet.be>

/*        efdtt.c  Author:  Charles M. Hannum <root at ihack.net>          */
/*       Represented as 1045 digit prime number by Phil Carmody         */
/*     Prime as DNS cname chain by Roy Arends and Walter Belgers        */
/*                                                                      */
/*     Usage is:  cat title-key scrambled.vob | efdtt >clear.vob        */
/*   where title-key = "153 2 8 105 225" or other similar 5-byte key    */

dig decss.friet.org|perl -ne'if(/^x/){s/[x.]//g;print pack(H124,$_)}'


More information about the bind-users mailing list