2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

586 Commits

Author SHA1 Message Date
Bob Halley
593d951248 add RBTDB wild bit 1999-08-12 07:47:21 +00:00
Bob Halley
87a5360e27 foundname is no longer optional in dns_db_find(); add DNS_DBFIND_NOWILD 1999-08-12 07:46:32 +00:00
Bob Halley
739ccd81b0 foundname is no longer optional in dns_db_find() 1999-08-12 07:45:58 +00:00
Bob Halley
4529cdaeda make rdata functions static inline 1999-08-12 01:32:42 +00:00
Bob Halley
00d8179488 add dns_name_iswildcard() 1999-08-12 01:29:03 +00:00
Bob Halley
b7a1d692a1 findnode() result code was still wrong. 1999-08-11 22:08:44 +00:00
Bob Halley
176f7a135e findnode() had design legacies from an older version of the RBT API. It
also failed to handle the case where it had discovered that a node didn't
exist, had unlocked and relocked the tree (into write mode), and then had
attempted to add the node and got DNS_R_EXISTS as the result.  (I.e. someone
beat us in the race to create the node.)  In this case, an error would have
been returned.  The correct behavior is to succeed (being sure to increment
the node reference count).
1999-08-11 22:06:21 +00:00
Bob Halley
27ffc5a697 dns_master_load() is now _loadfile() 1999-08-05 22:12:38 +00:00
Bob Halley
79eec69349 define CHAOS class; put METACLASSES first so META bit is set for ANY 1999-08-05 22:11:52 +00:00
Bob Halley
aeb1ccee6a allow buffer and stream loading 1999-08-05 22:10:23 +00:00
Bob Halley
43a7c2d2cd update comment 1999-08-05 22:09:51 +00:00
Bob Halley
abec6ac24d add class CH 1999-08-05 22:09:23 +00:00
Bob Halley
0da08ae74c add view.h 1999-08-05 22:09:01 +00:00
Bob Halley
f94f59d746 add 1999-08-05 22:08:45 +00:00
Bob Halley
a8dffb6baa add view.c 1999-08-05 22:08:24 +00:00
Brian Wellington
147fd0bdf8 dns_result_torcode missing breaks in switch 1999-08-05 20:39:21 +00:00
Bob Halley
b1bc194f94 additional data support 1999-08-03 20:55:19 +00:00
Bob Halley
89d8adb666 for good style, call dns_rdataset_first() first when dealing with questions 1999-08-03 20:54:56 +00:00
Brian Wellington
ebe3937fc0 dns_key_free seg fault 1999-08-03 19:48:10 +00:00
Andreas Gustafsson
1afdc8c2e7 dns_rdataset_towire() returned DNS_R_NOMORE after successfully rendering an empty section; should return DNS_R_SUCCESS 1999-08-03 13:30:54 +00:00
Bob Halley
f1b0e9107d additional data support 1999-08-03 01:21:23 +00:00
Bob Halley
0e919917cc class to rdclass 1999-08-02 22:19:30 +00:00
Bob Halley
d981ca6455 class to rdclass; additional data support 1999-08-02 22:18:31 +00:00
Bob Halley
396e149f32 additional data support 1999-08-02 22:17:36 +00:00
Bob Halley
a01f52a731 callback structure changes 1999-07-30 23:33:15 +00:00
Bob Halley
7d44d8aacd add beginload and endload support 1999-07-30 23:32:19 +00:00
Bob Halley
4478cd2fa8 rename commit to add; use dns_addrdatasetfunc_t 1999-07-30 23:31:48 +00:00
Bob Halley
abf512ef63 add dns_addrdatasetfunc_t and dns_dbload_t 1999-07-30 23:31:27 +00:00
Andreas Gustafsson
2b9515f497 needs <isc/socket.h> 1999-07-30 13:34:19 +00:00
Andreas Gustafsson
5195f93199 event->sender was bogus pointer 1999-07-30 13:33:47 +00:00
Andreas Gustafsson
57cf89b149 set msg->rdclass even if question section is empty 1999-07-30 13:33:14 +00:00
Brian Wellington
7fba8470c7 minor code cleanup, HMAC-MD5 bugfix 1999-07-29 17:21:23 +00:00
Bob Halley
a6ebd71eed tweaks to dns_message_reply() 1999-07-29 01:26:53 +00:00
Michael Graff
11e2a221f1 hack on socket code more, trying to track down a bug 1999-07-28 23:04:33 +00:00
Michael Graff
d524cd03ec make the isc_socket_recv() partial flag be a byte count instead, which allows
us to say "read at least 2 bytes" for things like a DNS packet over TCP.
1999-07-28 21:30:37 +00:00
Andreas Gustafsson
8c55a67a6d null pointer dereference 1999-07-28 05:23:16 +00:00
Bob Halley
5fc1b54cc6 allow undedication of the dedicated buffer 1999-07-28 02:20:22 +00:00
Bob Halley
996028142c update message reply support 1999-07-28 02:19:46 +00:00
Brian Wellington
991322a2ab A TSIG record's class should be ANY, not that of the question 1999-07-26 17:00:34 +00:00
Bob Halley
711b0bed7b rcode was initialized incorrectly in dns_result_torcode() 1999-07-24 01:28:52 +00:00
Bob Halley
aa23c665d8 resolver checkpoint 1999-07-24 01:26:18 +00:00
Bob Halley
d8705ff90a Break msginit() into msginitheader() and msginitprivate().
Put MAGIC macros into the DNS_ namespace.
Take name cleanup code from msgreset() and put it into msgresetnames().
In dns_message_create(), the intent is now specified before the returned
message pointer.
dns_message_reset() now allows an intent to be specified.
msg->header_ok is set if parsing the header succeeded, and msg->question_ok
is set if parsing the question section succeeded.
Added dns_message_reply().
1999-07-24 01:09:04 +00:00
Bob Halley
4034b7d6ed Declare types in <dns/types.h>.
Put MAGIC macros into the DNS_ namespace.
Added header_ok and question_ok to the message structure.
Specify the intent before the returned message pointer in
dns_message_create().
Allow an intent to be specified when calling dns_message_reset().
Add dns_message_reply().
1999-07-24 01:05:22 +00:00
Bob Halley
2fc77eff62 move types to <dns/types.h> 1999-07-24 01:02:30 +00:00
Bob Halley
937f9db1ed add opcode, message, dispatch, and view types; list TSIG errors 1999-07-24 01:02:07 +00:00
Bob Halley
613991eef6 TSIG errors are not rcodes; add BADVERS rcode 1999-07-24 01:01:08 +00:00
Bob Halley
2e715dbdc2 fix spelling error 1999-07-24 00:59:55 +00:00
Bob Halley
25e43e68b7 rcode result type support; cleanups 1999-07-24 00:59:26 +00:00
Andreas Gustafsson
18cd3d3db4 typo 1999-07-23 12:05:50 +00:00
Andreas Gustafsson
96594ea32e define dns_rdataclass_none as 254, not 0 (RFC2136); remove dns_rdatatype_none for consistency 1999-07-23 09:15:10 +00:00