Commit Graph

1699 Commits

Author SHA1 Message Date
Michael Graff
fb12d257ef plug some memory leaks found durring interop testing 1999-11-09 05:39:45 +00:00
Bob Halley
b223821425 ANY queries should not match negative cache entries 1999-11-09 02:27:46 +00:00
Bob Halley
65f9103cc5 destroy routine now does nothing if init failed 1999-11-05 20:19:24 +00:00
Bob Halley
edee9a8a12 If we discover a server is broken for a zone, don't talk to it for 10
minutes.
1999-11-05 20:16:45 +00:00
Brian Wellington
37300957db added dns_tkey_destroy, other minor fixes 1999-11-05 16:53:47 +00:00
Brian Wellington
31b6349dbb added dns_tkey_destroy 1999-11-05 16:53:24 +00:00
Bob Halley
61b103daed RTT support 1999-11-05 09:50:52 +00:00
Bob Halley
28ab8277a0 create adb list types 1999-11-05 09:49:53 +00:00
Michael Graff
6dde125c2f be more cautious when updating expire times, and unify name/address buckets 1999-11-05 02:05:06 +00:00
Bob Halley
f924db5119 1000 nanoseconds in a microsecond, not 10000 1999-11-04 21:40:49 +00:00
Bob Halley
a2cc581af9 enable processing of type 3 nodata/nxdomain 1999-11-04 19:39:16 +00:00
William King
888a65ed82 AIX 4.3 T_TIMEOUT in sys/timer.h conflicts with ours. badbeef. 1999-11-04 19:36:00 +00:00
Michael Graff
569d094440 An additional coredump avoiding REQUIRE() 1999-11-04 18:45:21 +00:00
Michael Graff
b06ac13313 check for NULL before filling in retured node pointer. 1999-11-04 18:42:27 +00:00
Bob Halley
3165855ecf Do not treat a negative cache entry as "the answer" if we've already got
the answer due to CNAME/DNAME chaining.

Do not try to make a negative cache entry if we've chained outside of the
query domain.
1999-11-04 18:38:14 +00:00
Michael Graff
ef5e39139c remove checks for null view, since we won't let that happen. Add a bit
of code to avoid pounding on servers that we can't find the addresses
of.  Right now the adb just stops checking for 5 minutes.
1999-11-04 09:42:46 +00:00
Michael Graff
c68421fffe clean up selection of which fetch is which in combined callback for A/AAAA 1999-11-04 09:04:29 +00:00
Michael Graff
f788a57046 reset partial flag only when deleting names 1999-11-04 08:50:12 +00:00
Michael Graff
65f6d2e1c1 clean up macros to avoid HAVE_* names. First a6 is a fetch, not name, attribute. 1999-11-04 08:48:47 +00:00
Michael Graff
93d3a6fd20 Don't say we're actually expiring addresses unless we really do. 1999-11-04 08:35:45 +00:00
Michael Graff
11e89b9b44 update the right ttl in a/aaaa db lookups. Print ttl in seconds from now, rather than absolute time. 1999-11-04 08:29:06 +00:00
Michael Graff
499371d17c call dns_rdataset_init() on temprdatasets returned from
dns_message_gettemprdataset().  This is the only way to
allow us to insist that they are not associated when
returned via puttemprdataset().
1999-11-04 06:59:59 +00:00
Michael Graff
3d12fa7e76 snapshot; start noting negative cache ttls 1999-11-04 06:46:05 +00:00
Bob Halley
a7c6cb0a8c Remove remnant of old TTL code that broke $TTL. 1999-11-04 06:12:40 +00:00
Mark Andrews
6314cd3338 Support $TTL w/ BIND 8 format
dns_ttl_fromtext() to return DNS_R_BADTTL not DNS_R_SYNTAX.
1999-11-04 01:21:28 +00:00
Bob Halley
307fed93c4 allow negative cache entries to be returned 1999-11-03 19:58:00 +00:00
Bob Halley
79bbb290d9 deal with negative cache results 1999-11-03 19:57:32 +00:00
Bob Halley
9736378f29 dns_resolver_createfetch() now logs the name and type of the fetch.
Move most tracing to debug level 3.
1999-11-03 19:56:47 +00:00
Brian Wellington
e9455289ec fill in creator on new TSIG, improved identity handling 1999-11-03 16:53:56 +00:00
Brian Wellington
0f0162e629 cleanup of a reference leak 1999-11-03 16:52:28 +00:00
Bob Halley
55254a46f9 first try at type 3 negative responses 1999-11-03 03:20:34 +00:00
Bob Halley
75841ddeb0 add missing DNS_DBFIND_GLUEOK 1999-11-03 03:20:16 +00:00
Bob Halley
77b9650eb1 Improve response caching logic.
First try at handling type 3 negative replies.
1999-11-03 03:19:17 +00:00
Mark Andrews
19c5c23ef6 fix compiler warning: While loop condition is always non-zero.
nxt_30.c enforce type range to 1..127. DNS_R_RANGE otherwise.
1999-11-03 01:07:02 +00:00
Andreas Gustafsson
e7e74c22de the 'covers' field was not being set in dns_diff_load() 1999-11-03 00:24:47 +00:00
David Lawrence
00a2ffb4ee fluff: compare a pointer to NULL 1999-11-03 00:17:11 +00:00
Brian Wellington
4a2f65ad8a uninitialized variable 1999-11-02 23:40:05 +00:00
Brian Wellington
5c688a008a A bit of SIG(0) cleanup 1999-11-02 22:58:29 +00:00
Michael Graff
f2762b0d99 check for more things with INSIST() 1999-11-02 21:29:13 +00:00
Brian Wellington
0b764d91c9 - updates to dns_message_signer to handle SIG(0) as well as TSIG
- SIG(0)'s can be rendered, and information is stored to allow them to be
verified after parsing.  This needs some cleanup work done.
1999-11-02 19:59:04 +00:00
Brian Wellington
322b0fb39d added DNS_R_NOIDENTITY 1999-11-02 19:57:13 +00:00
Brian Wellington
8ba45599d6 processdelete checks the key's identity 1999-11-02 19:56:34 +00:00
Brian Wellington
d598338952 Added the concept of a signature's identity - either from a SIG(0) key, a
statically configureed TSIG key, or the creator or a generated TSIG key.
1999-11-02 19:55:45 +00:00
Brian Wellington
0a1c6f36c8 preliminary SIG(0) support 1999-11-02 19:53:41 +00:00
Brian Wellington
57a750e9ee yet another case of missing trailing dots 1999-11-02 19:52:29 +00:00
Michael Graff
517274e709 kill name->query_pending, since that bitmask is really represented more
accurately by other means.  Reverse the sense of fetch checking from
NO_FETCH_A() and NO_FETCH_AAAA(), etc to NAME_FETCH_A(), NAME_FETCH_AAAA(),
and add address family checks like NO_FETCH_V4() and _V6().

