Commit Graph
4313 Commits
Author SHA1 Message Date
Andreas Gustafsson fd63a046d6 added an INSIST(), making use of the new isc_buffer_availablelength()
macro
2000-05-04 22:16:00 +00:00
Michael Sawyer c4ae16b2aa Change command line options for dig. In particular, +short option added,
so users can easily get (for example) SOA list from all authorative servers
with 'dig +short +nssearch isc.org soa' rather than stringing dozens of
options together.  (Rather these options remain or are removed in the
release version is still subject to discussion.)
2000-05-04 21:40:47 +00:00
Andreas Gustafsson 6d7909017d needs <dns/result.h> 2000-05-04 21:30:44 +00:00
Andreas Gustafsson 6d3e572604 added 2000-05-04 18:00:23 +00:00
Andreas Gustafsson 88b0c72919 validator support code checkpoint: cache negative validation results;
don't access freed ftcx when validation canceled
2000-05-04 16:38:09 +00:00
Andreas Gustafsson c37a906752 more logging 2000-05-03 23:58:35 +00:00
Andreas Gustafsson 59a6d9effd omit DNS_RDATATYPEATTR_SINGLETON from RRTYPE_NXT_ATTRIBUTES
so that we can cope with parent/child NXT pairs.  DNSSEC sucks.
2000-05-03 23:52:35 +00:00
Michael Sawyer 16d00613cf Fix bug in handling of batch files.
Changes to conform to standard coding style.
Internally reorder batch line options to properly handle @ options in
batch files.
2000-05-03 23:07:30 +00:00
Michael Graff 99b24bbca2 include <isc/print.h> 2000-05-03 22:04:49 +00:00
Michael Graff c90f5e8d1e Split dns_log_init() into dns_log_init() which sets up module and category names, and dns_log_setcontext() which sets the logging context. Call isc_log_setcontext(), dns_log_init(), and dns_log_setcontext(). 2000-05-03 21:11:40 +00:00
Michael Graff 4142e747f2 use new isc_lctx logging 2000-05-03 21:09:49 +00:00
Michael Graff 1a487fb7d2 Add isc_log_setcontext() to set the isc_lctx global (ala dns_lctx) and add module names for isc/socket 2000-05-03 21:09:34 +00:00
Andreas Gustafsson deb7afc49f documented the 'covers' argument of dns_ncache_add() 2000-05-03 21:08:14 +00:00
Michael Sawyer e69ccf6d54 Move recursive flag into lookup structure.
Fix bug in batch processing in host.
Add fixed origin code.
2000-05-03 20:27:13 +00:00
Andreas Gustafsson 7a9b47e4d0 do not indent comments by one space 2000-05-03 20:24:03 +00:00
James Brister e2cf9c2db3 support 'disabled' statement in zone config (causes
zone to be parsed and then ignored). Currently must
come after the 'type' clause.

support optional ports in masters and also-notify
statements:

	masters [ port xxx ] { y.y.y.y [ port zzz ] ; }

removed some unused arguments.

stop issuing some warnings about some features that
were not implemented, but now are.
2000-05-03 19:29:43 +00:00
Andreas Gustafsson 6ba0a8a5e7 eliminated compiler warnings on alpha 2000-05-03 18:25:52 +00:00
Michael Sawyer 7949dbdae1 Add support for search list (from resolv.conf) to dig and host
Add support for ndots (from resolv.conf and command line) to dig and host
Add usage information
Add support for retrying UDP sends, with command line options to set
how many sends are allowed to dig and host
Add multiple option t dig, like -C on host
Add options in dig to enable and disable display of comment lines and
individual sections
2000-05-02 23:23:12 +00:00
James Brister edcd66a7dd Fixed typo. 2000-05-02 19:43:34 +00:00
Michael Graff 58ff88cca7 use 'flags' rather than 'attributes' and rename pkt->flags to pkt->pktflags 2000-05-02 18:46:44 +00:00
Andreas Gustafsson 7193a1762e suppress logging until UID switch to avoid creating log
files as root
2000-05-02 18:45:08 +00:00
Michael Graff 46fb173b20 add 'attributes' flags to lwres packets 2000-05-02 18:18:45 +00:00
Andreas Gustafsson c9373cc535 checkpoint: call validator for negative responses 2000-05-02 18:10:19 +00:00
James Brister 36357e4304 Changed yacc union size to be smaller for yaccs that put yacc-stack
on the real stack.
2000-05-02 17:56:39 +00:00
Michael Graff f6407f9a0b add print.h and string.h to files that need them 2000-05-02 16:36:22 +00:00
Mark Andrews 2002be4f65 Add name_duporclone() and mem_maybedup(). 2000-05-02 05:19:47 +00:00
David Lawrence 09f22ac5b0 Redundant header work, mostly removing <dns/result.h> from installed
headers and adding it to source files that need it.
2000-05-02 03:54:17 +00:00
David Lawrence 5117e028b6 Redundant header work, mostly removing <dns/result.h> from installed
headers and adding it to source files that need it.
2000-05-02 03:35:37 +00:00
Andreas Gustafsson 03384e7070 style 2000-05-02 01:16:21 +00:00
David Lawrence 9bb05852fe 146. [cleanup] More general redundant header file cleanup. Rather
than continuing to itemize every header which changed,
                        this changelog entry just notes that if a header file
                        did not need another header file that it was including
                        in order to provide its advertized functionality, the
                        inclusion of the other header file was removed.  See
                        util/check-includes for how this was tested.
