2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

78 Commits

Author SHA1 Message Date
Andreas Gustafsson
f19771c55d 617. [bug] When using dynamic update to add a new RR to an
existing RRset with a different TTL, the journal
                        entries generated from the update did not include
                        explicit deletions and re-additions of the existing
                        RRs to update their TTL to the new value.
2000-12-16 00:58:03 +00:00
Brian Wellington
911ed0d3be Split journal.[ch] into journal.[ch] and diff.[ch] 2000-12-09 02:17:12 +00:00
Andreas Gustafsson
3c7ce471aa 593. [bug] If a secure zone was missing all its NXTs and
a dynamic update was attempted, the server entered
                        an infinite loop.
2000-12-05 22:48:56 +00:00
Andreas Gustafsson
a3e41e3c03 obey the allow-update forwarding option for both signed and unsigned updates;
fold the upforwd system test README file and nsupdate input files into the tests.sh script;
other minor cleanup of the upforwd test
2000-12-01 21:37:17 +00:00
Andreas Gustafsson
de389382be when doing the automatic SOA serial update following a dynamic
update, delete the old SOA then add the updated one instead of the other way around
(otherwise the new database singleton type rules will cause the add to fail)
2000-11-22 02:49:57 +00:00
Andreas Gustafsson
046bd40fd1 macro definitions should not end in a semicolon 2000-11-15 19:04:41 +00:00
Mark Andrews
4ec1a96d90 542. [func] Add allow-update-forwarding support. 2000-11-06 08:11:11 +00:00
Mark Andrews
368b37b616 dns_rdata_invalidate -> dns_rdata_reset 2000-10-31 03:22:05 +00:00
Mark Andrews
c03bb27f06 532. [func] Implement DNS UPDATE pseudo records using
DNS_RDATA_UPDATE flag.

 531.   [func]          Rdata really should be initalized before being
                        assigned to (dns_rdata_fromwire(), dns_rdata_fromtext(),
                        dns_rdata_clone(), dns_rdata_fromregion()),
                        check that it is.
