David Lawrence
cbcf2bf6e9
removed "max_cache_size = 0" line, allowing cache limiting
2001-03-08 01:38:39 +00:00
Brian Wellington
8b9b498009
Check for duplicate zone and key statements. Note that duplicate server
...
and view statements are not detected, because they're harder.
2001-03-08 00:55:50 +00:00
Andreas Gustafsson
668f06c071
removed comments that no longer apply with the new
...
config code
2001-03-08 00:06:19 +00:00
Brian Wellington
d25dd5b056
770. [func] Add the "edns yes_or_no" statement to the server
...
clause. [RT #524 ]
2001-03-06 23:54:37 +00:00
Brian Wellington
7c294304af
Fix a few places where the new config code would fail if there was no
...
config file (-c /dev/null).
2001-03-06 19:04:42 +00:00
Brian Wellington
668acc6107
remove a few references to deleted headers
2001-03-06 02:49:29 +00:00
Brian Wellington
8772b86369
parse the listen-on-v6 statement, not listen-on a second time.
2001-03-06 01:57:19 +00:00
Bob Halley
58eb053ed2
Restructure default value code in set_limit to eliminate compiler warning.
...
(The previous code worked, but the compiler couldn't figure out that
value was always defined because of the INSIST().)
heartbeat_interval was being used without being initialized.
2001-03-05 17:20:48 +00:00
Brian Wellington
90c099e88e
762. [feature] named now uses the new configuration parser.
2001-03-04 21:21:39 +00:00
Brian Wellington
b79adacaad
Add more authors.
2001-02-17 01:09:22 +00:00
Andreas Gustafsson
65a66336a6
redid configuration locking using isc_task_beginexclusive()
...
and isc_task_endexclusive() instead of a multitude of separate
configuration rwlocks
2001-02-14 03:54:53 +00:00
Bob Halley
4ff3597979
In ns_server_setdebuglevel():
...
Fixed "comparison of unsigned expression < 0 is always false".
Marked server parameter as UNUSED.
2001-02-08 18:01:33 +00:00
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