From owner-freebsd-questions Mon Aug 28 11:13:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id 4079237B422 for ; Mon, 28 Aug 2000 11:13:52 -0700 (PDT) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (8.10.1/8.10.1) with ESMTP id e7SIDXU24388; Mon, 28 Aug 2000 11:13:34 -0700 (PDT) Message-Id: <200008281813.e7SIDXU24388@ptavv.es.net> To: Len Conrad Cc: freebsd-questions@FreeBSD.ORG Subject: Re: help plz In-reply-to: Your message of "Sat, 26 Aug 2000 18:17:26 +0200." <4.3.2.7.2.20000826181622.02e923f0@mail.Go2France.com> Date: Mon, 28 Aug 2000 11:13:33 -0700 From: "Kevin Oberman" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Date: Sat, 26 Aug 2000 18:17:26 +0200 > From: Len Conrad > Sender: owner-freebsd-questions@FreeBSD.ORG > > At 19:03 26/08/00 -0400, you wrote: > >1- in my local network, when i type named i see this: > > Aug 24 02:32:24 Zaid named[1149]: Zone "Zaid.Com" (file > > s/db.Zaid): No default TTL set using SOA minimum > > instead > > Aug 24 02:32:24 Zaid named[1149]: Zone "37.147.223.in-addr.arpa" > >(file s/Zaid.rev): No default TTL set us > > ing SOA minimum instead > > why ? > > a bug in bind 8.2.2p5, put $TTL 86400 at the top of every zone file. Not a bug, but an admission that overloading the SOA minimum TTL field as both minimum and default was not a good idea. The $TTL parameter "creates" a TTL of that value for each record not containing an explicit TTL. The SOA minimum TTL should be reduced to some fairly small value as it will be used for the TTL on negative cache entries and you typically don't want to cache these for very long. I set the minimum TTL to 15 minutes and $TTL to 1D (1 day) which is the same as $TTL 86400. (And the $TTL directive MUST be place before the SOA record. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message