Commit Graph
1437 Commits
Author SHA1 Message Date
David Lawrence 697de685e1 In xfrin_logv, do not omit the final dot of the zone name if the zone
name is dns_rootname.
2000-01-31 15:10:29 +00:00
David Lawrence e5a213d7ee use isc_net_probeipv6 to decide family of sockaddr_any in dns_zone_configure 2000-01-31 15:09:09 +00:00
Mark Andrews d718d8e129 Use a tmp file to dump the zone to so that we don't destroy the current
version unless we have successfully written to disk.
2000-01-31 07:45:18 +00:00
Mark Andrews 9ec46fafd6 Missed include file 2000-01-31 02:37:58 +00:00
Mark Andrews 89ab345002 dns_zone_dump() -> dns_zone_dumptostream()
replace seperate iteration of zone in dns_zone_dumptostream() with call
to dns_master_dumptostream().
dns_zone_dume() now dumps to database specified in zone.
2000-01-31 02:11:50 +00:00
Mark Andrews fb5363b897 dns_master_dumptostream() from static to public. 2000-01-31 01:51:26 +00:00
Andreas Gustafsson a31e0ba97b leading whitespace caused OSF/1 cpp to ignore #endif directive 2000-01-29 00:53:49 +00:00
James Brister 1549f02958 Zones now have a pointer to their owner view. 2000-01-29 00:04:50 +00:00
James Brister 93c69b1231 Several new fields added to views.
declarations of many new fields accessor/modifier functions.
2000-01-29 00:03:45 +00:00
James Brister 76861e034c New functions declarations. 2000-01-29 00:02:28 +00:00
James Brister 4714bab9f2 Added also-notify and transfer-source options fields.
declarations for new accessors/modifiers.
2000-01-29 00:01:54 +00:00
James Brister 281a0c609d Stripped some dead code.
Move typesdefs here from elsewhere to avoid circular include file
dependencies.
2000-01-29 00:00:42 +00:00
James Brister f53365b930 Fixed printing of zones so they show up properly when nested inside a
view.
Fixed some typos that were causing incorrect bit-twiddeling.
2000-01-28 23:59:28 +00:00
James Brister f49e3e960e Implemented more fields in a view.
Proper output of views and their nested zones and fields.
2000-01-28 23:56:40 +00:00
James Brister 77ae2f2b32 Make ISC_R_EXISTS a possible return value in modifiers.
Added accessor/modifier for key-id list.
2000-01-28 23:55:20 +00:00
James Brister 3b94d5eaf9 Implement ALSO_NOTIFY and TRANSFER_SOURCE in options block.
Corrected type of FORWARDERS.
Implemented several new values in a VIEW.
2000-01-28 23:52:41 +00:00
Andreas Gustafsson 897ba5e120 Abort incoming zone transfers on server shutdown. To support
this, zone transfers now use the zone's task, the zone holds a pointer
to any zone transfer in progress, and the zone now registers a shutdown
callback.
2000-01-28 23:48:58 +00:00
James Brister b402f83472 Change to printing of tkey lists. 2000-01-28 23:48:06 +00:00
James Brister c0b1ee1cc5 Fixed probably with printing masked ip addresses.
Catch bogus mask values.
2000-01-28 23:47:18 +00:00
James Brister d2935a05b8 Fixed printing for zones in views vs. zones not in any view.
Forwarders and some other option values were incorrectly
dns_c_ipmatchlist_t and a dns_c_iplist_t.
Implement missing ALSO_NOTIFY and TRANSFER_SOURCE option handling.
Fixed some errors in printing out option fields.
2000-01-28 23:45:27 +00:00
James Brister 38936c3774 Change to output of control statements. 2000-01-28 23:35:28 +00:00
James Brister a9f1d8edb2 minor output change. 2000-01-28 23:34:52 +00:00
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