Commit Graph
389 Commits
Author SHA1 Message Date
Brian Wellington dfceef7e68 rndc trace now takes an optional level parameter. 2001-02-07 00:50:44 +00:00
Mark Andrews 8e68489885 722. [func] Allow n/named/server.cincrememtal loads to be canceled.
721.   [cleanup]       Load manager and dns_master_loadfilequota() are no
                        more.
2001-02-01 21:29:41 +00:00
Bob Halley 274a8316ad fix typo 2001-01-29 17:25:12 +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 a12d9cfa59 710. [func] The forwarders statement now takes an optional port.
Also some assorted cleanup, which resulted in a lot of duplicated code removal.
2001-01-25 02:33:53 +00:00
Brian Wellington d29da750d2 statistics counting was slowing down the server. Make client.c:count_query()
inline and remove dns_stats_ncounters(), which just returned the public
constant DNS_STATS_NCOUNTERS.
2001-01-23 01:50:29 +00:00
Andreas Gustafsson 634784cb66 701. [func] Root hints are now fully optional. Class IN
views use compiled-in hints by default, as
                        before.  Non-IN views with no root hints now
                        provide authoritative service but not recursion.
                        A warning is logged if a view has neither root
                        hints nor authoritative data for the root. [RT #696]
2001-01-22 19:21:19 +00:00
Brian Wellington e037ca879d If "version" is specified in the config file, disable authors.bind [RT #651] 2001-01-18 00:14:20 +00:00
Brian Wellington f0e246e271 Fully implement the cachefile option, which allows persistent caching. This
removes some unused code in view.c and uncomments some code in cache.c.
This still isn't really usable, since the trust level of cached data is
not persistent, so all data in the persistent cache will be promoted to
"ultimate" trust on reload.
2001-01-12 22:22:17 +00:00
Brian Wellington fd70428a03 Only open the random device on server load, not reload. 2001-01-12 00:37:11 +00:00
Brian Wellington 6b8ab03dc8 Implement the random-device option, and log a message if there is no entropy. 2001-01-11 23:46:12 +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 113b8ef973 renamed dns_view_dumpcachetostream() to dns_view_dumpdbtostream()
and changed header comments to make it clear that it is for debugging/analysis purposes and may
dump other stuff in addition to the cache in the future.  Also changed the dump style to the
'explict TTL' one, which makes more sense than usin  when dumping cache files since the TTLs
tend to be different in each rrset, and added a comment banner at the top of each cache dump
containing the view name.
2000-12-15 21:11:38 +00:00
Andreas Gustafsson e194e0e04b #include <masterdump.h> not needed; loop style 2000-12-15 19:38:07 +00:00
Andreas Gustafsson f77a1793d0 commented 2000-12-15 00:29:59 +00:00
David Lawrence 3d509f54ac 613. [bug] "rndc reload zone" now reloads primary zones.
It previously only updated slave and stub zones,
			if an SOA query indicated an out of date serial.
2000-12-13 07:18:44 +00:00
Brian Wellington 58082ab8a8 The "cachefile" option now loads the file on startup. The "temporary" -x
option to named is no more.
2000-12-12 23:05:59 +00:00
Brian Wellington eb8713ed94 Add support for the 'rndc dumpdb' command. Also add the 'cachefile'
option to the config file, which will be used for persistent cache
storage.
2000-12-12 21:33:21 +00:00
David Lawrence 8d5cba6826 In ns_server_togglequerylog(), assign server->log_queries the proper enumerated
type (not an integer)
2000-12-06 01:21:04 +00:00
Andreas Gustafsson c87a3af2d6 another missing NULL initialization 2000-12-05 17:23:45 +00:00
Andreas Gustafsson 20606121ea missing NULL initialization 2000-12-05 01:41:29 +00:00
Andreas Gustafsson ce1f5b8d0a rewrote much of the statistics counter code 2000-12-01 23:49:59 +00:00
Mark Andrews a9dcc1d0cb typo 2000-12-01 08:58:10 +00:00
Andreas Gustafsson 2417f18be8 emulate the BIND 8 kludge of setting the query logging flag default
depending on whether a 'queries' log channel has been defined
2000-12-01 02:01:26 +00:00
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