Commit graph

2800 commits

Author SHA1 Message Date
Andreas Gustafsson
e495738a16 it's named-checkzone, not name_checkzone 2001-01-11 18:29:53 +00:00
Brian Wellington
b401a139eb ${UOBJS} was used, but never defined. Probably a cut and paste error. 2001-01-11 18:05:15 +00:00
Brian Wellington
de832d133e The changes to reduce allocations in the memory code exposed the sheer
brokenness of this program.
2001-01-11 04:12:29 +00:00
Brian Wellington
db68dedac2 The usage should print named-checkzone, not zone_test. 2001-01-11 04:07:34 +00:00
Andreas Gustafsson
8227257b1c added IPv6 synthesis tests 2001-01-10 01:19:06 +00:00
Andreas Gustafsson
fd8125cac3 respond with NXDOMAIN, not SERVFAIL, when no PTR record is
found in either ip6.int or ip6.arpa
2001-01-09 23:48:44 +00:00
Andreas Gustafsson
14b90c6eb0 v6 synthesis code used uninitialized variable 2001-01-09 22:10:32 +00:00
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Andreas Gustafsson
576f85e5fd 673. [func] The server can now convert RFC1886-style recursive
lookup requests into RFC2874-style lookups, when
                        enabled using the new option "allow-v6-synthesis".
2001-01-09 18:26:01 +00:00
Andreas Gustafsson
4b0ed7a504 for loop style 2001-01-09 17:09:02 +00:00
Andreas Gustafsson
ad26c86891 checkpoint: IPv6 response synthesis implemented for the reverse
mapping case but still disabled due to lack of configurability
2001-01-09 06:48:47 +00:00
Mark Andrews
5bb4ceb2a6 668. [func] named-checkzone now reports multiple errors in master
files.
2001-01-09 00:43:24 +00:00
Brian Wellington
d119051ef7 667. [bug] On Linux, running named with the -u option and a
non-world-readable configuration file didn't work.
                        [RT #626]
2001-01-09 00:10:42 +00:00
Andreas Gustafsson
d405a8134b spacing 2001-01-08 23:50:34 +00:00
Andreas Gustafsson
812ed4efbb removed pointless cast 2001-01-08 23:45:57 +00:00
Andreas Gustafsson
10cd4cf39c several dynamic memory allocations used the size of the wrong structure
(which coincidentally had the same size as the right one)
2001-01-08 23:44:09 +00:00
Brian Wellington
93a6dd9d38 copy the origin in clone_lookup, not the truncation recovery code. 2001-01-08 23:40:29 +00:00
Brian Wellington
c9629cce66 +defname should not be the default. 2001-01-08 23:38:37 +00:00
Brian Wellington
9b0e404e5f 666. [bug] If a request is longer than 512 bytes, send it using
TCP.
2001-01-08 20:50:04 +00:00
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
Brian Wellington
a89b2f024c grammar 2001-01-08 19:50:32 +00:00
Andreas Gustafsson
ec644b5e4b 661. fix failed to destroy transfer object after sending response 2001-01-08 18:03:45 +00:00
Andreas Gustafsson
4e13b2c33c deal with CNAME loops in AAAA synthesis 2001-01-07 23:36:56 +00:00
Andreas Gustafsson
501f6a2fa5 checkpoint: IPv6 response synthesis implemented for the forward
mapping case but still disabled due to lack of configurability
2001-01-07 22:18:00 +00:00
Andreas Gustafsson
b23f160d5b simplified handling of the query type, removing the final
vestiges of support for multiple queries per packet, in preparation
for AAAA synthesis code which needs to know the query type earlier
than it was previously available
2001-01-07 22:06:14 +00:00
Andreas Gustafsson
92427d2c9e FORMERR, not FORMERROR 2001-01-07 21:58:22 +00:00
Andreas Gustafsson
148af05e15 661. [bug] UDP IXFR requests with EDNS options caused
an assertion failure (mpctx->allocated == 0).
                        [RT #623]
2001-01-06 02:54:42 +00:00
Brian Wellington
b9df530c81 There is no ${srcdir}/include, so don't tell make to look there. 2001-01-05 23:54:00 +00:00
Mark Andrews
0deebcd15a dns_master_load*() age_ttl -> options word 2001-01-05 03:12:45 +00:00
Andreas Gustafsson
b9e8ad0f49 include <isc/plaform.h> so that ISC_PLATFORM_USETHREADS gets defined 2001-01-05 01:58:28 +00:00
Michael Sawyer
3b5102fc01 654. [bug] Origin was being forgotten in TCP retries in dig.
[RT574]

 653.   [bug]           +defname option in dig was reversed in sense.  [RT549]
2001-01-04 18:19:18 +00:00
Andreas Gustafsson
b298d83ae0 skip tests that requires threads when threads are not available 2001-01-04 00:43:33 +00:00
Andreas Gustafsson
d6f30a87f8 skip tests that requires threads when threads are not available 2001-01-04 00:27:03 +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
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
Brian Wellington
51cccc493a If running in single-threaded mode, set ns_g_cpus to 1 explicitly. 2000-12-29 22:31:04 +00:00
Brian Wellington
a0eb4941ff Remove #if ISC_MUTEX_PROFILE ; it should work now. 2000-12-29 18:25:33 +00:00
Andreas Gustafsson
f1fb5d1b0b compilation failed due to call to nonexistent function isc_mutex_stats();
made call conditional on ISC_MUTEX_PROFILE to make it compile but the issue of
the function being undefined even when ISC_MUTEX_PROFILE is set must still be
resolved
2000-12-29 18:09:31 +00:00
Brian Wellington
3f160155da ISC_MUTEX_PROFILE can be set to enable basic mutex profiling. Running named
with -s prints the results.
2000-12-29 01:29:56 +00:00
Brian Wellington
4efa04801e Remove DNS_COMPRESS_GLOBAL, since the only type of global compression
is GLOBAL14.
2000-12-29 00:54:36 +00:00
Mark Andrews
de154f65f6 Ensure that ns_client_*() are only called from the client's task. 2000-12-28 01:29:09 +00:00
Brian Wellington
d780c35e54 remove all vestiges of 16 bit global compression 2000-12-28 00:43:12 +00:00
Mark Andrews
af5dc286ff 640. [bug] Memory leak in error path could cause
"mpctx->allocated == 0" failure. [RT #584]
2000-12-27 23:01:25 +00:00
Brian Wellington
ee303f481d 639. [bug] Reading entropy from the keyboard would sometimes fail.
[RT #591]

note: the entropy callback conventions should really be documented.
2000-12-27 00:11:26 +00:00
David Lawrence
054e999be3 #include <config.h> 2000-12-23 22:02:49 +00:00
David Lawrence
f4ed5931a4 the log config pointer was not initialized to NULL as it should be 2000-12-23 19:24:18 +00:00
Andreas Gustafsson
16093c228e added UNUSED() macro 2000-12-22 21:17:59 +00:00
Andreas Gustafsson
f131164c62 incorrect root hint directory 2000-12-22 18:57:18 +00:00
Andreas Gustafsson
d1efbb15f9 previous change removed too much code 2000-12-22 18:32:06 +00:00
Andreas Gustafsson
4137fd1295 install checking tools in sbindir, not bindir 2000-12-22 17:25:56 +00:00