Mark Andrews
11dbb6dc6b
silently reject MD and MF updates.
2001-12-11 23:53:13 +00:00
Andreas Gustafsson
1f1d36a87b
Check return values or cast them to (void), as required by the coding
...
standards; add exceptions to the coding standards for cases where this is
not desirable
2001-11-30 01:59:49 +00:00
Mark Andrews
4072dfb9b8
1132. [func] Improve UPDATE prerequisite failure diagnotic messages.
2001-11-20 05:04:41 +00:00
Andreas Gustafsson
2f734e0a7e
sizeof style
2001-09-19 23:08:24 +00:00
David Lawrence
4f36774273
include <dns/soa.h> for dns_soa_serial() prototype
2001-05-31 10:38:01 +00:00
Danny Mayer
94b88b9500
named_order needed const in declaration
2001-05-06 02:17:48 +00:00
Brian Wellington
efec85a561
add consts [RT #1016 ]
2001-03-12 22:49:29 +00:00
Mark Andrews
55b6243923
776. [func] Improved error reporting in denied messages. [RT #252 ]
2001-03-11 06:19:39 +00:00
Brian Wellington
ea544b0511
747. [bug] The code to determine whether an IXFR was possible
...
did not properly check for a database that could
not have a journal. [RT #908 ]
2001-02-22 19:15:01 +00:00
Andreas Gustafsson
08b48bdf45
missing space between words in error message
2001-02-15 19:38:09 +00:00
Andreas Gustafsson
a1cfa2a82d
need <isc/print.h>
2001-01-22 18:59:06 +00:00
Andreas Gustafsson
6259fcd6f7
include client address and zone name in dynamic update
...
log messages
2001-01-18 23:31:03 +00:00
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Mark Andrews
de154f65f6
Ensure that ns_client_*() are only called from the client's task.
2000-12-28 01:29:09 +00:00
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