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
Bob Halley
aeb1ccee6a
allow buffer and stream loading
1999-08-05 22:10:23 +00:00
Bob Halley
a01f52a731
callback structure changes
1999-07-30 23:33:15 +00:00
Bob Halley
42a5f9c8f5
lint from alpha build
1999-06-24 17:55:41 +00:00
Andreas Gustafsson
c1bfdd2995
turn on ISC_LEXOPT_ESCAPE
1999-06-09 11:56:45 +00:00
Andreas Gustafsson
5fc7ba3e1a
added dns_db_dump(), $DATE, and supporting changes
1999-06-08 10:35:23 +00:00
Mark Andrews
d44cd3fc3a
Class mismatch was not reporting the zone's class.
...
The correct class was not being passed to dns_rdata_fromtext().
1999-04-25 22:18:11 +00:00
Bob Halley
f4f2ef7d80
fix minor textual nits
1999-03-24 00:29:54 +00:00
Mark Andrews
0d46301a6e
NBUF was one to small.
...
GETTOKEN is now a simple macro that calls gettoken (static inline).
1999-03-23 00:04:01 +00:00
Mark Andrews
dd082cc554
Added BIND 8.x ttl processing.
...
Allow ttl / class to be specified in any order.
Suppress duplicate rdata.
Additional commentry.
1999-03-22 06:21:29 +00:00
Bob Halley
4c1132f344
update copyright
1999-03-06 04:12:06 +00:00
Bob Halley
904a573437
C++ compatibility
1999-03-04 02:48:47 +00:00
Mark Andrews
fdd04623a6
Convert to user error / warn callbacks.
1999-02-10 05:25:37 +00:00
Mark Andrews
82d0558893
Pass multiple callbacks in dns_rdatacallbacks_t.
...
Call UNEXPECTED_ERROR() when returning DNS_R_UNEXPECTED.
1999-02-09 08:02:21 +00:00
Bob Halley
f150692ba3
name change
1999-02-06 01:18:18 +00:00
Mark Andrews
8d3e74b168
gen to generate dns_rdata{type,class}_{type,class}
...
dns_rcode_{to,from}text()
TKEY was missing the Algorithm
1999-02-04 06:38:43 +00:00
Mark Andrews
8aefdfc906
Missing !in_glue test.
1999-01-30 13:11:24 +00:00
Mark Andrews
923e2ea400
dns_load_master()'s callback last arguement is now void * rather
...
than isc_mem_t * to provide a general mechanism to pass context to
the call back. dns_load_master() has an additional arguement to
support this. to get the old behaviour set the arguement, private,
to the same value as mctx.
1999-01-28 22:32:45 +00:00
Mark Andrews
0c67279acb
Added soacount and nscount
1999-01-28 05:03:25 +00:00
Mark Andrews
e68714fd95
Add $TTL and $INCLUDE processing
1999-01-28 01:16:59 +00:00
Mark Andrews
89140b7f74
Added $ORIGIN support.
1999-01-27 23:57:46 +00:00
Mark Andrews
3ff55a3111
dns_master.c:
...
fix 2 infinite while loops.
use a pool of 5 buffers for dns_name_fromtext target.
add master_test.c:
1999-01-27 23:17:57 +00:00
Mark Andrews
ffe74cc719
Add KEY, SIG and NSAP rdata type. SIG is not complete.
...
Add master file reader, master.c master.h, incomplete.
gen.c was not generate correct include file, SWITCHXXX macros were
being terminated early if last RR type was class specific.
Added base64 support to rdata.c.
1999-01-27 13:38:21 +00:00