Commit Graph

1079 Commits

Author SHA1 Message Date
Brian Wellington
319d2971f1 When the client informs the dispatcher of a received response, have the
dispatcher copy the event instead of reusing the original one.
2001-02-10 02:00:11 +00:00
Andreas Gustafsson
a771e5c797 removed outdated comment 2001-02-09 21:25:55 +00:00
Bob Halley
4ff3597979 In ns_server_setdebuglevel():
Fixed "comparison of unsigned expression < 0 is always false".
	Marked server parameter as UNUSED.
2001-02-08 18:01:33 +00:00
Brian Wellington
dfceef7e68 rndc trace now takes an optional level parameter. 2001-02-07 00:50:44 +00:00
Brian Wellington
9e560b59a7 726. [func] Implement the "trace" and "notrace" commands in rndc. 2001-02-06 23:57:16 +00:00
Brian Wellington
4239aef2fb client_request was not freeing its event. 2001-02-06 02:43:42 +00:00
Brian Wellington
f91dc72b42 725. [bug] Installing man pages could fail. 2001-02-04 15:52:44 +00:00
Stephen Jacob
783d28ddae Added ${PURIFY} to named link command. 2001-02-01 23:22:13 +00:00
Mark Andrews
8e68489885 722. [func] Allow n/named/server.cincrememtal loads to be canceled.
721.   [cleanup]       Load manager and dns_master_loadfilequota() are no
                        more.
2001-02-01 21:29:41 +00:00
Andreas Gustafsson
bce9e213fc chroot() happens before reading named.conf [RT #737] 2001-01-30 01:06:05 +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
Bob Halley
274a8316ad fix typo 2001-01-29 17:25:12 +00:00
Mark Andrews
2d0627005d 714. [bug] Preserve interval timers across reloads unless changed.
[RT# 729]
2001-01-29 07:08:41 +00:00
Brian Wellington
35f06ab0e6 Clients now listen on sockets instead of accepting queries from dispatchers.
When a socket is shared by clients and query-source, the client hands off
responses to the dispatcher.
2001-01-27 02:08:07 +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
a12d9cfa59 710. [func] The forwarders statement now takes an optional port.
Also some assorted cleanup, which resulted in a lot of duplicated code removal.
2001-01-25 02:33:53 +00:00
Brian Wellington
8aac4d4723 fix a potential race condition that could occur if the node being iterated
for a SIG query changed between iterations.  Also change a few consistency
checks to INSISTs.
2001-01-24 01:42:41 +00:00
Andreas Gustafsson
40562d7208 comment style 2001-01-23 18:47:33 +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
Brian Wellington
b151cb7dfa rdataset -> sigrdataset 2001-01-22 23:28:48 +00:00
Andreas Gustafsson
1d830654f5 removed bitstring avoidance code since it was only effective when
reverse mapping the exact same name multiple times within a 10-minute
window, and the resolver's EDNS0 capability flagging achieves much of
the same effect in a much more general way
2001-01-22 22:29:04 +00:00
Brian Wellington
b9ceffe82f checking for 0 length names is no longer needed. 2001-01-22 22:12:17 +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
a1cfa2a82d need <isc/print.h> 2001-01-22 18:59:06 +00:00
Andreas Gustafsson
96b8d611a7 alphabetized includes 2001-01-22 18:58:36 +00:00
Brian Wellington
76c9d2f6c0 696. [bug] lwresd would die with an assertion failure when passed
a zero-length name.  [RT #692]
2001-01-21 18:50:41 +00:00
Brian Wellington
1ec527b712 693. [bug] An empty lwres statement in named.conf caused
the server to crash while loading.
2001-01-19 01:20:00 +00:00
Andreas Gustafsson
6259fcd6f7 include client address and zone name in dynamic update
log messages
2001-01-18 23:31:03 +00:00
Brian Wellington
01b8865b14 689. [doc] man pages are now installed. [RT #210] 2001-01-18 01:33:54 +00:00
Brian Wellington
e037ca879d If "version" is specified in the config file, disable authors.bind [RT #651] 2001-01-18 00:14:20 +00:00
Andreas Gustafsson
bda8d67fd4 race condition [RT #670] 2001-01-16 23:02:58 +00:00
Brian Wellington
f0e246e271 Fully implement the cachefile option, which allows persistent caching. This
removes some unused code in view.c and uncomments some code in cache.c.
This still isn't really usable, since the trust level of cached data is
not persistent, so all data in the persistent cache will be promoted to
"ultimate" trust on reload.
2001-01-12 22:22:17 +00:00
Andreas Gustafsson
ebb8884123 revert to 1.90 since RT #646 is now fixed by relaxing the
requirements of dbiterators, but keep the removal of the unused structure element 'state'
2001-01-12 19:01:39 +00:00
Mark Andrews
17d8e5cce8 opps paused should be set to false not true before getting the next node. 2001-01-12 10:25:15 +00:00
Mark Andrews
f7321615ea 678. [bug] "tranfer-format one-answer;" could trigger an assertion
failure. [RT #646]
 also removed unused structure element state from axfr structure.
2001-01-12 10:20:05 +00:00
Brian Wellington
fd70428a03 Only open the random device on server load, not reload. 2001-01-12 00:37:11 +00:00
Brian Wellington
6b8ab03dc8 Implement the random-device option, and log a message if there is no entropy. 2001-01-11 23:46:12 +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
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
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
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
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