Commit Graph
1536 Commits
Author SHA1 Message Date
Michael Sawyer ba80bec980 Add query-source 2000-06-01 18:07:48 +00:00
Michael Sawyer a2b565626b Add additional test to determine if NOTIFY messages are properly handled
during zone transfers.
2000-06-01 17:56:40 +00:00
Brian Wellington 5cfa06cee3 enabling verbose could crash the program 2000-06-01 02:32:12 +00:00
Michael Sawyer c4bd4b1a8e Fix up includes and remove a warning 2000-06-01 01:06:40 +00:00
Andreas Gustafsson 92a31c0f86 support view-specific and global 'also-notify' 2000-06-01 00:41:23 +00:00
Michael Graff d98c74e2ec set the default destination port in the view, and use it when returning addresses from the adb. 2000-06-01 00:30:58 +00:00
Andreas Gustafsson eb3807ea54 support per-view security roots 2000-06-01 00:21:12 +00:00
Michael Sawyer bcb97dbff8 Fix bug in AXFR processing when multiple servers can potentially answer. 2000-05-31 23:51:14 +00:00
Andreas Gustafsson e6ec99f169 commented 2000-05-31 23:35:09 +00:00
Andreas Gustafsson c17ac5ad17 removed extraneous empty lines 2000-05-31 19:53:41 +00:00
Andreas Gustafsson bd75e751a7 detach from dispatches and dispatch manager; use dns_name_format() and
isc_netaddr_format(); assign a name to the task; turn off memory debugging
2000-05-31 19:53:19 +00:00
Andreas Gustafsson bfa633fc0e detach from dispatches and dispatch manager; use dns_name_format() and
isc_netaddr_format(); assign a name to the task; turn off memory debugging
2000-05-31 19:46:18 +00:00
James Brister 725a4773f5 Support also-notify and trusted-keys in a view statement.
Fixed error message when lexer couldn't open an input file.
2000-05-31 13:10:00 +00:00
Brian Wellington 3d3ce463d1 use the new TSIG api 2000-05-30 23:49:51 +00:00
Brian Wellington 60681e95fe include isc/buffer.h 2000-05-30 23:20:18 +00:00
Brian Wellington 402ba1a164 include isc/buffer.h, dns/name.h 2000-05-30 23:20:00 +00:00
Brian Wellington c18648ca1c include dns/name.h 2000-05-30 23:16:47 +00:00
Brian Wellington 0f80bfec68 The message code now has functions to manipulate TSIG and SIG(0), and the
callers use these functions.  Also a lot of TSIG cleanup.
2000-05-30 23:14:57 +00:00
Brian Wellington 4bf54f182d include dns/fixedname.h 2000-05-30 23:12:47 +00:00
Brian Wellington d474ab7b92 include dns/name.h 2000-05-30 22:43:10 +00:00
Brian Wellington 83a44df0a1 include dns/name.h 2000-05-30 22:27:27 +00:00
Andreas Gustafsson ae792d7f4c silence signed/unsigned warning on alpha 2000-05-30 19:39:22 +00:00
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