Commit Graph
278 Commits
Author SHA1 Message Date
Andreas Gustafsson 0442f7d6c1 obey the "allow-transfers" configuration option 1999-12-01 00:27:13 +00:00
Andreas Gustafsson 50f9363435 return NOTIMP, not REFUSED, for IQUERY to more accurately reflect that
we have refused to implement it :-)
1999-11-30 22:35:43 +00:00
Andreas Gustafsson d8c70cbcd7 use new AML code for checking "allow-update" 1999-11-30 22:11:11 +00:00
Andreas Gustafsson d4539375e2 added ns_client_getsockaddr() 1999-11-30 02:49:38 +00:00
Bob Halley c0d5c5dd26 increase number of tasks, make it prime 1999-11-25 00:12:35 +00:00
Bob Halley 53ad327ef5 avoid possible memory leak 1999-11-24 21:05:45 +00:00
Bob Halley 031614c8da Fix typo that was breaking A6 additional section processing. 1999-11-24 19:54:48 +00:00
Bob Halley feee451098 log queries at debug level 1 1999-11-23 20:55:33 +00:00
Bob Halley 3f0751e5af move debugging output to level 3 1999-11-23 20:55:02 +00:00
Bob Halley 93fa7f3078 conform to a6 API changes 1999-11-22 19:52:39 +00:00
Andreas Gustafsson 1a3d6530f6 deleting the last NS should always succeed when not at the zone apex 1999-11-19 19:07:16 +00:00
Andreas Gustafsson 5012c7b994 obey the allow-update configuration statement, kind of -
allowing a key will currently allow any key, and allowing an IP address
will allow updates from any IP address
1999-11-18 22:29:45 +00:00
Bob Halley 672893c239 If the client used TCP, tell the resolver to do so as well. 1999-11-16 21:08:59 +00:00
Bob Halley f9d8c276c1 move TSIG and TKEY destroy routines to server.c 1999-11-05 20:20:18 +00:00
Brian Wellington 31b6349dbb added dns_tkey_destroy 1999-11-05 16:53:24 +00:00
Bob Halley ecda717550 deal with negative responses in query_simplefind() 1999-11-03 23:50:39 +00:00
Bob Halley 83ffabbfe1 Deal with negative cache responses when using dns_db_findrdataset(). 1999-11-03 20:20:38 +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 f977908972 log dynamic update signature approval 1999-11-02 23:47:41 +00:00
Andreas Gustafsson 8e8c5f7081 require a valid signature on dynamic updates 1999-11-02 23:37:04 +00:00
Andreas Gustafsson ea398d3eba result code was not always being set on failure 1999-11-02 19:17:39 +00:00
Bob Halley 904b918f77 Create a default view for class IN if there are no views defined after
loading the configuration file.
1999-11-02 17:21:47 +00:00
Bob Halley 5305b2140b eliminate unused vars 1999-11-02 16:09:02 +00:00
Bob Halley ecd4a905ec more fixes to 1.48 1999-11-02 15:55:39 +00:00
Mark Andrews b3bdf85fd8 get additional section processing working again. 1999-11-02 06:57:30 +00:00
Bob Halley 9f9c0a0a33 make port 53 the default 1999-11-01 18:26:05 +00:00
Bob Halley d55dc2ac56 implement directory option 1999-10-31 19:30:16 +00:00
Bob Halley 4344875f60 Fix linux privilege dropping. 1999-10-31 02:05:31 +00:00
Bob Halley dce6dc45b1 linux_dropprivs() seems to be broken; disable for now 1999-10-30 03:38:52 +00:00
Andreas Gustafsson 1fbb35f902 isc_buffer_putmem() is now in the library 1999-10-29 23:54:37 +00:00
Bob Halley efba17ab56 update client->now when resuming after recursion 1999-10-29 16:17:15 +00:00
Bob Halley 7622df5154 add client->now 1999-10-29 16:16:54 +00:00
Bob Halley 4d1ec6f027 xfrin.c was still listed in SRCS 1999-10-29 15:36:08 +00:00
Brian Wellington ffdcf33647 TSIG uses the new kdeflist accessor, other assorted TSIG/TKEY config updates 1999-10-29 13:56:56 +00:00
Mark Andrews fe37278859 in6_addr.s6_addr is *always* an array. 1999-10-29 06:36:05 +00:00
Mark Andrews 12df8cb49a Fix #include <dns/xfrin.h> 1999-10-29 05:08:55 +00:00
Andreas Gustafsson a474ba139d enabled incoming zone transfer code; there are no SOA
queries yet, so we just do an unconditional transfer attempt at server
startup time for each slave zone
1999-10-29 02:41:56 +00:00
Andreas Gustafsson 81ce556e02 moved xfrin.c from bin/named to lib/dns by repository copy 1999-10-29 02:12:01 +00:00
Andreas Gustafsson f5c1114cd8 checkpoint, introducing new type dns_zonemgr_t 1999-10-29 00:57:34 +00:00
Andreas Gustafsson 71a16ee135 checkpoint, introducing new type dns_zonemgr_t 1999-10-29 00:46:53 +00:00
Andreas Gustafsson 04a1773db3 fixed memory leak (zone was not detached);
eliminated extra newline at end of RRs being logged;
be more explicit about object ownership by setting pointers to NULL
whenever ownership is tranferred
1999-10-29 00:24:36 +00:00
Andreas Gustafsson 30be9a55be allocate message data structures using dns_message_gettemp* in IXFR case, too 1999-10-28 19:11:33 +00:00
Andreas Gustafsson 5b62e9688e question section was missing from AXFR request after previous change;
don't expect TSIGs on *XFR responses if we didn't TSIGn the request;
if TSIG is used, it is required on the first message of the response
1999-10-28 01:10:38 +00:00
Andreas Gustafsson a21582b70e the message library now requires that names are allocated using
dns_message_gettempname()
1999-10-28 00:02:08 +00:00
Brian Wellington 24e49b2133 TSIG initialization moved until after config file parsing 1999-10-27 20:00:40 +00:00
Andreas Gustafsson 7386586e11 use the logging library, not printf 1999-10-26 19:40:18 +00:00
Brian Wellington 90ace4c9e0 preliminary TKEY support 1999-10-26 15:41:48 +00:00
Andreas Gustafsson d65139063d eliminate IRIX compiler warning about unreachable statement 1999-10-25 22:20:50 +00:00
Bob Halley f96d5fd14e add NS_QUERYATTR_CACHEGLUEOK 1999-10-25 21:22:10 +00:00
Bob Halley bf336d5694 Get rid of NXGLUE.
We would fail to do any A6 or AAAA additional data section processing if
the A RR didn't exist.
Suppress cache glue except when generating a referral.
1999-10-25 21:21:55 +00:00