Commit Graph

1514 Commits

Author SHA1 Message Date
Andreas Gustafsson
95b41befcb conform to recent dispatch creation changes; still doesn't work 2000-05-30 18:01:19 +00:00
Andreas Gustafsson
c8c884b79b made defaults for max-cache-ttl and max-ncache-ttl the same as in
BIND 8: 7 days and 3 hours, respectively
2000-05-27 00:20:39 +00:00
Brian Wellington
311918e5a6 Don't allow dynamic updates of SIG records, since it either leaves the
database in an inconsistent state or fails when it shouldn't.  This will be
supported at some point, but it's better to flat out refuse than fail badly.
2000-05-27 00:07:52 +00:00
Andreas Gustafsson
7cd4c3ddd1 The 'cache-ttl' and 'ncache-ttl' options now work 2000-05-26 23:17:56 +00:00
Andreas Gustafsson
76a191c420 failures at certain points in request processing could cause
the assertion INSIST(client->lockview == NULL) to be triggered
2000-05-26 22:43:36 +00:00
Michael Sawyer
cc88be4af1 Change global task variable to global_task
Remove unused globals
2000-05-26 22:03:00 +00:00
Brian Wellington
35fc29dd6d fixed a typo that prevented compiling 2000-05-26 01:28:46 +00:00
Brian Wellington
5f80c1428b Don't leak memory when reloading the zone if an update-policy clause was
present in the old zone.
2000-05-26 00:48:59 +00:00
Michael Sawyer
fe0de35951 Fix a major oops in my last commit, causing segfaults. 2000-05-26 00:48:18 +00:00
Brian Wellington
e1a972b32d Conform with recent API changes, lots of memory leaks fixed. 2000-05-26 00:17:56 +00:00
Brian Wellington
af60263664 Added dns_tsigkey_attach & _detach, to simplify reference counting.
Added dns_message_get/settsigkey to deuglify tsig key handling in message code.
2000-05-26 00:16:46 +00:00
Michael Sawyer
aef93c6e14 Disable debugging 2000-05-25 22:25:25 +00:00
Andreas Gustafsson
6d5b03be41 wired up per-view 'servers' statement 2000-05-25 22:19:34 +00:00
Andreas Gustafsson
8c7eaac6bb deal with the default view 2000-05-25 22:10:29 +00:00
Andreas Gustafsson
c885fad9b8 Wired up the view-specific 'key' statement. 2000-05-25 22:06:51 +00:00
Andreas Gustafsson
507ee70afd partial support for per-view security roots, still waiting
for the config file parser to support them
2000-05-25 21:43:18 +00:00
Michael Sawyer
51ef9c7d6c Fix memory leak on abort 2000-05-25 19:32:11 +00:00
Andreas Gustafsson
1adb2e87a2 Cleaned up dns_zone_configure():
- Eliminated massive code duplication

 - Eliminated code for configuring forward and hint "zones",
   as those no longer have zone objects.  Left stub zones in
   because those probably will have zone objects associated
   with them.

 - Fixed several bugs:
   + 'allow-transfer' was not obeyed for slave zones or stub zones
   + 'dialup' was not obeyed for stub zones
   + 'transfers-per-ns' was not obeyed for any zones
