Commit Graph

2660 Commits

Author SHA1 Message Date
Andreas Gustafsson
ce1f5b8d0a rewrote much of the statistics counter code 2000-12-01 23:49:59 +00:00
Andreas Gustafsson
c3d7246f5b do not print an empty line to stdout on success 2000-12-01 21:37:33 +00:00
Andreas Gustafsson
a3e41e3c03 obey the allow-update forwarding option for both signed and unsigned updates;
fold the upforwd system test README file and nsupdate input files into the tests.sh script;
other minor cleanup of the upforwd test
2000-12-01 21:37:17 +00:00
Andreas Gustafsson
72a10307e1 added UNUSED() macros for arguments that end up unused when assertion checking
is turned off
2000-12-01 21:32:02 +00:00
Andreas Gustafsson
f41a25ce77 document the fact that ns_client_sendraw() signals
the end of request processing
2000-12-01 21:30:20 +00:00
Andreas Gustafsson
781dc04f0c "nsupdate -- -" now reads non-interactively from stdin 2000-12-01 20:47:15 +00:00
Andreas Gustafsson
9c566a852f 587. [func] A warning is now printed if the "allow-update"
option allows updates based on the source IP
                        address, to alert users to the fact that this
                        is insecure and becoming increasingly so as
                        servers capable of update forwarding are being
                        deployed.
2000-12-01 18:22:17 +00:00
Mark Andrews
a9dcc1d0cb typo 2000-12-01 08:58:10 +00:00
Andreas Gustafsson
b199bc831e bypass running scripts if we are using a separate
build directory
2000-12-01 02:17:15 +00:00
Andreas Gustafsson
2417f18be8 emulate the BIND 8 kludge of setting the query logging flag default
depending on whether a 'queries' log channel has been defined
2000-12-01 02:01:26 +00:00
Andreas Gustafsson
f7c21e46c4 updated ARM and the rndc usage message to reflect the current
set of supported commands
2000-11-30 21:33:22 +00:00
Andreas Gustafsson
091ea9e38d #include <dns/result.h> 2000-11-30 21:32:20 +00:00
Andreas Gustafsson
1d7204a98d Support reloading of any zone using rndc, not just zones in class IN,
using the command syntax "rndc reload zone [class [view]]".
2000-11-30 20:47:53 +00:00
Andreas Gustafsson
fa73911fa2 call dns_result_register() 2000-11-30 20:45:07 +00:00
Andreas Gustafsson
984ca288f1 rewrote Mike's code for reloading of individual zones completely,
thereby eliminating a large number of bugs including a buffer overflow
2000-11-30 19:38:04 +00:00
Stephen Jacob
c56fb9c0a5 2000-11-29 Stephen Jacob <sj@nominum.com>
* bin/named/Makefile.in: Added DBDRIVER_SRCS and included it
   in the SRCS variable. Equivalent of DBDRIVER_OBJS for OBJS.
