Commit graph

3043 commits

Author SHA1 Message Date
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
Andreas Gustafsson
9c7ea152ca When a client object has served its purpose and is not
needed to listen for new requests, do not shut it down.  Instead,
wait for pending sends to finish and then store it on a linked
list of inactive client objects for later reuse.
2000-01-28 23:35:53 +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
Brian Wellington
587368b247 couple of bug fixes, missed a few cases of verbosity-izing 2000-01-28 21:40:24 +00:00
Brian Wellington
a67fc7e1ff verbose option (-v) actually does something, infinite loop fix 2000-01-28 20:33:41 +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
Bob Halley
d7a26a32f8 add ns_g_username 2000-01-28 20:10:43 +00:00
Bob Halley
7be4ced9e2 os API cleanups; -u support; call ns_os_chroot() 2000-01-28 20:10:26 +00:00
Bob Halley
bcc1d6507b call ns_os_changeuser() from run_server() 2000-01-28 20:09:49 +00:00
Bob Halley
2dfd6bca9a add chroot and changeuser; revise linux privs 2000-01-28 20:09:14 +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
19a3e16a9d Use zone routines to load/dump instead of db routines 2000-01-28 16:36:41 +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
Mark Andrews
6add3af839 check result from lwres_context_create() 2000-01-28 06:24:01 +00:00
Mark Andrews
94e0696f4b Dereference pointer. 2000-01-28 05:39:40 +00:00
Mark Andrews
cbc3546515 Shutup ambiguous `else' warning. 2000-01-28 05:22:02 +00:00
Mark Andrews
4b86e44abb define LWRES_ALIGN 2000-01-28 01:57:42 +00:00
Mark Andrews
fccbfc6504 complete prototype 2000-01-28 01:56:36 +00:00
Mark Andrews
939ac6c3fa return from main rather than exit. 2000-01-28 01:53:11 +00:00
Mark Andrews
d2f992a5fb Only use %ll? when long long int != long int. 2000-01-28 01:48:45 +00:00
Mark Andrews
8a1930d026 Add test for long long int == long int. 2000-01-28 01:47:25 +00:00
Bob Halley
2314617d4a Fix problem with canceling connecting sockets.
The manager will no longer try to dispatch internal events for dead sockets,
preventing a situation where the ref count could go from 0 back to 1!
2000-01-28 01:31:21 +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
291b0d910d dump the contents of the returned packet. 2000-01-28 00:34:18 +00:00
Michael Graff
42533116a5 checkpoint ; forward name lookup (complete with CNAMES) works! A6 chains and
DNAME not yet tested.
2000-01-28 00:33:49 +00:00
Michael Graff
573be0bc6d misc parsing and rendering nits 2000-01-28 00:33:14 +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
3bf3bd6f7f pointer arithmetic on void pointers is illegal 2000-01-27 23:53:40 +00:00
Andreas Gustafsson
6d39d25c55 set configuration lock quotas to 1 2000-01-27 21:20:32 +00:00
Andreas Gustafsson
4ab89b50e5 need #include <dns/rdatatype.h> 2000-01-27 19:45:33 +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
Mark Andrews
2446ecd92d let the build complete 2000-01-27 13:05:13 +00:00
Mark Andrews
ea02307209 aix/solaris checkpoint 2000-01-27 13:04:15 +00:00
Mark Andrews
fb878b9043 @include <isc/net.h> 2000-01-27 12:19:58 +00:00
Mark Andrews
76942b0fed checkpoint 2000-01-27 08:08:03 +00:00
Mark Andrews
f40036cbd6 link gxbn_test into build 2000-01-27 08:07:03 +00:00
Mark Andrews
b9c829dc8f add gxbn_test.c 2000-01-27 07:41:34 +00:00
Bob Halley
f91c2ae744 basic priming support 2000-01-27 02:55:47 +00:00
Michael Graff
dafb96ea51 checkpoint 2000-01-27 02:15:50 +00:00
Michael Graff
5a675fa40a always set find->query_pending correctly 2000-01-27 02:14:53 +00:00
Bob Halley
3013dcc59d hint zone support; more error checking of zone 2000-01-27 01:57:08 +00:00
Bob Halley
e592dd7c34 conform to dns_rootns_create() API change 2000-01-27 01:56:28 +00:00
Bob Halley
42d6e0a1b8 allow the root hints to be built from a file too 2000-01-27 01:55:46 +00:00