Commit Graph
3871 Commits
Author SHA1 Message Date
Brian Wellington ea18740a0a Only call dns_db_load if the zone is not persistent. dns_db_ispersistent()
should be called in more places, but this is the only one absolutely
necesaary for simple databases to work.
2000-08-21 22:20:32 +00:00
Brian Wellington e89aeaa2c0 register "simple" as a database type. 2000-08-21 22:19:04 +00:00
Brian Wellington 994940a565 update the copyright. 2000-08-21 22:18:11 +00:00
Brian Wellington 408633bd04 Make some rdatalist functions semi-public, so that the simple database
rdataset can reuse most of the code.
2000-08-21 22:17:14 +00:00
Brian Wellington 033ba09d6d Simple database implementation. This includes a wrapper that makes a simple
database look like a dns_db_t, and a set of routines to be called by specific
simple databases.
2000-08-21 22:15:28 +00:00
Brian Wellington 16797b504e SIG(0) signing and verifying had an off by 2 error. 2000-08-21 17:48:46 +00:00
Andreas Gustafsson 2d1bc69493 #endif missing required /* NOMINUM_PUBLIC */ comment 2000-08-19 00:47:57 +00:00
Andreas Gustafsson 84c25ccb3d NOMINUM, not NOMINMUM 2000-08-19 00:47:18 +00:00
Andreas Gustafsson 6c86627ede NOMINUM, not NOMINMUM 2000-08-19 00:39:23 +00:00
Andreas Gustafsson a7705f38e9 399. [bug] When reloading the server with a config file
containing a syntax error, it could catch an
                        assertion failure trying to perform zone
                        maintenance on, or sending notifies from,
                        tentatively created zones whose views were
                        never fully configured and lacked an address
                        database and request manager.
2000-08-18 22:51:36 +00:00
Andreas Gustafsson 7acfb3bcd2 previous change did not compile 2000-08-18 22:32:45 +00:00
Andreas Gustafsson 618a5e4923 dns_cache_setcleaninginterval() could try to access
timer after it had been freed
2000-08-18 21:22:26 +00:00
Brian Wellington fe12eb4fc2 Add dns_db_ispersistent. This call determines whether a database is
persistent - that is, whether it maintains itself and doesn't require
loading, dumping, and other related things.
2000-08-18 18:25:28 +00:00
Brian Wellington f7fe55549d The error message 'has 0 SOA records' incorrectly failed to pluralize
record.
2000-08-18 02:34:29 +00:00
Andreas Gustafsson 3c0ca050f1 removed comments that duplicated ones in the header file 2000-08-17 23:54:32 +00:00
Andreas Gustafsson 6826f014d6 cleaned up comments and added missing ones 2000-08-17 23:45:12 +00:00
Brian Wellington 4e0c5cba87 Added isc_consttextregion_t 2000-08-17 23:33:04 +00:00
Brian Wellington 4e5dfe304c updated copyright 2000-08-17 19:03:27 +00:00
Andreas Gustafsson 708c4ac042 stubbed out ISLOCKED() 2000-08-17 18:33:41 +00:00
Andreas Gustafsson f6094e763b minor simplification 2000-08-17 16:15:02 +00:00
Mark Andrews 769dd27de8 add notify-any & notify-relay
added missing / corrected comment spelling of NOMINUM_PUBLIC
added REQUIRE(ISLOCKED(????)); to zone.c
2000-08-17 13:13:37 +00:00
Mark Andrews 2910719100 Add ISLOCKED macro. 2000-08-17 09:25:38 +00:00
Brian Wellington 15e513925f add sec/dst/gssapi_link.o 2000-08-17 02:13:18 +00:00
Brian Wellington acba1142b4 The region passed to isc_buffer_copyregion() should be const. 2000-08-17 02:09:12 +00:00
Brian Wellington a00c5e2151 gss-tsig support 2000-08-17 02:08:27 +00:00
Brian Wellington c9e998ea51 A bit of gss-tsig code. Don't expect this to work. 2000-08-17 02:04:22 +00:00
Andreas Gustafsson e1368a7770 397. [func] Added utility functions dns_view_gettsig() and
dns_view_getpeertsig().
2000-08-17 00:18:12 +00:00
Brian Wellington 90c917523e entropy.h was missing from HEADERS, so it wasn't being installed. 2000-08-17 00:18:00 +00:00
Andreas Gustafsson 593cb00bd1 rewrote 383. to reduce code duplication and increase functionality:
now all records are printed in a sorted order, not just the SOA and NS and
their SIGS
2000-08-16 22:33:32 +00:00
Andreas Gustafsson 771714e6ad eliminated the function address_to_ptr_name 2000-08-16 22:21:17 +00:00
Andreas Gustafsson 39f029558d in dns_name_totext(), check that the target buffer is
valid, and make use of the new isc_buffer_* macros
2000-08-16 22:18:20 +00:00
David Lawrence b41fa90be0 tabify 2000-08-16 02:41:08 +00:00
Mark Andrews c05eb51a1b 388. [cleanup] dns_zone_setdbtype now has const char **dbargv.
397.   [bug]           result was not being set in notify_send_toaddr().
                        RT#238
