Commit graph

1015 commits

Author SHA1 Message Date
Andreas Gustafsson
37fb395fd7 it makes no sense for a forward zone to have
a {min,max}-re{try,fresh}-time or zone-statistics option
2000-11-28 22:42:37 +00:00
Andreas Gustafsson
0b2d261301 removed sdb NOMINUM_PUBLIC cruft 2000-11-28 02:10:03 +00:00
Andreas Gustafsson
9259fed3d8 Continue move of lib/dns/*conf.c stuff to bin/named 2000-11-27 19:42:38 +00:00
Mark Andrews
dfd7798d8b 578. [func] Notify-source, specify the source address for notify
messages.
2000-11-25 02:43:56 +00:00
Andreas Gustafsson
eac8e1d5fc added DNS_LOGMODULE_SDB 2000-11-23 02:25:02 +00:00
Bob Halley
15af30dfc1 add DNS_R_CNAMEANDOTHER and DNS_R_SINGLETON 2000-11-22 00:16:41 +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
cffe50abf6 Lots of copyright updates 2000-11-18 03:01:17 +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
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
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
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
Mark Andrews
bba79bc76f remove NOMINUM_PUBLIC_DELETE 2000-11-16 21:58:09 +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
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