Commit Graph
909 Commits
Author SHA1 Message Date
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
Andreas Gustafsson f9e2ce8223 warn against relative path names as arguments to the -c
option [RT #428]
2000-11-09 18:09:12 +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 3b269c0cf3 Move file write routines to server.c, using isc_stdio_*.
Implement default filename for stats file.
Properly free the name's memory when shutting down.
2000-11-08 18:58:02 +00:00
Bob Halley 7977cf4cfe The recently added code to set lame-ttl triggered an assertion if
there was no view specified in the config file.
2000-11-08 18:46:40 +00:00
Mark Andrews bfcdcde570 implement lame-ttl. 2000-11-08 03:53:16 +00:00
Andreas Gustafsson 4b5a9213ca an extraneous empty line snuck in with the previous change 2000-11-08 01:36:12 +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 4ec1a96d90 542. [func] Add allow-update-forwarding support. 2000-11-06 08:11:11 +00:00
Brian Wellington 6a55a9f083 yet another reload related fix. 2000-11-04 01:11:27 +00:00
Brian Wellington c524a5269d unchecked calls to dns_message_gettemp* and unfreed references on failure. 2000-11-03 23:01:58 +00:00
Andreas Gustafsson 05c7046a3d use complete sentences in comments 2000-11-03 17:54:52 +00:00
Andreas Gustafsson 98f43e2d60 commented the special case TSIG code for update forwarding 2000-11-03 17:39:37 +00:00
Mark Andrews 79451e492c remove debugging printf 2000-11-03 07:53:13 +00:00
Mark Andrews 0fc89c4ee6 540. [func] Add dialup support. 2000-11-03 07:16:09 +00:00
Brian Wellington b209e8ecad The check to see if tsig checking failing with badkey is ok because
the message is an update to be forwarded was wrong.
2000-11-03 04:45:03 +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 97c323e9d8 A couple failure cases weren't handled correctly. 2000-11-01 23:56:29 +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
Mark Andrews 533df4efda 537. [func] Use transfer-source{-v6} when notify messages. 2000-10-31 05:34:18 +00:00
Mark Andrews 368b37b616 dns_rdata_invalidate -> dns_rdata_reset 2000-10-31 03:22:05 +00:00
Brian Wellington 38a5d999de #include cleanup 2000-10-30 20:15:20 +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 1e561d6103 ok, this really works now. 2000-10-28 00:09:11 +00:00
Brian Wellington 0e23f2010f Maybe it works this time. 2000-10-27 18:50:00 +00:00
Brian Wellington 8ee7467b98 valid base64 strings with embedded spaces were rejected. 2000-10-25 19:24:18 +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
Brian Wellington 5b9a83dd15 ndots handling is correct now (I think). 2000-10-24 17:15:54 +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
Andreas Gustafsson 35a1d7c80e replaces_p() in bin/named/update.c should treat DNAME as a singleton
type too. [RT #374]
2000-10-20 22:34:50 +00:00
Mark Andrews cf573ce6fb More ISC_LINK_INIT fixes. 2000-10-20 13:29:37 +00:00
Mark Andrews 5e589b5356 Uninitalised link fixes, batch 1. 2000-10-20 02:21:58 +00:00
Andreas Gustafsson b73a71166d the new rdata flags field was missing from a statically
defined rdata struct
2000-10-19 23:41:40 +00:00
Michael Graff fcf6c37b16 Make this compile after Andreas forgot to remove the now defunct third argument 2000-10-19 02:55:20 +00:00
Brian Wellington e0425840a8 -p and -P were switched. 2000-10-18 22:28:42 +00:00
Brian Wellington 37d1c8ee54 524. [func] The 'forward' and 'forwarders' statement in
non-forward zones should work now.
2000-10-18 22:13:48 +00:00
Andreas Gustafsson a6216d8691 yes, we do need #include <dns/opt.h> - I was misled by an
incorrect commit message
2000-10-18 22:10:20 +00:00
Andreas Gustafsson a1d332a959 we don't really need to #include <dns/opt.h>, do we? 2000-10-18 20:56:33 +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
Brian Wellington 91104d20eb #include <string.h> 2000-10-17 19:24:29 +00:00
Brian Wellington dd8e07322b An event could be freed twice. 2000-10-17 18:34:52 +00:00
Mark Andrews b20ee662a7 521. [bug] Detect master files which contain $INCLUDE and always
reload. [RT #196]

new result code DNS_R_SEENINCLUDE
dns_master_load* can now return DNS_R_SEENINCLUDE
2000-10-17 07:22:39 +00:00
Andreas Gustafsson ac9003d547 spacing 2000-10-17 01:09:31 +00:00
Brian Wellington 6177fc9897 A lot of files generated by libtool were not properly ignored. 2000-10-16 23:44:25 +00:00
Brian Wellington 1417088e3c Updated a comment 2000-10-13 23:38:45 +00:00
Brian Wellington 54477d367b The changes in #515 leaked memory and left dead code. 2000-10-13 23:21:17 +00:00