2000-11-30 00:50:49 +00:00
Andreas Gustafsson
d3be9a9c6e 583. [func] "rndc querylog" will now toggle logging of
queries, like "ndc querylog" in BIND 8.
2000-11-30 00:25:49 +00:00
Andreas Gustafsson
acb053cc54 references to named.conf statements should not include an empty
set of braces
2000-11-30 00:20:40 +00:00
Andreas Gustafsson
21dc0cbb26 reload is no longer the only command supported by rndc 2000-11-30 00:18:16 +00:00
Mark Andrews
483958540f 581. [bug] log severity was not being correctly processed.
[RT #485]
2000-11-29 13:30:43 +00:00
Andreas Gustafsson
c7a793bddb missing spaces in resource limit error message 2000-11-28 21:32:32 +00:00
Andreas Gustafsson
06fef02803 removed 'nostatistics' lines from statistics dumps 2000-11-28 20:08:35 +00:00
Michael Sawyer
f9fa6b9a3b Don't reset counters on every reload 2000-11-28 19:58:14 +00:00
Andreas Gustafsson
7f317e65c2 simplified notify-source default processing 2000-11-28 19:15:12 +00:00
Andreas Gustafsson
f333ea9bdd added notify-source options 2000-11-28 19:07:00 +00:00
Mark Andrews
a5af8127b8 add support for enabling library logging.
add missing ISC_LINK_INIT()
2000-11-28 03:34:10 +00:00
Mark Andrews
94e5d79449 Use "nsupdate filename" rather than "nsupdate < filename". 2000-11-28 03:21:17 +00:00
Mark Andrews
537d147d76 Allow "dialup passive" to work for stub zones. 2000-11-28 03:17:48 +00:00
Michael Sawyer
504b15de12 Use zone lock instead of zmgr lock on counters
Clean up global and local count adders.
2000-11-28 01:59:25 +00:00
Mark Andrews
644ef1972a Add INSIST(client->recursionquota == NULL) in various places to ensure that
we are not leaking.
2000-11-27 23:54:12 +00:00
Andreas Gustafsson
3955d85b3c uninitialized variable 2000-11-27 22:19:37 +00:00
Andreas Gustafsson
517ad698ee make ns_server_dumpstats() use dns_name_format(), not dns_name_totext() 2000-11-27 22:08:06 +00:00
Andreas Gustafsson
9259fed3d8 Continue move of lib/dns/*conf.c stuff to bin/named 2000-11-27 19:42:38 +00:00
Andreas Gustafsson
a5d079249c provide more clearly marked places to insert code for
database drivers
2000-11-27 19:12:23 +00:00
Andreas Gustafsson
ef5d6f22e2 spacing 2000-11-27 17:58:59 +00:00
Andreas Gustafsson
6417ba8440 don't print prompts when reading input from file 2000-11-27 17:56:35 +00:00
Mark Andrews
517950ae99 579. [bug] nsupdate did not take a filename to read update from.
[RT #492]
2000-11-27 00:43:33 +00:00
Michael Sawyer
3e8875db60 Don't crash the server when a user enters a NULL zone. 2000-11-25 03:55:43 +00:00
Michael Sawyer
6dc32b43da rndc [-v view] [-z zone] reload -> rndc reload [zone [view]]
Make the server not crash while I am at it.
2000-11-25 03:27:54 +00:00
Mark Andrews
dfd7798d8b 578. [func] Notify-source, specify the source address for notify
messages.
2000-11-25 02:43:56 +00:00
Mark Andrews
3b1a582101 lcfg was not being initalied to NULL. 2000-11-25 01:33:11 +00:00
Andreas Gustafsson
4e29e682f6 Allow master zones to not have a 'file' option, to support non-rbt
databases.  Zones with a nonpersistent database and no 'file' option will get
an error logged at load time.
2000-11-23 02:26:37 +00:00
Andreas Gustafsson
86a4d80e06 565. [func] Log queries more like BIND 8: query logging is now
done to category queries, level info. [RT #169]
2000-11-23 01:32:48 +00:00
Andreas Gustafsson
ab13b279ae revert the change of 1.151->1.152 - it is more important to log
queries sanely than to log them the same way BIND 8 did
2000-11-23 01:18:34 +00:00
Brian Wellington
afb5dc3afc don't free the ipv4 dispatcher if there isn't one. 2000-11-22 21:59:50 +00:00
Brian Wellington
7ba05518c7 ipv4-less operation 2000-11-22 21:25:38 +00:00
Brian Wellington
2c46670fb4 ignore stdout from the dnssec tools 2000-11-22 20:37:50 +00:00
Andreas Gustafsson
0f8a8f4552 cleanup of test output and shell code 2000-11-22 19:00:46 +00:00
Andreas Gustafsson
7318850b28 transfer-source option added in previous change was
misspelled
2000-11-22 18:52:38 +00:00
Andreas Gustafsson
b88cdaa99b don't destroy evidence by cleaning the test directory
when a test fails
2000-11-22 18:31:27 +00:00