Fix a database dump bug where the A fetches were printed twice rather than
printing the AAAA fetches.  Add printing of A6 fetches.
1999-11-02 18:36:54 +00:00
James Brister
e42197260c Support forward and forwarders values inside master, slave and stub zones. 1999-11-02 15:49:44 +00:00
Mark Andrews
9088094680 Add read support for BIND 8 TTL / counter format to soa.
Move bind_ttl to ttl.c and rename dns_ttl_fromtext and dns_counter_fromtext,
fix bug in handling of seconds (x 1 not x 60), can also handle raw number.
1999-11-02 13:07:53 +00:00
James Brister
3f8c638594 Support rfc2308-type1 options statement. 1999-11-02 09:13:48 +00:00
David Lawrence
0ae0a1f038 checkpoint conversion to ISC (doc/dev/coding.html) style.
* no spaces around " -> " in indirect postfix expression.
  * no space between function name and open parenthesis.
  * no space between array name and open bracket.
  * use NULL not 0 for pointers.
  * explicitly compare pointers to NULL.
  * explicitly compare integers to 0.
  * Do not cast NULL.
  * return type of function declaration on line by itself.
  * open brace of function definition follows close parenthesis if parameters
    all fit on one line.
  * comment-only lines start with /* on line by itself, and end with */
    on line by itself.
  * variable names in structures separated from their types in a column.
  * name the parameters in function prototypes.
  * ifndef multiple header file inclusion.

and other BIND9 conventions not in coding.html:

  * private structures defined in relevant source module, not private header.
  * RCS /* $Id: $ */ comments.
  * Principal Author (Ted Lemon) comments.
  * Updated ISC copyrights.
  * Parenthesize value of return().
  * Parenthesize argument of sizeof().
  * "unsigned int foo" not "unsigned foo".
  * ISC_LANG_(BEGIN|END)DECLS in header files.
  * header files included directly by source/header file that needs them.
  * ... and others I am probably forgetting.

and conversion to some libisc.a modules:

  * use isc/int.h for isc_uintXX_t types, not u_intXX_t.
  * use isc/assertions.h for REQUIRE() and INSIST().
  * use isc/error.h for UNEXPECTED_ERROR.
  * use isc/boolean.h for isc_boolean_t flags instead of int flags.
  * use isc/net.h for networking types.
  * use isc/netdb.h for gethostby*.

STILL TO COME ...

  * more isc_boolean_t.
  * isc/time.h to replace struct timeval.
  * isc/socket.h to replace socket/listen/select/etc.
  * isc/mem.h to replace malloc/free.
  * namespace overhaul & omapi/compatibility.h.

Please collect all your belongings but stand clear of the doors until this
train has come to a complete stop.
1999-11-02 04:01:34 +00:00