Andreas Gustafsson
bda8d67fd4
race condition [RT #670 ]
2001-01-16 23:02:58 +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
Andreas Gustafsson
ebb8884123
revert to 1.90 since RT #646 is now fixed by relaxing the
...
requirements of dbiterators, but keep the removal of the unused structure element 'state'
2001-01-12 19:01:39 +00:00
Mark Andrews
17d8e5cce8
opps paused should be set to false not true before getting the next node.
2001-01-12 10:25:15 +00:00
Mark Andrews
f7321615ea
678. [bug] "tranfer-format one-answer;" could trigger an assertion
...
failure. [RT #646 ]
also removed unused structure element state from axfr structure.
2001-01-12 10:20:05 +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
Andreas Gustafsson
7946047f2d
name data are unsigned char, not char
2001-01-11 20:48:27 +00:00
Andreas Gustafsson
fd8125cac3
respond with NXDOMAIN, not SERVFAIL, when no PTR record is
...
found in either ip6.int or ip6.arpa
2001-01-09 23:48:44 +00:00
Andreas Gustafsson
14b90c6eb0
v6 synthesis code used uninitialized variable
2001-01-09 22:10:32 +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
4b0ed7a504
for loop style
2001-01-09 17:09:02 +00:00
Andreas Gustafsson
ad26c86891
checkpoint: IPv6 response synthesis implemented for the reverse
...
mapping case but still disabled due to lack of configurability
2001-01-09 06:48:47 +00:00
Brian Wellington
d119051ef7
667. [bug] On Linux, running named with the -u option and a
...
non-world-readable configuration file didn't work.
[RT #626 ]
2001-01-09 00:10:42 +00:00
Brian Wellington
fff07c1022
665. [bug] Signed responses were not sent when the size of the
...
TSIG + question exceeded the maximum message size.
[RT #628 ]
2001-01-08 20:36:14 +00:00
Andreas Gustafsson
ec644b5e4b
661. fix failed to destroy transfer object after sending response
2001-01-08 18:03:45 +00:00
Andreas Gustafsson
4e13b2c33c
deal with CNAME loops in AAAA synthesis
2001-01-07 23:36:56 +00:00
Andreas Gustafsson
501f6a2fa5
checkpoint: IPv6 response synthesis implemented for the forward
...
mapping case but still disabled due to lack of configurability
2001-01-07 22:18:00 +00:00
Andreas Gustafsson
b23f160d5b
simplified handling of the query type, removing the final
...
vestiges of support for multiple queries per packet, in preparation
for AAAA synthesis code which needs to know the query type earlier
than it was previously available
2001-01-07 22:06:14 +00:00
Andreas Gustafsson
92427d2c9e
FORMERR, not FORMERROR
2001-01-07 21:58:22 +00:00
Andreas Gustafsson
148af05e15
661. [bug] UDP IXFR requests with EDNS options caused
...
an assertion failure (mpctx->allocated == 0).
[RT #623 ]
2001-01-06 02:54:42 +00:00
Brian Wellington
ec772e873b
651. [func] The AD bit in responses now has the meaning
...
specified in <draft-ietf-dnsext-ad-is-secure>.
2001-01-04 00:24:26 +00:00
Brian Wellington
6d5032f9a2
Micro-optimizations:
...
- use the DNS_NAME_INIT macro in name.c
- create dns_name_copy() and use it instead of dns_name_concatenate()
when doing a copy.
2001-01-03 00:05:15 +00:00
Brian Wellington
51cccc493a
If running in single-threaded mode, set ns_g_cpus to 1 explicitly.
2000-12-29 22:31:04 +00:00
Brian Wellington
a0eb4941ff
Remove #if ISC_MUTEX_PROFILE ; it should work now.
2000-12-29 18:25:33 +00:00
Andreas Gustafsson
f1fb5d1b0b
compilation failed due to call to nonexistent function isc_mutex_stats();
...
made call conditional on ISC_MUTEX_PROFILE to make it compile but the issue of
the function being undefined even when ISC_MUTEX_PROFILE is set must still be
resolved
2000-12-29 18:09:31 +00:00
Brian Wellington
3f160155da
ISC_MUTEX_PROFILE can be set to enable basic mutex profiling. Running named
...
with -s prints the results.
2000-12-29 01:29:56 +00:00
Mark Andrews
de154f65f6
Ensure that ns_client_*() are only called from the client's task.
2000-12-28 01:29:09 +00:00
Mark Andrews
af5dc286ff
640. [bug] Memory leak in error path could cause
...
"mpctx->allocated == 0" failure. [RT #584 ]
2000-12-27 23:01:25 +00:00
David Lawrence
054e999be3
#include <config.h>
2000-12-23 22:02:49 +00:00
Andreas Gustafsson
16093c228e
added UNUSED() macro
2000-12-22 21:17:59 +00:00
Andreas Gustafsson
d1efbb15f9
previous change removed too much code
2000-12-22 18:32:06 +00:00
Andreas Gustafsson
f0f61db621
629. [bug] 9.1.0b1 derferenced a null pointer and crashed
...
when responding to a UDP IXFR response.
2000-12-22 01:38:16 +00:00
Brian Wellington
736aab3076
626. [bug] The lightweight resolver daemon no longer crashes
...
when asked for a SIG rrset. [RT #558 ]
2000-12-20 03:40:20 +00:00
Andreas Gustafsson
9de6daa628
use ISC_SOCKADDR_FORMATSIZE
2000-12-19 19:21:39 +00:00
Brian Wellington
c8fc692fa1
618. [bug] Queries to a signed zone could sometimes cause
...
an assertion failure.
2000-12-16 02:30:58 +00:00
Andreas Gustafsson
f19771c55d
617. [bug] When using dynamic update to add a new RR to an
...
existing RRset with a different TTL, the journal
entries generated from the update did not include
explicit deletions and re-additions of the existing
RRs to update their TTL to the new value.
2000-12-16 00:58:03 +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
416b0c2f10
don't include function names in non-debug log messages
2000-12-15 19:32:55 +00:00
Andreas Gustafsson
3253eb8c09
brace style
2000-12-15 19:29:57 +00:00
Andreas Gustafsson
8c18a5cfc2
oops, previous change did not compile
2000-12-15 01:07:52 +00:00
Andreas Gustafsson
eacc01e117
not being able to open a socket on port 53 is not
...
an 'unexpected error'
2000-12-15 00:31:27 +00:00
Andreas Gustafsson
f77a1793d0
commented
2000-12-15 00:29:59 +00:00
Mark Andrews
8fd925169f
keep CAP_SYS_RESOURCE
2000-12-14 18:29:57 +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
David Lawrence
10e6498d6d
* Removed max-names (as well as DNS_R_ZONETOOLARGE, which was
...
never returned by any function and was presumably cruft
related to max-names).
* Made allow-notify part of the public source and documented it.
* Made master server TSIG keys part of the public source and documented it.
* Removed a define of DNS_OPT_NEWCODES supposedly used by GNS, with
the approval of Mike.
* Made DNS_ZONE_FORCELOAD flag, used by rndc reload, work in the
public source. After the NOMINUM_PUBLIC cleanup, I'll
fix the rndc reload issues we've been discussing here at IETF.
I left in NOMIMUM_PUBLIC around the forward-notify stuff, with the
expectation that Michael will give the go-ahead next week to remove it.
2000-12-13 00:15:39 +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
8b6293c6ca
oops, forgot to add "dumpdb"
2000-12-12 23:03:16 +00:00