Commit Graph
191 Commits
Author SHA1 Message Date
Brian Wellington b0390aab30 783. [bug] Following CNAMEs could cause an assertion failure
when either using an sdb database or under very
                        rare conditions.
2001-03-20 00:00:45 +00:00
Brian Wellington fed2c6d186 80 columns 2001-03-19 22:59:03 +00:00
Bob Halley d911284333 add support for minimal-responses 2001-03-14 21:53:29 +00:00
Bob Halley 02a402afe5 add response minimization if MINIMIZE_RESPONSES is defined 2001-03-14 19:33:00 +00:00
Brian Wellington 40fab71b52 When querying for ANY at a zone apex, don't add NS records to the authority
section, since they're already in the answer section.
2001-03-13 01:37:11 +00:00
Mark Andrews 55b6243923 776. [func] Improved error reporting in denied messages. [RT #252] 2001-03-11 06:19:39 +00:00
Bob Halley 7c058f1c38 remove incorrect CNAME/DNAME dead-end code from NXDOMAIN handling 2001-03-06 06:57:47 +00:00
Bob Halley 4e3f8e480f fix memory leaks in query_find() 2001-03-05 21:38:20 +00:00
Brian Wellington 50448dc92a typo 2001-02-18 21:20:29 +00:00
Brian Wellington b270a97754 Fix a case where the client could theoretically not free a temporary name.
It'll never happen, since dns_rdata_tostruct() cannot fail when passed a NULL
mctx, but it's more correct this way.
2001-02-18 05:56:16 +00:00
Andreas Gustafsson f915bbfc2d rdatas constructured by query_addcnamelike() always had
type CNAME, even when part of a non-CNAME rdataset
2001-02-14 19:32:30 +00:00
Andreas Gustafsson 65a66336a6 redid configuration locking using isc_task_beginexclusive()
and isc_task_endexclusive() instead of a multitude of separate
configuration rwlocks
2001-02-14 03:54:53 +00:00
Brian Wellington dc5415c9fd comment update 2001-02-14 03:01:12 +00:00
Brian Wellington 3d76b54512 Don't create a timer for every incoming query - only create it for updates,
notifies, and recursive queries.
2001-01-29 19:49:52 +00:00
Andreas Gustafsson 75534b6392 optimization: when deciding whether to do v6 syntheis, check the query type
before the ACL because it's usually faster that way
2001-01-26 23:40:44 +00:00
Brian Wellington d29da750d2 statistics counting was slowing down the server. Make client.c:count_query()
inline and remove dns_stats_ncounters(), which just returned the public
constant DNS_STATS_NCOUNTERS.
2001-01-23 01:50:29 +00:00
Andreas Gustafsson 634784cb66 701. [func] Root hints are now fully optional. Class IN
views use compiled-in hints by default, as
                        before.  Non-IN views with no root hints now
                        provide authoritative service but not recursion.
                        A warning is logged if a view has neither root
                        hints nor authoritative data for the root. [RT #696]
2001-01-22 19:21:19 +00:00
Andreas Gustafsson 7946047f2d name data are unsigned char, not char 2001-01-11 20:48:27 +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 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
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
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
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 c8fc692fa1 618. [bug] Queries to a signed zone could sometimes cause
an assertion failure.
2000-12-16 02:30:58 +00:00
Brian Wellington 78838d3e0c 8 space -> tab conversion 2000-12-11 19:24:30 +00:00
Mark Andrews 6fda157766 ISC_LINK_*UNSAFE -> ISC_LINK_INITAND* 2000-12-07 20:15:58 +00:00
Andreas Gustafsson 985013e619 don't increment the referral counter when using the root hints (RT #527) 2000-12-05 19:17:32 +00:00
Andreas Gustafsson 90ad126bb3 more DNS_OPT_NEWCODES sanitation 2000-12-02 04:44:51 +00:00
Andreas Gustafsson ce1f5b8d0a rewrote much of the statistics counter code 2000-12-01 23:49:59 +00:00
Andreas Gustafsson d3be9a9c6e 583. [func] "rndc querylog" will now toggle logging of
queries, like "ndc querylog" in BIND 8.
2000-11-30 00:25:49 +00:00
Andreas Gustafsson 86a4d80e06 565. [func] Log queries more like BIND 8: query logging is now
done to category queries, level info. [RT #169]
2000-11-23 01:32:48 +00:00
Andreas Gustafsson ab13b279ae revert the change of 1.151->1.152 - it is more important to log
queries sanely than to log them the same way BIND 8 did
2000-11-23 01:18:34 +00:00
Bob Halley 6b5a6fbe1c only set AD if they asked for DNSSEC 2000-11-20 17:53:35 +00:00
David Lawrence 7fd17f3f4d 565. [func] Log queries more like BIND 8. Query logging is done
to category "general", module "query", debug level 1.
			[RT #169]
2000-11-16 19:20:08 +00:00
Andreas Gustafsson e9f6414d40 simplified query logging code by dropping support for EDNS1
multiple queries and by using dns_rdata{type,class}_format();
include the class in query log messages
2000-11-15 19:35:07 +00:00
Andreas Gustafsson eb23b7b590 eliminated compiler warnings;
renamed setup_sortlist() to ns_sortlist_setup() to conform
to naming conventions
2000-11-15 18:12:38 +00:00
Andreas Gustafsson 50faa6daf7 refactored sortlist code to make it possible to sort addresses
that are not part of an rdata, as required by lwresd
2000-11-14 03:30:53 +00:00
Brian Wellington 78d78f05d9 556. [func] The DNSSEC OK bit in the EDNS extended flags
is now implemented.  Responses to queries without
                        this bit set will not contain any DNSSEC records.
2000-11-13 21:34:03 +00:00
Brian Wellington 0042d68e2f #include <string.h> 2000-11-13 20:10:19 +00:00
Andreas Gustafsson 1442a167f5 minor fixes to sortlist comments and spacing 2000-11-11 00:34:20 +00:00
Andreas Gustafsson 917c8406f6 handle negated sortlist entries correctly 2000-11-11 00:26:52 +00:00
Andreas Gustafsson febaa09184 551. [func] Implemented the 'sortlist' option. 2000-11-10 03:16:26 +00:00
Michael Sawyer 31eef7e2d4 Use lowercase names for stats
statistic printing code cleanup
move some of the statistics stufdf to the server object
2000-11-09 19:55:20 +00:00
Michael Sawyer a3a11c4f3f Add the ability (via rndc dump-statistics) to dump a file with counters of
various results given to queries.  Enable the (previously disabled)
statistics-file config option.
2000-11-07 23:49:42 +00:00