Commit Graph

1415 Commits

Author SHA1 Message Date
Bob Halley
8057b3a8e4 If dns_adb_createfind() returns DNS_R_ALIAS, do not leak the find.
If dns_adb_createfind() is not successful, don't give up immediately.  Instead,
keep trying to lookup the other nameserver names.
2000-01-28 20:17:32 +00:00
James Brister
c71fc7ffdd Remove definition and use of dns_c_severity_t and replace with dns_severity_t. 2000-01-28 19:56:25 +00:00
Brian Wellington
3b2e285a16 dns_zone_dump() was returning DNS_R_NOMORE when the dump succeeded - should
check for this and return DNS_R_SUCCESS.
2000-01-28 16:10:47 +00:00
Andreas Gustafsson
b4166f2452 if a maybe_wild_addr was wild, the port was not zeroed and
the length was not set
2000-01-28 01:14:41 +00:00
Andreas Gustafsson
4b887af619 obey the transfer-source option of the zone 2000-01-28 01:12:01 +00:00
Michael Graff
02a0f2f083 when we find a CNAME/DNAME, set the result code to DNS_R_ALIAS, so it will
be caught properly in createfind()
2000-01-28 00:32:32 +00:00
Andreas Gustafsson
6d39d25c55 set configuration lock quotas to 1 2000-01-27 21:20:32 +00:00
Andreas Gustafsson
94a3e829e0 added "transfersin" quota variable in zone manager;
use dns_severity_t, not dns_c_severity_t to represent name checking
severities, to eliminate the final dependency on dns/config code
2000-01-27 19:44:49 +00:00
Andreas Gustafsson
ab0ce599ab added dns_severity_t 2000-01-27 19:40:53 +00:00
Andreas Gustafsson
4328bbbe93 #include <dns/confctx.h> is no longer needed 2000-01-27 19:39:59 +00:00
Bob Halley
f91c2ae744 basic priming support 2000-01-27 02:55:47 +00:00
Michael Graff
5a675fa40a always set find->query_pending correctly 2000-01-27 02:14:53 +00:00
Bob Halley
42d6e0a1b8 allow the root hints to be built from a file too 2000-01-27 01:55:46 +00:00
Andreas Gustafsson
6f5ad8833c don't treat missing slave zone file as error when starting up 2000-01-27 01:35:17 +00:00
Bob Halley
92f0280bfb return NOTFOUND if a hints lookup fails 2000-01-27 01:08:09 +00:00
Andreas Gustafsson
057cedf6b5 fix double free introduced by previous change 2000-01-27 01:07:17 +00:00
Andreas Gustafsson
143c2d39fa configuration locking checkpoint 2000-01-27 01:00:16 +00:00
Andreas Gustafsson
a820cd51ec removed 'pubkey' from the zone object; if we decide it is
actually needed, it should be restored but as a dns_pubkey_t,
not dns_c_pubkey_t.
2000-01-27 00:44:56 +00:00
Mark Andrews
dd796c4d62 memset() not declared 2000-01-26 23:45:13 +00:00
Bob Halley
6bfaefc3fd change some logging from INFO to DEBUG 2000-01-26 21:12:04 +00:00
Bob Halley
5b5ab09b34 eliminate port-wiring hack 2000-01-26 19:23:53 +00:00
Bob Halley
0df20c101e add v6 dispatcher and options to resolver creation routine 2000-01-26 16:57:48 +00:00
Bob Halley
e485d16462 name tasks 2000-01-25 19:31:23 +00:00
Bob Halley
08af8bf5ad conform to dns_db_addrdataset() API change 2000-01-25 19:30:51 +00:00
Bob Halley
d127026e58 force referral updates; name tasks 2000-01-25 19:27:30 +00:00
Bob Halley
64e829fffb allow db adds to be forced 2000-01-25 19:26:45 +00:00
Andreas Gustafsson
9f27c51315 iresult -> result 2000-01-24 23:10:19 +00:00
Brian Wellington
fb01226bcd - generated TSIG keys can expire
- TKEY actually uses class ANY now
2000-01-24 22:22:51 +00:00
Brian Wellington
7d86ce8dfc More TKEY updates and fixes... 2000-01-24 20:19:53 +00:00
Brian Wellington
8eb9b0688e - dns_tkeyctx_fromconfig() should always return a valid context if it returns
ISC_R_SUCCESS
- fix memory leak if isc_mem_get fails
2000-01-24 19:57:33 +00:00
Andreas Gustafsson
f93d33e24f separated BIND specific configuration code from rest
of TSIG/TKEY code; renamed TSIG/TKEY context create and destroy functions for
consistency with rest of library
2000-01-24 19:14:26 +00:00
Andreas Gustafsson
c9939598c6 dn_zt_apply() returned ISC_R_NOTFOUND when the zone table was
empty; it now returns ISC_R_SUCCESS
2000-01-24 19:11:21 +00:00
Andreas Gustafsson
389cb82bb5 removed unnecessary #include <isc/lex.h> 2000-01-24 18:14:30 +00:00
Andreas Gustafsson
1aa3837945 dns_rdatatype_totext() needs #include <dns/rdatatype.h> 2000-01-24 18:13:06 +00:00
Brian Wellington
b6666e61dc More TSIG/TKEY minor fixes (including a few more plugged memory leaks) 2000-01-22 04:45:17 +00:00
Bob Halley
29fe07c7a4 Move to DNS namespace. Add ISC_LANG stuff. 2000-01-22 02:36:15 +00:00
Bob Halley
8510686e0c fix typo 2000-01-22 02:35:10 +00:00
Bob Halley
5d2d3e24ce Put the root servers into alphabetical order. 2000-01-22 02:28:04 +00:00
Andreas Gustafsson
8f16e457f7 dns_rootns_create() is now in libdns 2000-01-22 01:59:02 +00:00
Andreas Gustafsson
3a7a4eb1a5 trailing newlines are no longer needed in messages printed
using the rdata callbacks, and were never needed when calling
UNEXPECTED_ERROR
2000-01-22 01:41:17 +00:00
Andreas Gustafsson
2680c1bb61 log master file loading errors through the logging subsystem
by default
2000-01-22 01:38:58 +00:00
Andreas Gustafsson
036df8a12d exit server if loading a zone fails during initial startup
(but not if it fails during a subsequent reload)
2000-01-22 01:36:34 +00:00
Andreas Gustafsson
68c703dd71 GETTOKEN() macro did not set result, causing
dns_master_load() to print messages like "dns_master_load: success".
Also, result of dns_time64_fromtext() was not checked.
2000-01-22 00:28:00 +00:00
Bob Halley
97a274369d edns_level was not being initialized. 2000-01-22 00:26:57 +00:00
Bob Halley
f8d472bac0 Minor cleanups. 2000-01-22 00:23:07 +00:00
Bob Halley
fe197676cc handle CNAME/DNAME results from A6 fetches 2000-01-22 00:19:55 +00:00
Brian Wellington
8dd915daf3 obvious memory leaks 2000-01-21 22:51:48 +00:00
Andreas Gustafsson
c8d4fd8926 support setting the TSIG keys more than once 2000-01-21 22:36:59 +00:00
Andreas Gustafsson
72f8abc08b destroy() did not free TSIG keys; result from dns_tsig_init()
was not checked
2000-01-21 22:15:43 +00:00
Andreas Gustafsson
a523752c60 do DNS_MESSAGE_VALID check in dns_tsig_verify() instead of
dns_view_checksig(); that way view.c does not need to include <dns/message.h>
2000-01-21 21:50:45 +00:00