2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 21:47:59 +00:00

4398 Commits

Author SHA1 Message Date
David Lawrence
6245328332 build dig/host before bulding tests 2000-05-08 13:34:07 +00:00
David Lawrence
a8d1c8621c comment about SHUTUP_SPUTAUX 2000-05-08 13:26:16 +00:00
James Brister
e411a986b9 Update for new 'database' statement in zone. 2000-05-08 12:54:31 +00:00
Mark Andrews
c6ce77b4dc 155. [bug] ns_notify_start() was not detaching the found zone. 2000-05-08 07:26:37 +00:00
Michael Graff
163bf7444f A slight hack to make bsdi 4.01 work again, since it needs netinet6/in6.h to be included 2000-05-06 22:53:20 +00:00
James Brister
65c9645ca7 Support new 'database' statement in zone.
database "quoted-string";
2000-05-06 10:18:48 +00:00
Michael Graff
7aedafe2e3 remove debugging echo 2000-05-06 02:15:10 +00:00
Michael Graff
6c41175537 add isc_sockaddr_any() and isc_sockaddr_any6 to set up a wildcarded address/port for v4 and v6 sockaddrs 2000-05-06 01:49:43 +00:00
Michael Graff
96e3bc37e6 document that before send*() or recv*() may be called, the socket must be bound either via connect() or bind() 2000-05-06 01:49:07 +00:00
Michael Graff
ece3d6c356 Cause runtime probing of v6 addresses to fail, even if we can actually
make v6 sockets, but we do not have struct in6_pktinfo.

Add a check in configure.in for struct in6_pktinfo.

Use the result of that check to define (if needed) in6_pktinfo in net.h.

This change makes us build on platforms that have SOME ipv6 structures
(like in6_addr, etc) but not enough to be useful to us.

Note:  Before making an ipv6 socket the code should verify that ipv6
sockets can be made using isc_net_probeipv6().  It should also
check for v4 sockets using isc_net_probeipv4() to be consistant.
2000-05-06 01:30:32 +00:00
Michael Graff
7c80c51030 include libtool.m4 from aclocal.m4, to make upgrading libtool easier. aclocal.m4 may shortly get more macros. 2000-05-06 01:26:57 +00:00
Michael Sawyer
6c7a2db63c Add +trace option, change some of the behavior of other options. 2000-05-06 01:16:07 +00:00
Andreas Gustafsson
76a33ffee5 log dns library warnings to stderr even when not verbose;
do not prefix stderr messages with time stamp
2000-05-06 00:54:14 +00:00
Andreas Gustafsson
1d7172079d typos 2000-05-06 00:53:49 +00:00
Andreas Gustafsson
2e6c976751 include severity level in log messages printed on stderr 2000-05-06 00:50:41 +00:00
Andreas Gustafsson
b4780360a4 log dns library warnings to stderr even when not verbose;
do not prefix stderr messages with time stamp
2000-05-06 00:48:53 +00:00
Mark Andrews
5159c42783 153. [func] dns_rdata_tostruct() 'mxtc' is now optional. If 'mctx'
is NULL then you need to preserve the 'rdata' until
                      you have finished using the structure as there may be
                      references to the associated memory.  If 'mctx' is non
                      NULL it is guarenteed that there are no references to
                      to memory addsociated with 'rdata'.

                      dns_rdata_freestruct() must be called if 'mctx' was
                      non NULL and may safely be called if 'mctx' was NULL.

Finish implementing 153 for IN specific types.
naptr_35.h some of the lengths should be 8 bits.
2000-05-05 23:20:10 +00:00
Andreas Gustafsson
3364cad7e4 keygen dumped core if domain name argument was omitted from
command line
2000-05-05 20:15:48 +00:00
Andreas Gustafsson
dd3fc76a33 item 148 contained multiple user-visible changes and was
labeled [func + cleanup]; split it into multiple items
2000-05-05 20:14:56 +00:00
Andreas Gustafsson
01757e5311 added check for missing domain name argument 2000-05-05 19:55:56 +00:00
Andreas Gustafsson
e79be811b0 cannot use 'inline' in header files because <config.h> has
not been included yet to undefine it on platforms that do not support it
2000-05-05 18:22:16 +00:00
Andreas Gustafsson
5466ce3f27 fromstruct_* functions needlessly used dns_name_towire() to do
a simple name data copy, thereby requiring a non-NULL mctx
2000-05-05 18:15:02 +00:00
Andreas Gustafsson
f830ac6764 dns_name_fromwire:5 test expected dns_name_fromwire() to
detect unwanted compression but did not set the 'strict' flag
2000-05-05 17:48:57 +00:00
Andreas Gustafsson
bffbdf7545 cache all response RRs before validating 2000-05-05 17:26:47 +00:00
Andreas Gustafsson
8d501088b7 tostruct_ns() used the wrong mctx 2000-05-05 17:24:21 +00:00
Mark Andrews
9281e7aa77 Implement / convert to new API for tostuct() and freestruct().
Define dns_rdata_loc_t structure.
x25 length is only 8 bits.
2000-05-05 05:50:14 +00:00
Andreas Gustafsson
62fb5eccb5 pass query type to negative response validator 2000-05-05 00:19:00 +00:00
Andreas Gustafsson
59e9979330 REQUIRE(type != 0) 2000-05-05 00:18:36 +00:00
Andreas Gustafsson
a726ac16b3 updated comments 2000-05-05 00:18:16 +00:00
Andreas Gustafsson
8dfc98528f isc_mem_get() return value check used the wrong variable 2000-05-04 23:59:49 +00:00
Andreas Gustafsson
ae0713cac2 removed debugging printf 2000-05-04 23:58:05 +00:00
Michael Graff
8e3e48ff56 use isc_uint8_t rather than isc_int8_t for string lengths, and don't call a structure member sa_len 2000-05-04 23:50:56 +00:00
Michael Graff
987effb437 Be far, far noisier about 'generated file; do not edit' to keep the important message from disappearing between copyright notices (say, in rdatastruct.h) 2000-05-04 22:49:47 +00:00
Andreas Gustafsson
35c0626628 Don't ever send GLOBAL16 compression, not even if edns>=1. Since the
edns1 I-D has expired, no one knows what edns level 1 will mean, and it may end up not
implying support for GLOBAL16.  We are still liberal in what we accept; GLOBAL16
is accepted in packets we receive.
2000-05-04 22:36:24 +00:00
Andreas Gustafsson
94a08e09db Check for edns1 and strict decompression once and for all in
dns_[de]compress_setmethods instead of separately in every caller
2000-05-04 22:19:34 +00:00
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