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
Mark Andrews
368b37b616
dns_rdata_invalidate -> dns_rdata_reset
2000-10-31 03:22:05 +00:00
Mark Andrews
c03bb27f06
532. [func] Implement DNS UPDATE pseudo records using
...
DNS_RDATA_UPDATE flag.
531. [func] Rdata really should be initalized before being
assigned to (dns_rdata_fromwire(), dns_rdata_fromtext(),
dns_rdata_clone(), dns_rdata_fromregion()),
check that it is.
2000-10-25 04:26:57 +00:00
Mark Andrews
5e589b5356
Uninitalised link fixes, batch 1.
2000-10-20 02:21:58 +00:00
Michael Sawyer
55aed608cc
Add counters of incoming queries, server-wide and by zone. There is
...
currently no way to get these counts back *out* of the server, pending
a command channel. A temporary channel should be built for these data
soon.
2000-10-17 20:57:26 +00:00
Michael Sawyer
94b50bce2b
Add zone-specific reload and refresh capability to server and rndc
2000-10-12 21:52:00 +00:00
Michael Sawyer
f6b2acd608
Minor change to make GNS changes easier, as well as a minor typo.
2000-10-11 18:00:08 +00:00
Michael Sawyer
dc570b92f6
Add support for proposed ZONE and VIEW opt attributes. These are currently
...
hidden behind #ifdef's, since no OPT code number has yet to be assigned
by the IANA. They are also not quite complete in all regards; VIEW
options are understood and ignored. ZONE options are understood and
acted upon, though some of the error cases aren't quite right.
Remove doubled isc_mem_stats in dighost.c
Update todo list.
Change literal 255's to DNS_NAME_MAXWIRE in name.c
2000-10-11 17:44:18 +00:00
Brian Wellington
d1cbf71409
clean up suspicious looking and incorrect uses of dns_name_fromregion
2000-10-07 00:09:28 +00:00
Mark Andrews
88cef4408a
493. [func] Return non-cachable (ttl = 0) NXDOMAIN responses
...
for SOA queries. This makes it easier to locate
the containing zone without polluting intermediate
caches.
2000-09-28 05:48:50 +00:00
Andreas Gustafsson
337ca18384
475. [bug] query_getzonedb() sometimes returned a non-null version
...
on failure. This caused assertion failures when
generating query responses where names subject to
additional section processing pointed to a zone
to which access had been denied by means of the
allow-query option. [RT #336 ]
2000-09-19 22:30:39 +00:00
Andreas Gustafsson
3a1ad1b045
removed #if 0'ed-out code
2000-09-13 17:49:00 +00:00