Commit graph

999 commits

Author SHA1 Message Date
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
Andreas Gustafsson
6a56be50dd new result code DNS_R_BADALG 2000-11-15 00:51:17 +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
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
Brian Wellington
47fa8b4c8f fix outdated comments 2000-11-13 20:12:03 +00:00
Andreas Gustafsson
c2a94d89f9 clarified comments 2000-11-11 01:15:33 +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
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
Mark Andrews
bfcdcde570 implement lame-ttl. 2000-11-08 03:53:16 +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
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
Andreas Gustafsson
41b27cf6b4 removed unused global variable declaration of dns_zone_countsize 2000-11-03 18:43:53 +00:00
Andreas Gustafsson
71b5fa7fb7 commented new dialup-related functions 2000-11-03 18:42:56 +00:00
Andreas Gustafsson
bfb0e358c8 commented dns_view_dialup() 2000-11-03 18:35:31 +00:00
Mark Andrews
0fc89c4ee6 540. [func] Add dialup support. 2000-11-03 07:16:09 +00:00
Brian Wellington
e21d199dca 539. [func] Support the blackhole option. 2000-11-03 02:45:55 +00:00
Brian Wellington
e3e3bafa13 Lookups now return sigrdatasets if they exist. 2000-11-02 00:55:41 +00:00
Mark Andrews
f4166b4dc3 allow transfer-source to be set on master zones.
print the transfer-source port.
2000-10-31 04:20:54 +00:00
Mark Andrews
368b37b616 dns_rdata_invalidate -> dns_rdata_reset 2000-10-31 03:22:05 +00:00
Mark Andrews
04c22ceaf2 536. [func] Use transfer-source{-v6} when sending refresh queries.
Transfer-source{-v6} now take a optional port
                        parameter for setting the UDP source port.  The port
                        parameter is ignored for TCP.
2000-10-31 01:17:19 +00:00
Brian Wellington
bb71d64085 dns_message_checksig should not require a view in all cases 2000-10-27 21:56:57 +00:00
David Lawrence
b65f2ab14a 534. [func] Ancestors have been removed from RBT chains. Ancestor
information can be discerned via node parent pointers.

 533.	[func]		Incorporated name hashing into the RBT database to
			improve search speed.

There is still evidence of a bug with regard to bitstring labels.  It shows
up in bin/test/rbt/t_rbt -x -t 4 when the assertion at lib/dns/rbt.c:1631
is uncommented -- essentially a bitstring node's location in the hashtable
is not getting properly updated at some point.  This shouldn't affect
searching, because a bitstring label as the parent of a new level will
generally cause the standard old binary search to be done.  I will be looking
at this more closely in the very near future.
2000-10-25 07:21:31 +00:00
Mark Andrews
c03bb27f06 532. [func] Implement DNS UPDATE pseudo records using
DNS_RDATA_UPDATE flag.

 531.   [func]          Rdata really should be initalized before being
                        assigned to (dns_rdata_fromwire(), dns_rdata_fromtext(),
                        dns_rdata_clone(), dns_rdata_fromregion()),
                        check that it is.
2000-10-25 04:26:57 +00:00
Mark Andrews
389c749a5e 530. [func] New function dns_rdata_invalidate(). 2000-10-24 02:03:33 +00:00
Brian Wellington
f8a55f9955 Added "ndots" to the lwres{} statement in named.conf 2000-10-20 19:32:49 +00:00
Mark Andrews
29c818c7d4 527. [func] New function dns_rdata_clone(). 2000-10-20 13:22:36 +00:00
Andreas Gustafsson
f8020519b3 added more commentary 2000-10-19 18:09:34 +00:00
Mark Andrews
e6bd97dded Add 'flag' to rdata 2000-10-19 05:50:54 +00:00
Andreas Gustafsson
5a11763ab2 added support for a search{} clause in the lwres{} statement 2000-10-19 01:26:39 +00:00
Andreas Gustafsson
4913f156c4 typo 2000-10-19 01:25:55 +00:00
Andreas Gustafsson
96aa1f5236 spacing 2000-10-19 01:25:38 +00:00
Mark Andrews
b55c30f2de 525. [func] New arguement 'exact' for dns_db_subtractrdataset(),
and dns_rdataslab_subtract() requesting that the RR's
                        must exist prior to deletion.  DNS_R_NOTEXACT is
                        returned if the condition is not met.
2000-10-18 23:53:31 +00:00
Michael Sawyer
55aed608cc Add counters of incoming queries, server-wide and by zone. There is
currently no way to get these counts back *out* of the server, pending
a command channel.  A temporary channel should be built for these data
soon.
2000-10-17 20:57:26 +00:00
Mark Andrews
3688a648ff mising declarations 2000-10-17 10:59:48 +00:00
Mark Andrews
b20ee662a7 521. [bug] Detect master files which contain $INCLUDE and always
reload. [RT #196]

new result code DNS_R_SEENINCLUDE
dns_master_load* can now return DNS_R_SEENINCLUDE
2000-10-17 07:22:39 +00:00
Brian Wellington
8804fd9936 Split off the generic dns query functionality from the byaddr module into
the lookup module, and make byaddr use lookup.
2000-10-17 01:57:42 +00:00
Mark Andrews
20a313a458 Add DNS_R_UNEXPECTEDID. 2000-10-16 04:08:13 +00:00
Mark Andrews
10258f6b3d 515. [bug] The ssu table was not beinge attached / detached
by dns_zone_[sg]etssutable.  [RT#397]
2000-10-13 13:45:45 +00:00
Michael Sawyer
94b50bce2b Add zone-specific reload and refresh capability to server and rndc 2000-10-12 21:52:00 +00:00
Brian Wellington
0e5d6900bd Various hacks to allow (at some point in the future) interoperability
with Windows 2000's broken implementation of TKEY.
2000-10-12 00:40:52 +00:00
Brian Wellington
4a200b9022 Add tkey-gssapi-credential to the options section 2000-10-12 00:38:30 +00:00
Michael Sawyer
dc570b92f6 Add support for proposed ZONE and VIEW opt attributes. These are currently
hidden behind #ifdef's, since no OPT code number has yet to be assigned
by the IANA.  They are also not quite complete in all regards; VIEW
options are understood and ignored.  ZONE options are understood and
acted upon, though some of the error cases aren't quite right.

Remove doubled isc_mem_stats in dighost.c

Update todo list.

Change literal 255's to DNS_NAME_MAXWIRE in name.c
2000-10-11 17:44:18 +00:00
Brian Wellington
6850cdd449 508. [func] dns_message_parse() can now do a best-effort
attempt, which should allow dig to print more invalid
                        messages.
2000-10-06 18:58:30 +00:00
Brian Wellington
4ed956c5c0 current snapshot of gss-tsig code. I'd be surprised if this works with
w2k, but a bind9 client and server can talk.
2000-10-06 17:08:15 +00:00