Brian Wellington
319d2971f1
When the client informs the dispatcher of a received response, have the
...
dispatcher copy the event instead of reusing the original one.
2001-02-10 02:00:11 +00:00
Mark Andrews
80aba3d49a
734. [bug] An attempt to re-lock the zone lock could occur if
...
the zone was shutdown during a zone tranfer. [RT #830 ]
2001-02-09 06:04:55 +00:00
Brian Wellington
2d6a6174f1
micro-optimizations
2001-02-09 02:13:07 +00:00
Andreas Gustafsson
97f26b88f6
removed more needless attaching and detaching of the blackhole ACL
2001-02-09 00:23:16 +00:00
Andreas Gustafsson
a349fd680c
removed all code for maintaining a 'goodness' value in the adb,
...
since it was never used and Michael thinks 'it should probably be removed'.
2001-02-09 00:13:55 +00:00
Andreas Gustafsson
aa23a35d81
733. [bug] Reference counts of dns_acl_t objects need to be
...
locked but were not. [RT #801 ]
2001-02-08 23:30:32 +00:00
Brian Wellington
e618d503ba
Remove (now unused) code for handling queries.
2001-02-07 05:11:58 +00:00
Andreas Gustafsson
6b2f58f5c1
removed inappropriate 'Any bitstring labels are in canonical form' comments
2001-02-02 22:08:27 +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
Andreas Gustafsson
8d5ec7195a
new dns_master_load() option DNS_MASTER_NOINCLUDE
2001-01-30 23:12:27 +00:00
Andreas Gustafsson
651421a5db
removed the "additional-data" option, since it was never
...
fully implemented and because it causes "internal" to be a reserved word in
named.conf, causing problems for those using "internal" as an ACL name.
Since additional-data was never documented, the user-visible aspect of the
change is:
718. [cleanup] "internal" is no longer a reserved word in named.conf.
[RT #753 , #731 ]
2001-01-30 22:02:31 +00:00
Brian Wellington
63ca494e7e
Added the isc_refcount_t type, which is a generic locked reference counter,
...
and make the rbtdb, zone, and view objects use it.
This should reduce contention on other locks, since (in the normal)
implementation, the reference count has its own lock. In the future, it
should also be possible to implement an isc_refcount_t with atomic operations
instead of mutexes, which should also help performance.
2001-01-30 02:50:51 +00:00
Brian Wellington
35f06ab0e6
Clients now listen on sockets instead of accepting queries from dispatchers.
...
When a socket is shared by clients and query-source, the client hands off
responses to the dispatcher.
2001-01-27 02:08:07 +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
d5874af5a5
removed avoid_bitstring feature from the ADB
2001-01-22 22:51:23 +00:00
Andreas Gustafsson
5042f374bc
a valid buffer has the current pointer before or at the
...
used pointer by definition; there is no need to require that explicitly
2001-01-22 18:21:45 +00:00
Brian Wellington
9427d22299
make dns_name_fromtext fail when passed an empty string, not assert.
2001-01-22 03:30:27 +00:00
Brian Wellington
6e8b041d9c
blackholed addresses were mishandled in the resolver.
2001-01-19 22:22:17 +00:00
Andreas Gustafsson
d36250a1b2
include zone.c function names in debug log messages only;
...
export dns_zone_log() for use by related modules
2001-01-18 23:29:31 +00:00
Brian Wellington
6ec4990544
copyright update
2001-01-18 02:00:59 +00:00
Brian Wellington
21e82177fb
make message->rcode a dns_rcode_t
2001-01-18 00:26:36 +00:00
Brian Wellington
18d110413c
Move dns_dnssec_iszonekey to dns_zonekey_iszonekey, to make the rbtdb not
...
require all of dst to be linked in.
2001-01-17 01:22: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
2883651930
Add dns_master_style_cache
2001-01-12 19:58:51 +00:00
Andreas Gustafsson
7cdd0b6ade
allow dbiterators to be paused at any time
2001-01-12 18:56:42 +00:00
Andreas Gustafsson
ff7f1dc039
676. [bug] Log messages about lame servers to category
...
'lame-servers' rather than 'resolver', so as not
to be gratuitously incompatible with BIND 8.
2001-01-11 19:38:11 +00:00
Brian Wellington
f847f8208c
Fixed an uninitialized variable, removed a dead line of code, and changed
...
several response processing functions to not require keyrings.
2001-01-11 19:09:47 +00:00
Mark Andrews
19c7cce855
674. [func] Allow messages to be TSIG signed / verified using
...
a offset from the current time.
2001-01-09 23:35:33 +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
Mark Andrews
5bb4ceb2a6
668. [func] named-checkzone now reports multiple errors in master
...
files.
2001-01-09 00:43:24 +00:00
Andreas Gustafsson
8d4bf0c21b
typo
2001-01-07 22:01:34 +00:00
Brian Wellington
473af33183
more comment updates
2001-01-06 00:43:03 +00:00
Brian Wellington
4d180bd210
comment updates
2001-01-06 00:35:30 +00:00
Mark Andrews
0deebcd15a
dns_master_load*() age_ttl -> options word
2001-01-05 03:12:45 +00:00
Brian Wellington
efcd383461
Update forwarding when the message buffer was no longer copied. Fix this
...
by having the update forwarding code tell dns_message_parse to copy
the buffer.
2001-01-05 00:17:33 +00:00
Andreas Gustafsson
233085a7d2
comment the master file styles in the .h file, not the .c file
2001-01-04 23:52:16 +00:00
Michael Sawyer
2b50457b87
Change the name from "parsable" to "simple"
2001-01-04 23:40:28 +00:00
Michael Sawyer
c67496c943
Add master_style_parsable
2001-01-04 22:19:18 +00:00
Brian Wellington
3e6753a753
Make a macro version of dns_name_toregion.
2001-01-04 20:00:57 +00:00
Brian Wellington
1c33761bcf
Minor optimization - use the number of labels in the prefix as the loop
...
counter, not the number of labels in the name.
2001-01-04 19:25:59 +00:00
Brian Wellington
60103a02c6
Update the comments and kill unused structure elements, based on comments from
...
Mark.
2001-01-04 06:21:01 +00:00
Brian Wellington
6427a34be1
comment fixes
2001-01-04 01:25:08 +00:00
Brian Wellington
ac7f13e3dd
Remove dns_trust_authsecure, which is not used and was never clearly defined.
2001-01-04 00:16:41 +00:00
Brian Wellington
8d6fe3f388
Pointers to regions are silly. Use regions instead. This removes 1 small
...
allocation per query.
2001-01-03 20:42:10 +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
917d2db965
if DNS_NAME_USEINLINE was set, DNS_NAME_SETBUFFER was defined, but never used,
...
since dns_name_setbuffer was never #defined to it.
2000-12-29 21:54:52 +00:00
Brian Wellington
575737b964
Rewrite the name compression code to use a hashtable instead of an RBT and
...
avoid allocating memory in most cases. This increases performance by
about 225% on the rc query test (~305 q/s to 990 q/s).
2000-12-29 00:59:41 +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