Commit Graph
4268 Commits
Author SHA1 Message Date
Andreas Gustafsson 11a4398874 New server command line option -m taking symbolic memory debuggin
flags, as in 'named -m record,trace' (as suggested by Brian).  Also moved
the creation of the global mctx to after parsing the command line so that
the flags are defined when the mctx is created
2001-09-07 00:17:25 +00:00
Andreas Gustafsson b39ad8a69b when assigning to isc_mem_debugging, use symbolic names for
the flags, not magic integer constants
2001-09-06 23:14:42 +00:00
Mark Andrews a24d253a3f 982. [func] If "memstatistics-file" is set in options the memory
statistics will be written to it.
2001-09-06 02:13:55 +00:00
Andreas Gustafsson 3f538ef15c pullup:
[RT #1709]
Change isc_entropy_usebestsource() to have saner semantics:
 - If an invalid file is specified, an error will be returned instead of the
   keyboard being used.
 - If no file is specified but a random device is present, the keyboard will
   be used if there is an error opening the random device.
 - ISC_ENTROPY_KEYBOARDYES indicates that the keyboard should be the
   only device used.  Otherwise, passing '-r keyboard' is meaningless
   on a machine with a random device, since the keyboard will not be used.

Change the callers in the dnssec tools and rndc-confgen to check for the
special file "keyboard" and call isc_entropy_usebestsource() with the right set
of parameters.
2001-09-06 00:14:18 +00:00
Brian Wellington 3f543c371f 981. [func] The dnssec tools can now take multiple '-r randomfile'
arguments.
2001-09-05 23:15:42 +00:00
Brian Wellington ed29aefe31 [RT #1709]
Change isc_entropy_usebestsource() to have saner semantics:
 - If an invalid file is specified, an error will be returned instead of the
   keyboard being used.
 - If no file is specified but a random device is present, the keyboard will
   be used if there is an error opening the random device.
 - ISC_ENTROPY_KEYBOARDYES indicates that the keyboard should be the
   only device used.  Otherwise, passing '-r keyboard' is meaningless
   on a machine with a random device, since the keyboard will not be used.

Change the callers in the dnssec tools and rndc-confgen to check for the
special file "keyboard" and call isc_entropy_usebestsource() with the right set
of parameters.
2001-09-05 22:32:09 +00:00
Brian Wellington 68b62e1c45 #include <string.h> 2001-09-05 21:09:31 +00:00
Andreas Gustafsson f6fc4b1391 pullup:
updated to properly support shutdowns.  See RT #1672 as it relates to NT
2001-09-04 19:40:20 +00:00
Andreas Gustafsson 44caf20759 <named/types.h> needed for interfacemgr type declaration 2001-09-04 19:38:46 +00:00
Andreas Gustafsson 15fd491c85 pullup:
Changed RESOLV_CONF to be conditionally defined allowing win32 to override this definition
2001-09-04 19:35:49 +00:00
Andreas Gustafsson f1eda76d36 include <named/types.h>, not <named/interfacemgr.h> 2001-09-04 19:29:24 +00:00
Andreas Gustafsson 76d9120dd6 80 columns 2001-09-04 19:20:54 +00:00
Mark Andrews 606e919ae3 opps missed this change 2001-09-04 01:12:04 +00:00
Mark Andrews 92551304a9 976. [func] named-checkconf will now test load master zone
files (-z).  [RT #1468]
2001-09-04 00:32:32 +00:00
Mark Andrews a8842a35df move zone loading code into check-tool. 2001-09-03 08:21:46 +00:00
Danny Mayer 102e532c65 updated to properly support shutdowns. See RT #1672 as it relates to NT 2001-09-01 05:27:46 +00:00
Danny Mayer ad82fd0a25 named/interfacemgr.h was not being included 2001-09-01 05:17:28 +00:00
Danny Mayer 530ee49d07 Changed RESOLV_CONF to be conditionally defined allowing win32 to override this definition 2001-09-01 05:09:33 +00:00
Andreas Gustafsson 687b7ef998 handle max-journal-size more like other options 2001-09-01 01:43:24 +00:00
Andreas Gustafsson cb8fd52bbe call the new option for setting the maximum journal
size 'max-journal-size', not 'journal-size', in the tradition of the
historical option 'max-ixfr-log-size'
2001-09-01 01:13:41 +00:00
Mark Andrews 4b87939256 strerror() -> isc__strerror() [RT #1689] 2001-08-31 05:57:58 +00:00
Andreas Gustafsson 54706e9e57 pullup:
973.   [bug]           Failed to log the question name when logging:
                        "bad zone transfer request: non-authoritative zone
                        (NOTAUTH)".
2001-08-31 00:37:12 +00:00
Andreas Gustafsson 7edac4480f added colon to log message 2001-08-31 00:35:18 +00:00
Mark Andrews 452b30ddb3 973. [bug] Failed to log the question name when logging:
"bad zone transfer request: non-authoritative zone
                        (NOTAUTH)".
2001-08-30 23:51:45 +00:00
Andreas Gustafsson 31d635e582 pullup:
Remove shutdown privilege-enabling code. Installer should not be shutting down the system.
2001-08-30 20:27:55 +00:00
Mark Andrews 06a960c681 971. [func] 'try-edns' can be use to disable edns on all queries. 2001-08-30 05:52:18 +00:00
Mark Andrews cc0a5f7142 journal-size can now be set from named.conf 2001-08-30 05:23:00 +00:00
cvs2git 92e662f530 This commit was manufactured by cvs2git to create branch 'v9_3'. 2001-08-30 04:33:22 +00:00
Danny Mayer 91be5c8cce Remove shutdown privilege-enabling code. Installer should not be shutting down the system. 2001-08-30 04:23:43 +00:00
Andreas Gustafsson cad3210bb9 969. [func] dig now supports the undocumented dig 8 feature
of allowing arbitrary labels, not just dotted
                        decimal quads, with the -x option.  This can be
                        used to conveniently look up RFC2317 names as in
                        "dig -x 10.0.0.0-127". [RT #827, #1576, #1598]
2001-08-29 18:57:28 +00:00
Andreas Gustafsson f462b9aed2 Revert change 966. Brian says user-level programs should not include
any headers under asm.
2001-08-29 18:03:36 +00:00
Andreas Gustafsson 5f5b407b19 regenerated 2001-08-29 17:20:00 +00:00
Mark Andrews b885fd1d53 966. [port] #include <asm/unistd.h> is required on some Linux
ports.  [RT #1670]
2001-08-29 04:21:51 +00:00
Mark Andrews 71bfe170e1 Explain the interaction of -u and -t. 2001-08-29 03:27:57 +00:00
Andreas Gustafsson a0766ff416 cut-and-paste-o 2001-08-28 18:00:37 +00:00
Andreas Gustafsson 259b1b8c03 added rndc-confgen man page 2001-08-28 17:29:35 +00:00
Mark Andrews 28fc90e6c8 #857 was incomplete, ISC_MAGIC was not being used everwhere it should have been.
'magic' was not being declared consistantly.
some #include <isc/magic.h> were missing from other include files.
NS_SERVER_VALID was not using ISC_MAGIC_VALID.
2001-08-28 03:58:29 +00:00
Andreas Gustafsson 31f4d4ac63 removed -P (pseudorandom) option 2001-08-27 23:55:16 +00:00
Andreas Gustafsson 187bf10eb5 eliminated arbitrary limit on formatted rdata size in 'host' [RT #1557] 2001-08-27 21:31:29 +00:00
Andreas Gustafsson 135c1c53b8 don't INSIST() that calling dns_db_find() on the root hints
only binds the rdataset when returning ISC_R_SUCCESS, because that's not the case -
for example, if the root hints are '. 300 IN CNAME .', DNS_R_CNAME is returned and
the rdataset is bound
2001-08-27 17:20:10 +00:00
Mark Andrews 89555ff443 965. [bug] Using non root hints caused a rbtdb node reference
leak.    [RT #1581, RT #1618]
2001-08-27 06:10:17 +00:00
Mark Andrews d20b7d6bea silence compiler warnings 2001-08-23 04:39:31 +00:00
Danny Mayer 7bda91f314 updated to add path for include files 2001-08-09 23:45:12 +00:00
Danny Mayer b9eaebe882 ns_g_autorndckeyfile had been renamed to ns_g_keyfile 2001-08-09 23:44:13 +00:00
Andreas Gustafsson f504adce37 duplicated CVS ID line 2001-08-09 17:21:06 +00:00
Danny Mayer 51ac5c28de Changed win32 code to remove references to named.key 2001-08-09 02:55:41 +00:00
Andreas Gustafsson b4636f4587 update_copyrights 2001-08-09 00:33:47 +00:00
Andreas Gustafsson 33682c92e9 regenerated docs 2001-08-09 00:19:44 +00:00
Andreas Gustafsson f4909f01a7 the test outcome should not depend on the dig version printed 2001-08-09 00:10:56 +00:00
Andreas Gustafsson f30cab801a spacing 2001-08-08 23:27:03 +00:00