Commit Graph

2201 Commits

Author SHA1 Message Date
Brian Wellington
95e47f4552 ipv6 support 2000-08-09 18:44:13 +00:00
Andreas Gustafsson
88301f84d1 print the deprecation warning message to stderr, not stdout 2000-08-09 18:35:40 +00:00
David Lawrence
a6be86b41b "@" is now the relative name returned for a chain that points to the absolute
root of the rbt.
2000-08-09 04:50:21 +00:00
David Lawrence
37cd2a0d29 style lint 2000-08-09 04:49:44 +00:00
David Lawrence
816e576f77 new URL for the copyright notice 2000-08-09 04:37:43 +00:00
David Lawrence
7cad5b3dbb use isc_log_wouldlog() to see whether to call log_rr(), and in log_rr()
don't bother using isc_buffer_usedregion() since the desired region
values are easily accessible with the isc_buffer_used{,length}() functions.
2000-08-09 04:17:49 +00:00
David Lawrence
40817ed9c1 378. [func] named and lwresd will log the command line arguments
they were started with in the "starting ..." message.
[RT #165]
2000-08-09 03:44:42 +00:00
Brian Wellington
128da6abae use putc instead of fwrite, since only 1 character is being written at a time. 2000-08-09 01:37:33 +00:00
Brian Wellington
14cd2549a4 Accidentally left in a call to htons(). 2000-08-09 00:57:48 +00:00
Brian Wellington
ac0e6a081f Always produce the same random data. 2000-08-09 00:30:57 +00:00
Brian Wellington
babeb4b142 Added copyright. 2000-08-09 00:21:26 +00:00
Andreas Gustafsson
e605e98f3e use DNS_NAME_MAXTEXT/DNS_NAME_FORMATSIZE 2000-08-09 00:09:36 +00:00
Andreas Gustafsson
ff56121a98 use isc_log_wouldlog() 2000-08-08 23:57:13 +00:00
Andreas Gustafsson
b232fc9f06 style 2000-08-08 23:56:10 +00:00
Andreas Gustafsson
0df41d7b0f more decrufting 2000-08-08 23:37:05 +00:00
Andreas Gustafsson
7048bc2b71 wired up and implemented the max-names zone option (for GNI) 2000-08-08 23:14:29 +00:00
Brian Wellington
a7290af88f Added a small program to generate "random" data. It's not really random,
but it's only for tests.  This allows the large files containing random
data to be removed from the tree.
2000-08-08 21:47:55 +00:00
Andreas Gustafsson
70bdf57594 allow up/down as synonyms for start/stop 2000-08-08 19:57:31 +00:00
Andreas Gustafsson
40b1b44ed6 377. [bug] WHen additional data lookups were refused due to
allow-query, the databases were still being
                        attached causing reference leaks.
2000-08-08 19:16:19 +00:00
Brian Wellington
ab8668fb58 376. [bug] The server should always use good entropy when
performing cryptographic functions needing entropy.
2000-08-08 18:15:18 +00:00
Andreas Gustafsson
575db903aa 375. [bug] Per-zone allow-query did not properly override the
view/global one for CNAME targets and additional
                        data [RT #220].
2000-08-08 17:14:33 +00:00
Andreas Gustafsson
b534d5f57f INSIST added in previous change did not compile 2000-08-08 01:56:44 +00:00
Andreas Gustafsson
2ebe19d1a2 SOA in authoritative negative responses had wrong TTL (RT #212) 2000-08-08 00:46:00 +00:00
Andreas Gustafsson
992b1b2aee rephrased a comment; added an INSIST 2000-08-08 00:44:21 +00:00
Andreas Gustafsson
a4c55a3d08 373. [func] nslookup is now installed by "make install". 2000-08-08 00:16:28 +00:00
Andreas Gustafsson
37e6e0ca13 coding style 2000-08-07 23:54:46 +00:00
Andreas Gustafsson
91614f2bc4 don't try to remove newline from the output
of dns_rdataset_totext() if it returned failure
2000-08-07 20:41:52 +00:00
Brian Wellington
e8892697f9 Incrementally write the signed zone instead of adding all of the SIG
records to the database and using dns_db_dump.
2000-08-03 20:10:05 +00:00
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