2000-10-25 04:26:57 +00:00
Andreas Gustafsson
35a1d7c80e replaces_p() in bin/named/update.c should treat DNAME as a singleton
type too. [RT #374]
2000-10-20 22:34:50 +00:00
Mark Andrews
cf573ce6fb More ISC_LINK_INIT fixes. 2000-10-20 13:29:37 +00:00
Andreas Gustafsson
b73a71166d the new rdata flags field was missing from a statically
defined rdata struct
2000-10-19 23:41:40 +00:00
Brian Wellington
54477d367b The changes in #515 leaked memory and left dead code. 2000-10-13 23:21:17 +00:00
Mark Andrews
b4d2b3147b updates should mark the zone as dirty. 2000-09-29 03:25:23 +00:00
Andreas Gustafsson
16ee1cb8c8 purge NXT records obscured by DNAME records 2000-09-20 00:51:49 +00:00
Mark Andrews
459e901f90 451 [func] Update forwarding implememted.
450.   [func]          New function ns_client_sendraw().
2000-09-13 01:30:34 +00:00
Michael Graff
42e31e6ef7 pass in the log level desired; make 'client denied recursion' log at debug level 1 always. 2000-09-12 18:50:36 +00:00
Brian Wellington
7e5759783d dns_buildnxtrdata -> dns_nxt_buildrdata 2000-09-12 10:38:51 +00:00
David Lawrence
40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence
15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
David Lawrence
9c3531d72a add RCS id string 2000-06-22 22:00:42 +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
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
Brian Wellington
4bf54f182d include dns/fixedname.h 2000-05-30 23:12:47 +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
David Lawrence
553727079c one more macro (FAIL()) where ISC_R_SUCCESS needed to be tested against a
variable instead of a constant.
2000-05-24 21:41:14 +00:00
David Lawrence
94296c8d5b quiet HP/UX and Solaris compilers by testing "result" variable (as opposed to
"code" constant) against ISC_R_SUCCESS in FAILC() and FAILS() macros.
2000-05-24 18:25:35 +00:00
David Lawrence
ed019cabc1 fixed lines > 79 columns wide 2000-05-24 05:10:00 +00:00
David Lawrence
cfefc47443 removed unused stack variable "zoneclass" from ns_update_start.
ISC style fixups.
2000-05-24 03:26:35 +00:00
Andreas Gustafsson
224553741e send notifies after dynamic update 2000-05-22 16:01:58 +00:00
Brian Wellington
c50936eb40 changed dst_key_free() prototype, misc. dst cleanup 2000-05-19 00:20:59 +00:00
David Lawrence
f2fdfe7c42 Silence "end-of-loop condition not reached" warnings from Solaris compiler 2000-05-10 03:33:57 +00:00
David Lawrence
8a47ea1dad a few lingering (mem|str)(cmp|cpy|len) missing prototypes 2000-05-09 15:02:20 +00:00
David Lawrence
1a69a1a78c Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion.

ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
   /*
    * This is a comment.
    */
2000-05-08 14:38:29 +00:00
Andreas Gustafsson
82ca33427b declare arguments as UNUSED() when used in assertions only 2000-04-28 01:24:18 +00:00
David Lawrence
6e49e91bd0 103. [func] libisc buffer API changes for <isc/buffer.h>:
Added:
                                isc_buffer_base(b)          (pointer)
                                isc_buffer_current(b)       (pointer)
                                isc_buffer_active(b)        (pointer)
                                isc_buffer_used(b)          (pointer)
                                isc_buffer_length(b)            (int)
                                isc_buffer_usedlength(b)        (int)
                                isc_buffer_consumedlength(b)    (int)
                                isc_buffer_remaininglength(b)   (int)
                                isc_buffer_activelength(b)      (int)
                                isc_buffer_availablelength(b)   (int)
                        Removed:
                                ISC_BUFFER_USEDCOUNT(b)
                                ISC_BUFFER_AVAILABLECOUNT(b)
                                isc_buffer_type(b)
                        Changed names:
                                isc_buffer_used(b, r) ->
                                        isc_buffer_usedregion(b, r)
                                isc_buffer_available(b, r) ->
                                        isc_buffer_available_region(b, r)
                                isc_buffer_consumed(b, r) ->
                                        isc_buffer_consumedregion(b, r)
                                isc_buffer_active(b, r) ->
                                        isc_buffer_activeregion(b, r)
                                isc_buffer_remaining(b, r) ->
                                        isc_buffer_remainingregion(b, r)

                        Buffer types were removed, so the ISC_BUFFERTYPE_*
                        macros are no more, and the type argument to
                        isc_buffer_init and isc_buffer_allocate were removed.
                        isc_buffer_putstr is now void (instead of isc_result_t)
                        and requires that the caller ensure that there
                        is enough available buffer space for the string.
2000-04-27 00:03:12 +00:00
Bob Halley
e2fe0815b3 conform to zt API change 2000-04-19 18:27:42 +00:00
Michael Graff
e44487bfc2 convert sender, arg, action, etc. to ev_sender, ev_arg, ev_action, etc. 2000-04-17 19:22:44 +00:00
Michael Graff
4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +00:00
Brian Wellington
84feab0fad If an ssutable is present, it's used instead of an allow-update acl 2000-03-06 19:08:05 +00:00
Andreas Gustafsson
3eef7eaba0 renamed dns_acl_checkrequest() to ns_client_checkacl()
and moved it to bin/named/client.c to reflect the fact that it
implemented BIND ACL policy more than general-purpose library
functionality; resolve ACL defaults at configuration time
rather than when the ACL is evaluated
2000-02-22 21:24:24 +00:00
Andreas Gustafsson
3b14e4434a dynamic updates now attach to client object while waiting
to be executed
2000-02-11 21:09:32 +00:00
Brian Wellington
26e1af486a Use dns_message_reply() when responding to an update message 2000-02-10 22:14:39 +00:00
Andreas Gustafsson
a174757026 implemented the 'localhost' and 'localnets' ACLs 2000-02-09 22:59:40 +00:00
Bob Halley
7d98a1783f update copyrights 2000-02-03 22:29:57 +00:00
Andreas Gustafsson
d2bb8318e5 removed #include <dns/confip.h> 2000-02-02 21:05:18 +00:00
Andreas Gustafsson
66c41c5b4f use the UNUSED() macro 2000-01-27 01:14:13 +00:00
Michael Graff
3ddd814a97 dns_result_t is no more. s/dns_result_t/isc_result_t/ -- more later, when I need a break. 1999-12-23 00:09:04 +00:00
Andreas Gustafsson
542189f21b dns_result_torcode() now converts ISC_R_SUCCESS into
dns_rcode_noerror, not dns_rcode_servfail
1999-12-22 22:11:18 +00:00
Michael Graff
58aaab3687 isc_stdtime_get() now returns void, not isc_result_t. 1999-12-16 23:29:07 +00:00