Commit Graph
4501 Commits
Author SHA1 Message Date
Andreas Gustafsson 359082766e diff.h was not installed 2000-12-21 16:17:41 +00:00
Andreas Gustafsson 2207599e64 condition.h was not installed 2000-12-21 16:14:49 +00:00
Brian Wellington 5d85bf183f missing 'static' 2000-12-21 01:58:37 +00:00
Brian Wellington 1200b06785 removed LWRDATA_AUTHORITATIVE and RRSET_AUTHORITATIVE 2000-12-21 00:27:56 +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
Brian Wellington a644e87df7 Move the msgcat stuff into socket_log(), to avoid unnecessary calls to
isc_msgcat_get() and speed things up.
2000-12-19 20:35:37 +00:00
Andreas Gustafsson 70c91849c3 eliminated compiler warning 2000-12-19 19:29:13 +00:00
Andreas Gustafsson ab0bc7bd36 spelling 2000-12-19 19:20:15 +00:00
Andreas Gustafsson 0833ef954a when code is duplicated (which it shouldn't be), it should at
least be duplicated consistently
2000-12-19 19:19:45 +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
Brian Wellington 64a84169d7 621. [port] Disable IPv6 at runtime if they are unusable. This
mostly affects Red Hat Linux 7.0.
2000-12-19 01:36:52 +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
Andreas Gustafsson 5412d26798 entropy.c did not include header files necessary for select(),
causing nonthreaded builds to fail on AIX
2000-12-14 22:40:17 +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
Brian Wellington 2103b1d460 Don't allow queries of class or type ANY. 2000-12-13 00:22:54 +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
David Lawrence b74896ead5 599. [func] Added four new functions to the libisc log API to
support i18n messages.  isc_log_iwrite(),
			isc_log_ivwrite(), isc_log_iwrite1() and
			isc_log_ivwrite1() were added.

(The log.h/log.c changes were just minor formatting changes.)
2000-12-12 05:29:33 +00:00
Andreas Gustafsson fc6f5743aa use isc_log_iwrite() for localized logging,
to keep backwards compatibility
2000-12-12 00:18:01 +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
Andreas Gustafsson eb2d0f4d9d isc_thread_self() is a function, not an integer [RT #551] 2000-12-11 19:17:29 +00:00
Andreas Gustafsson dea478db31 isc_symexists_ policies were not referred to by their
true names in the header comments
2000-12-11 04:08:52 +00:00
Mark Andrews dd2e7df916 pointer math 2000-12-09 03:20:05 +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
Andreas Gustafsson 10e22ebcc3 605. [func] New function isc_lex_getlasttokentext(). 2000-12-09 02:05:26 +00:00
Brian Wellington bb812feb3c line numbers could be corrupted by very large tokens. 2000-12-09 00:41:33 +00:00