Mark Andrews
25a66b4e41
#include <isc/print.h>
2000-11-20 13:02:18 +00:00
Mark Andrews
da4d6b30cf
Unlink before freeing.
2000-11-20 10:20:10 +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
b0214977e8
Instead of storing parentheses deltas, just copy lex->paren_count and
...
restore it on ungettoken(). This is much easier (thanks, Mark).
2000-11-20 00:41:50 +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
Brian Wellington
cfd8d65ec1
#include <ctype.h>
2000-11-19 22:10:03 +00:00
Brian Wellington
c24821e142
test that lowercase hex characters are accepted
2000-11-19 20:59:18 +00:00
Brian Wellington
fb1ee7bee0
isc_hex_fromtext didn't handle lowercase a-f
2000-11-19 20:58:58 +00:00
Bob Halley
0129cfae89
add
2000-11-19 20:47:44 +00:00
Brian Wellington
bea3d187ee
fixed another assertion failure.
2000-11-18 21:15:23 +00:00
Brian Wellington
cffe50abf6
Lots of copyright updates
2000-11-18 03:01:17 +00:00
Andreas Gustafsson
fcf28b759c
Don't log ENFILE and EMFILE as unexpected errors
2000-11-18 02:56:48 +00:00
Andreas Gustafsson
2bd70b6822
Allow master zones to not have a 'file' option, to support non-rbt
...
databases. Zones with a nonpersistent database and no 'file' option will get
an error logged at load time.
2000-11-18 02:54:22 +00:00
Brian Wellington
055934c9dd
keep lines under 80 columns
2000-11-18 01:39:20 +00:00
Brian Wellington
6fd4ab217e
missing "static" keyword.
2000-11-18 01:35:13 +00:00
Andreas Gustafsson
3c0454fe25
make SOA MNAME and NS records consistent; keep
...
lines under 80 columns
2000-11-18 01:35:05 +00:00
Brian Wellington
e1f0415f3f
Mention the driver header file; fix spacing.
2000-11-18 01:32:04 +00:00
Brian Wellington
c0003bfcaf
Added header files; fixed copyrights.
2000-11-18 01:29:14 +00:00
Andreas Gustafsson
abfb7fe67f
add TCL comment type
2000-11-18 01:25:27 +00:00
Brian Wellington
6a9f7f6e51
fix paren handling in quoted strings again.
2000-11-18 01:02:39 +00:00
Andreas Gustafsson
8bba70c48d
renamed dns_zone_setdatabase() to dns_zone_setfile(),
...
and dns_zone_getdatabase() to dns_zone_getfile(), with the idea that
they (and the 'file' zone option) will always refer to the zone's
master file, regardless of the database implementation. If a
non-rbt database uses a disk file for its internal storage, the
name of that file should be specified as an argument to the 'database'
option, not using the 'file' option.
2000-11-18 00:57:23 +00:00
Brian Wellington
08e57545c2
Allow the hashing code in the rbt to be disabled (to save memory). This
...
should eventually be configurable at runtime, or at least with a
configure option, but now it's just a #define in rbt.h.
2000-11-18 00:55:25 +00:00
Brian Wellington
66a39bda9c
parentheses in strings were handled incorrectly.
2000-11-18 00:54:19 +00:00
Andreas Gustafsson
89beab7594
some comments were holdovers from dirdb
2000-11-18 00:32:14 +00:00
Andreas Gustafsson
facb8fc8c6
removed debugging printf
2000-11-18 00:29:28 +00:00
Andreas Gustafsson
ef491b68cd
added copyright notices
2000-11-18 00:18:27 +00:00
Andreas Gustafsson
22aa1c0bc2
added sample sdb driver where the zone data is specified
...
algorithmically in Tcl code
2000-11-18 00:14:34 +00:00
Brian Wellington
5aee7a4da4
store and retrieve TTLs
2000-11-17 23:57:33 +00:00
Brian Wellington
229ce407c3
Initialize dns_rdata_fromtext callbacks, so that errors aren't logged to
...
stdout.
2000-11-17 23:32:27 +00:00
Brian Wellington
dfd5809a58
properly quote \ and ' before reading from or writing to the database.
2000-11-17 23:12:11 +00:00
Brian Wellington
d6bbcc9fd5
gratuitous enhancements.
2000-11-17 22:30:20 +00:00
Andreas Gustafsson
c6ebabd5c3
First cut at SDB documentation
2000-11-17 22:10:06 +00:00
Brian Wellington
a3c89c5e87
Comment the places where sdb drivers should be registered and unregistered.
2000-11-17 22:09:19 +00:00
Brian Wellington
5bbed85a33
568. [func] Add sample simple database drivers in contrib/sdb.
2000-11-17 22:02:57 +00:00
Brian Wellington
e6f82b9dbb
copyrights
2000-11-17 22:01:45 +00:00
Brian Wellington
18cd5a8e59
The "pgsql" simple database driver and the associated table generator
2000-11-17 21:54:02 +00:00
Brian Wellington
2721a25ba3
The "directory" simple database driver.
2000-11-17 21:17:43 +00:00
Brian Wellington
32f2764f4c
A comment was incorrect.
2000-11-17 21:09:33 +00:00
Andreas Gustafsson
0d8fe6131e
treat EHOSTDOWN (if defined) the same as EHOSTUNREACH rather than as an
...
unexpected error [RT #215 ]
2000-11-17 21:04:12 +00:00
Andreas Gustafsson
d8f9019647
566. [func] New public function dns_timer_setidle().
2000-11-17 19:45:36 +00:00
Brian Wellington
a19f3422d3
The "time" simple database driver.
2000-11-17 19:33:16 +00:00
Andreas Gustafsson
450025a0d1
formatting errors, bogus 'email:' URL [RT #476 ]
2000-11-17 19:19:17 +00:00
Andreas Gustafsson
ba6fd25808
567. [bug] Setting the zone transfer timeout to zero caused an
...
assertion failure. [RT #302 ]
566. [func] New public function dns_timer_setidle().
2000-11-17 19:04:51 +00:00
Brian Wellington
4d56f59ad0
log a message if dns_db_create fails
2000-11-17 02:49:11 +00:00
Brian Wellington
34f9910283
the removal of "simple" left an off by one error.
2000-11-17 01:27:34 +00:00
Brian Wellington
a1014b72b0
the static initializer wasn't always called.
2000-11-17 01:06:37 +00:00
Brian Wellington
729916054d
if a string token was immediately followed by an EOF token, ungetting the
...
string token would fail.
2000-11-17 00:34:37 +00:00
Andreas Gustafsson
26e801318b
clarified
2000-11-16 23:10:19 +00:00
Brian Wellington
77ac297199
Database and simple database implementations (except rbt and rbt64) are
...
registered dynamically. Simple database drivers no longer use the
keyword "simple" in named.conf - the driver name is sufficient.
2000-11-16 22:33:53 +00:00