2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00
Commit Graph

314 Commits

Author SHA1 Message Date
Andreas Gustafsson
1d7204a98d Support reloading of any zone using rndc, not just zones in class IN,
using the command syntax "rndc reload zone [class [view]]".
2000-11-30 20:47:53 +00:00
Andreas Gustafsson
984ca288f1 rewrote Mike's code for reloading of individual zones completely,
thereby eliminating a large number of bugs including a buffer overflow
2000-11-30 19:38:04 +00:00
Andreas Gustafsson
d3be9a9c6e 583. [func] "rndc querylog" will now toggle logging of
queries, like "ndc querylog" in BIND 8.
2000-11-30 00:25:49 +00:00
Andreas Gustafsson
c7a793bddb missing spaces in resource limit error message 2000-11-28 21:32:32 +00:00
Andreas Gustafsson
06fef02803 removed 'nostatistics' lines from statistics dumps 2000-11-28 20:08:35 +00:00
Michael Sawyer
f9fa6b9a3b Don't reset counters on every reload 2000-11-28 19:58:14 +00:00
Michael Sawyer
504b15de12 Use zone lock instead of zmgr lock on counters
Clean up global and local count adders.
2000-11-28 01:59:25 +00:00
Andreas Gustafsson
517ad698ee make ns_server_dumpstats() use dns_name_format(), not dns_name_totext() 2000-11-27 22:08:06 +00:00
Andreas Gustafsson
9259fed3d8 Continue move of lib/dns/*conf.c stuff to bin/named 2000-11-27 19:42:38 +00:00
Michael Sawyer
3e8875db60 Don't crash the server when a user enters a NULL zone. 2000-11-25 03:55:43 +00:00
Michael Sawyer
6dc32b43da rndc [-v view] [-z zone] reload -> rndc reload [zone [view]]
Make the server not crash while I am at it.
2000-11-25 03:27:54 +00:00
Andreas Gustafsson
4e29e682f6 Allow master zones to not have a 'file' option, to support non-rbt
databases.  Zones with a nonpersistent database and no 'file' option will get
an error logged at load time.
2000-11-23 02:26:37 +00:00
Andreas Gustafsson
2cd125a2b2 spacing 2000-11-15 18:11:32 +00:00
David Lawrence
a881879ffc use isc_result_totext(result) in place of strerror(errno) when reporting
the result of setting resource limits
2000-11-15 01:37:00 +00:00
Andreas Gustafsson
e045287d31 provide a more detailed error message when configuring a trusted key fails 2000-11-15 01:16:30 +00:00
David Lawrence
19aa938b53 561. [func] The 'datasize', 'stacksize', 'coresize' and 'files'
clauses of the options{} statement are now implemented.
2000-11-15 00:19:49 +00:00
Andreas Gustafsson
f4f43311a6 spacing 2000-11-14 21:30:24 +00:00
Brian Wellington
4085eb3cf0 don't crash when config parsing fails, fail nicely. 2000-11-14 00:37:19 +00:00
Brian Wellington
b9dbff6ffb fix a reference leak and a memory leak on reconfiguration failure. 2000-11-13 23:35:24 +00:00
Andreas Gustafsson
84abb95f7e 551. [func] Implemented the 'sortlist' option. 2000-11-10 03:41:08 +00:00
Andreas Gustafsson
0b768043e1 improved error message on failure opening statistics dump file 2000-11-10 03:05:36 +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
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
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
Andreas Gustafsson
05c7046a3d use complete sentences in comments 2000-11-03 17:54:52 +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
e21d199dca 539. [func] Support the blackhole option. 2000-11-03 02:45:55 +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
Mark Andrews
368b37b616 dns_rdata_invalidate -> dns_rdata_reset 2000-10-31 03:22:05 +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
37d1c8ee54 524. [func] The 'forward' and 'forwarders' statement in
non-forward zones should work now.
2000-10-18 22:13:48 +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
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
Mark Andrews
8693ff3163 omapi checkpoint 2000-10-11 21:21:47 +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
Mark Andrews
6c87cf1997 506. [func] Do not fail to start on errors in zone files. 2000-10-03 23:56:26 +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
Brian Wellington
9b7f7e78a5 minor dst api change 2000-09-12 10:08:56 +00:00
Andreas Gustafsson
af8cb354c2 use isc_base64_decodestring() instead of equivalent
static function
2000-09-07 18:37:38 +00:00
Andreas Gustafsson
5824a4b994 removed misplaced comment 2000-09-06 20:52:05 +00:00
Mark Andrews
d22b4de3f1 Throttled answer while loading support (still needs config file hooks). 2000-09-05 03:35:24 +00:00
Mark Andrews
3a34b87c87 Add cache cleaning support (disabled). 2000-08-31 12:15:17 +00:00
Brian Wellington
30e6ea9ded 405. [func] Add support for selective forwarding (forward zones) 2000-08-24 22:15:40 +00:00
Andreas Gustafsson
6c046c19a3 log a debug message at the end of server configuration 2000-08-24 19:02:06 +00:00