Commit Graph
4489 Commits
Author SHA1 Message Date
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
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
David Lawrence e544b507b8 602. [func] Cope automatically with UnixWare's broken
IN6_IS_ADDR_* macros. [RT #539]
2000-12-08 00:55:51 +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
David Lawrence b161f87be8 Updated API to support i18n message arguments to isc_log_{,v}write{,1}.
Provided isc_log_i{,v}write{,1}, with appropriate macro substitutions,
for files that are not yet converted to the new API.  When everything
is converted, the added functions will be removed.
2000-12-07 19:30:28 +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