Commit Graph
1094 Commits
Author SHA1 Message Date
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
Brian Wellington b79adacaad Add more authors. 2001-02-17 01:09:22 +00:00
Andreas Gustafsson 7aff04f5d0 removed unused struct field client::disconnect 2001-02-15 23:42:54 +00:00
Andreas Gustafsson 08b48bdf45 missing space between words in error message 2001-02-15 19:38:09 +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
Andreas Gustafsson 1dd8ee4fd5 fctx_addopt() would leak an rdataset if dns_message_setopt() ever failed;
fixed it by making dns_message_setopt() guarantee to either adopt
or free the rdataset
2001-02-14 02:51:12 +00:00
Brian Wellington bf5c44f380 ISC_R_INPROGRESS should not be propagated out of client_sendpkg. 2001-02-14 01:46:59 +00:00
Mark Andrews e1066e3f98 add named.8 2001-02-13 06:27:26 +00:00
Brian Wellington 2d1db4e2c0 Allocate events in the client structure, and use isc_socket_sendto2()
and isc_socket_recv2() for sending and receiving packets.  In the send
case, pass the IMMEDIATE flag to avoid receiving an event on send completion
if possible.
2001-02-12 21:45:37 +00:00
Brian Wellington 2ba06bbf5a cut-and-paste-o 2001-02-12 20:26:11 +00:00
Mark Andrews 0aba05dc81 named.8 -> named.8.in 2001-02-12 04:53:20 +00:00
Mark Andrews 070fc7e7e1 named.8 is now processed by configure. 2001-02-12 04:50:47 +00:00
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