home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / n / bind / bind-4.001 / bind-4~ / bind-4.9.3-BETA9 / conf / Info.soa-trouble < prev    next >
Internet Message Format  |  1994-02-15  |  2KB

  1. Return-Path: bind-workers-request
  2. Received: by gw.home.vix.com id AA13481; Tue, 15 Feb 94 14:40:33 -0800
  3. Received: by gw.home.vix.com id AA13469; Tue, 15 Feb 94 14:40:25 -0800
  4. Received: from mundamutti.cs.mu.OZ.AU by munnari.oz.au with SMTP (5.83--+1.3.1+0.50)
  5.     id AA21318; Wed, 16 Feb 1994 06:54:09 +1100 (from kre@munnari.OZ.AU)
  6. To: Piete Brooks <Piete.Brooks@cl.cam.ac.uk>
  7. Cc: bind-workers@vix.com, M Graham Dineley <mgd@kaa.ee.umist.ac.uk>
  8. Subject: Re: Suggested HACK to allow recovery after SOA typo ... 
  9. In-Reply-To: Your message of "Tue, 15 Feb 1994 18:57:53 -0000."
  10.              <"swan.cl.cam.:051210:940215185815"@cl.cam.ac.uk> 
  11. Date: Wed, 16 Feb 1994 06:54:09 +1100
  12. Message-Id: <5765.761342049@munnari.OZ.AU>
  13. From: Robert Elz <kre@munnari.OZ.AU>
  14.  
  15. This is unnecessary with 4.9.2 (and beyond).   It would take
  16. two steps to do - one to set the serial number to 0, then
  17. another to set the serial number back to its proper value.
  18.  
  19. In two steps its always possible to reset the serial number
  20. to a sane value with 4.9.2, and if you really messed it up
  21. it may be possible to do it in one.   This uses the (finally RFC
  22. compliant) wrapping serial numbers, you simply increment the
  23. bad serial number by the lesser of 2^31 - 1 and the difference
  24. between what you want it to be and the current value.
  25.  
  26. If that didn't give you the value you want, you increment one
  27. more time by the difference between what you want it to be and
  28. what it then is (which will be less than 2^31 - 1 except in the
  29. one pathological case where the "fix" you wanted was to
  30. decrement the serial number by one - which isn't worth doing,
  31. but could be done in one extra step).
  32.  
  33. Of course this only works where yyour secondaries are running
  34. 4.9.2, but so would any other hack scheme invented.
  35.  
  36. It is true that this involves some mod 2^32 arithmetic, but
  37. its not that difficult.
  38.  
  39. kre
  40.