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 / CHANGES next >
Text File  |  1994-07-23  |  73KB  |  1,580 lines

  1. $Id: CHANGES,v 4.9.1.35 1994/07/24 01:00:59 vixie Exp $
  2.  
  3.     --- 4.9.3-beta9 released ---
  4.  
  5. 205. minor Makefile fix after beta9 was previewed on bind-workers; also, a
  6.      new file conf/Info.Linux-more has been included.
  7.  
  8. 204. BOG fixes.
  9.  
  10. 203. netlists elements are now
  11.     { addr [ "&" mask ] }
  12.      which for the EBNF-impaired, means that "&" introduces an explicit mask.
  13.      implicit masks are either by-class or 0xffffffff, depending on ALLOW_HOSTS
  14.      in the call to get_netlist().
  15.  
  16. 202. name compression is now case-insensitive.
  17.  
  18. 201. duplicate RRDATA won't trigger the new "auth warning" in db_update().
  19.  
  20.     --- 4.9.3-beta8-patch2 released ---
  21.  
  22. 200. added a haveComplained() to limit auth warnings.
  23.  
  24. 199. fixed idiotic code reordering from patch1.
  25.  
  26.     --- 4.9.3-beta8-patch1 released ---
  27.  
  28. 198. a bad-string-termination bug was fixed in getnetanswer().
  29.  
  30. 197. an uninitialized-variable bug was fixed in db_update().
  31.  
  32.     --- 4.9.3-beta8 released ---
  33.  
  34. 196. Several minor corrections were made to the BOG.
  35.  
  36. 195. "clev" now distinguishes between root and TLD (wasn't worth a darn before)
  37.  
  38. 194. empty nodes in authority zones are now protected from non-auth updates.
  39.      (most of db_update() was rewritten to fix/support this.)
  40.  
  41. 193. negative cache items weren't updated before, now they are.
  42.  
  43. 192. zone updates from answers were prevented for new types but not if some
  44.      rr already existed with that type.  fixed.  also syslogged.
  45.  
  46. 191. the cache now distinguishes between authoritative answers and zone rr's.
  47.  
  48. 190. negative cache items are now marked appropriately authoritative.
  49.  
  50. 189. CRED is no longer optional.
  51.  
  52. 188. Another enhancement has been made to HINFO parsing.  Named-xfer now
  53.      accepts RFC-bogus input formats generated by previous versions of BIND.
  54.  
  55. 187. SUNSECURITY now forces RES_DEFNAMES on so that relative "localhost" works.
  56.  
  57. 186. Minor portability fixes for DEC OSF/1, HP-UX.
  58.  
  59.     --- 4.9.3-beta7-patch2 released ---
  60.  
  61. 186. i forgot to comment out template Linux lines in top Makefile.  fixed.
  62.  
  63. 185. "bogusns" directive significantly strengthened, for IN-ADDR.ARPA problem.
  64.      also fixed a bug in hardcoded root server lame detection.
  65.  
  66.     --- 4.9.3-beta7-patch1 released ---
  67.  
  68. 184. Yet another ULTRIX incompatibility has been worked around.
  69.  
  70. 183. Bogus HINFO RR's will no longer cause corrupt secondary zone files.
  71.  
  72. 182. NeXT support is now complete.  Builds right out of the box.
  73.  
  74. 181. Updated TODO file.
  75.  
  76. 180. Added new INSTALL file.
  77.  
  78. 179. Minor doc fix in OPTIONS file.
  79.  
  80. 178. Security-related bug fix to new sunos shres/* stuff.
  81.  
  82. 177. Limited Linux portability was added.
  83.  
  84. 176. Trailing dots on zone names in named.boot are now ignored.
  85.  
  86. 175. Random lint was removed.
  87.  
  88. 174. DiG changes: increment version number (2.1), allow default domain (.).
  89.  
  90.     --- 4.9.3-beta7 released ---
  91.  
  92. 173. named-xfer would act strangely if trailing dot domains given as arguments.
  93.  
  94. 172. setenv() now provided on systems that need it (NeXTStep, e.g.).
  95.  
  96. 171. doc changes for shres/*.
  97.  
  98. 170. fixed debugging output problem in ns_req.c.
  99.  
  100. 169. fixed portability "bugs" on ultrix systems (some tools wouldn't link).
  101.  
  102. 168. minor functionality change in named/ns_validate.c.
  103.  
  104. 167. minor lint in res/res_comp.c.
  105.  
  106. 166. minor change to contrib/doc-2.0/*.
  107.  
  108.     --- 4.9.3-beta6 released ---
  109.  
  110. 165. another small adjustment to the Apollo section of the Makefile.
  111.  
  112. 164. a completely new shres/* was submitted; contrib/sunlibc is deprecated.
  113.  
  114. 163. INVQ is back on again by default.  See README.
  115.  
  116. 162. another set of patches for obscure corner cases in the HINFO parser.
  117.  
  118. 161. added new SUNOS4 macro to Makefile and conf/portability.h; this should
  119.      fix the trouble folks were having with strerror() on SunOS 4.X systems.
  120.  
  121. 160. minor Makefile changes.
  122.  
  123. 159. processes which send outbound zone transfers now close all inherited
  124.      descriptors, since they can be longer-lived than the main named.
  125.  
  126.     --- 4.9.3-beta5 released ---
  127.  
  128. 158. various lint involving options which are rarely defined.
  129.  
  130. 157. sunos needed -DBSD=43 rather than -DBSD.
  131.  
  132. 156. minor memory leak fixed in ns_req.c.
  133.  
  134. 155. some install directories for DGUX were wrong.
  135.  
  136.     --- 4.9.3-beta4 released ---
  137.  
  138. 154. a new man/* hierarchy was installed which should be more portable.
  139.  
  140. 153. a new contrib/host has been included.
  141.  
  142. 152. a parsing problem in HINFO was fixed.
  143.  
  144. 151. a few minor changes to contrib/sunlibc/Makefile.
  145.  
  146. 150. typo in res_send.c fixed.
  147.  
  148. 149. fine tuning the credibility-level heuristics.
  149.  
  150. 148. dn_expand() will fail on names which have bad characters in them.
  151.  
  152. 147. disappearing zones could cause a core dump in syslog() - fixed.
  153.  
  154. 146. text of warnings in named-xfer corrected.
  155.  
  156. 145. limited DGUX, RISCOS support added.
  157.  
  158. 144. contrib/sunlibc/Makefile MFLAGS/MARGS problem fixed.
  159.  
  160. 143. another SunOS recv() bug has been worked around.
  161.  
  162. 142. various BOG fixes.
  163.  
  164. 141. updated master/root.cache file from latest InterNIC version.
  165.  
  166. 140. Added ``max-fetch'' to named(8).
  167.  
  168. 139. NOT_BIND problem in named/tree.c fixed.
  169.  
  170. 138. minor lint, memory leaks, and portability problems were fixed.
  171.  
  172.     --- 4.9.3-beta3 released ---
  173.  
  174. 137. some serious (and recently) dynamic memory bugs were killed.
  175.  
  176. 136. a reference to uninitialized data was fixed in res_query().
  177.  
  178. 135. a RES_STAYOPEN-related bug was fixed in res_send().
  179.  
  180. 134. isascii() and isxdigit() now simulated on systems which lack them.
  181.  
  182. 133. named's local setproctitle() has been renamed to avoid system conflicts.
  183.  
  184. 132. minor bugfix to negative caching code.
  185.  
  186. 131. minor bugfix in validation code.
  187.  
  188. 130. the typestats[] multiple definition problem was fixed.
  189.  
  190. 129. some Sequent portability changes were folded in.
  191.  
  192. 128. a new contrib/sunlibc was donated, but hasn't been tested.
  193.  
  194. 127. minor changes to contrib/sunlibc/Info.*.  is anybody using shres/*, tho?
  195.  
  196. 126. STDIN_FILENO and STDOUT_FILENO are now defined by conf/portability.h.
  197.  
  198. 125. there is now a ``max-fetch'' directive in the boot file (see the BOG).
  199.  
  200. 124. there is now a RENICE option in conf/options.h.
  201.  
  202. 123. the toplevel Makefile has been made slightly more readable.
  203.  
  204. 122. <<DELETED>>
  205.  
  206. 121. minor fixups in the lame delegation code.
  207.  
  208.     --- 4.9.3-beta2 released ---
  209.  
  210. 120. I upgraded my "-me" macros so that the included doc/bog/file.psf is OK.
  211.  
  212. 119. NXDOMAIN responses from the negative cache will now always be
  213.      authoritative.  this is the least of all evils, trust me.
  214.  
  215. 118. strcasecmp() in compat/lib is now ANSI compliant.
  216.  
  217. 117. PTR RR's are no longer subject to ROUND_ROBIN processing.
  218.  
  219. 116. writev() emulation for SCO had a bug.
  220.  
  221. 115. the resolver no longer calls sscanf() or qsort().
  222.  
  223. 114. minor debugging nit cleaned up in res_querydomain().
  224.  
  225. 113. IP options on incoming connections are now logged and ignored.  This
  226.      should probably be done for datagrams as well but not today.
  227.  
  228. 112. tree.c made portable to non-POSIX/ANSI systems.
  229.  
  230. 111. NSAP RR's are now supported. NSAP_PTR RR's are deprecated and so left out.
  231.  
  232. 110. outbound zone transfers are now logged.
  233.  
  234. 109. various lint cleaned up wrt 16-bit integer handling.
  235.  
  236. 108. named-xfer was exiting bogusly on some systems due to flakey kernel
  237.      interfaces.  i've rewritten some of the code to avoid the problem,
  238.      and fixed plenty of lint in the process.
  239.  
  240.     --- 4.9.3-beta1 released ---
  241.  
  242. 107. Apollo systems were dumping core because of a missing #include <resolv.h>.
  243.  
  244. 106. NSAP and NSAP_PTR RR's now recognized by res_debug() (but nothing else).
  245.  
  246. 105. NeXTstep 2.1/3.0 and Pyramid dcosx now nominally supported.
  247.  
  248. 104. res_querydomain() was doing Bad things if given an empty name.
  249.  
  250.         --- 4.9.3.a5.p4 published ---
  251.  
  252. 103. named-xfer's exit cause is now syslog()'d more often/clearly (Paul Vixie).
  253.  
  254. 102. I left out a ";" in the new compat/lib/ftruncate.c file (Craig Leres).
  255.  
  256. 101. X25, ISDN, and RT RR support have been added (Michael A. Meiszl).
  257.  
  258.         --- 4.9.3.a5.p3 published ---
  259.  
  260. 100. Another glitch (very minor this time) was found and fixed in the
  261.      QSERIAL logic.  This was a performance problem only -- reliability
  262.      wasn't affected (Bob Heiney).
  263.  
  264. 99. SCO UNIX is now supported, thanks in part to Michael A. Meiszl.
  265.  
  266. 98. I witlessly used a GCC-only feature (automatic aggregate initialization)
  267.     in a5p2.  Kazuhisa Shimizu was the first to report it.
  268.  
  269.         --- 4.9.3.a5.p2 published ---
  270.  
  271. 97. NEC EWS4800 EWS-UX/V Rel4.0/Rel4.2 support (from Kazuhisa Shimizu).
  272.  
  273. 96. Some of the security checking logic in the new res/gethnamaddr.c's
  274.     getanswer() was happening in the wrong order (thanks, Bob Heiney).
  275.  
  276. 95. Minor typo in the man/host.1 man page (caught by Robert Elz).
  277.  
  278. 94. DiG was groping core if given more than 10 tokens in a lookup string
  279.     (Michael J. Corrigan provided the fix).
  280.  
  281. 93. Queries to INADDR_ANY ("0.0.0.0") come back from the system's primary
  282.     interface, and res_send() was discarding them.  A proper fix would add
  283.     a lot of code to the resolver, so for now we'll just work around it
  284.     (Michael J. Corrigan reported this).
  285.  
  286. 92. The "data outside zone" syslog message was misleading (Bob Heiney).
  287.  
  288.         --- 4.9.3.a5.p1 published ---
  289.  
  290. 91. res/gethnamaddr.c wouldn't compile on non-BSD systems since it depended
  291.     on LOG_AUTH which is a post-4.3 feature (Bob Heiney reported this).
  292.  
  293.     ****** 4.9.3-alpha5 released ******
  294.  
  295. 90. redid most of my previous round of prototyping now that i truly 
  296.     understand which variables and parameters should be u_char and which
  297.     ones should be char.  (Vixie)
  298.  
  299. 89. added (optional) prototypes for _getshort() and _getlong(); this means
  300.     the calls all need casts of their argument since it usually isn't a
  301.     u_char*.  Also prototyped res_query(), res_search, and the nominally
  302.     private but for some reason not static res_querydomain().  (Vixie)
  303.  
  304. 88. security related: responses from servers we didn't query are now ignored
  305.     by the resolver; answers with QDCOUNT!=1 are treated as errors; name
  306.     mismatches in the question or any part of the answer field are syslog()'d
  307.     and ignored.  (Vixie)
  308.  
  309. 87. fixed a bug in the SUNSECURITY stuff.  (Vixie)
  310.  
  311. 86. a long standing bug in the name hashing code that caused it to ``hash in''
  312.     the case of the name's characters, was found and fixed.  (twice.) (Vixie)
  313.  
  314. 85. Bob Heiney did some performance analysis and concluded that samedomain()
  315.     was soaking down cycles at a rate disproportionate to its usefulness; he
  316.     reimplemented it in a way that violated the (good,fast,cheap) rule.
  317.  
  318. 84. the RFC1101 implementation of getnetby*() was using case-sensitive
  319.     string compares.
  320.  
  321. 83. fp_query() will no longer try to format packets larger than PACKETSZ,
  322.     and for perversity, dig and named are now prepared to handle replies
  323.     (via TCP) larger than PACKETSZ.  new function: __fp_nquery().  (Vixie)
  324.  
  325. 82. multiline initial syslog() is fixed (Bill G).
  326.  
  327. 81. Don Lewis sent in a big update for the lame delegation logic.  Vixie fixed
  328.     one bug.  Bryan Beecher had a big hand in this.
  329.  
  330. 80. TCP replies can now be up to 8K in size (don walsh).
  331.  
  332. 79. validation bug fixed (don lewis).
  333.  
  334. 78. BOG patches from mike minnich and others.
  335.  
  336. 77. more lint fixes for Cray (norb brotz).
  337.  
  338. 76. a new hostname(7) man page was contributed by Art Harkin.
  339.  
  340. 75. DESTINC is now a settable Makefile parameter (Marion Hakanson).
  341.  
  342. 74. the zones-not-transferring bug is finally gone.
  343.  
  344. 73. now using LOG_PERROR in openlog(); many parallel dprintf()'s are gone.
  345.  
  346. 72. inability to retrieve serial number via UDP now forces TCP transfer.
  347.  
  348. 71. removing secondary zone files and SIGHUP'ing will now force a transfer.
  349.  
  350. 70. "cache" directives can now specify "/class" as documented in the BOG.
  351.  
  352. 69. Mark Andrews' fix for the ns_forw core dump is in.
  353.  
  354. 68. Keith Bostic fixed some typo's in the man pages.
  355.  
  356. 67. Compiling without NCACHE is possible now (John Hanley).
  357.  
  358. 66. Bill Gianopoulos and Alan Barrett finally agreed on what glue was and
  359.     Bill's alpha4 patch is mostly gone now, and one new idea was added.
  360.  
  361. 65. BOG improvements (Vixie, Brooks).
  362.  
  363. 64. Mark Andrews' CLEANCACHE (recommended) and RETURNSOA (__NOT__ recommended!)
  364.     are in.  RETURNSOA should not be enabled at this time; there's nothing
  365.     wrong with the code but it will cause cache corruption in older servers
  366.     and may not be necessary.  The jury is still out.
  367.  
  368. 63. outbound zone transfers are now logged (requested by Ron Johnson).
  369.  
  370. 62. serial number queries sent out for zone transfer purposes will now be
  371.     limited to a maximum of four (4) simultaneous outstanding; this keeps
  372.     BIND from overflowing its UDP socket buffer when hundreds of zones must
  373.     be checked (still trying to fix Paul Pomes' problem).
  374.  
  375. 61. short A RR's in responses will no longer lead to purify errors due to short
  376.     malloc()'s in savedata() (thanks to Nicholas Briggs for reporting this).
  377.  
  378.     ****** 4.9.3-alpha4 released ******
  379.  
  380. 60. manifest constants used instead of "sizeof({u_,}int{16,32}_t)", for
  381.     systems which lack 16- and 32-bit integers (paul vixie for norm brotz).
  382.  
  383. 59. zone transfer anti-glue logic made RFC1034-compliant (bill gianopoulos).
  384.  
  385. 58. seg fault in sysquery() (from LAME_DELEGATION) fixed (mark andrews).
  386.  
  387.     ****** 4.9.3-alpha3 released ******
  388.  
  389. 57. a big, hefty patch was made to the negative caching logic (mark andrews).
  390.  
  391. 56. named-xfer will no longer scramble the default origin (alan barrett).
  392.  
  393. 55. random bits of lint found and removed (mario guerra).
  394.  
  395. 54. convexos-10 is now supported (jukka ukkonen).
  396.  
  397. 53. seg fault in database dumps (from VALIDATE) fixed (don lewis).
  398.  
  399. 52. problem with extra bogus 0.0.0.0 A RR's from VALIDATE fixed (mark andrews).
  400.  
  401. 51. the LAME_DELEGATION logic once written into 4.8.3 by don lewis has
  402.     been substantially reworked and put into 4.9.3-alpha3 (bryan beecher).
  403.  
  404. 50. all instances of "sizeof(HEADER)" were changed to "HFIXEDSZ" to make
  405.     life easier for the cray.  also, "struct HEADER" in include/arpa/nameser.h
  406.     uses just bit fields now, for portability to 64-bit systems without
  407.     16-bit integer types.   (norb brotz suggested it; paul vixie did it).
  408.  
  409. 49. build changes for NeXT and AIX systems (artur romao; c. wolfhugel).
  410.  
  411. 48. random sunshlib changes (piete brooks).
  412.  
  413. 47. minor fixes for solaris build (carson gaspar; paul pomes).
  414.  
  415. 48. a few bugs were wrung out of the BOG (per hedeland; vixie).
  416.  
  417.     ****** 4.9.3-alpha2 released ******
  418.  
  419. 47. several obscure Makefile problems were fixed (vixie).
  420.  
  421. 46. there is now a per-primary-NS quota for simultaneous zone transfers; this
  422.     will cut down on the retry thrashing seen on servers that are secondary for
  423.     thousands of zones (vixie).
  424.  
  425. 45. a bug introduced by change #23 has been fixed (marten terpstra; apb).
  426.  
  427. 44. the "data outside zone" messages are now consistent (piete brooks; vixie).
  428.  
  429. 43. several #include's were reordered in res/*.c and a few #ifdef's were
  430.     changed; BIND should now run OK on DGUX (henry miller).
  431.  
  432. 42. several changes to the conf/options.h and Makefile (vixie):
  433.     -> SVR4 has been added as a top-level Makefile CDEFS option
  434.     -> SYSV has moved from conf/options.h to the top level Makefile
  435.     -> INVQ is now an "#ifdef" rather than a "#if"
  436.  
  437. 41. resolver no longer uses initialized static data, which should make shared
  438.     libraries easier to generate (vixie did it, at the urging of many others).
  439.  
  440. 40. now compiles on Apollo DomainOS (don lewis).
  441.  
  442.     ****** 4.9.3-alpha1 released ******
  443.  
  444. 39. lots of lint found and fixed (craig leres).
  445.  
  446. 38. illegal enum compare fixed in named/ns_stats.c (vixie).
  447.  
  448. 37. missing ')' added in SUNSECURITY section of res/gethnamaddr.c (h miller).
  449.  
  450.     ****** 4.9.3-prealpha released ******
  451.  
  452. 36. ***REMOVED***
  453.  
  454. 35. various bugs were fixed in the negative caching (vixie; mark andrews).
  455.  
  456. 34. several debugging and dump output problems were fixed (mark andrews).
  457.  
  458. 33. TXT RR's can now be read from zone files even if they lack quotes;
  459.     the RFC doesn't say quotes are needed (jim martin).
  460.  
  461. 32. limited support for AIX-3 is now included (christoph wolfhugel).
  462.  
  463. 31. SUNSECURITY is now an obvious default in ./Makefile (p killey; b beecher).
  464.  
  465. 30. VC queries that time out are now GC'd and SERVFAIL'd (mark andrews).
  466.  
  467. 29. HP-UX 9.0's top-level makefile variables have been changed (don lewis).
  468.  
  469. 28. various fixes for tools/host.c (jim martin; mark andrews).
  470.  
  471. 27. syslog messages logged by SUNSECURITY will now include the address of
  472.     the host that's having problems (david morrison).
  473.  
  474. 26. systems whose connect() calls fail if a socket is already connect()'d
  475.     will now have their sockets closed and recreated in res_send() (piete
  476.     brooks; mark andrews; vixie).
  477.  
  478. 25. res_send() will now corrected reset its "connected" variable when the
  479.     connectedness of a socket changes (mark andrews).
  480.  
  481. 24. SERVFAIL responses will no longer terminate the res_search() inner loop,
  482.     thus catastrophic problems with early search elements will no longer
  483.     prevent res_search() from trying later search elements (bryan beecher;vix).
  484.  
  485. 23. non-NS RR's for delegated subzones will no longer be accepted in a zone
  486.     transfer (alan p barrett).
  487.  
  488. 22. the setting for _PATH_PIDFILE is now overridden by the Makefile (l hume).
  489.  
  490. 21. named.restart.sh now has a smaller path with %DESTSBIN% first therein;
  491.     this should prevent the vendor version of named from being exec'd by
  492.     accident (leigh hume).
  493.  
  494. 20. big change: statistics are now kept "per name server" rather than as
  495.     a single global array.  the /var/tmp/named.stats file format has changed
  496.     quite a bit, so older awk/perl scripts are likely to stop working.
  497.  
  498. 19. big change: every RR now keeps a pointer to a "nameser" struct; this
  499.     currently permits SIGINT-initiated dumps to include the address of all
  500.     non-zone data, which will help with tracking down corrupt data.
  501.  
  502. 18. db_load.c was missing two #ifdef/#endif's for CRED (mike minnich).
  503.  
  504. 17. don't aggregate SOA or WKS RR's in the cache (vixie).
  505.  
  506. 16. minor cosmetic changes (vixie).
  507.  
  508. 15. fixed typo in compat/Makefile ("LIBDIR" -> "DESTDIR") (rob davies).
  509.  
  510. 14. fixed spurious "accept: interrupted system calls" (vixie).
  511.  
  512. 13. named will now start as many named-xfer's as it should; previously it
  513.     lost track of the need for transfers at the beginning of each maint
  514.     cycle.  also, we don't bother asking for an SOA if we know that our
  515.     zone is out of date.  i've changed the transfer metrics so that more
  516.     transfers can happen concurrently, and maint cycles come more often.
  517.     (andrew partan; vixie).
  518.  
  519. 12. a number of LOG_ERR and LOG_CRIT syslogs were downgraded to LOG_NOTICE
  520.     (rob davies; vixie).
  521.  
  522. 11. sequence number checking now treats "zero" as a special case.
  523.     (craig leres; andrew partan; vixie).
  524.  
  525. 10. MFLAGS no longer used explicitly, since it is often used implicitly
  526.     (mark andrews; vixie).
  527.  
  528. 9. ADDAUTH is no longer considered experimental (tony stoneley; vixie).
  529.  
  530. 8. several obscure type bugs fixed (don lewis).
  531.  
  532. 7. signal handlers all now preserve errno (don lewis).
  533.  
  534. 6. TTL deprecation made more portable (don lewis).
  535.  
  536. 5. now compiles on Apollo DomainOS and is generally more POSIX-ish (don lewis).
  537.  
  538. 4. bryan beecher's "query" tool has been promoted to tools/ and renamed to
  539.    dnsquery.  minor changes were required in several Makefiles (vixie).
  540.  
  541. 3. "make links" at the top level will now make a higher resolution link tree,
  542.    which makes porting easier on some systems (ian dickinson).
  543.  
  544. 2. Convex feof() bug now has a workaround (jukka ukkonen).
  545.  
  546. 1. gethostby*() will no longer overwrite its fixed-size array if a host with
  547.    too many addresses is handled (reported by piete brooks, fixed by vixie).
  548.  
  549. -------------------------------------- 4.9.3 above, 4.9.2 below
  550.  
  551. 4.9.2 ------------------ FINAL ----------------- Paul Vixie
  552.  
  553. 57. updated TODO, README files.
  554.  
  555. 56. fix to contrib/sunlibc/Makefile.
  556.  
  557. 55. several new items in contrib/.
  558.  
  559. 54. Corrected bad command line parsing bug in tools/dig.c; also added the
  560.     old query timing code back in (thanks to Havard Eidnes).
  561.  
  562. 53. Ported contrib/decwrl/host.c to the modern interfaces.
  563.  
  564. 4.9.2 ------------------ BETA5 ----------------- Paul Vixie
  565.  
  566. 52. A number of optimizations that fell out of negative caching and/or the
  567.     validation code have been turned off in order to avoid confusing older
  568.     nameservers and their unfortunate assumptions about co-invariants.
  569.     Mark Andrews and Robert Elz were the principle debuggers and contributors
  570.     to this part of the effort.
  571.  
  572. 51. We're now much more portable to systems without Posix or BSD signals,
  573.     thanks to Bill Wisner.
  574.  
  575. 50. tools/host.c now has more reasonable error messages and can deal with
  576.     negative caching servers.
  577.  
  578. 49. Lots of Makefile gaffes are now fixed.
  579.  
  580. 48. New "host" in contrib/host/, complements of Eric Wassenaar.
  581.  
  582. 47. AFSDB support is now complete, thanks to Chris Everhart.
  583.  
  584. 46. The bug whereby named would sporadically return NXDOMAIN when it should
  585.     have sent back a referral has been fixed.
  586.  
  587. 4.9.2 ------------------ BETA3, BETA4 ----------------- Paul Vixie
  588.  
  589. 45. Robert Elz has provided updated LOCALDOMAIN environment variable 
  590.     processing, making it more like resolv.conf's "search" than "domain".
  591.     In the spirit of this I have added a RES_OPTIONS environment variable
  592.     and a corresponding "options" keyword to resolv.conf.  All of this is
  593.     documented in the man pages and in the BOG.  Robert has also contributed
  594.     several bug fixes to the validation and negative caching code.
  595.  
  596. 4.9.2 ------------------ ALPHA ----------------- Paul Vixie
  597.  
  598. 44. BETA1, BETA2, and three patches to BETA2 have all come and gone without
  599.     itemized descriptions in this file.  I'll provide the RCS history on the
  600.     code to anyone who asks, but basically what's been happening is that some
  601.     core dumps were fixed, others added, then those were fixed too.  Meanwhile
  602.     RFC 1535 has been published, codifying CERT's concerns and our answer to
  603.     them.  BIND is now RFC 1535 compatible.  RFC's 1535, 1536, and 1537 are
  604.     now included in the doc/ directory.  Note that Mark Andrews supplied many
  605.     of the fixes to the core dumps, some of which were introduced by me and
  606.     some by ISI's negative caching and/or validation code.
  607.  
  608. 43. patch05 to ALPHA2 (930908) released: this includes new DNSRCH logic to
  609.     correct a serious problem that CERT called me with today.  the change is
  610.     subtle and will have the effect that names which could match either as
  611.     fully qualified names or partially qualified names using the local search
  612.     list will be found as fully qualified.  previous releases would have found
  613.     them first through the local search list.  local search lists are a bad
  614.     idea in my opinion; see new SEARCH_DEFAULT option in OPTIONS file for more
  615.     information.  also in this release: limited Solaris support, in the form
  616.     of POSIX-style signal handling used on systems which support (or require)
  617.     it.  as of this patch, 4.9.2 has a good chance of compiling out of the box
  618.     on Solaris, modulo makefile edits.  dig and host should be more portable
  619.     now, too.
  620.  
  621. 42. patch04 to ALPHA2 (930908) released: this corrects several borderline
  622.     syntax errors in various Makefiles (Sun and Ultrix makes complained);
  623.     it corrects a coredump on Ultrix systems (which aren't really as POSIX
  624.     as i thought they were); it lets dig and nslookup compile again on SunOS;
  625.     and it cleans up some dirty junk in named-xfer.c.  this stuff is really
  626.     really minor but i would like to see it tested on a Sun system before the
  627.     beta.
  628.  
  629. 41. patch03 to ALPHA2 (930908) released: this uses compat/include by default
  630.     which is helpful on BSD/386 systems and shouldn't hurt any others except
  631.     perhaps real 4.4BSD systems (and maybe not even those); it removes Bryan
  632.     Beecher's SHUFFLE_ADDRS option since he and I agree that Marshall Rose's
  633.     ROUND_ROBIN stuff is more general and cleaner; it includes various patches
  634.     to the documentation sent in by several folks (please print the BOG and
  635.     let me know if you find problems in it); it fixes "make depend" problem
  636.     in "man/" subdirectory; it fixes several outright bugs in Gregory Shapiro's
  637.     SECURE_ZONES code; it removes an obscure syslog() that should have been a
  638.     dprintf() ("validate_count -> 0"); it fixes a bug in NCACHE whereby a T_ANY
  639.     query for a name which was negatively cached but had children would return
  640.     _answers_ with the T_ANY type for subsequent queries; several newer syslog
  641.     messages were reworded to make them clearer; a portability bug in the
  642.     SUNSECURITY logic was fixed; another in the RFC1101 logic was fixed;
  643.     support for the PAGER environment variable was added to nslookup (sorry,
  644.     i know we're in functional freeze but this will enable development in the
  645.     next cycle and it was pretty simple) and only affects the "view" and "help"
  646.     commands.
  647.  
  648. 40. patch02 to ALPHA2 (930908) released; this includes more fixed from Mark
  649.     Andrews, this time to Anant's NCACHE stuff (memory leak and functional
  650.     bug).  Also included is a patch from Gregory Neil Shapiro to his SECURE_
  651.     ZONES code, which I hadn't noticed since I don't run it here.
  652.  
  653. 39. patch01 to ALPHA2 (930908) released; this includes some fixes from Mark
  654.     Andrews to his "clev" and ADDAUTH stuff.  The "clev" patch fixes a problem
  655.     on all servers; the ADDAUTH stuff is still experimental so most users will
  656.     not be affected by it.  Dave Morrison also sent a patch for the USE_UTIME
  657.     logic, which is important for ULTRIX systems.
  658.  
  659. 38. 4.9.2-ALPHA2 released on 930908.
  660.  
  661. 37. Mark Andrews sent an initial attempt at implementing ADDAUTH, which will
  662.     eventually allow named to include authority and glue RR's with all 
  663.     authoritative answers.  I am not sure that the design goal is right, and
  664.     the implementation currently sends back glue RR's but no authority RR's,
  665.     so I'm recommending against using this for now.  But since it changes some
  666.     internal interfaces in a harmless enough way, I'm including the changes.
  667.  
  668. 36. Marshall Rose's ROUND_ROBIN code snuck in at the last hour.  This is the
  669.     best answer I've seen to the problems purported to be solved by SA RR's,
  670.     and my wording in the OPTIONS file shows this.
  671.  
  672. 35. These items from TODO is now done:
  673.  
  674.     [vixie@pa.dec.com 25apr93]: clean up debugging
  675.     replace all "#ifdef DEBUG...fprintf(...)...#endif" with dprintf(...)
  676.     which would be a macro that only expands to an fprintf() if DEBUG is
  677.     set.  dprintf(x, (args)) with x as the log level.  perhaps change log
  678.     levels to be symbolic, and perhaps make them a mask instead of a limit.
  679.  
  680.     [vixie@pa.dec.com 25apr93]: clean up #ifdef's and portability
  681.     add and use function prototypes.  make everything static that can be.
  682.     externs should only be in .h files (add more .h files, per module if
  683.     needed, to cover these).  add "export" keyword (null define) to make
  684.     it clear which names are exported and which are static.  all top-blevel
  685.     names in a module must be "export" or "static".
  686.  
  687.     [gshapiro@wpi.wpi.edu and vixie@pa.dec.com 26apr93]: access control
  688.     "xfrnets" is ok but what we really need is full access control per
  689.     zone rather than a global list of acceptable client nets.  this is
  690.     especially important if you send /etc/passwd via zone transfer.
  691.  
  692.     [postel@isi.edu anant@isi.edu jaffe@noc.rutgers.edu
  693.      28apr93]: negative caching
  694.     Paul:
  695.     We'ed like to have included in 4.9.1
  696.     our implemention for negative caching.
  697.     --jon & Anant.
  698.  
  699.     [vixie@pa.dec.com 16may93]: inet_addr needs to die
  700.     to be replaced by calls to inet_aton, which doesn't confuse the
  701.     broadcast address with bad addresses.
  702.  
  703.     [Paul:  I know you said that you'd like to wait for the IETF DNS WG to
  704.     "bless" an official load balancing scheme, but I'll be adding my
  705.     shuffle A records to BIND 4.9 for use here at U-M anyhow.  The code
  706.     mods to existing source files are minimal since the bulk of the work
  707.     is done in a separate .c I added.  If you don't want SA records to
  708.     move into 4.9.1 unless they become official, please just toss this
  709.     first entry. --bryan@umich.edu]
  710.  
  711.     [bryan@umich.edu 25apr93]: add "shuffle A" records
  712.     There are several schemes for adding some kind of load balancing
  713.     capability to the DNS.  Our "Shuffle Address" (SA) records are one
  714.     stab at this, and since they're in use at U-M, I need to add them
  715.     so we can use BIND 4.9 here.
  716.  
  717.     [bryan@umich.edu 25apr93]: add AFSDB records
  718.     AFSDB records were proposed in RFC xxxx.  We use them here at the
  719.     University of Michigan, so I need to add them for our copy of
  720.     BIND 4.9.
  721.  
  722.     [bryan@umich.edu 25apr93]: small fix to resolver's p_cdname()
  723.     The current copy of p_cdname() in the resolver does not work
  724.     for query responses larger than 512 bytes (which can happen when
  725.     using TCP).  A very small modification changes the "sanity check"
  726.     argument (the second one) to dn_expand() from "msg + 512" to
  727.     "cp + MAXCDNAME".  (This showed up very recently.)
  728.  
  729. 34. While waiting for some last minute changes from volunteers, I looked
  730.     at my work queue and saw that asp@uunet.uu.net had asked a while ago
  731.     that named not fork/exec a named-xfer unless it had already determined
  732.     that the serial number was out of date.  This is important to sites like
  733.     UUNET and DECWRL, which have thousands of "secondary" lines in their
  734.     named.boot and can take hours to check all the serial numbers at boot
  735.     time if named forks/execs named-xfer and lets named-xfer compare the
  736.     serial numbers, rather than comparing them in named and only fork/exec'ing
  737.     a named-xfer if it's actually neccessary to do a transfer.  In spite of
  738.     C's lack of threads, this only took a few hours to do.  So it's in.
  739.  
  740. 33. Gregory Shapiro's "secure_zone" changes are in.  See the BOG.
  741.  
  742. 32. Internals changes: STATS is no longer optional; ns_req() has been split
  743.     into three functions for readability.  Convex systems are now supported.
  744.     You can now define LOG_FAC in conf/options.h if you want to syslog as
  745.     LOG_LOCAL1 or some other non-LOG_DAEMON value.  The mkstemp() problem on
  746.     ULTRIX has been fixed.  More dead code has been eliminated.
  747.  
  748. 31. Large TCP queries are now printable in debug mode (which is used by
  749.     "dig" and "nslookup"), thanks to a patch and a lot of patient explain-
  750.     ations from Bryan Beecher.
  751.  
  752. 30. Data from subdomains ("deeper zones") is now considered more credible
  753.     than data from parent zones, if both are authoritative.  This permits
  754.     a subdomain's data to differ from its parents delegation information
  755.     and have the most-local information supercede the least-local.  Mark
  756.     Andrews <marka@syd.dms.csiro.au> sent this in, and it is nonoptional.
  757.  
  758. 29. rossc@ucc.su.oz.au's SUNSECURITY patch is now included, along with
  759.     marka@syd.dms.csiro.au's performance improvement to it.  Note that
  760.     I am violating my own policies by including this, since it came
  761.     without a corresponding patch to OPTIONS, conf/options.h, and the BOG.
  762.  
  763. 28. Interfaces with multiple addresses were not being handled properly.
  764.     This is an issue for 4.3-Reno and later BSD systems, including BNR2
  765.     ("Net-2") and 4.4BSD.  Multiple addresses are not properly handled
  766.     as if they were all aliases for the localhost.
  767.  
  768. 27. Jukka Ukkonen <ukkonen@csc.fi> sent me some patches for the Convex,
  769.     which I've put it but cannot test.
  770.  
  771. 26. sob@tmc.edu (Stan Barber) sent me new versions of contrib/host/host.c
  772.     and contrib/host/send.c, which I have installed but not tested.  I am
  773.     still waiting for someone to update the version in tools/host.c, which
  774.     is going to be a lot more work.  Contact me via e-mail if you want to
  775.     help.
  776.  
  777. 25. My credibility stuff from the original 4.9 (and before that, KJB)
  778.     was operating under a ``scorched earth'' policy due to a brain fault
  779.     on my part when I wrote the code originally.  Tim.Goodwin@pipex.net
  780.     discovered this and sent in a patch.  Note that throwing out glue is
  781.     generally OK since glue is generally NOT OK, but disposing of it after
  782.     ~20 references is a lot better than disposing of it after 1 reference.
  783.  
  784. 24. NS RR sorting on forwarded and system queries was not happening
  785.     unless more than 1024 milliseconds of RTT variance existed among
  786.     the servers.  This was a good value for development and testing
  787.     but not for production use.  The value is now 128 milliseconds.
  788.     No, this should not be a configurable in the boot file.
  789.  
  790. 23. I am including a file doc/FAQ which was posted to usenet as:
  791.     From: craig@ecel.uwa.edu.au (Craig Richmond - division)
  792.     Newsgroups: comp.protocols.tcp-ip.domains
  793.     Subject: FAQ: Setting up a basic DNS server for a domain
  794.     Date: 3 Aug 1993 10:53:51 GMT
  795.     Organization: The University of Western Australia
  796.     Lines: 1088
  797.     Message-ID: <23lg3v$1go@uniwa.uwa.edu.au>
  798.     Summary: Step by Step implementation of a DNS server
  799.     Keywords: FAQ DNS setup
  800.  
  801. 22. named-xfer now syslogs if the remote server's serial number is _lower_
  802.     than ours, which does seem like a bad thing.  per@erix.ericsson.se
  803.     (Per Hedeland) sent this in.
  804.  
  805. 21. man/resolver.3 had a typo on the exp_dn argument to dn_expand.  fixed.
  806.     (Steve Alexander <stevea@lachman.com> sent this in.)
  807.  
  808. 20. include/sys/cdefs.h moved to compat/include/sys/cdefs.h since some
  809.     systems have their own which must be used.  the top-level makefile
  810.     must be edited if you are on one of these systems, since the default
  811.     CFLAGS includes this new directory as a -I directive.  sys/bitypes.h
  812.     has also moved.
  813.  
  814. 19. A neccessary bug fix for ISI's VALIDATE/NCACHE code has been incorporated.
  815.     If you had to rebuild without these turned on in options.h to get your
  816.     CNAME lookups to work again in an earlier 4.9.2 ALPHA, you can turn them
  817.     on again now.
  818.  
  819. 18. The q_system field of the query structure has been removed in favor of
  820.     a q_type field containing bit definitions.  The old PRIMING_CACHE magic
  821.     cookie is no longer used.  Go to the end of the universe, do not pass go.
  822.  
  823. 17. Converted to ANSI C.  All functions are static unless they are actually
  824.     needed outside the current module ("file" in C terminology); static 
  825.     functions are declared with prototypes if they are forward-referenced.
  826.     Externally visible functions are declared in separate header files, with
  827.     prototypes.  ns.h and db.h have been split into four new header files:
  828.     db.h -> db_defs.h db_glob.h db_func.h
  829.     ns.h -> ns_defs.h ns_glob.h ns_func.h
  830.  
  831.     The *_defs files contain only structure and type definitions, and macro
  832.     definitions.  Nothing that generates text or data space in the executable
  833.     is declared here.
  834.  
  835.     The *_glob files contain only global variable declarations, which used to
  836.     be defined in the various *.c files in a more or less random fashion.  The
  837.     declarations are "extern" if included from non-main()-containing files, but
  838.     are defined globally and given initial values in main()-ish files.  This
  839.     reuse of the same declarations insures that the type and size declarations
  840.     match between definitions and external references to them.
  841.  
  842.     The *_func files contains function prototypes for global ("extern")
  843.     functions.  The prototypes are all optional so will not break non-ANSI
  844.     systems.  Note that I don't have such a system any more so I may be wrong.
  845.  
  846. 16. Removed all remaining references to "short" or "long" that did not
  847.     depend on the vague semantics of those types.  Most uses were actually
  848.     depending on a size of 16 bits for short and 32 bits for long, and there
  849.     are processors/compilers where each of these types is different.  This
  850.     work was begun in 4.9 and is now complete.  Note that some structs that
  851.     are used in large data structures use "char" for 8-bit integers.  It helps.
  852.  
  853. 05Jul93 - ALPHA Released
  854.  
  855. This is the cleanup release after 4.9.  I'm going to try the TCSH style of
  856. logging the changes; let me know if you think it's a bad way of doing it.
  857.  
  858. 15. the resolver now includes an implementation of RFC 1101, which allows
  859.     network names to be encoded in the DNS tree rather than in /etc/networks.
  860.     this implementation is by rps@matuc2.mat.uc.pt (Rui Pedro Mendes Salgueiro)
  861.     i put the test program and original documentation in contrib/rfc1101/.  i
  862.     would like to see their main.c ("nettest") turned into a tools/nettest,
  863.     but i'm not willing to do the work myself.  it needs a man page, etc.
  864.  
  865. 14. as expected the initial HS zone transfer stuff didn't work that well.
  866.     thanks to <per@ericsson.se>, retries after failed SOA queries will use
  867.     C_IN rather than falling through to C_HS inappropriately.
  868.  
  869. 13. ns_init.c was fcntl(SETFL)'ing in a destructive way.  it now does a
  870.     fcntl(GETFL) to get the old option mask and then |'s in the new flag.
  871.     this patch came from Eduard Vopicka <Eduard.Vopicka@vse.cz>.
  872.  
  873. 12. there are two new conf/Info.* files; check 'em out.
  874.  
  875. 11. ultrix (some versions, especially the vax ones) libc.a had some bad
  876.     naming conventions for some resolver routines.  getshort/putshort just
  877.     have to be real functions, not just macros, or you can't link anything
  878.     with this resolver.  patch was sent by <aas@brain.physics.swin.oz.au>.
  879.  
  880. 10. sethostent(x) for host files was sticky for nonzero 'x' (avalon@anu.edu.au)
  881.  
  882. 9.  hp9000s700 is now supported in include/arpa/nameser.h (avalon@anu.edu.au)
  883.  
  884. 8.  statistics dumps now print the time in decimal-seconds-since-1970 in
  885.     addition to the old "ctime" format, for ease of debugging.  (Peter Koch).
  886.  
  887. 7.  systems with 14-character filename limitations have apparently been
  888.     having trouble in named-xfer since its temporary file names are bigger
  889.     than they can handle.  ash@hp sent in some patches a while ago, enabled
  890.     with SHORT_FNAMES in conf/options.h, to deal with this appropriately.
  891.     We should probably just generate short names always.
  892.  
  893. 6.  Some security stuff from ISI.  According to Anant Kumar <anant@isi.edu>:
  894.  
  895.     The validation procedure is the major change here. Currently, we
  896.     accept anything from a server, as long as we had asked it a question.
  897.     This implies that a malicious server can really send us any data and
  898.     we not only pass it on, we also cache it for as long as the TTL
  899.     holds. This can be really bad for our health and for that of those
  900.     who use the DNS.
  901.  
  902.     We add this procedure to verify for each RR returned by a server
  903.     that it is indeed authoritative for either that zone, or for a
  904.     parent zone.  We end up trusting the root servers for everything!
  905.     Also, the more rich our cache is the more choosy we become about the
  906.     data we add on to it. This stuff is all ifdef'd with "#ifdef VALIDATE"
  907.  
  908.     The negative caching stuff adds on a d_rcode field to the databufs.
  909.     Any positive entry now shows a NOERROR there while negative entries
  910.     have either a NXDOMAIN or NOERROR_NODATA. NOERROR_NODATA rcode is
  911.     never returned.  It is used only to differentiate, within the
  912.     internal database, between negative and positive entries. We use the
  913.     regular hash table (hashtab) to store negative entries, too. Only
  914.     authoritative answers are negative cached, for NTTL (parameterized,
  915.     currently 10 minutes) seconds. Non-authoritative NXDOMAINs or
  916.     NOERROR with zero RR count, now generated, are now accepted but
  917.     never cached. This is ifdef'd with "#ifdef NCACHE".
  918.  
  919. 5. "make install" now has a prayer of working for the man pages. an observation
  920.    was made that net2++ systems _require_ formatted "cat" pages and that older
  921.    systems are _able_ to use them, so that's all we install.
  922.  
  923. 4. i wrote man pages for named.reload, named.restart, and named-xfer.  these
  924.    were actually in 4.9.1 for 4.4BSD.
  925.  
  926. 3. unneeded functions in compat/lib will now generate placeholder symbols, to
  927.    make sure that the linker doesn't generate ugly-but-harmless warnings.
  928.  
  929. 2. my ignorance of the true meaning of _POSIX_SOURCE has been corrected,
  930.    along with the ugly-but-working code in conf/portability.h and elsewhere.
  931.  
  932. 1. non-resolver routines moved from res/ to compat/lib/.  this will shorten
  933.    libresolv.a and make it easier to integrate new BIND releases into Net-2
  934.    descendents such as 4.4BSD and BSD/386.
  935.  
  936. 4.9.1 ------------------
  937.  
  938. This is the integration of the changes that were made for 4.4BSD.  This
  939. release will not be published.  Changes include:
  940.  
  941. doc/BOG/*: many changes to improve appearance of the output, including
  942.     orphan-avoidance and better tab stops.  Sent to me by someone on
  943.     the net who deserves thanks but I've lost the original mail.  Oops.
  944.  
  945. include/*: the CSRG people weren't entirely pleased with the interface
  946.     changes i made to the res_*() and inet_*() functions.  in particular,
  947.     the changes from "long" to "u_int32_t" were too sweeping in their
  948.     opinion since Posix is already working on standardizing them and
  949.     might look unkindly on an apparently-still-evolving interface.  also,
  950.     the possibility that all the vendors will change their implementations
  951.     to match the new interface is apparently rather dim.  therefore most
  952.     externally-visible occurances of the int32_t type have been changed
  953.     back to "long" in the resolver interface.  we believe that this should
  954.     still be portable to Cray and AXP machines, but i'll wait to hear from
  955.     someone who can actually try it out and let me know.
  956.  
  957. tools/*: the "net2" version of "lex" requires some additional flags and libs,
  958.     and this had implications for the Makefiles and the dig.c source file.
  959.     nslookup's man page is now in man/ rather than tools/nslookup, for
  960.     consistency.
  961.  
  962. named/*: last-minute 4.9-FINAL changes to named-xfer.c and db_load.c resulted
  963.     in corruption of TXT records on zone transfers, and a high number of
  964.     useless syslog(SYS_ERR) messages about zones already being up to date.
  965.     these last-minute changes have been massaged into better shape and are
  966.     now a lot readier for prime time than they were.  a lesson was learned.
  967.  
  968.     the inet_aton() function is now used where appropriate, rather than the
  969.     old inet_addr().  this is just an evolutionary move that should have no
  970.     practical implications.  bad addresses in the "tcplist", "bogusns", and
  971.     "sortlist" directives (from named.boot) are now syslogged.
  972.  
  973.     some open files are still inherited by named-xfer from named, but they
  974.     are properly closed now.
  975.  
  976.     the SIGXFSZ signal is now accepted as an alias for SIGHUP, in support
  977.     of the wierd DEC Hesiod implementation.  no practical significance.
  978.  
  979. res/*: one important bug fix in the gethostent() stuff, and a whole bunch of
  980.     evolutionary include file changes.
  981.  
  982. include/*: include/sys was moved to compat/include/sys, since systems that
  983.     do not need it really really really need to get their own instead.
  984.     at some point i'm going to move the res/*.c files that are needed for
  985.     compatibility but not really part of the resolver, into compat/lib.
  986.  
  987. general: there are more settable parameters in the top-level Makefile, and
  988.     they are propagated downward into the subdirectories' Makefiles.  you
  989.     should not have to edit any Makefile except the top-level one.  Note
  990.     that "make links" still creates local Makefiles in the build directory
  991.     because "mkdep" still edits the Makefiles on most systems.
  992.  
  993. 4.9-FINAL -------------------
  994.  
  995. Kevin Dunlap sent in some changes for the BOG.  So did a lot of other folks.
  996.  
  997. Someone asked about AXP-OSF, so I did a trivial 64-bit port.  Porting to
  998. other 64-bit systems should be simple now.  Someone also sent in some MIPS
  999. RISCOS portability changes, which were simple and therefore were put in.  
  1000. Note that some type names have been added to BSD 4.4 as a result of this
  1001. work; they are going to be in <sys/types.h> in BSD 4.4 but they are in a
  1002. local include file called <sys/bitypes.h> in this distribution, with 
  1003. appropriate #ifdef's in the include files that depend on them.  Those of you
  1004. who are porting to 64-bit platforms where "long" isn't 32 bits should be
  1005. using these new names for your types; there was no standard before this,
  1006. but the names we've added for BIND 4.9 and BSD 4.4 are going to be proposed
  1007. to Posix at some point.  Sometimes it's just not OK for "int" to be the
  1008. "natural integer size of the machine" and you just _have_ to tell the compiler
  1009. how many bits you want.
  1010.  
  1011. The NIC added a new root server, thus pushing the size of a nonauthoritative
  1012. root server response (which includes the root server list in the answer as
  1013. well as the authority sections) over the 512-byte limit.  This showed up a
  1014. long-term BIND bug wherein it failed to set the TC ("truncation occurred")
  1015. bit if truncation occurred anywhere but the answer section.  Since truncation
  1016. was occuring at the end of the packet, in the additional data section, this
  1017. meant that BIND was generating truncated responses without setting TC in the
  1018. response header.  Upon further investigation, I found that BIND ignored TC
  1019. on responses it received from other name servers.  RFC 1035 states that RR's
  1020. from truncated responses should not be cached; with creative interpretation
  1021. of the exact 1035 wording, I found a way to reach this goal while still 
  1022. caching the answer section (as long as the truncation occurred in some other
  1023. section, which 1035 gives no definitive way to determine but I'm happy with
  1024. my guess).
  1025.  
  1026. While researching the above, I finally broke down and added credibility
  1027. output to the zone dump files.  They are in the comments so should cause
  1028. no trouble.  There's more work to be done on the dump output; in particular,
  1029. Phil Almquist proposed and even prototyped a "tagging" of all RR's with the
  1030. A RR of the nameserver that sent them to us; this feature should be added
  1031. and the dump output should include it.  This would add a lot to our ability
  1032. to track down corrupt data.
  1033.  
  1034. Don Lewis and I had more discussions about TC and ended up agreeing that the
  1035. right thing to do is to set TC on responses that overflow in the answer or
  1036. authority section, truncating at an RR boundary, but do not set TC on responses
  1037. that overflow in the additional-data section (truncating at a {name,type}
  1038. boundary).  This actually solves the root server problem pretty well, since
  1039. BIND 4.9 will, when it tries to use an NS whose A isn't in the cache, generate
  1040. a sysquery() for the missing A.  (Heck, additional data TTL's are depreciated
  1041. at the rate of 5% per use, so this would end up happening pretty quickly even
  1042. if we did cache a partial {name,type} -- but now we won't have to.)
  1043.  
  1044. While trying to fix all of this stuff I ended up moving some functions around
  1045. to avoid duplicating them in different source files, and I reformatted some
  1046. source lines that went over 80 characters.  I also made a few things "static"
  1047. that used to be unneccessarily global.  More of that will happen in 4.9.1.
  1048.  
  1049. DEC's product version of MIT Hesiod uses SIGXFSZ for what we do with SIGHUP;
  1050. since the default for SIGXFSZ is to exit, it seemed prudent to wire it up to
  1051. do what SIGHUP does instead, so that this BIND can run on DEC Hesiod servers.
  1052.  
  1053. At the request of several people, I integrated the USC "dig" and Rutgers
  1054. "host" tools into the distribution.  This required some changes to the
  1055. resolver library's debugging output formats, which will be visible in
  1056. nslookup, nsquery, and any other tool that sets the RES_DEBUG option.
  1057. Note that there is no support for "DEFNAMES" in this version of dig, due
  1058. to design changes between 4.8 (from which "dig" is derived) and 4.9.  there
  1059. is no reason in principle why it can't be made to work, but it doesn't work
  1060. now.  therefore only fully-qualified names can be looked up with this "dig".
  1061.  
  1062. I had to change the name of the resolver "state" structure to be "__res_state"
  1063. for standards conformance (really, it is not reasonable to expect that because
  1064. a program includes <resolv.h> it will never define its own structure called
  1065. "state".  This change highlights the imperative that any application which is
  1066. relinked against this resolver must first be recompiled against these include
  1067. files (notably <resolv.h>).  This is true for almost all versions of libresolv.
  1068.  
  1069. I asked for items for the "TODO" list and got quite a few.  Check them out
  1070. before you hack; someone else may already have started doing what you want to
  1071. do.  I also asked for tools for the "contrib" subdirectory and got 650KB worth.
  1072. They make the BIND 4.9 distribution a lot larger than 4.8.3 was, but the extra
  1073. bytes are well worth their weight.
  1074.  
  1075. Kenneth Almquist (no relation to Phil, as far as I know) posted a patch for
  1076. res_send() that lets it keep track of servers that are responding "SERVFAIL"
  1077. or some other fatal condition; these servers are NOT used for retries of the
  1078. current query.  This information is not persistent between calls to res_send()
  1079. since future calls will probably be for different {name,type} queries, which
  1080. will not neccessarily fail in the same way.  This change is trivial and makes
  1081. a measurable difference in the amount of DNS traffic on my local net.
  1082.  
  1083. 4.9-BETA ------------------- April 17, 1993 -- Paul Vixie -- DECWRL
  1084.  
  1085. "Peter Koch" <pk@TechFak.Uni-Bielefeld.DE>'s previous patch caused core
  1086. dumps on some systems.  I fixed part of it and Peter sent me a fix for
  1087. the rest of it.  All is now well.
  1088.  
  1089. The Bind Operations Guide in doc/BOG has been updated to 4.9.  Also, the
  1090. man page in man/named.8 has had some patches applied.  The copyrights are
  1091. all fixed now.  Let's get this thing OUT of here!
  1092.  
  1093. 4.9-ALPHA ------------------- March 15, 1993 -- Paul Vixie -- DECWRL
  1094.  
  1095. There was a really bad bug affecting wildcards.  I received a patch
  1096. from "Peter Koch" <pk@TechFak.Uni-Bielefeld.DE> which fixes some of
  1097. it, but I can't quite motivate myself to fix the rest of it since I
  1098. know that what's _really_ wrong is going to require chainsaws and
  1099. dynamite to fix and that'll add another year to the release.  I think
  1100. that this patch will hold us for a while.
  1101.  
  1102. There are a LOT of portability changes that I'm holding onto, especially
  1103. including 64-bit fixes.  Do not submit any more portability changes
  1104. until 4.9.1 opens.  Go ahead and make them, but be prepared to remake
  1105. them later.  Let me know what you are doing but don't send me any diffs
  1106. for portability until I ask for them.  4.9 has been stuck in the barrel
  1107. for way too long already -- patches that don't fix RFC-noncompliance or
  1108. core dumps will just go into my "todo" folder (which is presently a
  1109. black hole of great mass).
  1110.  
  1111. 4.9-ALPHA ---------------- Febrtuary 2, 1992 -- Paul Vixie -- DECWRL
  1112.  
  1113. Mostly portability fixes.  The nslookup "lex" problem is BSDI-specific
  1114. and I'm not going to hold up release because of it.  This will be the
  1115. last alpha release before the public beta.  It is, as usual, running
  1116. the DEC.COM primary name service and has done so for more than a week
  1117. without any problems.
  1118.  
  1119. 4.9-ALPHA ---------------- January 10, 1993 -- Paul Vixie -- DECWRL
  1120.  
  1121. Once I get the known bug in nslookup (see below) fixed, this version is going
  1122. to go into public beta.  I would appreciate it if everyone would try it out.
  1123.  
  1124. KNOWN BUG IN THIS RELEASE: something wild is going on inside of the yylex()
  1125. routing on BSD/386 systems.  It only affects nslookup.  I'm still trying to
  1126. figure out how I'm going to debug this; lex experts, please see what's going
  1127. on.  None of the changes since the 930105 release should have been capable
  1128. of producing this change, but something is sure doing it.
  1129.  
  1130. I finally fixed the {GET,PUT}{SHORT,LONG} macros to stop issuing warnings
  1131. on HP-UX systems.  They are also warning-free on Ultrix(SPIM,VAX), BSDI(386),
  1132. and SunOS(SPARC) systems.  I took the plunge and changed the internal functions
  1133. in res/res_comp.c to depend on these macros instead of duplicating the code,
  1134. and everything still works.
  1135.  
  1136. Tom Limoncelli found three ancient memory leaks.  I fixed two of them
  1137. but the last one looks too much like a "cannot happen" for me to be
  1138. willing to experiment with it.  Besides which, it's "very" minor.
  1139.  
  1140. Uses setsid() on POSIX systems.  PID file is now optional.  (arc@sgi)
  1141.  
  1142. Comments (";" or "#") are now allowed in resolv.conf (arc@sgi).
  1143.  
  1144. Documentation and copyright changes in README.
  1145.  
  1146. Known to compile on NeXT machines.
  1147.  
  1148. Some portability changes for AIX, whose CC is very picky.
  1149.  
  1150. I forgot to mention in the 921227 release that T_RP is supported (arc@sgi).
  1151.  
  1152. I included a number of changes that Alan Barrett has been trying to get
  1153. in since the 921221 version.  Most are portability-related, and the few
  1154. things that are functional are changes to my own previous additions :-),
  1155. so I'm fairly sure that they are doing the right thing.  Alan's changes
  1156. include:
  1157.  
  1158.     include/arpa/nameser.h
  1159.     improved error diagnosis in the BYTE_ORDER configuration.
  1160.  
  1161.     changed hp9000 test to hp9000s300.  As far as I know, there is
  1162.     no hp9000 preprocessor symbol.  Should probably add other
  1163.     hp9000s<whatever> tests, but have not done so.
  1164.  
  1165.     named/ns.h
  1166.     Moved the XFER-related stuff from the end of the file to near
  1167.     the top, where it is grouped with similar stuff.
  1168.  
  1169.     Makefiles:
  1170.     Add SYSLIBS variable, so folk can compile with -lBSD easily.
  1171.  
  1172.     Changed install targets to make them easier to customise.
  1173.  
  1174.     make links wasn't handling named.{reload,restart}*
  1175.  
  1176.     Add ${CDEBUG} flag to link step.  Some debuggers don't work
  1177.     right if the program isn't linked with the -g flag.
  1178.  
  1179.     struct timeval members are declared as unsigned long on some systems.
  1180.     Add casts to (long) in several if statements that appear to assume
  1181.     that tv_sec is signed.
  1182.  
  1183.     PID_FIX in ns_main.c controlled more than just whether or not the
  1184.     pid file gets fixed.
  1185.     Changed it to control only that one feature.
  1186.  
  1187.     For debugging, it is useful for a nameserver to listen to non-standard
  1188.     port, but to forward requests to a standard port.
  1189.     Add "-p remote/local" option to named/ns_main.c.
  1190.     Also needed some other changes elsewhere.
  1191.  
  1192.     Don't forward back to the host that asked us a question, unless they
  1193.     asked from some port other than their nameserver port.  This allows a
  1194.     dig or nslookup user on a host to ask us questions with
  1195.     recursion-desired, where we are willing to recursively ask the
  1196.     nameserver on their host.  However, if a nameserver asks us something
  1197.     we will not recurse back to them.
  1198.     nslookup() in named/ns_forw.c checks for this and returns -1.
  1199.     ns_forw() and sysquery() notice this and return SERVFAIL.
  1200.  
  1201.     Moved the nsContainsUs functionality from a separate routine
  1202.     into nslookup().  No need to do the same tree walk several times.
  1203.  
  1204.     While trying to track down various problems, added detection
  1205.     and logging of errors in several syscalls in ns_main.c.
  1206.  
  1207.     Avoid integer overflow in roundtrip time calc in ns_resp.
  1208.     This needs a definition for INT_MAX.
  1209.  
  1210.     Fixed root zone transfer bug.  Also corrected some slightly misleading
  1211.     comments in the doaxfr() code, and added some more comments.
  1212.  
  1213. 4.9-ALPHA ---------------- January 5, 1993 -- Paul Vixie -- DECWRL
  1214.  
  1215. This one was built and tested on Ultrix 4.2 (SPIM, MIPS CC and GCC),
  1216. BSD/386 (Gamma.4), Sun SPARC (4.0.3, sorry, that's the latest I have),
  1217. 4.3BSD Reno (VAX, PCC), and Ultrix 3.0 (VAX PCC).
  1218.  
  1219. Moved res/defs.h to conf/portability.h; named/options.h to conf/options.h.
  1220.  
  1221. Portability changes for O_NDELAY.  SUNOS is really strange about this.
  1222.  
  1223. Removed some unneccessary goto's added to ns_main.c on 1jan.  Oops.
  1224.  
  1225. Art Harkin of HP sent in a number of small (read: obviously correct)
  1226. improvements, some related to portability, some to functionality.
  1227.  
  1228. 4.9-ALPHA ---------------- January 1, 1993 -- Paul Vixie -- DECWRL
  1229.  
  1230. Changed all O_NONBLOCK to O_NDELAY.  Changed all {r}index to str{r}chr.
  1231.  
  1232. Added some SysV support in the form of bcopy->memcpy, bzero->memset.
  1233.  
  1234. Added C_HS support to named-xfer (greg@duke.cs.unlv.edu).
  1235.  
  1236. Fixed a line-number problem in asp's "include" logic (asp@uunet.uu.net).
  1237.  
  1238. streamq's were being used after free().  bug report from fuat@ans.net
  1239. and jpe@ee.egr.duke.edu.  bug fix by vixie.
  1240.  
  1241. In the resolver, we now default to address 127.0.0.1 rather than 0.0.0.0.
  1242. There's a comment in the code that explains why.
  1243.  
  1244. In the resolver, arc@xingping.esg.sgi.com changed it to use inet_aton()
  1245. and included that function for those not running 4.4bsd.
  1246.  
  1247. arc@xingping.esg.sgi.com also provided lots of portability fixes and
  1248. general cleanups, in particular to nslookup which he maintains for CSRG.
  1249.  
  1250. 4.9-ALPHA ---------------- December 27, 1992 -- Paul Vixie -- DECWRL
  1251.  
  1252. Added strtoul() to libresolv.a since it's yet another neccessary function
  1253. that older systems don't have.  If we can stomach strcasecmp() we can sure
  1254. handle this.
  1255.  
  1256. Moved res/named/gethostnamadr.c to res/gethnamaddr.c (note basename change)
  1257. and res/named/sethostent.c to res/sethostent.c.  Since the host table stuff
  1258. isn't in separate files any more I saw no reason to retain the subdirectory.
  1259.  
  1260. Updated all the copyrights and applied the small lint changes that bring
  1261. the baseline of this version from "4.8.3 as seen on ucbarpa" up to "4.8.3
  1262. as released with net-2".  Thanks to the alpha testers for pointing this out
  1263. to me and for sending in the diffs.
  1264.  
  1265. With much howling and screaming, I ported this to UMIPS (MIPS System V).
  1266. There are a lot of really bad things going on in their libc.a, and now
  1267. they're going on in BIND as well.
  1268.  
  1269. I added a "res/defs.h" file and then proceeded to include it from all kinds
  1270. of files that aren't in res/.  I'm thinking of moving it but I'm also trying
  1271. to figure out where -- include/ is the wrong place.  res/defs.h has in it all
  1272. the ugly ifdef's needed to figure out whether this is a late-model BSD system,
  1273. a POSIX system, or just old.
  1274.  
  1275. All the "#endif" and "#else" cpp directives now have comments around their
  1276. annotations.  It turns out that System V CPP complains about "#endif DEBUG"
  1277. but has no problem with "#endif /*DEBUG*/".  In many cases where the #ifdef
  1278. was obviously visible and unambiguous, I simply removed the annotation.
  1279.  
  1280. The "l" is now a ";".  Thanks to all who replied :-).
  1281.  
  1282. There was a very bad bug in the named-xfer interface.  'nuff said.
  1283.  
  1284. AIX needs a 32-bit field for PID's.  I can't imagine.  But it's fixed.
  1285.  
  1286. The "domain" directive in named.boot is now an option, defaulting to off.
  1287.  
  1288. There was a benign bug in sqrm().
  1289.  
  1290. doaxfr() is now shorter and clearer.
  1291.  
  1292. There is an "include" directive in the named.boot file now.  Its syntax is
  1293. simple: "include somefile".  No quotes, no "#", no <brackets>.  This feature
  1294. was in 4.9-ALPHA as well, courtesy of Andrew Partan.  I forgot to document it.
  1295.  
  1296. 4.9-ALPHA ---------------- December 21, 1992 -- Paul Vixie -- DECWRL
  1297.  
  1298. This release incorporates fixes from a lot of people, including many from
  1299. DECWRL.  Some fixes are just lint; some are to avoid dumping core on non-VAX
  1300. computers; many are to fix promiscuity, corruption, and rudeness.
  1301.  
  1302. Various internal DEC programmers have ported the old 4.8.3 code to various
  1303. not-entirely-BSD-like platforms and turned up some interesting lint.  All
  1304. of this has been fixed.  Also, we fixed a bad bug in the handling of timeouts
  1305. and SERVFAIL's when forwarders and slave are both used.
  1306.  
  1307. I have made major changes to the code inside the ALLOW_UPDATES ifdef's, but
  1308. I don't use it and have never compiled with that option turned on so I don't
  1309. know if it still works.  Given that SNMP has come and there is an IETF WG for
  1310. SNMP management of the DNS, I am thinking very seriously of purging all of the
  1311. ALLOW_UPDATES code in 4.9.1.  I suspect that Mike Schwartz will let me know if
  1312. this is ok..
  1313.  
  1314. (interrim "KJB" notes) ------------------- March, 1992 -- Paul Vixie -- DECWRL
  1315.  
  1316. If we are about to forward a query for some zone for which we are one of the
  1317. servers, we send back a SERVFAIL instead.  If we don't have it, chances are
  1318. good that the other name servers won't have it either.  This is the major
  1319. cause of "network meltdown" when the root servers declare you as a name server
  1320. for some zone you don't know about and havn't configured yourself for.
  1321.  
  1322. Fixed a memory leak such that if db_update() fails to update the database
  1323. from a response packet, a databuf will no longer be orphaned.  Also fixed
  1324. what looks like a similar leak in the ALLOW_UPDATES code but I don't use it
  1325. that hasn't been tested.
  1326.  
  1327. Fixed a memory sponge such that if we forward a query to someone who is not
  1328. ever going to answer it, we will eventually expire it from our query queue.
  1329. Previously it would expire after N retries to N' different servers, which
  1330. could be a very long time.  Particularly in the case of lame delegations and
  1331. other forwarding loops, we feel that 90 seconds (two max-retry intervals) is
  1332. enough time for a query to be answered.  While we were into this code we made
  1333. several fields in the query structure into "short"'s since they were only
  1334. being used to store smallish integers.  The query list gets Very Long during
  1335. a forwarding loop -- even 90 seconds worth of queries is a lot of queries.
  1336.  
  1337. This version includes my hacks that assign a "credibility index" to each
  1338. <name,type> such that when more credible data arrives for a given
  1339. <name,type>, all old data is purged.  When equally-credible data arrives it
  1340. is aggregated in the way we all know and love; when less credible data
  1341. arrives it is completely ignored.  Credibility, from best to worst, is:
  1342.     1. zone files (primary or secondary)
  1343.     2. authoritative answers
  1344.     3. non-authoritative answers and authority records
  1345.     4. additional data
  1346.     5. zone files ("cache" or "bootstrap" information)
  1347. You need this version of bind if you still show any A RR's in network
  1348. 32.0.0.0 when you look up uucp-gw-1.pa.dec.com's A or adobe.com's NS.
  1349.  
  1350. I have also added some extra code to prevent pollution of the internal
  1351. "hint cache."  In all versions of BIND that I was able to test, any IN_A
  1352. response to any sysquery() would cause the IN_A RR to be added to the
  1353. fcachetab ("hint cache").  This resulted in lots of extra cruft in the hint
  1354. cache, that wasn't timed out properly, which in turn resulted in lots of
  1355. strange answers ('nuff said, take my word for it.)
  1356.  
  1357. Though changes have been made to make the Ultrix and GNU (2.1) C compilers
  1358. stop complaining about the source, it should still compile and run just
  1359. about anywhere.  In fact, after I cleaned up lots of old lint, this version
  1360. of BIND is known to compile and run on:
  1361.  
  1362.     Ultrix 4.2 (MIPS or VAX)
  1363.     SunOS 4.0.3
  1364.     BSD/386 (BSDi beta)
  1365.  
  1366. This was being released as King James Bind because, like KJ Sendmail, it is
  1367. a merge of every major variant of Bind that we know about.  It was
  1368. assembled and tested by Paul Vixie of DEC NSL/WRL, with generous donations
  1369. of code and advice from Win Treese of DEC CRL.  Changes from Don Lewis of
  1370. Harris, Andrew Partan of UUNET, and Piet Beertema of EUNet are also included.
  1371. See the OPTIONS file for a description of the changes you can control with
  1372. #ifdef's.
  1373.  
  1374. This server has been run on UUCP-GW-{1,2}.PA.DEC.COM, which are in the UUCP
  1375. Zone.  Our named.boot file has ~1900 lines in it.  Before we instituted the
  1376. changes in this release, our name server usually ran at about 16MB virtual,
  1377. 15MB physical, growing slowly but constantly until we restarted it.
  1378. Whenever a new zone was added to the NIC's root zone listing us as a name
  1379. server, our servers would kill themselves and eachother (and NS.UU.NET, one
  1380. of the other UUCP Zone name servers) with forwarding loops.  After these
  1381. changes, we run at a fairly constant 8MB virtual and physical size, and our
  1382. apparent CPU utilization is always 0.0% since we never finish a quantum and
  1383. the scheduler always sees us as waiting for I-O.  In other words, life is good.
  1384.  
  1385. Notes from UCB version 4.8.3 follow:
  1386.  
  1387. -------------------
  1388.  
  1389. This is version 4.8.3 of bind.  It is a test release that updates
  1390. versions 4.8 and 4.8.1 with fixes, and is essentially the same as
  1391. the version of named on the 4.3BSD Reno release.  Although it is
  1392. currently described as a test release, it is believed to be reasonably
  1393. stable and more usable than the previously-released versions.
  1394. Here are some of the more important changes:
  1395.  
  1396.   o A list of domains may be specified for searching in resolv.conf instead
  1397.     of just the local domain name.
  1398.  
  1399.   o gethostbyname() will accept a dotted quad.
  1400.  
  1401.   o Support has been added for the the T_TXT data type and for the class
  1402.     C_HS.  These are both used by Hesiod from Project Athena at MIT.
  1403.  
  1404.   o All of the pathnames have been put into one header file.  This
  1405.     makes it easier to change the location based upon your local
  1406.     configuration.
  1407.  
  1408.   o Responses are only accepted from an address to which we might of sent
  1409.     the request.  This might cause problems if some server is multihomed
  1410.     and is still running BIND 4.3, but it prevents attacks induced by
  1411.     sending responses from another address.
  1412.  
  1413.   o Numerous bugs have been fixed:  Adding a new authoritative zone now
  1414.     works when the server has a cached SOA record.  Comparisons in the
  1415.     db now look at type and class as well instead of dropping records
  1416.     with identical data.  Scheduling of maintenance interrupts has been
  1417.     moved to one routine avoid spurious ones.  Named goes into the background
  1418.     after more of the initialization is done.  Stream connection queue
  1419.     handling was cleaned up including a bug that caused data corruption
  1420.     and core dumps.  Sys5 no longer can have multiple transfers of the
  1421.     same zone occuring at the same time.  Handle CNAME -> CNAME loops
  1422.     more gracefully.  Avoid making one server never get queried.  Border
  1423.     conditions in resolver are checked more accurately.
  1424.  
  1425.   o Nslookup has been updated.
  1426.  
  1427. There are several bug reports that have yet to be integrated into this
  1428. version.  Hopefully they will be dealt with in the next release.  Please
  1429. send feedback on this release.
  1430.  
  1431. Notes from versions 4.8.1 and 4.8 follow:
  1432.  
  1433. ------------------
  1434.  
  1435. This is version 4.8.1 of bind.  It is a test release that includes
  1436. version 4.8 with fixes, asynchronous zone transfer and better reload
  1437. capabilities.  Although it is currently described as a test release,
  1438. it is believed to be reasonably stable and more usable than the currently-
  1439. released version, 4.8.  The changes of note are:
  1440.  
  1441.   o The asynchronous zone transfer code previously posted to the bind
  1442.     mailing list has been integrated, completed and tested.  There are
  1443.     a number of changes from the version posted, including fixes to
  1444.     allow top-level domains to work and a simplification of the timer
  1445.     code.
  1446.  
  1447.   o The code for reloading the server has been changed so that only
  1448.     primary zones master files that have changed are reloaded.  The
  1449.     cache and secondary zones are not flushed, and the sortlist, domain,
  1450.     etc. are reset to correspond to the boot file contents.
  1451.  
  1452.   o Several bugs have been fixed: the name "*" is not interpreted as
  1453.     a wildcard in cached zones, only in primary zones.  Secondary servers
  1454.     no longer decrement the time-to-live of records by the time since
  1455.     they verified the zone with the master; as a result, they never
  1456.     hand out nameserver referrals with too short a TTL to be usable.
  1457.     A bug was fixed that caused secondary servers with out-of-date
  1458.     zones to return empty answers between the actual expiration time
  1459.     and the next timeout.
  1460.  
  1461. There are several other bugs that have been reported but have not yet
  1462. been fixed.  In addition, the next regular release of named will
  1463. support negative caching, but this has not been integrated.
  1464.  
  1465. I would appreciate receiving feedback on this release; in particular,
  1466. problems (or lack of problems) when installing on various systems.
  1467. I attempted to update the SysV code when integrating the zone-transfer,
  1468. but haven't tested it.
  1469.  
  1470. The notes from version 4.8 follow.
  1471.  
  1472. ----------
  1473. Welcome to version 4.8 of bind.
  1474.  
  1475. There have been several changes to the named boot file (/etc/named.boot)
  1476. of which you should be aware.  The "domain" line for each zone is no longer
  1477. needed, but one such line may still be used to specify a default domain
  1478. to be used for queries containing names with only a single component.
  1479. The term "suffixes", which was added in version 4.7alpha, has been removed.
  1480.  
  1481. The manual page on named (named.8) has been updated to reflect all
  1482. these changes.  Please read this and look at the example files
  1483. before installation.  You should also note the changes in the
  1484. resolver code to support non-fully-qualified addresses and per-user
  1485. host aliases.  See hostname(7) for an overview.  Two new routines
  1486. have been added to the resolver library since the last test release:
  1487. res_query formulates a query, sends it, waits for a response and does
  1488. preliminary error checking; res_search implements the search rules
  1489. of gethostbyname using res_query.
  1490.  
  1491. The MX lookup routine in sendmail has been modified to use res_search.  
  1492. Also, dn_skip takes an additional parameter and has been renamed
  1493. to dn_skipname.  While old sendmail binaries will work with the new
  1494. version of bind, because of these changes, it is desirable to install
  1495. new sendmail sources and recompile sendmail.  Do not rebuild sendmail 
  1496. from old sources.   The new sendmail is on ucbarpa.Berkeley.EDU for
  1497. anonymous FTP from pub/4.3/sendmail.MX.tar and pub/4.3/sendmail.MX.tar.Z.
  1498.  
  1499. There have been numerous changes to named, fixing most of the known
  1500. bugs that can be fixed without major structural changes in the server.
  1501. Several server configurations that failed before should now work.
  1502. Certain robustness problems have been fixed, in particular bounds-
  1503. checking when processing incoming packets.  Two changes have been made
  1504. in preparation for negative caching: SOA records are sent in the authority
  1505. section in negative responses with NXDOMAIN set, and a bug was fixed that
  1506. caused confusion and repeated requests if a response had no error, no answer
  1507. and an SOA in the authority section.  As such responses are already sent
  1508. by other servers, and will be sent by the next release of BIND, it is
  1509. important that all sites upgrade to this version as quickly as possible.
  1510.  
  1511. The root "hint" cache and cache file remain the largest problem area,
  1512. along with named's naivete in accepting bogus server's data.
  1513. These will be addressed in the next release, along with asynchronous
  1514. zone transfers, intelligent reloading of zone files, faster startup,
  1515. and caching of negative responses.
  1516.  
  1517. This version (4.8) will replace the last officially released version (4.5).
  1518. Version 4.5 has a serious bug that causes the generation of a continuous
  1519. stream of bogons to the root domain servers (bogus queries with the query
  1520. response bit set and possibly garbage for nsid and rcode).  It is imperative
  1521. that these versions of named be replaced as fast as possible.  We urge you to
  1522. field 4.8 quickly, for the sake of the root domain servers.
  1523.  
  1524.     Mike Karels
  1525.     Jean Wood
  1526.     bind@ucbarpa.Berkeley.EDU
  1527.  
  1528. ## ++Copyright++
  1529. ## -
  1530. ## Copyright (c) 
  1531. ##    The Regents of the University of California.  All rights reserved.
  1532. ## 
  1533. ## Redistribution and use in source and binary forms, with or without
  1534. ## modification, are permitted provided that the following conditions
  1535. ## are met:
  1536. ## 1. Redistributions of source code must retain the above copyright
  1537. ##    notice, this list of conditions and the following disclaimer.
  1538. ## 2. Redistributions in binary form must reproduce the above copyright
  1539. ##    notice, this list of conditions and the following disclaimer in the
  1540. ##    documentation and/or other materials provided with the distribution.
  1541. ## 3. All advertising materials mentioning features or use of this software
  1542. ##    must display the following acknowledgement:
  1543. ##     This product includes software developed by the University of
  1544. ##     California, Berkeley and its contributors.
  1545. ## 4. Neither the name of the University nor the names of its contributors
  1546. ##    may be used to endorse or promote products derived from this software
  1547. ##    without specific prior written permission.
  1548. ## 
  1549. ## THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1550. ## ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1551. ## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1552. ## ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1553. ## FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1554. ## DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1555. ## OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1556. ## HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1557. ## LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1558. ## OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1559. ## SUCH DAMAGE.
  1560. ## -
  1561. ## Portions Copyright (c) 1993 by Digital Equipment Corporation.
  1562. ## 
  1563. ## Permission to use, copy, modify, and distribute this software for any
  1564. ## purpose with or without fee is hereby granted, provided that the above
  1565. ## copyright notice and this permission notice appear in all copies, and that
  1566. ## the name of Digital Equipment Corporation not be used in advertising or
  1567. ## publicity pertaining to distribution of the document or software without
  1568. ## specific, written prior permission.
  1569. ## 
  1570. ## THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL
  1571. ## WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
  1572. ## OF MERCHANTABILITY AND FITNESS.   IN NO EVENT SHALL DIGITAL EQUIPMENT
  1573. ## CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  1574. ## DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  1575. ## PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
  1576. ## ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  1577. ## SOFTWARE.
  1578. ## -
  1579. ## --Copyright--
  1580.