2000-05-25 19:27:48 +00:00
Brian Wellington
7285eed748 missing isc_buffer_add() calls 2000-05-25 18:00:08 +00:00
Michael Sawyer
36e4d8878c Clean up uninitialized variable bug 2000-05-25 17:24:57 +00:00
David Lawrence
11836b7a55 missing isc_buffer_add()s after isc_buffer_init()s on a string were causing
tests to fail
2000-05-25 16:21:36 +00:00
Andreas Gustafsson
c90b021ea3 renamed dns_zone_setnotifyalso() to dns_zone_setalsonotify(),
to be consistent with the name of the config file option
2000-05-25 15:34:26 +00:00
Andreas Gustafsson
f1248b6383 use isc_sockaddr_any(), isc_sockaddr_any6() 2000-05-25 05:13:19 +00:00
David Lawrence
923d87d9f4 use ISC_TF() to return an isc_boolean_t from an expression 2000-05-25 03:57:20 +00:00
Michael Sawyer
6afdb1e5e4 Clean up some unused variables... 2000-05-25 00:01:30 +00:00
Brian Wellington
b1d234eb75 The dnssec tools properly use the logging subsystem and share more code. 2000-05-24 23:54:43 +00:00
Michael Sawyer
0eb5cf7351 Fix lookup limit.
Fix non-closing of sockets when finished.
2000-05-24 23:39:30 +00:00
Brian Wellington
a9bc95f22e dst now stores the key name as a dns_name_t, not a char *. 2000-05-24 23:13:32 +00:00
David Lawrence
8a01e235df this program does not use anything from libomapi 2000-05-24 22:19:41 +00:00
David Lawrence
0af3cb7703 ignore Makefile 2000-05-24 21:46:46 +00:00
David Lawrence
553727079c one more macro (FAIL()) where ISC_R_SUCCESS needed to be tested against a
variable instead of a constant.
2000-05-24 21:41:14 +00:00
Michael Sawyer
17747cd5ee Clean up warnings I accidentally left in in previous commit.
Add resetting of lookup counter between different name searches.
2000-05-24 19:49:51 +00:00
Michael Sawyer
932b781b81 Modify dig to use message_*totext() routines. 2000-05-24 19:27:01 +00:00
David Lawrence
e3db271c8d removed non-existent directory ./unix/include from CINCLUDES 2000-05-24 18:39:40 +00:00
David Lawrence
94296c8d5b quiet HP/UX and Solaris compilers by testing "result" variable (as opposed to
"code" constant) against ISC_R_SUCCESS in FAILC() and FAILS() macros.
2000-05-24 18:25:35 +00:00
Michael Sawyer
c7868e2262 Modify dns_message_totext, dns_message_sectiontotext,
dns_message_pseudosectiontotext to use bitfields instead of flags
2000-05-24 18:17:53 +00:00
Michael Sawyer
d044d9891d Fix CHAOS class.
Changed rdatatype printing in host.c.
Removed unexecuted code in dighost.c
2000-05-24 17:26:01 +00:00
Brian Wellington
541b1b23e9 actually use the verbose variable 2000-05-24 17:13:29 +00:00
David Lawrence
20b20b2394 202. [func] isc_lex_getsourceline() changed from returning int
to returning unsigned long, the type of its underlying
                        counter.
2000-05-24 15:07:59 +00:00
David Lawrence
ed019cabc1 fixed lines > 79 columns wide 2000-05-24 05:10:00 +00:00
David Lawrence
e38d22f566 fixed closing comment error introduced by my last revision 2000-05-24 05:02:19 +00:00
Andreas Gustafsson
fa0ad4bc0e updated comments 2000-05-24 04:23:04 +00:00
Andreas Gustafsson
5c3e730c22 include program name in log messages printed through
the logging system
2000-05-24 04:21:34 +00:00
Andreas Gustafsson
a89b06a49c sdig is gone 2000-05-24 04:03:05 +00:00
David Lawrence
da49cb62e0 these tests do not need anything from libdns 2000-05-24 03:47:37 +00:00
David Lawrence
fe56f2116b dns/result.h and dns/compress.h removed from t_api.h 2000-05-24 03:45:00 +00:00
David Lawrence
ba1245a855 fixed prototypes and removed unused global variable Tx_shutdownflag 2000-05-24 03:34:08 +00:00
David Lawrence
9f44e95160 fixed prototypes 2000-05-24 03:33:07 +00:00
David Lawrence
aae7ae64e7 pruned several unused stack variables 2000-05-24 03:32:02 +00:00
David Lawrence
114eea8ac3 fixed prototypes and other ISC style issues 2000-05-24 03:30:57 +00:00