Commit Graph
855 Commits
Author SHA1 Message Date
Andreas Gustafsson 8ebca98e5e pullup:
document that dns_journal_rollforward can return ISC_R_RANGE
2000-08-06 22:11:47 +00:00
Andreas Gustafsson a41f5e8e14 pullup:
Sending a TSIG signed query with a TSIG algorithm that's not
HMAC-MD5.SIG-ALG.REG.INT shouldn't crash the server.  Also, the description
of dns_tsigkey_create was wrong in at least one place, and the function
incorrectly returned an undocumented result.
2000-07-28 23:39:23 +00:00
Andreas Gustafsson 459eb2fc8a pullup:
here's no real difference between the sring and dring parameters, so
call them ring1 and ring2 instead.  Also remove a bogus assertion.
2000-07-28 00:00:23 +00:00
Andreas Gustafsson 65877a9cd2 pullup:
Store tsig keys in an rbt, not a list.
2000-07-27 23:57:35 +00:00
Andreas Gustafsson ab77763643 pullup:
Don't require that tsig keys must be on a keyring.  Also some other cleanup.
2000-07-27 23:45:53 +00:00
Andreas Gustafsson d1d8cb0058 pullup:
dns_dnssec_verifymessage should make sure that it's verifying with the right
key (which should be the case anyway, but it never hurts to check).  Also
fix a memory leak and change a few _tostruct() calls to not allocate memory.
2000-07-27 22:15:22 +00:00
Andreas Gustafsson 6dde69e9d7 pullup:
349.   [bug]           Processing a query with the CD bit set now works
                        as expected.
2000-07-27 21:27:03 +00:00
Andreas Gustafsson ab332c0af6 pullup:
The "Ensures" condition for dns_db_deleterdataset was obviously wrong.
2000-07-24 23:23:16 +00:00
Andreas Gustafsson 7421a1251d pullup: warnings about 'controls' statement moved from omapi code
to named.conf handling code and rephrased
2000-07-12 16:37:13 +00:00
Andreas Gustafsson 83732f814b pullup:
318.   [func]          dns_c_ndcctx_destroy() could never return anything
                        except ISC_R_SUCCESS; made it have void return instead.
(More importantly, this change also adds a missing NULL initialization)
2000-07-11 19:35:13 +00:00
Andreas Gustafsson 0861968cb6 pullup: numerous changes to support OMAPI authentication 2000-07-11 17:23:24 +00:00
Andreas Gustafsson 48a475f1e2 pullup:
323.   [bug]           dns_rbt_findname() did not ignore empty rbt nodes.
                        Because of this, servers authoritative for a parent
                        and grandchild zone but not authoritative for the
                        intervening child zone did not correctly issue
                        referrals to the servers of the child zone.
