From owner-freebsd-questions Sat Sep 28 6:48:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C63E37B401 for ; Sat, 28 Sep 2002 06:48:20 -0700 (PDT) Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECC8A43E4A for ; Sat, 28 Sep 2002 06:48:08 -0700 (PDT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [IPv6:::1]) by lurza.secnetix.de (8.12.5/8.12.5) with ESMTP id g8SDm0mC085853 for ; Sat, 28 Sep 2002 15:48:01 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.12.5/8.12.5/Submit) id g8SDm0aQ085852; Sat, 28 Sep 2002 15:48:00 +0200 (CEST) Date: Sat, 28 Sep 2002 15:48:00 +0200 (CEST) Message-Id: <200209281348.g8SDm0aQ085852@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG Reply-To: freebsd-questions@FreeBSD.ORG Subject: Re: named rejecting all kinds of serials In-Reply-To: <19116172.1033221870@tot.in.t-online.fr> X-Newsgroups: list.freebsd-questions User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.6-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mathieu Arnold wrote: > --On samedi 28 septembre 2002 13:49 +0200 "Janine C.Buorditez" > wrote: > > Sep 28 13:22:50 ninja named[87]: master zone "terrabionic.com" (IN) > > rejected due to errors (serial 2002092801) > > > > now, isn't this the valid serial for today? > > > > i've tried all kinds of dates; past, current and future. with zero, one > > and two digits in the last field. > > The thing is that it is not the serial that is invalid, but the zone file. > named tells you the serial number because you might have different versions > of it. Furthermore, the serial number has got nothing to do with the date, even though many people use the date for it. So there is no such thing as a "valid serial for today". The serial is just a number. You can as well start with "1" and increase by 1 each time you change it, independent of the date. The only thing that's _really_ important is that you never decrease the number, and never overflow the (signed) 32bit range. Otherwise, secondary servers will not accept any changes in your zone. There's a special procedure involved to fix such a problem; it's described in RFC 1912, I think. Bye the way, RFC 1912 is definitely recommended reading for anybody who operates a name server or who is responsible for zone files. Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message