Commit graph

25079 commits

Author SHA1 Message Date
Bob Halley
480ad611fe Allow a dbiterator to be restarted (with dns_dbiterator_first()) so long
as an error has not occurred.
Have dns_dbiterator_first() return DNS_R_NOMORE if the tree is empty.
1999-05-10 21:21:55 +00:00
Mark Andrews
b75ba761f4 removed debugging code 1999-05-10 00:38:52 +00:00
David Lawrence
d92d2f722a Shifting bitstring bytes for the prefix of dns_name_split didn't work
properly because the destination was being ANDed with the bits coming
from the next byte, rather than ORed.
1999-05-07 17:13:06 +00:00
David Lawrence
bee0bb2b68 In join_nodes, when using the space of the down node, it needs to get
the attributes of the joined name to correctly identify whether it
is absolute.  (IE, when the first level is joined with the top level,
the node struct being used is from the first level, which is not
absolute, but the new name is absolute so the struct needs to be updated.)
1999-05-07 12:13:25 +00:00
Mark Andrews
94a3bcd132 dns_rdata_tostruct() may require memory to be allocted and hence
it will need to be freed, dns_rdata_freestruct().
	Changes to implement this.

	Added C++ support to rdatastruct.h
1999-05-07 03:24:15 +00:00
Mark Andrews
189e18de11 include/dns/rdatastruct.h header (pre) and footer (suf) files. 1999-05-07 03:19:11 +00:00
David Lawrence
3c5de27363 Shoulda left the >= as >=, not >, in join_nodes. D'oh. 1999-05-07 02:47:35 +00:00
David Lawrence
56b657bfe8 update the number of PADBYTES after in join_nodes(). 1999-05-07 02:42:50 +00:00
Bob Halley
529c7b1dcb binary labels draft update 1999-05-06 16:40:50 +00:00
Mark Andrews
f9658c3c37 Set copyright dates for renamed rdata files 1999-05-06 01:39:50 +00:00
Bob Halley
6e8ec359a4 add expirenode support 1999-05-06 00:32:32 +00:00
Bob Halley
7f705ac9a2 addrdataset now optionally returns the added rdataset 1999-05-05 22:57:20 +00:00
Bob Halley
624f397db5 add DNS eventclass 1999-05-05 22:57:02 +00:00
Bob Halley
a2d6900e46 dbiterator_current was incorrectly returning DNS_R_NEWORIGIN in some cases 1999-05-05 16:52:12 +00:00
Bob Halley
b9a2c5ddf9 add CONVERTFROMASCII 1999-05-05 16:51:05 +00:00
Mark Andrews
4fd3e3482c dns_rdata_tostruct() conversion 1999-05-05 01:55:13 +00:00
Mark Andrews
a560a0bfb2 Implement _tostruct(). 1999-05-05 00:20:36 +00:00
Mark Andrews
854d0238db Adjust #ifdef *_H -> #ifdef *_C to reflect new file names. 1999-05-05 00:19:04 +00:00
Andreas Gustafsson
1922518d7f added autoconf check for sa_len 1999-05-04 05:06:28 +00:00
Bob Halley
ceb304cd0e update 1999-05-04 01:53:01 +00:00
Bob Halley
40d01ce8f3 update 1999-05-03 20:52:18 +00:00
Bob Halley
9104e9a3e2 lint 1999-05-03 19:57:33 +00:00
Bob Halley
a85c8737f7 get rid of obsolete MAXDBS define 1999-05-03 19:57:22 +00:00
Bob Halley
e1739e9938 do not include dns/rdatastruct.h (yet) 1999-05-03 19:56:53 +00:00
Bob Halley
325c88703c crude multiple zone and cache support 1999-05-03 19:56:23 +00:00
Mark Andrews
c1e7aff941 Implement compression pointer rollback.
dns_compress_backout() -> dns_compress_rollback()
1999-05-03 03:07:16 +00:00
Michael Graff
1b9d5f3925 revert accidential commit 1999-05-02 07:03:13 +00:00
Michael Graff
6d9ae6b3a8 resolve again. 1999-05-02 07:00:05 +00:00
Michael Graff
d20401b765 Get the query/response flag in the right place, and make named return
SERVFAIL on all replies again, until I fix up the database stuff again.
1999-05-01 18:07:52 +00:00
Michael Graff
b02262cbcd Fix up the condition where buffers are expended 1999-05-01 17:18:47 +00:00
Bob Halley
44aae046c3 basic test support 1999-05-01 01:41:14 +00:00
Bob Halley
754ae02cc7 disable octal bitstrings since they are broken 1999-05-01 00:48:54 +00:00
Bob Halley
78fda31f26 update 1999-05-01 00:48:23 +00:00
Michael Graff
41cc03374d remove debugging crud 1999-04-30 23:37:23 +00:00
Michael Graff
bfbf3f2d77 don't use a temp buffer, it broke compression 1999-04-30 23:04:29 +00:00
Michael Graff
823e45c127 checkpoint 1999-04-30 22:35:49 +00:00
Bob Halley
7d610faf31 cache_zonecut_callback() and find_deepest_zonecut() did not check staleness 1999-04-30 22:01:26 +00:00
Michael Graff
ddd035637d snapshot 1999-04-30 21:52:40 +00:00
Michael Graff
9440f8c902 remove a REQUIRE() I pasto-ed 1999-04-30 21:52:34 +00:00
Michael Graff
8d6024e7cf Move the flags on dns_rdataset_totext() to be together, and make a
matching change to dns_rdataset_towire()
1999-04-30 21:15:02 +00:00
Michael Graff
5330fc09ac tpyo 1999-04-30 21:10:07 +00:00
Michael Graff
d070219e01 clean up and start testing rendering 1999-04-30 21:09:19 +00:00
Michael Graff
1d7987f422 checkpoint 1999-04-30 07:53:07 +00:00
Michael Graff
69be7837c9 teach dns_rdataset_towire() about the no-rdata-or-ttl trick so it will work
for rendering the questions as well as the other sections.
1999-04-30 07:08:55 +00:00
Michael Graff
a920f559c3 fix up return codes in searching, and start on rendering. 1999-04-30 06:37:35 +00:00
Michael Graff
ded7456a4d Implement searching for a name in a section. 1999-04-30 06:13:07 +00:00
Michael Graff
4756105b9c add copyright bits 1999-04-30 06:02:16 +00:00
Michael Graff
be3458c3da Add checks for render/parse direction 1999-04-30 05:57:39 +00:00
Michael Graff
e690d225ad Make named compile, and start on using message code. This isn't done yet. 1999-04-30 05:42:06 +00:00
Michael Graff
597bdfef60 Make this compile again after the dns_rdataset_totext() 1999-04-30 02:09:28 +00:00