Commit Graph
4175 Commits
Author SHA1 Message Date
David Lawrence 4f36774273 include <dns/soa.h> for dns_soa_serial() prototype 2001-05-31 10:38:01 +00:00
David Lawrence a0a8ffd8c3 Remove the named.key file on server shutdown. 2001-05-31 10:37:08 +00:00
David Lawrence 7332e47e11 Automatically generate a key for command channel use whenever either
no controls statement is present or when an inet statement is missing
a keys clause.

Dump an rndc.conf-style configuration into a file
(NS_LOCALSTATEDIR "named.key") with the key and suitable default-* values.
2001-05-31 10:36:05 +00:00
Brian Wellington 5455f30a75 842. [func] 'rndc flush' now takes an optional view. 2001-05-31 01:21:12 +00:00
Brian Wellington b804d77ad9 #include <dns/soa.h> 2001-05-31 00:59:46 +00:00
Brian Wellington 1969ab5360 copyright updates 2001-05-30 20:31:08 +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 1666a83cab add sys/types.h for FreeBSD 2.1. 2001-05-25 07:42:15 +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
Mark Andrews 4fbd6a13a5 #838 7.1.1 -> 7.x.x 2001-05-24 23:58:24 +00:00
Mark Andrews 761a21dfab 838. [port] UnixWare 7.1.1 is now suported by
bin/tests/system/ifconfig.sh.
2001-05-24 23:55:48 +00:00
Andreas Gustafsson 508d17362c 834. [func] Accept (but warn about) master files beginning with
an SOA record without an explicit TTL field and
			lacking a $TTL directive, by using the SOA MINTTL
			as a default TTL.  This is for backwards compatibility
			with old versions of BIND 8, which accepted such
			files without warning although they are illegal
			according to RFC1035.
2001-05-22 01:44:37 +00:00
Brian Wellington b7ce2258ca change the description of 'rndc status' 2001-05-22 00:56:01 +00:00
Andreas Gustafsson 6cc2f10547 indentation 2001-05-19 00:08:21 +00:00
Andreas Gustafsson 5fdc9aaf40 832. [bug] The default location for named.conf in named-checkconf
should depend on --sysconfdir like it does in named.
                        [RT #1258]
2001-05-18 23:50:06 +00:00
Andreas Gustafsson 60084a1a5a The ARM and the man pages now use a common set of Makefile macros
to determine the paths to the various SGML and XML tools and files.
You should have a complete SGML catalog in /usr/local/share/sgml/catalog;
this will be picked up by the configure script and used for both the
ARM and the man pages.
2001-05-15 17:33:32 +00:00
Bob Halley c209cc1ebd update test to check for new behavior of ANY queries at zone cut points 2001-05-15 05:32:53 +00:00
Andreas Gustafsson b56607d483 the ixfr test requires Net::DNS 2001-05-14 22:35:57 +00:00
Andreas Gustafsson 82df406152 don't log ISC_R_CANCEL as a 'fatal error' 2001-05-14 21:33:45 +00:00
Andreas Gustafsson 70fcb78509 client->peeraddr_valid could be set even if the peer
address was not valid; socket errors were logged as requests; when a client shut down
due to a fatal I/O error, it failed to log a message to that effect
2001-05-14 21:12:32 +00:00
Brian Wellington 50097b38c0 830. [func] Implement 'rndc status'. 2001-05-14 20:44:16 +00:00
Brian Wellington ecf4962155 more of 'rndc status' 2001-05-14 19:06:47 +00:00
Bob Halley 3e9b51fc7b Replies to the reload command would sometimes contain invalid signatures
because the code was incorrectly referencing the secret from memory that
the reload frees.  The code now makes a copy of the secret used to validate
the request, and uses that in the response.
2001-05-14 18:23:39 +00:00
Andreas Gustafsson 13b9abae18 uninitialized variable 2001-05-10 19:05:00 +00:00
Andreas Gustafsson c6c5f2db75 added .cvsignore file 2001-05-10 19:01:51 +00:00
Andreas Gustafsson 89485c1d71 added incremental zone transfer test 2001-05-10 18:29:09 +00:00
Andreas Gustafsson e5a9067ab2 regenerated 2001-05-10 16:30:13 +00:00
Andreas Gustafsson 67a3554aa6 use $PERL 2001-05-10 16:28:57 +00:00
Brian Wellington 1ba1b5242e pass DST_TYPE_PUBLIC | DST_TYPE_PRIVATE when both the public and private key
should be read.
2001-05-10 06:04:58 +00:00
Andreas Gustafsson 8ea814ce5f If a response was received on port 53 and failed to parse, the server
would respond to the response, potentially causing packet storms.
This bug was introduced on the mainline by the dispatch-bypass changes and
does not affect any released version.
2001-05-09 23:13:03 +00:00
Andreas Gustafsson 73a0d5c6ec do not assume . is in $PATH 2001-05-09 21:55:44 +00:00
Brian Wellington 66262ee904 rndc status now counts zones (in all views except _bind) 2001-05-09 21:35:28 +00:00
Brian Wellington 08116c0bbd -t now works 2001-05-09 18:59:55 +00:00
Brian Wellington fdd2f4e5d0 Add an option to ignore the first 2 bytes (for TCP messages) 2001-05-09 18:56:29 +00:00
Brian Wellington 110c0fae7f add some commandline flags. 2001-05-09 18:51:44 +00:00
Brian Wellington 08a0525d92 Use a 64K buffer, not a 4K buffer. 2001-05-09 18:47:49 +00:00
Brian Wellington 1448a52296 the output buffer should be 64K, not 4000 bytes. 2001-05-09 00:16:48 +00:00
Andreas Gustafsson c3ebcedbe5 Add isc_file_progname(), with trivial POSIX implementation, and
call it from main().  A separate WIN32 implementation will be needed.
2001-05-08 19:47:55 +00:00
Andreas Gustafsson 8fbd23c0aa 823. [func] The output of "dig -h" now goes to stdout so that it
can easily be piped through "more". [RT #1254]
2001-05-08 15:56:01 +00:00
Brian Wellington 7fea1b3b43 If 'rndc trace' is sent to a server already debugging at level 99, ignore it. 2001-05-08 04:30:32 +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
Brian Wellington bdfb3735ac check for DNS_R_SEENINCLUDE 2001-05-08 03:20:42 +00:00
Andreas Gustafsson 8b3fb4bded added reconfig command to usage message 2001-05-08 01:19:01 +00:00
Andreas Gustafsson 4257a38160 handle tabs in rndc commands; remove redundant strcmp() calls;
remove obsolete commentary
2001-05-08 00:28:28 +00:00
Andreas Gustafsson 2071b2be37 unused variable 2001-05-08 00:26:24 +00:00
Andreas Gustafsson 9dafd058e3 implemented 'rndc reconfig' 2001-05-07 23:34:24 +00:00
Andreas Gustafsson 6e0e723b25 quote key name in warning message; typos; plural 2001-05-07 21:57:25 +00:00
Andreas Gustafsson 02d8e643ea cut-and-paste-o caused memory leak 2001-05-07 21:01:45 +00:00
Danny Mayer a14762f207 dst_key_fromfile needs cast of length 2001-05-06 02:20:29 +00:00