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
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