Commit Graph

4697 Commits

Author SHA1 Message Date
Mark Andrews
1a2b3fbeb1 don't attempt to refresh while loading. 2001-01-25 02:30:21 +00:00
Damien Neil
3c31899857 Fix warning in the overrun detection code. 2001-01-25 01:38:01 +00:00
Damien Neil
823eed5ea9 Made the internal malloc() optional, selected by the
ISC_MEM_USE_INTERNAL_MALLOC preprocessor constant.
2001-01-25 01:18:00 +00:00
Brian Wellington
c6c1846361 oops, missed a function declaration 2001-01-25 00:44:29 +00:00
Brian Wellington
038a3e6bfe use dns_messageid_t instead of isc_uint32_t in a few places. [RT #703] 2001-01-25 00:42:31 +00:00
Brian Wellington
f6478f5e44 formatting & macro updates 2001-01-24 21:12:48 +00:00
Mark Andrews
3bed75bb2d silence compiler 2001-01-24 07:12:56 +00:00
Bob Halley
40fdf87153 Deal with TTL 0 ANY and SIG queries. 2001-01-24 02:40:19 +00:00
Brian Wellington
46c3b3f6e1 isc_uint16_t -> dns_keytag_t in many places; dns_keytable_findkeynode
was casting incorrectly. [RT #664]
2001-01-24 02:23:02 +00:00
Brian Wellington
0f537d1c63 + 708. [bug] When building with --with-openssl, the openssl headers
+                       included should not be used. [RT #702]
+
2001-01-24 01:34:14 +00:00
Andreas Gustafsson
c271488682 706. [bug] Zones with an explicit "allow-update { none; };"
were considered dynamic and therefore not reloaded
                        on SIGNUP or "rndc reload".
2001-01-24 00:00:21 +00:00
Brian Wellington
1e3bc7eaeb only use data from accept() if accept succeeds. 2001-01-23 21:07:12 +00:00
Andreas Gustafsson
b346ae570d style 2001-01-23 20:45:31 +00:00
Brian Wellington
e90441d922 INSIST that accept() returns a socket of the correct protocol family. Also
assign the "pf" field in the new socket.
2001-01-23 20:42:46 +00:00
Brian Wellington
dac1e1dd18 remove more duplicated code 2001-01-23 19:50:10 +00:00
James Brister
6ca537b8a3 New include statement for ndc.conf
include "/tmp/foo";

only allowed at file level (not at any random whitespace location).
2001-01-23 13:15:12 +00:00
Mark Andrews
9a6632fb42 removed unnecessary assignment 2001-01-23 07:45:39 +00:00
Mark Andrews
7c2dce3c4d common code elimination 2001-01-23 07:36:06 +00:00
Mark Andrews
ab0380976c add isc/platform.h 2001-01-23 06:00:11 +00:00
Mark Andrews
4ae98f5100 Use approptiate typoe based on configure results. 2001-01-23 05:13:25 +00:00
Mark Andrews
66ad1d85cb 703. [port] sys/select.h is needed on older platforms. [RT #695] 2001-01-23 04:47:56 +00:00
Mark Andrews
07d6480b68 704. [port] RLIMIT_NOFILE in to available on all platforms.
[RT #695]
2001-01-23 03:14:28 +00:00
Mark Andrews
363cb30a83 703. [port] sys/select.h is needed on older platforms. [RT #695] 2001-01-23 03:07:18 +00:00
Brian Wellington
47f65caf30 The msgcat text contained an extra %s. 2001-01-23 02:27:19 +00:00
Brian Wellington
5d18f1205a remove the call to dns_name_getlabel(), since the dns_name_toregion() macro
is faster.
2001-01-23 02:19:48 +00:00
Brian Wellington
668eb43f1f spacing 2001-01-23 02:00:56 +00:00
Andreas Gustafsson
49d61b46a7 inconsistent spacing in duplicated code 2001-01-23 01:59:03 +00:00
Brian Wellington
fd091cb3cd freerrset() wasn't. 2001-01-23 01:51:21 +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
Brian Wellington
ea6709ec8a 702. [func] If the address 0.0.0.0 is seen in resolv.conf,
use 127.0.0.1 instead. [RT #693]
2001-01-23 00:41:55 +00:00
Andreas Gustafsson
57ecc983c0 removed unused edns_level member from ADB entry 2001-01-22 22:53:13 +00:00
Andreas Gustafsson
d5874af5a5 removed avoid_bitstring feature from the ADB 2001-01-22 22:51:23 +00:00
Brian Wellington
70b4889c85 A minor optimation to the rbt hash code that should reduce the number
of calls to dns_name_fullcompare().
2001-01-22 20:41:43 +00:00
Brian Wellington
9d967288c3 zero length keys from the config file were not being logged as too short to be
secure.
2001-01-22 20:27:04 +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
Andreas Gustafsson
3a5cbb3c22 Fixed 39 cases where either named or rndc would crash when
given empty string values in rndc.conf or on the command line
2001-01-22 03:59:21 +00:00
Mark Andrews
ce1269825c 700. [bug] $GENERATE range check was wrong. [RT #688] 2001-01-22 03:34:25 +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
Andreas Gustafsson
e8af4e1524 699. [bug] The lexer mishandled empty quoted strings. [RT #694] 2001-01-22 02:46:34 +00:00
Brian Wellington
bf6d4f9cad Install the lwres man pages. 2001-01-19 22:46:27 +00:00
Brian Wellington
6e8b041d9c blackholed addresses were mishandled in the resolver. 2001-01-19 22:22:17 +00:00
Mark Andrews
89f4a7085c 694. [bug] $GENERATE did not produce the last entry. [RT#683] 2001-01-19 20:45:33 +00:00
Andreas Gustafsson
eed89be339 incremented library version number for 9.2 2001-01-19 01:55:11 +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
2a006fffe4 our NAPTR implementation does conform to RFC 2915. 2001-01-18 22:05:41 +00:00
Andreas Gustafsson
7ed2d93fa4 691. [bug] Configuring per-view forwarders caused an assertion
failure. [RT #675]
2001-01-18 19:01:39 +00:00
Mark Andrews
ca9c0ba235 690. [func] $GENERATE now supports DNAME. [RT #654] 2001-01-18 08:53:34 +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
Bob Halley
5c7d67e3e6 include <stdlib.h> to get prototype for exit() 2001-01-17 19:48:45 +00:00