2000-05-02 00:40:16 +00:00
Michael Graff ebff64a8bd add a ; after a goto label, since it needs a statement after it.
Brian should look at this section of code, since I believe it will leak
a reference to 'keyset'
2000-05-01 21:59:05 +00:00
Michael Graff 3f2870c263 test commit; undo previous 2000-05-01 20:52:10 +00:00
Michael Graff a371743ce8 test commit 2000-05-01 20:45:48 +00:00
David Lawrence a1f16c81a1 removed unused stack variable "result" from totext_nxt 2000-05-01 18:27:43 +00:00
David Lawrence 7f1c97f582 include <isc/boolean.h> for ISC_TF() 2000-05-01 18:07:08 +00:00
David Lawrence b09983678f 145. [cleanup] Added <isc/lang.h> and ISC_LANG_BEGINDECLS/
ISC_LANG_ENDDECLS to header files that had function
                        prototypes, and removed it from those that did not.
2000-05-01 17:59:10 +00:00
Michael Graff d086365f39 undo the dnssec renaming. 2000-04-29 18:57:17 +00:00
David Lawrence 4be63b1fd8 144. [cleanup] libdns header files too numerous to name were made
to conform to the same style for multiple inclusion
                        protection.
2000-04-29 02:02:38 +00:00
Andreas Gustafsson 5436ac5553 cope with dns_rdatatype_totext() succeeding for
unknown RR types
2000-04-29 01:51:39 +00:00
Andreas Gustafsson 014892d86d added dns_rdatatype_isknown() 2000-04-29 01:49:37 +00:00
Michael Sawyer e01cfa577b Add +twiddle option for testing.
Fix up host resolution from resolv.conf.
2000-04-29 01:39:32 +00:00
Michael Graff 20c266cbc9 add dispatcher logging functions 2000-04-29 00:45:26 +00:00
David Lawrence 78eb5a8c85 str.c/strsep.c merged to string.c 2000-04-29 00:31:35 +00:00
Michael Sawyer 387a58e8c4 Cleanup of debugging messages. Cleanup of failure shutdown memory leaks.
Fix multiple sends when not needed.  Fix buffer length check failure
code.  Increase recv buffer size.
2000-04-29 00:12:56 +00:00
David Lawrence 5610876d1b win32 isc/condition.h did not need <isc/result.h> 2000-04-28 23:55:08 +00:00
David Lawrence b99d080717 141. [cleanup] <isc/stdtime.h> does not need <time.h> or <isc/result.h>. 2000-04-28 23:53:55 +00:00
Andreas Gustafsson 97f75286ad corrupted requests with multiple questions could
cause assertion failure (fix from Bob)
2000-04-28 23:48:49 +00:00
David Lawrence b77f76be2d Where the methods field of an rdataset was compared to NULL, now use
dns_rdataset_isassociated() instead.
2000-04-28 23:46:43 +00:00
David Lawrence b905ff7cbe 140. [cleanup] <isc/time.h> does not need <time.h> or <isc/result.h>. 2000-04-28 23:23:52 +00:00
Mark Andrews efd55ce62e Add mctx comment for tostruct. 2000-04-28 23:18:01 +00:00