2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

400 Commits

Author SHA1 Message Date
Andreas Gustafsson
1e9efeeb22 986. [bug] 'additional-from-auth no;' did not work reliably
in the case of queries answered from the cache.
                        [RT #1436]
2001-09-11 01:21:39 +00:00
Mark Andrews
06a960c681 971. [func] 'try-edns' can be use to disable edns on all queries. 2001-08-30 05:52:18 +00:00
Andreas Gustafsson
135c1c53b8 don't INSIST() that calling dns_db_find() on the root hints
only binds the rdataset when returning ISC_R_SUCCESS, because that's not the case -
for example, if the root hints are '. 300 IN CNAME .', DNS_R_CNAME is returned and
the rdataset is bound
2001-08-27 17:20:10 +00:00
Mark Andrews
89555ff443 965. [bug] Using non root hints caused a rbtdb node reference
leak.    [RT #1581, RT #1618]
2001-08-27 06:10:17 +00:00
Andreas Gustafsson
5465e5f7dd query_getzonedb() formatted the domain name and class being queried
for at least once for every query to authoritative data, whether or not a log
message was actually printed, which adversely affected query performance
2001-06-15 23:28:29 +00:00
Andreas Gustafsson
6cc2f10547 indentation 2001-05-19 00:08:21 +00:00
Andreas Gustafsson
3242899a56 818. [bug] Certain pathological responses to ANY queries could
cause an assertion failure. [RT #1218]
2001-04-28 00:21:30 +00:00
Andreas Gustafsson
aed6a8ed2e 805. [bug] When using "forward only", missing root hints should
not cause queries to fail. [RT #1143]
2001-04-09 21:16:47 +00:00
Brian Wellington
55ddb88e53 803. [bug] Treat all SIG queries as if they have the CD bit set,
otherwise no data will be returned [RT #749]
2001-04-04 18:47:06 +00:00
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