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

323 Commits

Author SHA1 Message Date
Mark Andrews
b0c15bd979 1415. [func] DS TTL now derived from NS ttl. NXT TTL now derived
from SOA MINIMUM.

1414.   [func]          Support for KSK flag.
2003-01-18 02:40:59 +00:00
Mark Andrews
0b09763c35 1328. [func] DS (delegation signer) support. 2002-06-17 04:01:37 +00:00
Mark Andrews
9be230cfca make val unsigned as we are now using strtoul(). 2002-03-27 23:31:32 +00:00
Mark Andrews
beed6a0e22 Change 1236 was incorrect. [RT #2611] 2002-03-27 03:31:49 +00:00
Mark Andrews
18360f880c missed it part 2002-03-20 22:25:58 +00:00
Mark Andrews
21ca3480cd 4->5 2002-03-20 22:06:07 +00:00
Mark Andrews
8695d7b357 1236. [bug] dns_rdata{class,type}_fromtext() didn't handle non
NULL terminated text regions. [RT #2588]
2002-03-20 17:12:29 +00:00
Brian Wellington
d56fa53141 Only allow hex or decimal when parsing key flags, not octal. 2002-03-17 18:59:43 +00:00
Brian Wellington
81e302788a 1233. [bug] The flags field of a KEY record can be expressed in
hex as well as decimal.
2002-03-17 18:50:21 +00:00
Brian Wellington
861cef1397 default_fromtext_callback should print a newline 2002-03-08 01:58:10 +00:00
Brian Wellington
231ffa6c85 add a new result code so that parsing a bad KEY record doesn't result in
"unknown class/type".
2002-03-08 01:38:57 +00:00
Brian Wellington
aa05bbdef7 When printing a warning about a value not being a valid decimal dotted
quad, it seems excessive to print "warning" when the message is already logged
at log level WARNING by the warn() callback.
2002-03-05 01:02:06 +00:00
Mark Andrews
a7038d1a05 copyrights 2002-02-20 03:35:59 +00:00
Mark Andrews
23cb957a81 1201. [bug] Require that if 'callbacks' is passed to
dns_rdata_fromtext(), callbacks->error and
                        callbacks->warn are initalised.
2002-02-12 03:45:54 +00:00
Mark Andrews
b6a0341bcb don't reference through potentially NULL callback pointers. 2002-02-11 22:30:28 +00:00
Mark Andrews
c46f10e4a1 Use as_textregion.base not as_pointer. [RT #2385] 2002-01-21 01:07:32 +00:00
Olafur Gudmundsson
90e303b114 Adding function isc_region_compare and using in instead of compare_region in lib/dns 2002-01-05 07:05:28 +00:00
Andreas Gustafsson
242bba8991 1151. [bug] nslookup failed to check that the arguments to
the port, timeout, and retry options were
                        valid integers and in range. [RT #2099]

1150.   [bug]           named incorrectly accepted TTL values
                        containing plus or minus signs, such as
                        1d+1h-1s.

1149.   [func]          New function isc_parse_uint32().
2001-11-30 01:02:18 +00:00
Andreas Gustafsson
751af0ee2f duplicate code consistently 2001-11-26 23:37:24 +00:00
Brian Wellington
d9af67ef70 add RSA to the secalgs list in rdata.c (as a synonym for RSAMD5), remove the
special case code in dnssec-keygen to parse RSA.
2001-11-15 19:44:52 +00:00
Andreas Gustafsson
f3ca27e9fe sizeof style 2001-11-12 19:05:39 +00:00
Andreas Gustafsson
6bebabb376 Also disallow creation of TYPE0 records from wire data 2001-10-03 00:51:38 +00:00
Andreas Gustafsson
de5247ae16 Disallow creation of TYPE0 records from master files, since the server reserves type 0 for
internal purposes related to negative caching
2001-10-02 23:33:04 +00:00
Brian Wellington
21825a8d00 Sync up the dnssec key algorithms listed in include/dns/keyvalues.h and
rdata.c.
2001-09-19 00:14:48 +00:00
Mark Andrews
e6f17474cb 1000. [func] Accept "HESIOD" as a alias for class "HS". 2001-09-16 05:27:04 +00:00
Brian Wellington
36e37042c6 997. [func] Add support for RSA-SHA1 keys. 2001-09-15 00:01:58 +00:00
Andreas Gustafsson
76c8294c81 format string bugs and improved format string checking [RT #1578] 2001-08-08 22:54:55 +00:00
Brian Wellington
cabaeca9ae missing assertion checks 2001-07-16 09:48:05 +00:00
Mark Andrews
bddfe77128 936. [func] Warn when non dotted decimal quad's are used.
[RT #1084]

 935.   [bug]           inet_pton failed to reject leading zeros.
2001-07-16 03:06:53 +00:00
Andreas Gustafsson
ad493ef9dd spacing 2001-07-06 20:15:08 +00:00
Mark Andrews
9ac7076eba 769. [func] Improved error reporting when parsing rdata. [RT #740]
Two new error codes.  Also push back the last token, if it makes
sense to do so, so that it gets printed in the error message using
RETTOK macro, rather than straight return or RETERR.
2001-03-06 22:11:18 +00:00
Brian Wellington
330705066b Wrap inet_ntop() and use that in the _totext() functions. The wrapper calls
inet_ntop() and copies the output (but not the trailing null) into the buffer.
2001-01-25 20:14:42 +00:00
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Mark Andrews
228c679d7a 662. [bug] dns_rdata_fromtext() failed to log certain errors. 2001-01-08 06:54:35 +00:00
Mark Andrews
8dd5237a27 655. [bug] Improve error reporting on unexpected eof when loading
zones. [RT #611]
2001-01-04 23:43:53 +00:00
Andreas Gustafsson
ca2912424b DEL (ASCII 127) is not a printable character and should be
backslash-decimal quoted when printing TXT record
2001-01-02 04:24:52 +00:00
Mark Andrews
5f7a9845e9 make ISC_LIST_CHECKINIT work 2000-12-19 04:46:36 +00:00
Andreas Gustafsson
6c29053a20 614. [bug] Checks for uninitialized link fields were prone
to false positives, causing assertion failures.
                        The checks are now disabled by default and may
                        be re-enabled by defining ISC_LIST_CHECKINIT.
2000-12-15 00:20:55 +00:00
Mark Andrews
5d2026ea7b relax initalied checks 2000-12-14 22:09:51 +00:00
Brian Wellington
78838d3e0c 8 space -> tab conversion 2000-12-11 19:24:30 +00:00
David Lawrence
e086935752 isc_hex_tobuffer() third argument is unsigned int, not unsigned long 2000-12-06 22:33:39 +00:00
Andreas Gustafsson
7e4cda9965 renamed rdata_valid() to rdata_validate() and commented it 2000-11-20 21:58:01 +00:00
Brian Wellington
f164957327 Allocate a buffer large enough to hold the unknown rr data, not a buffer
with the same amount of free space as the target buffer.
2000-11-20 21:41:53 +00:00
Brian Wellington
93ed317bb4 unknown rr type parsing code deuglification. 2000-11-20 21:29:41 +00:00
Mark Andrews
25a66b4e41 #include <isc/print.h> 2000-11-20 13:02:18 +00:00
Mark Andrews
7d8cdd869e pointer arithmetic on (void*) is a no-no.
use extened buffer api to calculate lengths.
2000-11-20 06:54:40 +00:00
Brian Wellington
2ea44ff332 Unknown rrs would not be parsed correctly when in an rdataset with known rrs. 2000-11-19 23:19:23 +00:00
Brian Wellington
1275a72e8d Don't allow metatypes to be loaded using the \# format. 2000-11-19 22:12:42 +00:00
Andreas Gustafsson
8c962eba3d I really shouldn't commit stuff until it at least compiles 2000-11-15 19:11:36 +00:00
Andreas Gustafsson
d3a86da2e8 563. [func] New public functions dns_rdatatype_format() and
dns_rdataclass_format(), for convenient formatting
                        of rdata type/class mnemonics in log messages.
2000-11-15 19:05:32 +00:00