Commit Graph
193 Commits
Author SHA1 Message Date
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 6f191af6ac document NULL returns from ns_sortlist_byaddrsetup() 2000-11-15 02:47:29 +00:00
David Lawrence 2c02438f84 save the initial values of the resource limits for datasize, stacksize,
coresize, and open files
2000-11-14 23:59:21 +00:00
Andreas Gustafsson 221fd7bd53 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:22: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
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 39e672d653 Change rndc command from "dump-statistics" to "stats," to match ARM. 2000-11-08 19:02:56 +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 0fc89c4ee6 540. [func] Add dialup support. 2000-11-03 07:16:09 +00:00
Brian Wellington e21d199dca 539. [func] Support the blackhole option. 2000-11-03 02:45:55 +00:00
Brian Wellington 9ce9834a57 server side of getrrsetbyname() 2000-11-02 01:53:25 +00:00
Brian Wellington 4587a7c3df lwresd should only try to load /etc/resolv.conf if the -c option was not
specified.
2000-11-01 20:59:22 +00:00
Brian Wellington 783055c0a6 Big lwresd restructuring. The code is a lot more modular now (the lwresd
structure containing search path, view, etc. is split from the listener
object), and should work correctly on reload.
2000-10-31 22:39:30 +00:00
Brian Wellington 686026894b getaddrbyname now does search path processing in the server. 2000-10-28 00:35:57 +00:00
Brian Wellington eb716d8c2e added a new variable to the searchctx 2000-10-28 00:09:46 +00:00
Brian Wellington dadd8860bb Support for the search and ndots config options in lwresd. 2000-10-24 04:27:25 +00:00
Brian Wellington 38379c5c5e lwresd search list stuff. This isn't used by getaddrbyname yet, but
it's used by the uncommitted getrrsetbyname.
2000-10-24 04:25:16 +00:00
Brian Wellington 0df9b6e53b The lwresd -C option had a few problems. 2000-10-13 22:35:46 +00:00
Michael Sawyer 94b50bce2b Add zone-specific reload and refresh capability to server and rndc 2000-10-12 21:52:00 +00:00
Brian Wellington 5098003982 add IPv6 pktinfo stuff for lwresd. 2000-10-12 20:45:19 +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
Mark Andrews 7e4135abb9 ns_server_flushonshutdown() now takes a boolean flag saying whether to flush
or not.  This is in preperation for server option to set the default.
2000-10-05 23:48:49 +00:00
Mark Andrews 2a34beb5ab 508. [func] Add support for write of zone files on shutdown. 2000-10-05 10:42:40 +00:00
Brian Wellington 8a23742754 lwres can now be served by named, with the lwres{} block in named.conf.
If run as lwresd, look for /etc/lwresd.conf or a replacement specified
with -c, otherwise read /etc/resolv.conf or a replacement specified with -C.
2000-10-04 23:19:01 +00:00
Andreas Gustafsson e7af081383 removed unused task 2000-09-26 18:26:20 +00:00
Andreas Gustafsson d15f51c600 484. [bug] When the server was reloaded after removing addresses
from the named.conf "listen-on" statement, sockets
                        were still listening on the removed addresses due
                        to reference count loops. [RT #325]

Now there is one client manager object per interface instead of a single
global one; when an interface goes away, it simply destroys the associated
client manager, which will cause all its clients to be shut down in an
orderly fashion.
2000-09-22 00:13:08 +00:00
Mark Andrews 6d43b19608 a better description of ns_client_sendraw(). 2000-09-13 01:33:26 +00:00
Mark Andrews 459e901f90 451 [func] Update forwarding implememted.
450.   [func]          New function ns_client_sendraw().
2000-09-13 01:30:34 +00:00
Michael Graff 42e31e6ef7 pass in the log level desired; make 'client denied recursion' log at debug level 1 always. 2000-09-12 18:50:36 +00:00
Michael Graff 4e96d1fc06 restructure creating and cleanup to more closely fit the other subsystem's methods. This removes one more todo item from my list. 2000-09-07 21:54:40 +00:00
Andreas Gustafsson 4c78be66b7 423. [bug] When responding to a recusive query, errors that occur
after following a CNAME should cause the query to fail.
                        [RT #274]
2000-09-06 20:35:22 +00:00
Mark Andrews d22b4de3f1 Throttled answer while loading support (still needs config file hooks). 2000-09-05 03:35:24 +00:00
David Lawrence 40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
Michael Graff 6d3496c045 Implement additional-from-{glue,auth} [ yes | no ] ;
with yes being the default.  These control searching in the cache and
other zones we are authorative for.  This is mostly for gdib, but
may be useful elsewhere.

The config changes are renaming from glue-from-* to additional-from-*,
since this also prevents DNAME, CNAME, NS, MX, etc. additional data
from being followed.
2000-07-31 21:07:07 +00:00
David Lawrence 15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
Andreas Gustafsson 4d9b99ccb2 the client control event should be a server event,
not a DNS library event
2000-07-26 23:45:55 +00:00
Andreas Gustafsson a32738e3e4 352. [bug] Race condition in dns_client_t startup could cause
an assertion failure.
2000-07-26 17:39:12 +00:00
Brian Wellington 1702f1a0fe Add a 'fetchoptions' field to the query structure, which is currently 0
unless the query has the cd bit set.
2000-07-25 21:37:05 +00:00
David Lawrence 84f4e4a656 319. [func] The named.conf "controls" statement is now used
to configure the OMAPI command channel.
[RT #145]
2000-07-10 11:35:02 +00:00
Brian Wellington 57506ed769 Fix memory context leak. 2000-06-28 00:06:25 +00:00
Brian Wellington 9a6bbb206e namespace cleanup 2000-06-26 20:50:00 +00:00
Andreas Gustafsson b92da7ece1 273. [func] The default for the 'transfer-format' option is
now 'many-answers'.  This will break zone transfers
                        to BIND 4.9.5 and older unless there is an explicit
                        'one-answer' configuration.
2000-06-23 01:34:38 +00:00
David Lawrence 9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
Brian Wellington bc9515e5a2 Initialize ns_g_cpus to 0, not 1. 2000-06-22 01:08:54 +00:00
Mark Andrews b35a009df8 270. [func] Allow maximum sized TCP answers. 2000-06-22 00:05:11 +00:00
Brian Wellington 165250c403 Move entropy and dispatchmgr create/destroy to more correct places. 2000-06-21 22:12:02 +00:00
Brian Wellington 208e3e410d lwresd bug fixes, command line updates, configurability stuff 2000-06-21 01:16:27 +00:00
Brian Wellington 878d3073b1 First pass at merging lwresd into named. Seems to work, but doesn't shut down
properly.  Run named with 'named -r' to test.
2000-06-16 01:39:02 +00:00
Michael Graff c01c401217 reject multicast packets 2000-06-15 18:26:28 +00:00
Mark Andrews 0bfcec250f 254. [bug] suppress "query denied" messages on additional data
lookups.
 ISC-Bugs #139
2000-06-15 04:42:01 +00:00