Commit Graph
50 Commits
Author SHA1 Message Date
Michael Graff 915723e400 Copy addresses out, rather than keeping pointers to them from a buffer. This
simplifies code at the expense of copying more.  It is, however, the
easiest way to get sortlist working correctly.  ipv6 addresses now sort
as well.
2000-03-12 01:58:41 +00:00
Michael Graff d736db6dc5 lwres get-addr-by-name returns a linked list, not an array, of names. This
was needed to make adding the sortlist code, which will be checked in
in a few minutes.
2000-03-10 23:11:36 +00:00
Michael Graff 2311073ce0 handle resolv.conf 'search' line, client side. Also, fix a bug in lwresd that would return success, but no addresses, for NXDOMAIN or NXRRSET. 2000-03-10 22:11:14 +00:00
David Lawrence edcd1247ad isc_log_create now has three parameters, the additional one used to
return an isc_logconfig_t.  isc_log_cretechannel and isc_log_usechannel
now take an isc_logconfig_t instead of an isc_log_t; this is to address
reconfiguration in a multithreaded environment.

isc_logconfig_create, isc_logconfig_get, isc_logconfig_use and
isc_logconfig_destroy were added to work with the new isc_logconfig_t type.

isc_logregister_categories and dns_log_init are now both void rather than
returning isc_result_t.
2000-02-26 19:57:02 +00:00
Michael Graff 7eecba1d43 use forwarders from resolv.conf 2000-02-18 03:53:56 +00:00
Michael Graff d85ad40f97 remove hex dump of packets sent 2000-02-18 03:53:35 +00:00
Michael Graff 1fc244c82f parse /etc/resolv.conf, but don't yet do much about it. 2000-02-18 01:37:38 +00:00
Michael Graff 9094466faf return 'lame' servers, too. This is after all why I put that flag there... 2000-02-16 17:21:41 +00:00
Michael Graff 5be443d94b implement a 10 minute bitstring-reverse-query avoidance if we tried once and
it failed with ISC_R_FAILURE, DNS_R_SERVFAIL, or DNS_R_FORMERR.
This makes it so we don't try the bitstring lookup when it will most
likely fail.
2000-02-16 01:51:17 +00:00
Michael Graff 543da41dbb fix a memory leak I just created. 2000-02-14 22:54:03 +00:00
Michael Graff 9a3210af1b implement noop, fix memory leaks 2000-02-14 21:56:08 +00:00
Michael Graff cf53d35e3d kill return; at end of function 2000-02-14 21:21:03 +00:00
Michael Graff 1f44824581 use bitstrings first, then nibble mode 2000-02-14 21:11:52 +00:00
Andreas Gustafsson 3fe86e8ae7 include ${CFLAGS} on linker command line so that
"configure CFLAGS=-pg && make" does the right thing
2000-02-14 18:46:16 +00:00
Michael Graff b44c3c7399 try nibble mode first, and if that fails, try bitstring mode. This should be
reversed at some point, but not until more people use bitstrings
2000-02-04 01:14:17 +00:00
Bob Halley ca41b452ed update copyrights 2000-02-03 23:08:31 +00:00
Michael Graff 736a33e263 don't free the event twice. 2000-02-03 20:50:06 +00:00
Michael Graff 0194d7c3b1 Fix a logic flow bug. There be ohters, which I will fix asap 2000-02-03 18:46:38 +00:00
Mark Andrews 9a79198176 lint 2000-02-02 01:09:56 +00:00
Bob Halley 0a7f99e6d6 lint 2000-02-01 23:33:39 +00:00
Bob Halley 54e587cfac lint 2000-02-01 20:16:44 +00:00
Michael Graff e31db4546a make get-name-by-addr work fully. 2000-02-01 00:27:03 +00:00
Andreas Gustafsson af01e07509 u_int16_t -> isc_uint16_t 2000-01-31 22:41:44 +00:00
Michael Graff d95e6b2631 add the byaddr bits I hacked on Friday 2000-01-31 19:04:58 +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
Andreas Gustafsson 3bf3bd6f7f pointer arithmetic on void pointers is illegal 2000-01-27 23:53:40 +00:00
Mark Andrews 2446ecd92d let the build complete 2000-01-27 13:05:13 +00:00
Michael Graff dafb96ea51 checkpoint 2000-01-27 02:15:50 +00:00
Bob Halley e592dd7c34 conform to dns_rootns_create() API change 2000-01-27 01:56:28 +00:00
Bob Halley 5bd937c666 conform to dns_view_createresolver() API change 2000-01-26 16:59:05 +00:00
Michael Graff 7a196c5d60 checkpoint; returns error packet, but that's tommorow's work 2000-01-26 02:16:47 +00:00
Michael Graff 7f993e5316 checkpoint; another leak found. Error replies work correctly now, too. 2000-01-26 01:32:19 +00:00
Michael Graff ab41280797 checkpoint; no memory leaks, finds run 2000-01-26 01:18:55 +00:00
Michael Graff d218bede14 use the way-cool isc_task_setname() function, hoping there will eventually be a isc_taskmgr_stats() call 2000-01-25 20:05:13 +00:00
Michael Graff 5294500a3d checkpoint 2000-01-25 02:22:17 +00:00
Michael Graff 4ae4759f0a fix a few memory leaks, but create a new one. Grr. 2000-01-25 02:16:20 +00:00
Michael Graff 2343e814ea checkpoint 2000-01-25 01:48:53 +00:00
Michael Graff 11de9fbd8d split into seperate files. 2000-01-24 21:00:04 +00:00
Andreas Gustafsson c6102b0b77 fix bug in previous change 2000-01-22 02:15:36 +00:00
Andreas Gustafsson cab7fe2cca use dns_rootns_create() from libdns 2000-01-22 02:11:30 +00:00
Michael Graff 9602340acd checkpoint 2000-01-22 01:58:49 +00:00
Mark Andrews a999dffe49 dns_adb_createfind() has a new arguement. Set to NULL to allow builds to
complete.
2000-01-21 04:55:57 +00:00
Michael Graff 3e5981eec2 checkpoint 2000-01-21 01:32:10 +00:00
Michael Graff 0061a9d4a3 add client state bits, and start on individual parsing functions. 2000-01-20 21:35:47 +00:00
Michael Graff df11e74a70 each client mgr attaches to the view once on startup, and once on exit. 2000-01-20 01:24:53 +00:00
Michael Graff d24a3d2f93 view is created and passed to client managers. Client state is begun -- needs work. 2000-01-20 01:22:34 +00:00
Michael Graff bcb94f473f create a view and all the goop associated with it. 2000-01-20 00:54:27 +00:00
Michael Graff f497ab709d checkpoint 2000-01-20 00:07:51 +00:00
Michael Graff dd5f72cc1c checkpoint 2000-01-20 00:05:11 +00:00
Michael Graff 03eb24f79a checkpoint new lwresd code 2000-01-19 01:27:30 +00:00