2000-08-16 02:16:49 +00:00
Brian Wellington 5b148f96cc An error in a .private file could lead to an assertion. 2000-08-16 00:30:56 +00:00
David Lawrence beea173d49 Rewrote the INSIST in dns_tsigkey_create() so that dstalg was guaranteed to
be set, even when INSISTS() are turned off.
2000-08-16 00:18:30 +00:00
David Lawrence cd5a526372 ISC_R_NRESULTS was not bumped when ISC_R_FAMILYNOSUPPORT was added. 2000-08-15 23:30:22 +00:00
Mark Andrews 031f9084fc 394. [bug] Current name was not propagated via $INCLUDE.
393.   [func]          Initial answer while loading (awl) support.
                        Entry points: dns_master_loadfileinc(),
                        dns_master_loadstreaminc(), dns_master_loadbufferinc().
                        Note: calls to dns_master_load*inc() should be rate
                        be rate limited so as to not use up all file
                        descriptors.
2000-08-15 03:33:52 +00:00
Mark Andrews 44215b932d 392. [func] Add ISC_R_FAMILYNOSUPPORT. Returned when OS does
not support the given address family requested.

 391.   [clarity]       ISC_R_FAMILY -> ISC_R_FAMILYMISMATCH.
2000-08-15 01:43:38 +00:00
Brian Wellington 6f071989da cancellation fixes 2000-08-15 01:22:33 +00:00
Brian Wellington 2a123ac026 remove unused variable 2000-08-15 00:52:49 +00:00
Brian Wellington 9cd6710f91 validators can now be cancelled. 2000-08-15 00:21:05 +00:00
Andreas Gustafsson ef97e09e20 make the validator attach to the view only weakly, so that
the view can start shutting down even though a validation is in progress.
2000-08-14 22:17:40 +00:00
Brian Wellington 1e2749dba8 Yet more minor cleanup. 2000-08-14 22:00:00 +00:00
Andreas Gustafsson 07f69609fc log messages should start with lower case letter 2000-08-14 21:59:57 +00:00
Andreas Gustafsson 59d1ce0b01 don't try to configure a max-names option for stub zones 2000-08-14 21:47:42 +00:00
Andreas Gustafsson 0e05b42192 dns_zt_print() is gone 2000-08-14 19:52:21 +00:00
Andreas Gustafsson 99a9da7941 RT #235: attempts to send a reqeust over IPv6 on systems
that do not support IPv6 caused an assertion failure
2000-08-14 19:31:49 +00:00
Brian Wellington b0f941a50f 387. [func] Add dns_byaddr_createptrname(), which converts
an address into the name used by a PTR query.
2000-08-14 19:09:56 +00:00
Brian Wellington f2338a0d6a Minor tsig cleanup. 2000-08-14 18:13:11 +00:00
Andreas Gustafsson d5e72d5dba signed/unsigned mismatch 2000-08-14 03:50:59 +00:00