Brian Wellington
fb1ee7bee0
isc_hex_fromtext didn't handle lowercase a-f
2000-11-19 20:58:58 +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
6fd4ab217e
missing "static" keyword.
2000-11-18 01:35:13 +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
Brian Wellington
229ce407c3
Initialize dns_rdata_fromtext callbacks, so that errors aren't logged to
...
stdout.
2000-11-17 23:32:27 +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
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
Andreas Gustafsson
6cc385f78b
you can't just undefine L_SEARCH, because yacc will
...
insert its definition before the #undef, not after it. Instead, rename
L_SEARCH to L_SEARCHLIST
2000-11-16 22:18:46 +00:00
Mark Andrews
bba79bc76f
remove NOMINUM_PUBLIC_DELETE
2000-11-16 21:58:09 +00:00
David Lawrence
859e2ee593
AIX defines L_SEARCH in <sys/lkup.h>; undefine it.
2000-11-16 20:44:53 +00:00
Brian Wellington
308785a470
If a token is ungotten, the source is no longer at EOF.
2000-11-16 03:44:41 +00:00
Brian Wellington
09ce346fd8
ungetting eof tokens could trigger an assertion.
2000-11-16 03:03:16 +00:00
Brian Wellington
3cd88f71b0
oops, an extra file snuck in.
2000-11-16 02:05:54 +00:00
Brian Wellington
341629dbc2
sdb should not be sanitized away anymore.
2000-11-16 01:41:02 +00:00
Brian Wellington
eb4a45ebf5
remove sortlist
2000-11-16 00:06:38 +00:00
David Lawrence
4a590cf385
Following revision 1.124, 'count' was no longer needed by bind_rdataset().
2000-11-15 23:51:13 +00:00
David Lawrence
99f627f2a9
In dns_opt_attrtotext(), declare and set omit_final_dot only when
...
DNS_OPT_NEWCODES is defined. In dns_opt_totext(), do not declare or
set omit_final_dot at all.
2000-11-15 23:40:00 +00:00
David Lawrence
2197bdf6b1
fixed prototype for static build_SYS_str_reasons()
2000-11-15 23:19:05 +00:00
David Lawrence
f604b5ab0b
A test of a result in an INSIST() in dns_db_getsoaserial() was improperly
...
actually setting the result.
2000-11-15 23:16:33 +00:00
David Lawrence
e7b6119384
removed extraneous semicolon
2000-11-15 23:12:27 +00:00
David Lawrence
9bcf5e9a14
assign the result of copy_ptr_targets to the event result in lookup_done()
2000-11-15 23:07:58 +00:00
David Lawrence
ba7ea2326d
dns_aclelement_match() returns an isc_boolean_t, but if dns_acl_match()
...
within it returned a result that was not ISC_R_SUCCESS, then that result
code was being returned. Since dns_acl_match() always returns ISC_R_SUCCESS,
the erroneous return was converted into an INSIST().
2000-11-15 22:59:55 +00:00
David Lawrence
78e5d07050
comment why <sys/time.h> is needed
2000-11-15 22:41:56 +00:00
David Lawrence
5ed0ffc1f7
clean up const warnings
2000-11-15 22:38:51 +00:00
David Lawrence
61632c1973
tokens after #endif
2000-11-15 20:47:54 +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
ab889e996d
use dns_rdataclass_format()
2000-11-15 19:06:04 +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
Mark Andrews
3fdad8e3bb
adjust is_lame test for same level.
2000-11-15 04:53:06 +00:00
Mark Andrews
edc9f47a1d
add #include <sys/time.h>
2000-11-15 03:58:53 +00:00
David Lawrence
21ec512685
some systems do not implement all of the resources of
...
the isc_resource_t enum, so the API was changed to return
ISC_R_NOTIMPLEMENTED in such cases.
2000-11-15 02:11:50 +00:00
Andreas Gustafsson
4b7018f4cc
illegal token after #endif
2000-11-15 01:31:45 +00:00
Andreas Gustafsson
88658c1300
fetch-glue, min-roots, and max-ixfr-log size are now considered
...
obsolete
2000-11-15 01:30:12 +00:00
Andreas Gustafsson
7863e6bd43
provide a more detailed error message when configuring
...
a TSIG key fails [RT #461 ]
2000-11-15 00:52:04 +00:00
Andreas Gustafsson
6a56be50dd
new result code DNS_R_BADALG
2000-11-15 00:51:17 +00:00
Brian Wellington
b8d6376e1b
the ungettoken changes also broke multiline records.
2000-11-15 00:42:53 +00:00
Andreas Gustafsson
850d708185
562. [cleanup] Moved lib/dns/*conf.c to bin/named where they belong.
2000-11-15 00:36:42 +00:00