Commit Graph

2173 Commits

Author SHA1 Message Date
Michael Sawyer
2a2d5b6c32 And while we're at it, call back into check_if_done() after send_done(),
so things get shutdown in that rare condition...
2000-08-03 18:26:22 +00:00
Michael Sawyer
3ab1cd05b8 Don't INSIST something which is rarely, but legitimately, not true. 2000-08-03 18:23:16 +00:00
Michael Sawyer
19c8df90f1 Support yet another strange set of nslookup options.
nslookup - nameserver         nslookup -nameserver
are both listed in the old man page.  Both now are supported.
2000-08-03 17:43:06 +00:00
Brian Wellington
3fe99b84d6 removed cruft 2000-08-03 13:42:46 +00:00
Michael Graff
dd7682a5de only check in the view if it isn't NULL 2000-08-03 00:41:26 +00:00
Andreas Gustafsson
00d527364a spacing 2000-08-02 22:39:01 +00:00
Michael Graff
cb9aa603ab wire up the {min,max}-{refresh,retry}-time stuff 2000-08-02 22:29:16 +00:00
David Lawrence
899f489fd4 Don't bother assigning the result of dns_c_ndcopts_getdefserver to
the variable 'result', since the result of the operation is already
discovered based on whether 'servername' gets set.
2000-08-02 21:03:50 +00:00
David Lawrence
076c955ef0 use an isc_constregion_t for the region that points to the authors.bind name 2000-08-02 20:55:40 +00:00
David Lawrence
dbe4e41b81 what an idiot. I accidentally removed the const in my last revision. 2000-08-02 20:47:21 +00:00
David Lawrence
03a89d7938 literal strings are type char, not unsigned char 2000-08-02 20:44:31 +00:00
James Brister
385a9cb48a 369. [func] Support new named.conf options, view and zone
statements:

				max-retry-time, min-retry-time,
				max-refresh-time, min-refresh-time, max-names.
2000-08-02 20:44:27 +00:00
David Lawrence
9805b668b7 isc_buffer_putmem() takes an unsigned char as its second argument but a literal
string is of type char, so a couple of different OSs were complaining.
The 2nd parameter to isc_buffer_putmem() should probably be a const void *,
but rather than deal with changing the API and whatever that implies
with regard to versioning and whatever else, I have instead worked around
the issue by using isc_buffer_putuint8() to add a NUL to the buffer in
the two places that isc_buffer_putmem(&b, "", 1) was used.
2000-08-02 20:27:14 +00:00
David Lawrence
5564b21be5 use ISC_TF() to return an isc_boolean_t 2000-08-02 19:53:33 +00:00
David Lawrence
044ec47f7d oops, erroneously added a _ before a variable that was being used. 2000-08-02 19:52:28 +00:00
David Lawrence
887a063838 sevent and query were not used by send_done() 2000-08-02 19:49:57 +00:00
David Lawrence
281b7ba834 Variable "have_host" was set but never used. -- removed variable 2000-08-02 19:47:17 +00:00
Brian Wellington
bd77de5fca 368. [func] Restructure the internal ".bind" view so that more
zones can be added to it.
2000-08-02 18:13:08 +00:00
Michael Sawyer
48674819eb 367. [func] Allow proper selection of server on nslookup command
line.

 366.   [func]          Allow use of '-' batch file in dig for stdin.
2000-08-02 17:58:07 +00:00
Michael Sawyer
5da4ef4cf4 A few more minor changes; minor code cleanup and improved error reporting
of errors in thye recv call.
2000-08-02 14:38:51 +00:00
Brian Wellington
aabfa856aa Memory could be leaked if an improper signed keyset was seen. 2000-08-02 13:51:02 +00:00
Brian Wellington
9594482ba3 365. [bug] nsupdate -k leaked memory. 2000-08-02 02:34:40 +00:00
David Lawrence
edf8c55546 362. [bug] rndc no longer aborts if the configuration file is
missing an options statement. [RT #209]
2000-08-01 14:50:15 +00:00
David Lawrence
a64c84272d when using strtol to parse a number that is supposed to be smaller than the
range of a long integer, parse it into a long integer and then range check
2000-08-01 14:02:41 +00:00
David Lawrence
40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
Michael Sawyer
082bc93d68 Various changes (mostly small) picked up in code review 2000-08-01 00:53:20 +00:00
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
Brian Wellington
36e0c37908 359. [bug] dnssec-signzone occasionally signed glue records. 2000-07-31 23:11:23 +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
Brian Wellington
e4bd5f6907 fixedname.h wasn't being included 2000-07-31 22:11:13 +00:00
David Lawrence
90fc267992 needs <dns/fixedname.h> now that it rdatastruct.h does not provide it 2000-07-31 21:13:38 +00:00
David Lawrence
d1d5229cc9 needs <dns/fixedname.h> now that it rdatastruct.h does not provide it 2000-07-31 21:07:25 +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
Brian Wellington
abb04a9d70 Don't print "stop typing" if the user interrupted the entropy gathering. 2000-07-31 20:38:27 +00:00
Brian Wellington
c1ee9be19b clean up the text relating to pseudorandom input. 2000-07-31 19:39:42 +00:00
Michael Graff
b4dfb47474 whitespace police 2000-07-31 19:36:48 +00:00
Brian Wellington
529a6b5224 358. [cleanup] Rename the intermediate files used by the dnssec
programs.
2000-07-31 15:28:21 +00:00
Brian Wellington
b4e3970226 -h wasn't handled properly. 2000-07-30 20:53:49 +00:00
Michael Sawyer
7d1b7c45a3 Allow RNCD connects from any address 2000-07-29 00:26:22 +00:00
Andreas Gustafsson
e0f23ee828 check that the server copes with responses containing a CNAME
and other data
2000-07-28 22:42:42 +00:00
Michael Sawyer
86370ee8e6 Handle axfr's of empty zones correctly. 2000-07-28 21:56:53 +00:00
David Lawrence
5f3375c4be use "do { ... } while (1)" form of infinite loop to shut up some compilers 2000-07-28 03:39:12 +00:00
David Lawrence
74b4a3512f gethostbyaddr takes signed char pointer, not unsigned, as its first argument.
wrap lines at column 79.
2000-07-28 03:31:25 +00:00
David Lawrence
0d489aae41 missing newline 2000-07-28 02:59:05 +00:00
Andreas Gustafsson
3342c783e3 make distclean should remove conf.sh 2000-07-28 01:37:05 +00:00
Brian Wellington
dbbf071676 ignore and clean up the dig.out.ns1.after file 2000-07-28 00:38:08 +00:00
Brian Wellington
eec79d5e4d more isc_memdebugging cleanup 2000-07-28 00:04:44 +00:00
Brian Wellington
bf9163715d isc_mem_debugging cleanup 2000-07-27 23:52:30 +00:00
David Lawrence
5f6b0ea19a somehow this got missed with the mega-update_copyrights run 2000-07-27 23:49:40 +00:00
Brian Wellington
299b673e8e isc_mem_debugging is now an int, not an isc_boolean_t 2000-07-27 23:27:37 +00:00