Commit graph

3072 commits

Author SHA1 Message Date
Brian Wellington
5d85bf183f missing 'static' 2000-12-21 01:58:37 +00:00
Brian Wellington
58cbc05eb0 Fix memory leak in dns_view_find; return DNS_R_HINTNXRRSET instead of
DNS_R_NOTFOUND when correct to do so.
2000-12-20 23:31:11 +00:00
Andreas Gustafsson
7d33e89969 627. [bug] The EDNS0 blackhole detection code of 327. waited
for three retransmissions to each server, which
                        takes much too long when a domain has many name
                        and all of them drop EDNS0 queries.  Now we retry
                        without EDNS0 after three consecutive timeouts,
                        even if they are all from different servers.
2000-12-20 23:18:37 +00:00
Brian Wellington
86c3cd20dd fix a race condition. 2000-12-20 20:42:08 +00:00
Andreas Gustafsson
0bca614506 don't shout 2000-12-20 19:46:37 +00:00
Brian Wellington
13090db2b1 dns_view_find can now do ANY queries; it takes additional db and node
parameters used for return values.
2000-12-20 03:38:46 +00:00
Mark Andrews
2a80a4e120 625. [func] Zone's now inherit their class from the enclosing view. 2000-12-20 03:36:19 +00:00
Andreas Gustafsson
91b4560baa zone timer was using the wrong task [RT #571] 2000-12-20 01:27:50 +00:00
Andreas Gustafsson
ab0bc7bd36 spelling 2000-12-19 19:20:15 +00:00
Mark Andrews
5f7a9845e9 make ISC_LIST_CHECKINIT work 2000-12-19 04:46:36 +00:00
Mark Andrews
f53848e171 622. [bug] A canceled request could be destroyed before
dns_request_destroy() was called. [RT #562]
2000-12-19 03:36:48 +00:00
Mark Andrews
7f66083184 remove unused variables 2000-12-19 01:32:41 +00:00
Andreas Gustafsson
8998ed8481 added UNUSED() macro 2000-12-18 21:09:42 +00:00
Andreas Gustafsson
5fca48054b dump the ADB in a more user-friendly format (unless a debug flag is set) 2000-12-18 20:03:33 +00:00
Mark Andrews
1599bd6998 620. [bug] dns_master_load*inc() now require 'task' and 'load'
to be non-null.  Also 'done' will not be called if
                        dns_master_load*inc() fails immediately. [RT #565]
2000-12-17 23:43:12 +00:00
Andreas Gustafsson
113b8ef973 renamed dns_view_dumpcachetostream() to dns_view_dumpdbtostream()
and changed header comments to make it clear that it is for debugging/analysis purposes and may
dump other stuff in addition to the cache in the future.  Also changed the dump style to the
'explict TTL' one, which makes more sense than usin  when dumping cache files since the TTLs
tend to be different in each rrset, and added a comment banner at the top of each cache dump
containing the view name.
2000-12-15 21:11:38 +00:00
Andreas Gustafsson
acea06c80c spelling 2000-12-15 21:06:00 +00:00
Andreas Gustafsson
6c29053a20 614. [bug] Checks for uninitialized link fields were prone
to false positives, causing assertion failures.
                        The checks are now disabled by default and may
                        be re-enabled by defining ISC_LIST_CHECKINIT.
2000-12-15 00:20:55 +00:00
Mark Andrews
43b8fb7570 dns_rdata_init > dns_rdata_reset 2000-12-14 22:10:37 +00:00
Mark Andrews
5d2026ea7b relax initalied checks 2000-12-14 22:09:51 +00:00
Brian Wellington
ee10d3de18 #include <stdio.h> 2000-12-13 21:28:38 +00:00
David Lawrence
3d509f54ac 613. [bug] "rndc reload zone" now reloads primary zones.
It previously only updated slave and stub zones,
			if an SOA query indicated an out of date serial.
2000-12-13 07:18:44 +00:00
Mark Andrews
fa67ca21f6 make dns_zone_load work w/o being managed.
add bin/check/Makefile to configure
2000-12-13 06:21:42 +00:00
David Lawrence
13a0f9518a oops, an ifdef should have been an ifndef 2000-12-13 01:42:23 +00:00
David Lawrence
10e6498d6d * Removed max-names (as well as DNS_R_ZONETOOLARGE, which was
never returned by any function and was presumably cruft
        related to max-names).
  * Made allow-notify part of the public source and documented it.
  * Made master server TSIG keys part of the public source and documented it.
  * Removed a define of DNS_OPT_NEWCODES supposedly used by GNS, with
        the approval of Mike.
  * Made DNS_ZONE_FORCELOAD flag, used by rndc reload, work in the
        public source.  After the NOMINUM_PUBLIC cleanup, I'll
        fix the rndc reload issues we've been discussing here at IETF.

I left in NOMIMUM_PUBLIC around the forward-notify stuff, with the
expectation that Michael will give the go-ahead next week to remove it.
2000-12-13 00:15:39 +00:00
Brian Wellington
eb8713ed94 Add support for the 'rndc dumpdb' command. Also add the 'cachefile'
option to the config file, which will be used for persistent cache
storage.
2000-12-12 21:33:21 +00:00
Brian Wellington
f8246fc026 alphabetize tokens 2000-12-11 23:38:25 +00:00
Mark Andrews
88a6fef494 init dns_rdata_t's 2000-12-11 23:09:47 +00:00
Brian Wellington
78838d3e0c 8 space -> tab conversion 2000-12-11 19:24:30 +00:00
Mark Andrews
fc03bf680e more locking 2000-12-11 19:21:15 +00:00
Brian Wellington
7d43914b55 remove unused includes 2000-12-09 03:09:20 +00:00
Brian Wellington
911ed0d3be Split journal.[ch] into journal.[ch] and diff.[ch] 2000-12-09 02:17:12 +00:00
James Brister
106125b0a8 backout last change. 2000-12-09 02:14:53 +00:00
James Brister
59bffa5d85 Initialize link field 2000-12-09 02:05:51 +00:00
Mark Andrews
10f89d2f83 additional comments 2000-12-08 19:34:06 +00:00
Brian Wellington
6734ac097f #include <isc/print.h> 2000-12-08 03:10:32 +00:00
Mark Andrews
d30c18b17a set ttl of subtration header 2000-12-07 23:37:52 +00:00
David Lawrence
71c68c49db prototype for dns_c_nameprint() 2000-12-07 22:42:22 +00:00
Mark Andrews
6fda157766 ISC_LINK_*UNSAFE -> ISC_LINK_INITAND* 2000-12-07 20:15:58 +00:00
Brian Wellington
020ebf1190 log the reasons for various verify failures. 2000-12-07 20:13:29 +00:00
Mark Andrews
168ec3b800 Check ttl when adding/subtracting.
New add flag DNS_DBADD_EXACTTTL.
2000-12-07 19:51:58 +00:00
Brian Wellington
cff0491bed The TKEYTRACE macro was never used, and wasn't correct. 2000-12-07 19:13:05 +00:00
Mark Andrews
a009a2da12 use ISC_LIST_APPENDUNSAFE 2000-12-07 17:52:37 +00:00
Brian Wellington
6fb2566107 uninitialized link field 2000-12-07 06:07:12 +00:00
Mark Andrews
a31ede78c8 Added locking check + some additional locks. 2000-12-07 03:13:01 +00:00
James Brister
bdd6599e12 Fix printing of sig-validity-interval.
No longer print final dot of server key value.
2000-12-07 01:45:57 +00:00
David Lawrence
d9135464f2 Stop multiple warnings on IRIX about some bitfiddling being done on
a long integer to stuff it into a four byte character array big endianwise.
2000-12-06 23:12:10 +00:00
David Lawrence
e086935752 isc_hex_tobuffer() third argument is unsigned int, not unsigned long 2000-12-06 22:33:39 +00:00
Brian Wellington
6dbf9cbe6a 596. [bug] DNS_RDATASLAB_FORCE and DNS_RDATASLAB_EXACT are
not mutually exclusive.
2000-12-06 22:19:05 +00:00
Andreas Gustafsson
ff74ba926b when printing the view notify value, the traling semicolon
and newline were missing
2000-12-06 20:37:01 +00:00