Commit graph

682 commits

Author SHA1 Message Date
Brian Wellington
1eee03d8cf Use the -p port option to start lwresd on a different port 2000-06-19 22:30:11 +00:00
Brian Wellington
d195e2df32 Don't start omapi if running in lwresd mode 2000-06-19 22:29:09 +00:00
Brian Wellington
d5563fcd35 Remove lwresd before creating a link to named 2000-06-19 22:25:50 +00:00
Brian Wellington
c05abe6ef4 Added rules to link named to lwresd on 'make all' and 'make install' 2000-06-19 19:23:47 +00:00
Brian Wellington
593399a67a lwresd is no longer named -r, it's now a link 2000-06-19 18:55:46 +00:00
Michael Graff
7685c082c8 remove flags from source types. It was never used, and probably shouldn't be there. 2000-06-17 01:42:21 +00:00
Michael Graff
ca53839147 temp. change -- don't filter mcast yet 2000-06-16 18:10:44 +00:00
Brian Wellington
f6c700247a Failing to open/bind the lwresd socket should be a fatal error, since
it's only attempted if the user explicitly calls named with -r.
2000-06-16 07:42:41 +00:00
Brian Wellington
7777118507 (#260) Running named as a non-root user failed on Linux kernels new enough to
support retaining capabilities after setuid().
2000-06-16 07:35:54 +00:00
Brian Wellington
bb54e57a8e Fix shutdown problems associated with lwresd. 2000-06-16 07:21:13 +00:00
David Lawrence
fc4624ce76 include <dns/view.h> 2000-06-16 03:26:55 +00:00
Brian Wellington
ab39ce8a64 Added <isc/print.h> for snprintf 2000-06-16 01:40:36 +00:00
Brian Wellington
878d3073b1 First pass at merging lwresd into named. Seems to work, but doesn't shut down
properly.  Run named with 'named -r' to test.
2000-06-16 01:39:02 +00:00
Michael Graff
c01c401217 reject multicast packets 2000-06-15 18:26:28 +00:00
Andreas Gustafsson
aa79283a0d 257. [bug] The server detached the last zone manager reference
too early, while it could still be in use by queries.
                        This manifested itself as assertion failures during the
                        shutdown process for busy name servers (RT #133).

 256.   [func]          isc_ratelimiter_t now has attach/detach semantics, and
                        isc_ratelimiter_shutdown guarantees that the rate
                        limiter is detached from its task.

 255.   [func]          New function dns_zonemgr_attach().
2000-06-15 17:40:22 +00:00
Mark Andrews
0bfcec250f 254. [bug] suppress "query denied" messages on additional data
lookups.
 ISC-Bugs #139
2000-06-15 04:42:01 +00:00
Brian Wellington
5108a65b13 Make a few internal functions static 2000-06-15 00:08:53 +00:00
Andreas Gustafsson
96ef51763f when creating the query source dispatcher fails, log
a message to that effect
2000-06-13 16:33:19 +00:00
Brian Wellington
c4265bfd16 Oops, forgot to initialize server->entropy 2000-06-12 18:47:57 +00:00
Brian Wellington
d4e608c5bc use entropy api, tkey cleanup 2000-06-09 22:33:52 +00:00
Brian Wellington
14c5931d3d tkey cleanups and conversion to the entropy api 2000-06-09 22:33:08 +00:00
Mark Andrews
0791b485bf DNS_ZONE_F_???? -> DNS_ZONEFLG_????
DNS_ZONE_O_???? -> DNS_ZONEOPT_????
Add various missing REQUIRE's
Add / cleanup comments in zone.h
Remove dns_zone_unmount() never implemented.
2000-06-09 06:16:21 +00:00
Brian Wellington
b00a764bc8 Only print 'no IPv6 interfaces found' and 'no IPv4 interfaces found'
addresses on startup, not each time interfaces are scanned.
2000-06-08 22:31:55 +00:00
Mark Andrews
a6733246ea 240. [func] databases now come in three flavours: zone, cache
and stub.
2000-06-07 02:38:41 +00:00
Brian Wellington
63c82cf3ce Call dst_lib_init() and dst_lib_destroy() 2000-06-07 01:44:33 +00:00
Brian Wellington
b3ef06344a DST API updates 2000-06-06 22:01:49 +00:00
Andreas Gustafsson
657f3b3768 added final wiring for the listen-on-v6 statement 2000-06-06 18:53:02 +00:00
Andreas Gustafsson
bc2ecafd83 comment handling of empty dbnodes 2000-06-06 18:47:19 +00:00
Andreas Gustafsson
31dfecfa8f forward to the view's configured destination port, which may not be 53 2000-06-05 21:52:31 +00:00
Andreas Gustafsson
0a36a0dd9a typo in comment 2000-06-05 21:50:03 +00:00
Andreas Gustafsson
f1f2f8bd47 Wired up the new 'port' option. Also, the interface manager now has
both a 'listen-on' and a 'listen-on-v6' ACL.  We are still waiting for
the 'listen-on-v6' config file option to set the latter explicitly,
but at least the default value now tracks the 'port' option and the
'-p' command line option.
2000-06-05 19:10:13 +00:00
James Brister
029f5aa861 Conversion of various config file values to isc_uint32_t. 2000-06-05 09:17:14 +00:00
Mark Andrews
ac3b769801 232. [bug] Allow slave zones to not have a file. 2000-06-05 03:44:17 +00:00
Andreas Gustafsson
11d0a4a55e wired up the sig-validity-interval option; renamed its
access functions in the config code to be consistent with the option name
2000-06-02 17:31:43 +00:00
Andreas Gustafsson
a892ddd1bd changed the zone type of the version.bind. CH zone from 'none'
to 'master', as the semantics of zones of type 'none' are not well defined.
Allow zone->dbname to be NULL to support this usage.
2000-06-01 23:11:26 +00:00
Andreas Gustafsson
b3352f568a removed outdated comment 2000-06-01 22:34:03 +00:00
Andreas Gustafsson
7d040ee1bd don't log the message 'now using logging configuration from
config file' when said configuration has been overridden with -g
2000-06-01 21:45:45 +00:00
David Lawrence
0b056755b2 225. [cleanup] The enumerated dns_rdatatype_* identifiers are now
cast to dns_rdatatype_t via macros of their same name
                        so that they are of the proper integral type wherever
                        a dns_rdatatype_t is needed.

(And a few prototypes that I recently bogusly changed to take "int" parameters
in place of "dns_rdatatype_t" to accomodate the type of an enum identifier
have been reverted to again properly take a dns_rdatatype_t.)
2000-06-01 21:42:42 +00:00
David Lawrence
7efc8c3f69 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

Minor other ISC style cleanups.
2000-06-01 18:49:22 +00:00
Andreas Gustafsson
92a31c0f86 support view-specific and global 'also-notify' 2000-06-01 00:41:23 +00:00
Andreas Gustafsson
eb3807ea54 support per-view security roots 2000-06-01 00:21:12 +00:00
Andreas Gustafsson
e6ec99f169 commented 2000-05-31 23:35:09 +00:00
Brian Wellington
0f80bfec68 The message code now has functions to manipulate TSIG and SIG(0), and the
callers use these functions.  Also a lot of TSIG cleanup.
2000-05-30 23:14:57 +00:00
Brian Wellington
4bf54f182d include dns/fixedname.h 2000-05-30 23:12:47 +00:00
Andreas Gustafsson
ae792d7f4c silence signed/unsigned warning on alpha 2000-05-30 19:39:22 +00:00
Andreas Gustafsson
c8c884b79b made defaults for max-cache-ttl and max-ncache-ttl the same as in
BIND 8: 7 days and 3 hours, respectively
2000-05-27 00:20:39 +00:00
Brian Wellington
311918e5a6 Don't allow dynamic updates of SIG records, since it either leaves the
database in an inconsistent state or fails when it shouldn't.  This will be
supported at some point, but it's better to flat out refuse than fail badly.
2000-05-27 00:07:52 +00:00
Andreas Gustafsson
7cd4c3ddd1 The 'cache-ttl' and 'ncache-ttl' options now work 2000-05-26 23:17:56 +00:00
Andreas Gustafsson
76a191c420 failures at certain points in request processing could cause
the assertion INSIST(client->lockview == NULL) to be triggered
2000-05-26 22:43:36 +00:00
Brian Wellington
5f80c1428b Don't leak memory when reloading the zone if an update-policy clause was
present in the old zone.
2000-05-26 00:48:59 +00:00