Commit Graph

4596 Commits

Author SHA1 Message Date
Brian Wellington
fff07c1022 665. [bug] Signed responses were not sent when the size of the
TSIG + question exceeded the maximum message size.
                        [RT #628]
2001-01-08 20:36:14 +00:00
Andreas Gustafsson
1514371d94 added UNUSED() macro 2001-01-08 19:58:10 +00:00
Andreas Gustafsson
d1dc805692 include NetBSD mutex debugging kludge only if explicitly requested
with -DISC_MUTEX_DEBUG and only if PTHREAD_MUTEX_ERRORCHECK is defined by the pthreads library
2001-01-08 19:47:30 +00:00
Andreas Gustafsson
4817a06287 663. [func] Accept a size_spec, not just an integer, in the
(unimplemented and ignored) max-ixfr-log-size option
                        for compatibility with recent versions of BIND 8.
                        [RT #613]
2001-01-08 19:27:19 +00:00
Mark Andrews
228c679d7a 662. [bug] dns_rdata_fromtext() failed to log certain errors. 2001-01-08 06:54:35 +00:00
Andreas Gustafsson
13b53c2971 when code is duplicated (which it shoudn't be), it should
at least be duplicated consistently
2001-01-07 22:02:48 +00:00
Andreas Gustafsson
ec0613a097 commented 2001-01-07 22:01:59 +00:00
Andreas Gustafsson
8d4bf0c21b typo 2001-01-07 22:01:34 +00:00
Andreas Gustafsson
b363c64ed6 sizeof() style; added comment 2001-01-07 22:01:12 +00:00
Andreas Gustafsson
9afcd92352 enable deadlock detection for mutexes on NetBSD 2001-01-06 01:26:36 +00:00
Brian Wellington
f92f41acea Detect multiple CPUs on HP-UX. 2001-01-06 01:10:04 +00:00
Brian Wellington
473af33183 more comment updates 2001-01-06 00:43:03 +00:00
Brian Wellington
4d180bd210 comment updates 2001-01-06 00:35:30 +00:00
Brian Wellington
54ce9b2e29 657. [bug] When a listen-on statement in an lwres block does not
specifiy a port, use 921, not 53.  Also update the
                        listen-on documentation. [RT #616]
2001-01-05 22:12:53 +00:00
Andreas Gustafsson
ca247cd9af indentation 2001-01-05 22:09:02 +00:00
Mark Andrews
0deebcd15a dns_master_load*() age_ttl -> options word 2001-01-05 03:12:45 +00:00
Brian Wellington
6cf489f9bc Enabling mutex profiling caused compilation to fail. 2001-01-05 02:17:03 +00:00
Brian Wellington
f135697100 Log a message when dns_rdata_fromtext() fails. 2001-01-05 01:02:47 +00:00
Brian Wellington
7357590bee 656. [func] Treat an unescaped newline in a quoted string as
an error.  This means that TXT records with missing
                        close quotes should have meaningful errors printed.
2001-01-05 01:02:26 +00:00
Mark Andrews
3dbdaa791c don't move expired zones sideways.
use the journal modification time if it is available for for last update time
2001-01-05 00:51:04 +00:00
Brian Wellington
efcd383461 Update forwarding when the message buffer was no longer copied. Fix this
by having the update forwarding code tell dns_message_parse to copy
the buffer.
2001-01-05 00:17:33 +00:00
Andreas Gustafsson
233085a7d2 comment the master file styles in the .h file, not the .c file 2001-01-04 23:52:16 +00:00
Mark Andrews
8dd5237a27 655. [bug] Improve error reporting on unexpected eof when loading
zones. [RT #611]
2001-01-04 23:43:53 +00:00
Michael Sawyer
2b50457b87 Change the name from "parsable" to "simple" 2001-01-04 23:40:28 +00:00
Damien Neil
2e36a55861 Added changes for mutex profiling. 2001-01-04 23:38:37 +00:00
Damien Neil
b2a6ebf1bd Cleaned up some nasty hacks I forgot in the mutex profiling code. 2001-01-04 23:34:03 +00:00
Damien Neil
e535db4a21 Removed some very nasty hacks which I had forgotten in the mutex
profiling code.
2001-01-04 23:32:15 +00:00
Damien Neil
0195648290 Turn off mutex profiling by default. (Oops.) 2001-01-04 22:39:33 +00:00
Damien Neil
e9453d609d Mutex profiling updates, to collect more statistics on mutex usage. 2001-01-04 22:37:37 +00:00
Michael Sawyer
c67496c943 Add master_style_parsable 2001-01-04 22:19:18 +00:00
Brian Wellington
3e6753a753 Make a macro version of dns_name_toregion. 2001-01-04 20:00:57 +00:00
Brian Wellington
1c33761bcf Minor optimization - use the number of labels in the prefix as the loop
counter, not the number of labels in the name.
2001-01-04 19:25:59 +00:00
Brian Wellington
60103a02c6 Update the comments and kill unused structure elements, based on comments from
Mark.
2001-01-04 06:21:01 +00:00
Mark Andrews
f7e900edbc 652. [bug] zone_saveunique() did not report the new name. 2001-01-04 04:10:59 +00:00
Brian Wellington
bb06860389 CPU detection for IRIX. 2001-01-04 02:52:13 +00:00
Brian Wellington
0a569dfd5e When saving the query message (for SIG(0) or update forwarding), don't actually
do an allocate and copy, since the input buffer stays around.
2001-01-04 01:55:22 +00:00
Brian Wellington
6427a34be1 comment fixes 2001-01-04 01:25:08 +00:00
Brian Wellington
4502c1b020 spelling 2001-01-04 00:28:19 +00:00
Brian Wellington
ec772e873b 651. [func] The AD bit in responses now has the meaning
specified in <draft-ietf-dnsext-ad-is-secure>.
2001-01-04 00:24:26 +00:00
Brian Wellington
ac7f13e3dd Remove dns_trust_authsecure, which is not used and was never clearly defined. 2001-01-04 00:16:41 +00:00
Brian Wellington
abfbf760f3 650. [bug] SIG(0) records were being generated and verified
incorrectly. [RT #606]
2001-01-04 00:10:13 +00:00
Mark Andrews
84d982f168 wrong result code tested. 2001-01-03 23:14:53 +00:00
Brian Wellington
8d6fe3f388 Pointers to regions are silly. Use regions instead. This removes 1 small
allocation per query.
2001-01-03 20:42:10 +00:00
Bob Halley
75768d5fa2 It was possible to join to an already running fctx
after it had "cloned" its events, but before it sent
them.  In this case, the event of the newly joined
fetch would not contain the answer, and would
trigger the INSIST() in fctx_sendevents().
[RT #597, #605, #607]
2001-01-03 20:31:34 +00:00
Andreas Gustafsson
0609174d93 removed empty line 2001-01-03 20:21:11 +00:00
Mark Andrews
4e7942dc76 648. [port] Add support for pre-RFC2133 IPv6 implementations. 2001-01-03 13:13:14 +00:00
Brian Wellington
6d5032f9a2 Micro-optimizations:
- use the DNS_NAME_INIT macro in name.c
	- create dns_name_copy() and use it instead of dns_name_concatenate()
	  when doing a copy.
2001-01-03 00:05:15 +00:00
Andreas Gustafsson
22dbaf9ad8 647. [bug] Resolver queries sent after following multiple
referrals had excessively long retransmission
                        timeouts due to incorrectly counting the referrals
                        as "restarts".
2001-01-02 20:46:07 +00:00
Andreas Gustafsson
21931e9334 cleanup of logging code 2001-01-02 18:51:07 +00:00
Andreas Gustafsson
6af9849f74 log message about disabling EDNS0 only once per lookup 2001-01-02 17:59:13 +00:00