Bob Halley
924e26ea2f
Look for KEY RRs in both the delegator and delegatee if we're
...
authoritative for both, the delegatee is nonsecure, and the query
name is at the top of the delegatee zone.
Apply allow-query ACL checks to all response data.
2000-04-25 21:58:17 +00:00
David Lawrence
cc43f2461d
82. [cleanup] <isc/buffer.h> does not need <isc/list.h>.
2000-04-25 21:44:27 +00:00
David Lawrence
1f41da8507
needs <stdlib.h> for strtoul
2000-04-25 21:23:04 +00:00
David Lawrence
58bc93c3dd
81. [cleanup] <isc/int.h> and <isc/boolean.h> do not need
...
<isc/lang.h>.
2000-04-25 21:16:12 +00:00
Michael Graff
fa460c223a
hard code some class bits -- they were more or less hard coded before anyway, and this method makes them clearer and faster (dns_rdataclass_{to,from}text())
2000-04-25 21:11:50 +00:00
Michael Graff
18b8cd9e27
add dns_rdataclass_chaos and _reserved0 (used internally to rdata.c) to the enumclass.h file
2000-04-25 21:10:33 +00:00
David Lawrence
7ce81e15fa
80. [cleanup] <isc/print.h> does not need <stdio.h> or <stdlib.h>.
...
(and now dns/ttl.c needs it since it was taken out of isc/print.h)
2000-04-25 20:20:31 +00:00
David Lawrence
8fedfa7b45
79. [cleanup] <dns/callbacks.h> does not need <stdio.h>.
2000-04-25 20:13:54 +00:00
David Lawrence
e1a5f4cd31
Shut up compiler about sigrdataset possibly being used before set in
...
nxtvalidate(). The warning is bogus.
2000-04-25 19:57:47 +00:00
David Lawrence
7da5c63dc0
78. [cleanup] lwres_conftest renamed to lwresconf_test for
...
consistency with other *_test programs.
77. [cleanup] typedef of isc_time_t and isc_interval_t moved from
<isc/time.h> to <isc/types.h>.
2000-04-25 19:37:38 +00:00
David Lawrence
4b93234940
removed unused stack variable "byte" from dns_nxt_typepresent
2000-04-25 19:36:21 +00:00
David Lawrence
fc8a6561cb
include isc/time.h
2000-04-25 19:35:39 +00:00
David Lawrence
b3eeac48ea
include isc/time.h; minor style lint
2000-04-25 19:34:52 +00:00
David Lawrence
0a7bde9fa8
isc_interval_t and isc_time_t typedefs moved to isc/types.h
2000-04-25 19:33:07 +00:00
David Lawrence
c23f524c07
include isc/task.h
2000-04-25 19:32:29 +00:00
David Lawrence
e0f1d72aa5
include isc/time.h, minor style lint
2000-04-25 19:32:11 +00:00
David Lawrence
54d47fb18b
lwres_conftest renamed to lwresconf_test for consistency.
...
ignore lwresconf_test binary.
2000-04-25 19:27:27 +00:00
David Lawrence
e302d60c54
declaration ansified: free_lists() -> free_lists(void)
2000-04-25 19:14:14 +00:00
Michael Graff
94a537e6ab
optimize dns_rdatatype_fromtext()
2000-04-25 19:09:07 +00:00
Brian Wellington
32eeec8559
Rewrite of keygen.
2000-04-25 17:57:10 +00:00
David Lawrence
26037ecb22
Unlock zone->lock when skipping zone load because of database file's age.
...
Log at ISC_LOG_DEBUG(1) when dns_zone_load is entered, when it skips
loading because the file is older than the last load time, and when it
has successfully loaded the zone.
2000-04-24 23:30:46 +00:00
David Lawrence
3db78e0855
use authentication to talk to server
2000-04-24 22:55:29 +00:00
David Lawrence
6d4b6f9d4b
added dns_c_ndcctx_getserver, minor style lint
2000-04-24 22:53:41 +00:00
David Lawrence
026edfb64c
test/sample configuration
2000-04-24 22:52:36 +00:00
David Lawrence
18b3d5d742
style lint
2000-04-24 22:47:14 +00:00
David Lawrence
acb62d86dc
oops, had not removed ufile.c from SRCS
2000-04-24 22:11:46 +00:00
David Lawrence
f3f88c6802
75. [func] Don't load a zone if its database file is older
...
than the last time the zone was loaded.
2000-04-24 21:59:51 +00:00
David Lawrence
1e44dac496
Use renamed functions, isc_mktemplate -> isc_file_mktemplate and
...
isc_ufile -> isc_file_ufile.
Don't load a zone if the database file for it is older than the last
time the zone was loaded.
Style lint.
2000-04-24 21:59:08 +00:00
David Lawrence
ace5c6590f
+./lib/isc/include/isc/file.h C 2000
...
-./lib/isc/include/isc/mktemplate.h C 2000
-./lib/isc/include/isc/ufile.h C 2000
+./lib/isc/unix/file.c C 2000
-./lib/isc/unix/mktemplate.c C 2000
-./lib/isc/unix/ufile.c C 2000
+./lib/isc/win32/file.c C 2000
-./lib/isc/win32/mktemplate.c C 2000
2000-04-24 21:54:07 +00:00
David Lawrence
c4819ad3e2
subsumed by file.c
2000-04-24 21:51:09 +00:00
David Lawrence
cc19a2200f
Removed mktemplate.h, ufile.h. Install file.h instead.
2000-04-24 21:49:50 +00:00
David Lawrence
77f372eed3
74. [cleanup] Removed mktemplate.o and ufile.o from libisc.a,
...
subsumed by file.o.
2000-04-24 21:49:09 +00:00
David Lawrence
3935db0f04
Include {os}/file.o in libisc.a.
...
No longer include {os}/ufile.o and {os}/mktemplate.o in libisc.a.
2000-04-24 21:47:34 +00:00
David Lawrence
f8a95eb912
added file.c to libisc, needs to be done for win32
2000-04-24 21:44:06 +00:00
David Lawrence
2cc9a6a0f7
Prototype for new function isc_time_subtract.
...
Comment cleanups (ie, many "'t' are a valid." comments made grammatically
correct).
win32's file.h added missing ISC_LANG_ENDDECLS.
2000-04-24 21:38:55 +00:00
David Lawrence
8b7304a34c
73. [func] New "file" API in libisc, including new function
...
isc_file_getmodtime, isc_mktemplate renamed to
isc_file_mktemplate and isc_ufile renamed to
isc_file_openunique. By no means an exhaustive API,
it is just what's needed for now.
2000-04-24 21:36:10 +00:00
David Lawrence
cabcfd3e90
72. [func] DNS_RBTFIND_NOPREDECESSOR and DNS_RBTFIND_NOOPTIONS
...
added for dns_rbt_findnode, the former to disable the
setting of the chain to the predecessor, and the
latter to make clear when no options are set.
2000-04-24 21:20:58 +00:00
David Lawrence
d7197f2ab0
Add DNS_RBTFIND_NOPREDECESSOR to specify that the predecessor searching code
...
of dns_rbt_findnode should be skipped. Nothing external uses it yet, but
when the chain option is NULL, this option is set internally as predecessor
searching is irrelevant. (It was skipped before now, but via a different
mechanism.)
Add DNS_RBTFIND_NOOPTIONS to make it clear what the options parameter of
dns_rbt_find* is when no options are passed, and use it in dns_rbt_deletename.
REQUIRE that DNS_RBTFIND_NOEXACT and DNS_RBTFIND_NOPREDECESSOR are mutually
exclusive to dns_rbt_findnode.
2000-04-24 21:18:16 +00:00
David Lawrence
69d9d317ae
Add DNS_RBTFIND_NOOPTIONS to make it clear what the options parameter of
...
dns_rbt_find* is when no options are passed.
Add DNS_RBTFIND_NOPREDECESSOR to specify that the predecessor
searching code of dns_rbt_findnode should be skipped.
Much comment cleanup w.r.t. DNS_RBTFIND_* options.
2000-04-24 21:18:02 +00:00
David Lawrence
0ae53264f0
Removed declarations of extern bn_limit_* variables that are declared
...
static in bn_lib.c. They are only used by bn_lib.c.
2000-04-24 21:02:35 +00:00
David Lawrence
585529aaeb
71. [cleanup] Made explicit the implicit REQUIREs of
...
isc_time_seconds, isc_time_nanoseconds, and
isc_time_subtract.
70. [func] isc_time_set() added.
2000-04-24 20:58:03 +00:00
David Lawrence
945874face
rbtgen was never used by anything
2000-04-24 20:45:19 +00:00
David Lawrence
ddb7c2061e
ignore Makefile and dig
2000-04-24 20:42:32 +00:00
Mark Andrews
4035d33250
apply #69 to just committed also-notify
2000-04-21 02:17:55 +00:00
Mark Andrews
3e8a8028a4
dialup and notify apply to slave zones as well.
2000-04-21 02:14:33 +00:00
Andreas Gustafsson
b78f21115c
apply view and global defaults for 'max-transfer-idle-out' option
...
in the correct order
2000-04-21 00:20:22 +00:00
Andreas Gustafsson
ade06bd257
support view and global defaults for 'notify' option
2000-04-21 00:18:23 +00:00
Andreas Gustafsson
2a3beab190
fixed uninitialized variable; use the UNUSED() macro
2000-04-20 21:42:12 +00:00
Andreas Gustafsson
e4e183af57
the zone object's master and also-notify lists grew longer with each reload
2000-04-20 20:58:50 +00:00
Michael Sawyer
ae72c54ef1
Fixed bug introduced when TCP mode added.
...
Now supports AXFR.
2000-04-20 20:55:45 +00:00