Andreas Gustafsson
697d35a286
oops, new multiple inclusion protection
...
macro did not follow naming convention either
2000-08-22 01:37:50 +00:00
Andreas Gustafsson
901e137229
CVS Id was duplicated; multiple inclusion protection
...
macro did not follow naming convention
2000-08-22 01:35:34 +00:00
Andreas Gustafsson
acec8ad69d
CVS Id was duplicated; removed an empty line
2000-08-22 01:27:27 +00:00
Brian Wellington
4fd3021d3b
comment updates, remove duplicate rcsid.
2000-08-22 01:26:08 +00:00
Brian Wellington
f5a9dda3f3
dns_db_ispersistent() really returns an isc_boolean_t.
2000-08-22 01:20:05 +00:00
Brian Wellington
08eb1c80d2
dns_message_setsig0key was incorrectly requiring msg->buffer to be non-null.
2000-08-22 01:10:42 +00:00
Brian Wellington
87af548ceb
Add sdb.h to the list of headers to be installed.
2000-08-22 00:55:21 +00:00
Brian Wellington
e158719874
compile sdb.c and link it into libdns.
2000-08-22 00:54:57 +00:00
Brian Wellington
a4c351fcef
Add a flags field to dns_sdb_register. One flag requests that names passed in
...
be relative, and another specifies that rdata strings will contain relative
names.
2000-08-22 00:53:31 +00:00
Andreas Gustafsson
0736cce338
made dns_name_getlabelsequence() cope with degenerate
...
relative names containing no labels
2000-08-22 00:46:54 +00:00
Andreas Gustafsson
70e2821036
additional consistency checking
2000-08-21 23:22:01 +00:00
Brian Wellington
67d3660cd6
The message code was checking to see if an rdata type could appear in the
...
question section, and returning a formerr if it was invalid. This isn't
exactly right, since it should be the caller's responsibility to check, not
message_parse. It definitely caused weirdness when parsing responses, and
the only places where queries were parsed already does the right thing.
2000-08-21 22:41:13 +00:00
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