2000-07-10 23:54:35 +00:00
Andreas Gustafsson 35041870c3 pullup:
308.   [bug]           Treat a SOA record not at top of zone as an error
                        when loading a zone. (RT #154)
2000-07-05 20:49:06 +00:00
Mark Andrews b74e3d974b comment update 2000-06-23 17:30:59 +00:00
David Lawrence 7657358689 does not need isc/types.h 2000-06-23 03:00:30 +00:00
David Lawrence 0980761026 does not need mutex.h 2000-06-23 03:00:01 +00:00
David Lawrence aea59f157b does not need eventclass.h 2000-06-23 02:59:28 +00:00
David Lawrence 5c54d949cf style lint 2000-06-23 02:59:05 +00:00
Brian Wellington d4edcfe5eb Add tsig and tkey log moduleS 2000-06-23 01:51:18 +00:00
David Lawrence 9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
Andreas Gustafsson 0ede98ca38 typo in comment 2000-06-22 21:45:30 +00:00
David Lawrence 28d9fd5381 update_copyrights 2000-06-21 22:45:24 +00:00
Michael Graff 80617c8faa Add using an entropy source to generate a random query ID seed value. 2000-06-21 21:34:43 +00:00
Mark Andrews 3c671ac666 264. [func] Dispatch can not take TCP sockets in connecting
state.  Set DNS_DISPATCHATTR_CONNECTED when calling
                        dns_dispatch_createtcp() for connected TCP sockets
                        or call dns_dispatch_starttcp() when the socket is
                        connected.
2000-06-20 23:52:54 +00:00
James Brister 58c42ee18c 263. [func] New logging channel type 'stderr'
channel some-name {
                                        stderr;
                                        severity error;
                                }
2000-06-20 21:36:49 +00:00
David Lawrence 5336b803ae style lint 2000-06-20 04:12:15 +00:00
Mark Andrews 242dfd9cc6 261 [func] Add dns_zone_markdirty(). 2000-06-19 23:05:32 +00:00
James Brister 0d5d8e2bbf 259. [func] New random-device and random-seed-file statements
for global options block of named.conf. Both accept
                        a single string argument.
2000-06-15 23:38:16 +00:00
Andreas Gustafsson 21eaa04858 added dns_zonemgr_attach(); also changed comments for other
attach() functions to consistently say that the new reference attaches to
the object, not vice versa
2000-06-15 16:11:50 +00:00
Andreas Gustafsson 2f259b4eec commented 2000-06-12 19:23:51 +00:00
Brian Wellington 14c5931d3d tkey cleanups and conversion to the entropy api 2000-06-09 22:33:08 +00:00
Andreas Gustafsson 2bb908bd0b style; removed references to EDNS1 and local compression 2000-06-09 21:52:27 +00:00
Andreas Gustafsson 1cad45e9cf whitespace changes in copyright message 2000-06-09 20:59:32 +00:00
James Brister 47c196192a Rename cache-size config option to max-cache-size and change argument
type to be strict integer (no 'default' or 'unlimited')..
2000-06-09 15:03:28 +00:00
James Brister adf8222185 Rename global option cachesize to cache-size and add corresponding option
to view statement.
2000-06-09 08:48:42 +00:00
Mark Andrews 0791b485bf DNS_ZONE_F_???? -> DNS_ZONEFLG_????
DNS_ZONE_O_???? -> DNS_ZONEOPT_????
Add various missing REQUIRE's
Add / cleanup comments in zone.h
Remove dns_zone_unmount() never implemented.
2000-06-09 06:16:21 +00:00
Mark Andrews bcff319811 Wildcard NS records are not conceptually allowed by RFC 103[45]. 2000-06-09 06:03:47 +00:00
James Brister 71a4339351 Empty named.conf file and empty options statement are now parsed properly.
New cachesize option for named.conf

Fixed incorrect warning about auth-nxdomain usage.
2000-06-08 12:04:56 +00:00
Mark Andrews 0380c44d02 241. [cleanup] nscount and soacount have been removed from the
dns_master_*() arguement lists.
2000-06-07 03:30:02 +00:00
Mark Andrews 265086fc36 Added comments. 2000-06-07 03:12:13 +00:00
Mark Andrews a6733246ea 240. [func] databases now come in three flavours: zone, cache
and stub.
2000-06-07 02:38:41 +00:00
Andreas Gustafsson ee03a00244 changed references to 'binary buffer' in comments
to just 'buffer', as there is no longer a distinction between binary
and text buffers
2000-06-06 17:47:54 +00:00
James Brister 616c83b78b temporarily disable code that validates listen-on and listen-on-v6 lists. 2000-06-06 14:20:03 +00:00
Mark Andrews 7ed73313b1 Add function to determine whether a given request used TCP or not. 2000-06-06 02:07:13 +00:00
James Brister c78dc8b001 Added new listen-on-v6 config file statement.
Consider it a config file error if a listen-on statement has an IPv6
address in it, or a listen-on-v6 statement has an IPv4 address in it.
2000-06-05 22:08:50 +00:00
Andreas Gustafsson f1f2f8bd47 Wired up the new 'port' option. Also, the interface manager now has
both a 'listen-on' and a 'listen-on-v6' ACL.  We are still waiting for
the 'listen-on-v6' config file option to set the latter explicitly,
but at least the default value now tracks the 'port' option and the
'-p' command line option.
2000-06-05 19:10:13 +00:00
James Brister 029f5aa861 Conversion of various config file values to isc_uint32_t. 2000-06-05 09:17:14 +00:00
James Brister 69b691c962 Support new 'port' clause in config file options section. Causes
'listen-on', 'masters' and 'also-notify' statements to use its value
instead of default (53).
2000-06-04 19:51:22 +00:00
Brian Wellington 4fe8755480 Use the new DST API 2000-06-02 18:59:33 +00:00
Andreas Gustafsson 11d0a4a55e wired up the sig-validity-interval option; renamed its
access functions in the config code to be consistent with the option name
2000-06-02 17:31:43 +00:00