Commit Graph

2858 Commits

Author SHA1 Message Date
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
Brian Wellington
b43d1c1f46 Don't die if a child's key is in the zone and a signedkey file is present. 2001-01-12 23:36:03 +00:00
Brian Wellington
f0e246e271 Fully implement the cachefile option, which allows persistent caching. This
removes some unused code in view.c and uncomments some code in cache.c.
This still isn't really usable, since the trust level of cached data is
not persistent, so all data in the persistent cache will be promoted to
"ultimate" trust on reload.
2001-01-12 22:22:17 +00:00
Brian Wellington
619ee46ac6 Copy cache.in to cache before running the test, so it's not overwritten on
exit.
2001-01-12 22:14:59 +00:00
Andreas Gustafsson
ebb8884123 revert to 1.90 since RT #646 is now fixed by relaxing the
requirements of dbiterators, but keep the removal of the unused structure element 'state'
2001-01-12 19:01:39 +00:00
Mark Andrews
17d8e5cce8 opps paused should be set to false not true before getting the next node. 2001-01-12 10:25:15 +00:00
Mark Andrews
f7321615ea 678. [bug] "tranfer-format one-answer;" could trigger an assertion
failure. [RT #646]
 also removed unused structure element state from axfr structure.
2001-01-12 10:20:05 +00:00
Brian Wellington
7dec36c225 677. [bug] dnssec-signzone would occasionally use the wrong ttl
for database operations and fail. [RT #643]
2001-01-12 01:38:21 +00:00
Brian Wellington
fd70428a03 Only open the random device on server load, not reload. 2001-01-12 00:37:11 +00:00