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
5ed0ffc1f7
clean up const warnings
2000-11-15 22:38:51 +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
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
Andreas Gustafsson
850d708185
562. [cleanup] Moved lib/dns/*conf.c to bin/named where they belong.
2000-11-15 00:36:42 +00:00
David Lawrence
e94e2fe29d
cope with the possibility that the prefix of a name
...
split within a bitstring label might have been compacted to have fewer
labels than what was expected
2000-11-14 23:51:24 +00:00
David Lawrence
e28b5084ec
Bitstring labels *still* suck. They didn't somehow magically get less
...
sucky in the past couple of months. The nerve.
Anyway, dns_name_split now correctly compacts the preceding bitstring label
(if any) when a maximal bitstring is split.
It also correctly creates the suffix when a maximal bitstring is split.
It was doing this incorrectly before, independent of the compaction issue.
2000-11-14 23:48:02 +00:00
Brian Wellington
942d1a339b
Decompression contexts now take a type instead of the "strict" boolean
...
value - the type can be "any", "strict", or "none". This fixes potential
problems with compression in unknown rr types.
2000-11-14 23:29:55 +00:00
Andreas Gustafsson
4301257d29
the 'dialup' access functions operate on dns_dialuptypt_t, not boolean
2000-11-14 20:14:17 +00:00
Andreas Gustafsson
daf99720c9
the existence of a dynamically allocated array for the NXT
...
bits should not depend on its length
2000-11-14 18:14:44 +00:00
Brian Wellington
78d78f05d9
556. [func] The DNSSEC OK bit in the EDNS extended flags
...
is now implemented. Responses to queries without
this bit set will not contain any DNSSEC records.
2000-11-13 21:34:03 +00:00
Andreas Gustafsson
5afc10d6d8
554. [bug] Slave server attempting zone transfer could crash
...
with an assertion failure on certain malformed
responses from the master. [RT #457 ]
2000-11-13 20:12:29 +00:00
Brian Wellington
47fa8b4c8f
fix outdated comments
2000-11-13 20:12:03 +00:00
Andreas Gustafsson
626b221f71
553. [bug] Incoming zone transfers deferred due to quota
...
were not started when quota was increased but
only when a transfer in progress finished. [RT #456 ]
2000-11-13 18:19:27 +00:00
Andreas Gustafsson
ae7e8784aa
log messages should not be capitalized
2000-11-11 02:14:50 +00:00
Andreas Gustafsson
f58cfa95f7
comment formatting
2000-11-11 02:14:25 +00:00
Andreas Gustafsson
c2a94d89f9
clarified comments
2000-11-11 01:15:33 +00:00
Andreas Gustafsson
244e29639a
our coding standards say:
...
Source which becomes obsolete should be removed, not just disabled with
#if 0 ... #endif.
2000-11-11 01:07:32 +00:00
Andreas Gustafsson
dcd12febbd
dns_zone_configure() does not need to special-case hint zones,
...
because it must never be called for them
2000-11-11 01:05:43 +00:00
Andreas Gustafsson
c2f4fe7f95
clarified comment; fixed spacing
2000-11-11 01:02:28 +00:00
Andreas Gustafsson
84abb95f7e
551. [func] Implemented the 'sortlist' option.
2000-11-10 03:41:08 +00:00
Andreas Gustafsson
febaa09184
551. [func] Implemented the 'sortlist' option.
2000-11-10 03:16:26 +00:00
Andreas Gustafsson
b0ce1ff804
typo
2000-11-10 03:14:25 +00:00
Andreas Gustafsson
7f73d29ac5
comments about who is responsible for freeing the memory
...
of rdata and rdatalists borrowed from messages were incorrect
2000-11-10 03:13:03 +00:00
Andreas Gustafsson
97a195d7ff
spacing; incorrect comment
2000-11-10 03:08:57 +00:00
Brian Wellington
ac5921d110
validating that rdata of a known type expressed using the unknown type
...
syntax is correct didn't work.
2000-11-10 01:37:40 +00:00
Brian Wellington
3a16668468
fix a few minor problems in the unknown rrtype support.
2000-11-10 00:25:46 +00:00
Brian Wellington
ebfcb6cf66
550. [func] Support unknown rdata types and classes.
2000-11-09 23:55:05 +00:00
Andreas Gustafsson
673ce7aebb
removed redundant declaration of dns_rdataclass_totext() from rdata.h;
...
it is declared in rdataclass.h
2000-11-09 19:33:51 +00:00
Brian Wellington
787b57597e
The CLASSNAMES array was both unused and incomplete.
2000-11-09 03:03:47 +00:00
Brian Wellington
55b085353a
error message improvements
2000-11-09 02:35:43 +00:00
Brian Wellington
a90dcd1f19
the wrong result code was being printed
2000-11-09 00:20:47 +00:00
Mark Andrews
bfcdcde570
implement lame-ttl.
2000-11-08 03:53:16 +00:00
Brian Wellington
add4043305
The identical gettoken() routines in rdata.c, hex.c, and base64.c have
...
been replaced with isc_lex_getmastertoken().
2000-11-08 01:56:15 +00:00
Brian Wellington
f439363eeb
minor code simplification
2000-11-08 00:51:24 +00:00
Andreas Gustafsson
04bf45fffe
added missing newline
2000-11-08 00:18:18 +00:00
Michael Sawyer
a3a11c4f3f
Add the ability (via rndc dump-statistics) to dump a file with counters of
...
various results given to queries. Enable the (previously disabled)
statistics-file config option.
2000-11-07 23:49:42 +00:00
Brian Wellington
5cca7753fd
RRTYPE -> TYPE for unknown types
2000-11-07 23:44:33 +00:00
Brian Wellington
7499479679
spelling
2000-11-07 23:43:23 +00:00
Mark Andrews
4ec1a96d90
542. [func] Add allow-update-forwarding support.
2000-11-06 08:11:11 +00:00