Commit Graph

2866 Commits

Author SHA1 Message Date
Andreas Gustafsson
b4876b6ddf simplify dig/host/nslookup code by using the _format() functions in
more places; fix spacing issues; make nslookup print debugging details
for all lookup results, not just those with rcode==0; add comments
2001-01-24 19:28:34 +00:00
Brian Wellington
e2c46d18b3 spelling [RT #705] 2001-01-24 17:30:29 +00:00
James Brister
23360bc8f8 base64-ify the secret. 2001-01-24 15:22:19 +00:00
James Brister
36b8b0b251 base64-ify the secrets in the test config files. 2001-01-24 15:17:36 +00:00
Brian Wellington
aaa761cc39 remove tkey_test and its associated keys, since the tkey system test is
far more useful and comprehensive.
2001-01-24 03:18:36 +00:00
Brian Wellington
8aac4d4723 fix a potential race condition that could occur if the node being iterated
for a SIG query changed between iterations.  Also change a few consistency
checks to INSISTs.
2001-01-24 01:42:41 +00:00
Andreas Gustafsson
9ee323b64b 707. [func] The "filename" argument to named-checkzone is no
longer optional, to avoid reduce confusion. [RT #612]

Also some other minor cleanups of named-checkzone and its man page.
2001-01-24 00:56:56 +00:00
Andreas Gustafsson
3d4454cc2b these files don't belong in the BIND 9 CVS tree. b9status.pl is in the b9t CVS repository, and
we don't care about b8status.pl.
2001-01-24 00:43:09 +00:00
Andreas Gustafsson
6a3b882115 #ifndef USE_GETADDRINFO, not #ifdef USE_GETADDRINFO 2001-01-23 19:55:04 +00:00
Andreas Gustafsson
40562d7208 comment style 2001-01-23 18:47:33 +00:00
James Brister
5905bccacd use new include statement to include ndc.conf-include 2001-01-23 13:13:29 +00:00
James Brister
a21891ee97 file to be included by test ndc.conf 2001-01-23 13:12:50 +00:00
Brian Wellington
d29da750d2 statistics counting was slowing down the server. Make client.c:count_query()
inline and remove dns_stats_ncounters(), which just returned the public
constant DNS_STATS_NCOUNTERS.
2001-01-23 01:50:29 +00:00
Brian Wellington
b151cb7dfa rdataset -> sigrdataset 2001-01-22 23:28:48 +00:00
Andreas Gustafsson
20b6f1e657 misc cleanup 2001-01-22 23:22:09 +00:00
Andreas Gustafsson
4b3e2a344f #ifdef in last change should have been #ifndef 2001-01-22 22:38:21 +00:00
Andreas Gustafsson
8669e2a2eb need <sys/types.h> and <sys/time.h> for select() 2001-01-22 22:29:36 +00:00
Andreas Gustafsson
1d830654f5 removed bitstring avoidance code since it was only effective when
reverse mapping the exact same name multiple times within a 10-minute
window, and the resolver's EDNS0 capability flagging achieves much of
the same effect in a much more general way
2001-01-22 22:29:04 +00:00
Brian Wellington
9fb7cdd126 call getrrsetbyname with a zero length name 2001-01-22 22:12:45 +00:00
Brian Wellington
b9ceffe82f checking for 0 length names is no longer needed. 2001-01-22 22:12:17 +00:00
Brian Wellington
3aac1558c3 delete name operations were broken by the change allowing ttls in delete
commands.
2001-01-22 20:00:56 +00:00
Andreas Gustafsson
634784cb66 701. [func] Root hints are now fully optional. Class IN
views use compiled-in hints by default, as
                        before.  Non-IN views with no root hints now
                        provide authoritative service but not recursion.
                        A warning is logged if a view has neither root
                        hints nor authoritative data for the root. [RT #696]
2001-01-22 19:21:19 +00:00
Andreas Gustafsson
a1cfa2a82d need <isc/print.h> 2001-01-22 18:59:06 +00:00
Andreas Gustafsson
96b8d611a7 alphabetized includes 2001-01-22 18:58:36 +00:00
Brian Wellington
4d30acbac5 698. [bug] Aborting nsupdate with ^C would lead to several
race conditions.
2001-01-21 21:54:32 +00:00
Brian Wellington
131d5feb05 697. [bug] nsupdate was not compatible with the undocumented
BIND 8 behavior of ignoring TTLs in "update delete"
                        commands. [RT #693]
2001-01-21 19:52:06 +00:00
Brian Wellington
76c9d2f6c0 696. [bug] lwresd would die with an assertion failure when passed
a zero-length name.  [RT #692]
2001-01-21 18:50:41 +00:00
Brian Wellington
1ec527b712 693. [bug] An empty lwres statement in named.conf caused
the server to crash while loading.
2001-01-19 01:20:00 +00:00
Andreas Gustafsson
6259fcd6f7 include client address and zone name in dynamic update
log messages
2001-01-18 23:31:03 +00:00
Brian Wellington
6484f6ac04 oops, removed too many sleeps. 2001-01-18 22:43:49 +00:00
Brian Wellington
703e1c0bb6 692. [bug] Deal with systems that have getaddrinfo() but not
gai_strerror(). [RT #679]
2001-01-18 22:21:31 +00:00
Andreas Gustafsson
688a4c50c2 More searchlist/domain handling fixes. Dig/host/nslookup no longer
have the notion that there can be both a search list and a default
domain at the same time.  The resolv.conf "domain" directive is now
used only if there is no "search" directive, and is treated exacly
like a one-element searchlist. The "+domain" option of dig and the
"set domain" command of nslookup are now merely ways of overriding the
resolv.conf search list.  Parents of the name given in the "domain"
directive are still not searched; this is considered a feature and is
consistent with lwres, but different from the BIND 8 resolver. The
"+defname" option to "dig" is now deprecated and treated as a synonym
for "+search"
2001-01-18 05:12:44 +00:00
Brian Wellington
e6c446fd0c make zone_test exit properly [RT #108] 2001-01-18 02:53:57 +00:00
Brian Wellington
47700eeee3 make zone_test compile 2001-01-18 02:36:57 +00:00
Brian Wellington
ad36159e6c Add zone_test to all_tests 2001-01-18 02:35:50 +00:00
Brian Wellington
01b8865b14 689. [doc] man pages are now installed. [RT #210] 2001-01-18 01:33:54 +00:00
Brian Wellington
9fc2037ffe Remove bin/lwresd, as it's no longer used. 2001-01-18 01:00:54 +00:00
Brian Wellington
e037ca879d If "version" is specified in the config file, disable authors.bind [RT #651] 2001-01-18 00:14:20 +00:00
Brian Wellington
d0dc01dd9d Shorten a bunch of sleeps. Let's see if this breaks anything. 2001-01-17 20:53:44 +00:00
Brian Wellington
e56101fa68 consolidate duplicated code. 2001-01-17 02:21:51 +00:00
Brian Wellington
427f933ece use isc_app_block instead of an ugly hack. 2001-01-17 00:48:19 +00:00
Brian Wellington
66921d6dd2 685. [bug] nslookup should always use the search list/domain
options from resolv.conf, and it (and host) should use
                        the search list items first. [RT #405, #630]
2001-01-16 23:15:55 +00:00
Andreas Gustafsson
bda8d67fd4 race condition [RT #670] 2001-01-16 23:02:58 +00:00
Andreas Gustafsson
066cb385cd don't hardcode the magic constant 41 2001-01-16 19:13:10 +00:00
Andreas Gustafsson
93988fb202 use dns_name_format() in more places 2001-01-16 18:52:14 +00:00
Andreas Gustafsson
7ddb4c86a9 breaking out the SOA fields by calling dns_rdata_totext() and then
tokenizing the text representation is sick and demented
2001-01-16 18:39:38 +00:00
Mark Andrews
be387fd057 682. [bug] nslookup diplayed SOA records incorrectly. [RT #665] 2001-01-16 07:28:11 +00:00
Brian Wellington
53ee4a89ad fix copyright 2001-01-13 00:38:08 +00:00
Brian Wellington
cb2fcb2a66 remove a const-related warning 2001-01-13 00:26:09 +00:00
Andreas Gustafsson
cd0d4cbce0 head is not in the default path on irix, but sed is 2001-01-13 00:02:55 +00:00