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

272 Commits

Author SHA1 Message Date
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
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
Michael Graff
58aaab3687 isc_stdtime_get() now returns void, not isc_result_t. 1999-12-16 23:29:07 +00:00
Andreas Gustafsson
b0f7803835 consistently print a colon after the line number in error/warning messages 1999-11-30 02:21:59 +00:00
Andreas Gustafsson
db05fd8e29 error message 'class(FOO) != zone class(BAR)' sometimes had random
garbage after class names
1999-11-30 02:20:24 +00:00
Bob Halley
a7c6cb0a8c Remove remnant of old TTL code that broke $TTL. 1999-11-04 06:12:40 +00:00
Mark Andrews
6314cd3338 Support $TTL w/ BIND 8 format
dns_ttl_fromtext() to return DNS_R_BADTTL not DNS_R_SYNTAX.
1999-11-04 01:21:28 +00:00
Mark Andrews
9088094680 Add read support for BIND 8 TTL / counter format to soa.
Move bind_ttl to ttl.c and rename dns_ttl_fromtext and dns_counter_fromtext,
fix bug in handling of seconds (x 1 not x 60), can also handle raw number.
1999-11-02 13:07:53 +00:00
Olafur Gudmundsson
81cc8efc64 Zone file parser did not handle large CERT records in use 1999-10-26 18:05:23 +00:00
Bob Halley
b9fd2590a7 add const to filename args, cleanups 1999-10-25 18:41:36 +00:00
David Lawrence
619fb9349b Make the conversion from 64 bit time to 32 bit time explicit. It
is already checked after the conversion to ensure no data is lost.
1999-10-08 23:26:55 +00:00
Bob Halley
21737e85d8 preserve rr ordering 1999-10-07 19:40:30 +00:00
Bob Halley
732e0731de SIG support 1999-08-31 22:14:06 +00:00