Commit Graph
2504 Commits
Author SHA1 Message Date
David Lawrence c5944292e9 361. [func] When the RBT find or chain functions set the name and
origin for a node that stores the root label
			the name is now set to an empty name, instead of ".",
			to simplify later use of the name and origin by
			dns_name_concatenate(), dns_name_totext() or
			dns_name_format().

 360.	[func]		dns_name_totext() and dns_name_format() now allow
			an empty name to be passed, which is formatted as "@".
2000-07-31 23:27:25 +00:00
David Lawrence 051d1879fe dns_name_totext() now allows names with 0 labels, which format as "@" 2000-07-31 23:09:49 +00:00
David Lawrence 9658892dbc revert the changes to dns_name_format() back to dns_name_totext() because
dns_name_format() does not print absolute names
2000-07-31 22:34:01 +00:00
David Lawrence 003e911541 tsig.c:136: warning: unused variable `tmp' -- removed 2000-07-31 21:07:11 +00:00
Michael Graff 6d3496c045 Implement additional-from-{glue,auth} [ yes | no ] ;
with yes being the default.  These control searching in the cache and
other zones we are authorative for.  This is mostly for gdib, but
may be useful elsewhere.

The config changes are renaming from glue-from-* to additional-from-*,
since this also prevents DNAME, CNAME, NS, MX, etc. additional data
from being followed.
2000-07-31 21:07:07 +00:00
David Lawrence 23b251fbf2 needs <dns/name.h> for dns_name_t 2000-07-31 20:57:06 +00:00
David Lawrence 65260de947 needs <dns/fixedname.h> now that it rdatastruct.h does not provide it 2000-07-31 20:53:56 +00:00
Brian Wellington 0e93f65e10 Print the key id when DNS_STYLEFLAG_COMMENT is passed to _totext() 2000-07-31 19:47:21 +00:00
Brian Wellington 38c3484647 Replace the internal dst__id_calc() with the visible dst_region_computeid(). 2000-07-31 19:44:21 +00:00
Brian Wellington 2b518b5fb4 fixedname.h is not needed 2000-07-31 19:40:52 +00:00
Michael Graff b4dfb47474 whitespace police 2000-07-31 19:36:48 +00:00
Michael Graff 0eeabc1399 remove trailing blank lines 2000-07-31 19:35:31 +00:00
Brian Wellington 3469c26c0e $INCLUDE didn't work with a quoted filename; now it does. None of the
calls to isc_lex_gettoken were properly handling isc_tokentype_special
tokens; it's now an error to see one.
2000-07-30 20:28:07 +00:00
Brian Wellington 4eabcbb83b In several places, the resolver assigned values to event->ev_sender simply
because the field couldn't be NULL (until recently).  They now use NULL.
2000-07-29 01:18:36 +00:00
Brian Wellington da786e7937 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:27:01 +00:00
Brian Wellington cd54303345 357. [bug] The server would crash if a response contained both
a CNAME and records of the query type.
2000-07-28 22:37:47 +00:00
Brian Wellington f91e126d21 Allow zones with no NS records to be loaded and/or transferred in. Log
an error if the zone is loaded, but continue anyway.
2000-07-28 20:13:47 +00:00
Andreas Gustafsson 98a5693ce7 removed unused variable debug_lexer 2000-07-28 19:33:29 +00:00
Andreas Gustafsson 7edcf7abdf added INSISTs and comments to notify code 2000-07-28 19:32:57 +00:00
Brian Wellington ddbc279e7b Removed some cruft and a crash. 2000-07-28 00:01:59 +00:00
Brian Wellington 019a2ec92c A comment had an extra *. 2000-07-27 23:56:41 +00:00
Brian Wellington 47846b7468 A comment was reformatted badly. 2000-07-27 22:05:04 +00:00
Brian Wellington fbde30645b cd queries would cause the server to hang on exit. 2000-07-27 21:29:58 +00:00
Brian Wellington f15af68028 negative responses to cd queries should work now. 2000-07-27 18:42:08 +00:00
David Lawrence 15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
Brian Wellington 98d010a24a If a negative insecurity proof succeeds, set all of the rdatasets in the
authority section of the message to non-pending, so that the response
has the ad bit set.
2000-07-27 01:26:15 +00:00
Andreas Gustafsson 4d9b99ccb2 the client control event should be a server event,
not a DNS library event
2000-07-26 23:45:55 +00:00
Michael Sawyer a53151d995 Fix up some of the sanatize code and make kits correctly 2000-07-26 23:40:22 +00:00
Andreas Gustafsson 371827c1e0 added missing DNSSAFE license file 2000-07-26 22:41:28 +00:00
David Lawrence 951c247f29 style lint 2000-07-26 21:44:34 +00:00
David Lawrence 894a2f61c9 minor style issue -- missing periods at ends of sentences/phrasesin comments. 2000-07-26 21:32:57 +00:00
David Lawrence ef4010aae7 cross-reference error strings with their result.h macros 2000-07-26 21:31:52 +00:00
Michael Sawyer 761a1c3761 Add sanitizer and hide per-master key code behind sanitizing #ifdefs 2000-07-26 18:47:43 +00:00
Andreas Gustafsson a32738e3e4 352. [bug] Race condition in dns_client_t startup could cause
an assertion failure.
2000-07-26 17:39:12 +00:00
James Brister 6e1de1f55b When unsetting option strings pointer wasn't being NULLed. 2000-07-26 15:21:04 +00:00
Brian Wellington 5b0413f993 Call isc_log_wouldlog to potentially avoid extra work in validator_log. 2000-07-26 00:50:02 +00:00
Brian Wellington 53dc771403 The CD bit changes broke insecurity proofs. They work again. 2000-07-26 00:03:18 +00:00
Brian Wellington 6dc130c7c9 351. [bug] Constructing a response with rcode SERVFAIL to a TSIG
signed query could crash the server.
2000-07-25 22:51:46 +00:00
Andreas Gustafsson ec34015017 dns_c_view_getalsonotify() should attach the list
like both the global and per-zone counterparts now do
2000-07-25 22:38:29 +00:00
Brian Wellington 94ec6e9a1a whitespace fixes 2000-07-25 22:04:33 +00:00
Brian Wellington 69a761838b Support for the cd (checking disabled) bit. Also remove data from the
cache if validation fails.
2000-07-25 22:03:25 +00:00
Brian Wellington 7e0d7323d7 Detach from the iplist obtained from *_getalsonotify. 2000-07-25 20:26:11 +00:00
James Brister b28affc652 Added missing prototypes. 2000-07-25 20:17:52 +00:00
James Brister 07919f7bb8 Do a dns_c_iplist_attach first when returning the iplist from also-notify. 2000-07-25 20:16:00 +00:00
Michael Sawyer 8cfe1a4846 Typo correction in DNS_MAX/MIN_RETRY usage
Don't #define mins/maxes if they are already defined. (per MG)
2000-07-25 19:29:00 +00:00
James Brister d4ab9cd94f 348. [func] New named.conf boolean values 'glue-from-auth' and
'glue-from-cache' now supported in view and global
			options statement.
2000-07-25 17:55:43 +00:00
Brian Wellington 969f24b04c 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-25 17:12:00 +00:00
Andreas Gustafsson 81b94e091c added new fetch option DNS_FETCHOPT_NOVALIDATE 2000-07-25 17:03:21 +00:00
Brian Wellington 60783293cc If a failed positive validation led us to try an insecurity proof, and the
insecurity proof also failed, the validator event should normally contain
the error from the positive validation.
2000-07-25 01:24:18 +00:00
Andreas Gustafsson 398bdb2710 in deleterdataset(), set the DNS_DBADD_FORCE flag
when adding the deletion rdataset so that rdatasets can be deleted
regardless of their trust level
2000-07-25 01:19:51 +00:00