2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-28 21:17:54 +00:00

234 Commits

Author SHA1 Message Date
Andreas Gustafsson
94d61e2f76 added UNUSED() macros for arguments that end up unused when assertion checking
is turned off
2000-12-01 00:55:16 +00:00
Andreas Gustafsson
d7059b8b7c 80 columns 2000-11-27 19:15:39 +00:00
Mark Andrews
19ff7edc1a 577. [func] Log illegal RDATA combinations. e.g. multiple
singlton types, cname and other data.
2000-11-24 01:51:11 +00:00
Mark Andrews
0f9bbc9ea2 loop_cnt test was wrong way around. 2000-11-23 05:04:54 +00:00
Andreas Gustafsson
ab889e996d use dns_rdataclass_format() 2000-11-15 19:06:04 +00:00
Brian Wellington
ebfcb6cf66 550. [func] Support unknown rdata types and classes. 2000-11-09 23:55:05 +00:00
Andreas Gustafsson
04bf45fffe added missing newline 2000-11-08 00:18:18 +00:00
Mark Andrews
4ab40dad77 Add BIND 8 style GENERATE $$ => $. 2000-11-02 05:18:33 +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
Mark Andrews
5e589b5356 Uninitalised link fixes, batch 1. 2000-10-20 02:21:58 +00:00
Mark Andrews
b20ee662a7 521. [bug] Detect master files which contain $INCLUDE and always
reload. [RT #196]

new result code DNS_R_SEENINCLUDE
dns_master_load* can now return DNS_R_SEENINCLUDE
2000-10-17 07:22:39 +00:00
Brian Wellington
060de372a1 The database now does duplicate suppression, so the master file loader
doesn't need to.
2000-09-23 01:05:35 +00:00
Andreas Gustafsson
338edde79f snprintf() requires <isc/print.h> on OSF/1 4.0 2000-09-19 01:47:53 +00:00
Andreas Gustafsson
ec02cd5927 spacing 2000-09-18 18:31:06 +00:00
Mark Andrews
9d3ef72b37 470. [feature] $GENERATE is now supported. See also
doc/misc/migration.
2000-09-18 06:50:35 +00:00
Mark Andrews
79907dfac9 some more cases of #466 2000-09-17 13:08:46 +00:00
Mark Andrews
4050789abb bugfix 468 contained a error. 2000-09-17 12:54:44 +00:00
Mark Andrews
c50a002bd1 468. [bug] dns_master_load*() failed to report file and line
number in certain error conditions.

 467.   [bug]           dns_master_load*() failed to log an error if
                        pushfile() failed.

 466.   [bug]           dns_master_load*() could return success when it failed.
2000-09-17 12:38:47 +00:00
Andreas Gustafsson
a405a53d53 443. [bug] When loading a master file failed because of an
unrecognized RR type name, the error message
                        did not include the file name and line number.
                        [RT #285]
2000-09-12 18:10:24 +00:00
Mark Andrews
d22b4de3f1 Throttled answer while loading support (still needs config file hooks). 2000-09-05 03:35:24 +00:00
Andreas Gustafsson
2de4786af7 a function pointer is not a valid event sender, but NULL is 2000-08-24 19:13:13 +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
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
Brian Wellington
3469c26c0e $INCLUDE didn't work with a quoted filename; now it does. None of the
calls to isc_lex_gettoken were properly handling isc_tokentype_special
tokens; it's now an error to see one.
2000-07-30 20:28:07 +00:00
David Lawrence
15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
Andreas Gustafsson
28059de4ef when a master file ends in a place where a newline is expected,
make the warning message say 'file does not end with newline' instead of
'unexpected end of file' to lead the user on the right tracks to fixing
the most likely cause.  Also, don't include the function name in the message.
2000-07-10 19:07:19 +00:00
Mark Andrews
fd4810861c Warn on unexpected <eof> if input source is a file, treat as <eol><eof>
regardless of input source.
2000-07-10 05:15:04 +00:00
Mark Andrews
d1e971ba02 316. [bug] EOF mid line should be a error.
315.   [bug]           Handle non-empty blanks lines.
2000-07-09 12:52:34 +00:00
Mark Andrews
b74e73c5b4 294. [bug] If we run out of space in while processing glue
when reading a master file and commit "current name"
			reverts to "name_current" instead of staying as
			"name_glue".
2000-06-29 15:55:19 +00:00
Mark Andrews
0380c44d02 241. [cleanup] nscount and soacount have been removed from the
dns_master_*() arguement lists.
2000-06-07 03:30:02 +00:00
David Lawrence
20b20b2394 202. [func] isc_lex_getsourceline() changed from returning int
to returning unsigned long, the type of its underlying
                        counter.
2000-05-24 15:07:59 +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
4331ce6a17 warn about ignored out-of-zone data 2000-04-28 23:15:24 +00:00
Bob Halley
364a82f7c2 include isc/util.h 2000-04-28 01:12:23 +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
Brian Wellington
e9a9ae4fc6 Added dns_trust_ultimate for zone data (can be renamed later if necessary). 2000-04-20 18:47:21 +00:00
Michael Graff
4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +00:00
Bob Halley
f1e96dc67f ignore out-of-zone data 2000-03-29 21:01:30 +00:00
Andreas Gustafsson
64b42acc5f propagate the current and default TTLs into and out of
$INCLUDEd files (RT #69)
2000-03-22 19:27:51 +00:00
Andreas Gustafsson
4cf7efa59d typos 2000-03-22 17:59:13 +00:00
Andreas Gustafsson
4cc66f2516 typo 2000-03-22 17:54:15 +00:00
Andreas Gustafsson
8ba076755d typo 2000-03-22 17:50:34 +00:00
Andreas Gustafsson
0c7a0db602 typo 2000-03-22 17:46:34 +00:00
Andreas Gustafsson
2539896175 do not indent CVS ID comment 2000-03-17 17:49:37 +00:00
Bob Halley
7d32c065c7 update copyright 2000-02-03 23:50:32 +00:00
Olafur Gudmundsson
3a36d3d7e6 Added code to reject lines beginning with $ that are not known Directives.
Any name starting with $ should be escaped to comply with RFC1035.
Effect any zone will stop loading at first error, message is printed if
logging has been enabled.
2000-02-03 19:03:59 +00:00
Andreas Gustafsson
62e22bc7a5 typos in comments 2000-02-02 00:36:34 +00:00
Andreas Gustafsson
3a7a4eb1a5 trailing newlines are no longer needed in messages printed
using the rdata callbacks, and were never needed when calling
UNEXPECTED_ERROR
2000-01-22 01:41:17 +00:00
Andreas Gustafsson
68c703dd71 GETTOKEN() macro did not set result, causing
dns_master_load() to print messages like "dns_master_load: success".
Also, result of dns_time64_fromtext() was not checked.
2000-01-22 00:28:00 +00:00