Commit Graph
254 Commits
Author SHA1 Message Date
Mark Andrews 8e40433e34 1158. [func] Report the client's address when logging notify
messages.
2001-12-10 23:09:24 +00:00
Mark Andrews 60213f2815 1139. [func] It is now possible to flush a given name from the
caches via 'rndc flushname name [view]'.  [RT #2051]
2001-11-27 04:06:17 +00:00
Andreas Gustafsson 17453368fa Reimplemented the built-in CHAOS zones using sdb. 2001-11-20 01:18:15 +00:00
Andreas Gustafsson 31f6e44dca 1126. [bug] The server could access a freed event if shut
down while a client start event was pending
                        delivery. [RT #2061]
2001-11-14 22:00:22 +00:00
Mark Andrews b19619260f 1069. [func] Kill oldest recursive query when recursive query
quota is exhausted.
2001-10-24 03:10:18 +00:00
Andreas Gustafsson 9066d09c3e Removed all code within #ifdef DNS_OPT_NEWCODES*.
It was the last thing being sanitized out of releases; removing
it makes it possible to eliminate the sanitation process.
2001-10-01 18:54:05 +00:00
Andreas Gustafsson 808b909f27 1014. [bug] Some queries would cause statistics counters to
increment more than once or not at all. [RT #1321]
2001-09-21 19:08:06 +00:00
Mark Andrews 5fe21da364 999. [func] "rndc retransfer zone [class [view]]" added.
[RT #1752]
2001-09-15 14:23:29 +00:00
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 fe6b7ccc8d ns_os_*memstats() -> ns_main_setmemstats() 2001-09-07 00:37:02 +00:00
Andreas Gustafsson f1eda76d36 include <named/types.h>, not <named/interfacemgr.h> 2001-09-04 19:29:24 +00:00
Danny Mayer ad82fd0a25 named/interfacemgr.h was not being included 2001-09-01 05:17:28 +00:00
Mark Andrews 28fc90e6c8 #857 was incomplete, ISC_MAGIC was not being used everwhere it should have been.
'magic' was not being declared consistantly.
some #include <isc/magic.h> were missing from other include files.
NS_SERVER_VALID was not using ISC_MAGIC_VALID.
2001-08-28 03:58:29 +00:00
Andreas Gustafsson f504adce37 duplicated CVS ID line 2001-08-09 17:21:06 +00:00
Andreas Gustafsson 76c8294c81 format string bugs and improved format string checking [RT #1578] 2001-08-08 22:54:55 +00:00
Andreas Gustafsson 5439bb1725 removed unused variable ns_g_autorndckeyfile 2001-08-08 20:37:31 +00:00
Mark Andrews de9833be77 955. [bug] When using views, the zone's class was not being
inherited from the view's class.  [RT #1583]
2001-08-07 01:58:59 +00:00
Brian Wellington 3dfc806ddf fix key algorithm checks 2001-08-03 18:12:08 +00:00
Mark Andrews 326bcfa0e2 rndc.key support 2001-08-03 05:56:22 +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
David Lawrence 6cad3f112f define ns_g_autorndckeyfile 2001-05-31 10:38:56 +00:00
Brian Wellington 5455f30a75 842. [func] 'rndc flush' now takes an optional view. 2001-05-31 01:21:12 +00:00
Mark Andrews 89d03d4715 Redo:
839.   [func]          Dump packets for which there was no view or that the
                        class could not be determined to category "unmatched".
2001-05-28 05:17:05 +00:00
Mark Andrews 2ae4dd0dbd 839. [func] Dump packets for which there was no view or that the
class could not be determined to file, (-e filename).
2001-05-25 07:39:48 +00:00
Brian Wellington e4cd5a1e5d Partial support for "rndc status". Not all of the fields are filled in yet. 2001-05-08 04:09:41 +00:00
Andreas Gustafsson 532989b206 initate command channel shutdown from the server task, not the
main task, to avoid race conditions; eliminate global variables in
controlconf.c
2001-05-08 03:42:34 +00:00
Andreas Gustafsson 9dafd058e3 implemented 'rndc reconfig' 2001-05-07 23:34:24 +00:00
Brian Wellington c20ffa38de 808. [func] Add 'rndc flush' to flush the server's cache. 2001-04-11 20:37:50 +00:00
Brian Wellington d4ef65050f copyright updates
(note - this doesn't touch lib/bind at all.  Mark, whenever you're done with
lib/bind, make sure to do the copyright magic)
2001-04-10 21:52:17 +00:00
Brian Wellington badf66abe0 Remove OMAPI. 2001-03-27 00:53:58 +00:00
Brian Wellington 1b4e6163be oops, missed a few files. 2001-03-27 00:45:13 +00:00
Brian Wellington 1d92d8a245 792. [cleanup] Replace the OMAPI command channel protocol with a
simpler one.
2001-03-27 00:44:59 +00:00
Andreas Gustafsson 4c03e69ab8 781. [func] Avoid error packet loops by dropping duplicate FORMERR
responses. [RT #1006]
2001-03-19 20:52:21 +00:00
Bob Halley 02a402afe5 add response minimization if MINIMIZE_RESPONSES is defined 2001-03-14 19:33:00 +00:00
Mark Andrews 55b6243923 776. [func] Improved error reporting in denied messages. [RT #252] 2001-03-11 06:19:39 +00:00
David Lawrence 06150c8388 Include lwres/net.h to ensure definition of INADDR_LOOPBACK for lwresd.c.
This might not be the best place for it, but seemed pretty reasonable.
2001-03-10 06:40:29 +00:00
Brian Wellington 952a55000a Remove the 4k UDP send buffer from the client object; use an array on the
stack instead.
2001-03-06 01:24:40 +00:00
Brian Wellington 90c099e88e 762. [feature] named now uses the new configuration parser. 2001-03-04 21:21:39 +00:00
Andreas Gustafsson 7aff04f5d0 removed unused struct field client::disconnect 2001-02-15 23:42:54 +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 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 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 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
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 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 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 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