Commit Graph
924 Commits
Author SHA1 Message Date
Brian Wellington 942d1a339b Decompression contexts now take a type instead of the "strict" boolean
value - the type can be "any", "strict", or "none".  This fixes potential
problems with compression in unknown rr types.
2000-11-14 23:29:55 +00:00
Andreas Gustafsson f4f43311a6 spacing 2000-11-14 21:30:24 +00:00
Brian Wellington e030123312 The lwresd usage statement was badly formatted. 2000-11-14 20:04:54 +00:00
Andreas Gustafsson 50faa6daf7 refactored sortlist code to make it possible to sort addresses
that are not part of an rdata, as required by lwresd
2000-11-14 03:30:53 +00:00
Andreas Gustafsson 221fd7bd53 refactored sortlist code to make it possible to sort addresses
that are not part of an rdata, as required by lwresd
2000-11-14 03:22:53 +00:00
Brian Wellington 4085eb3cf0 don't crash when config parsing fails, fail nicely. 2000-11-14 00:37:19 +00:00
Brian Wellington b9dbff6ffb fix a reference leak and a memory leak on reconfiguration failure. 2000-11-13 23:35:24 +00:00
Brian Wellington 78d78f05d9 556. [func] The DNSSEC OK bit in the EDNS extended flags
is now implemented.  Responses to queries without
                        this bit set will not contain any DNSSEC records.
2000-11-13 21:34:03 +00:00
Brian Wellington 0042d68e2f #include <string.h> 2000-11-13 20:10:19 +00:00
Andreas Gustafsson dcd12febbd dns_zone_configure() does not need to special-case hint zones,
because it must never be called for them
2000-11-11 01:05:43 +00:00
Andreas Gustafsson 1442a167f5 minor fixes to sortlist comments and spacing 2000-11-11 00:34:20 +00:00
Andreas Gustafsson 917c8406f6 handle negated sortlist entries correctly 2000-11-11 00:26:52 +00:00
Andreas Gustafsson 84abb95f7e 551. [func] Implemented the 'sortlist' option. 2000-11-10 03:41:08 +00:00
Andreas Gustafsson febaa09184 551. [func] Implemented the 'sortlist' option. 2000-11-10 03:16:26 +00:00
Andreas Gustafsson 0b768043e1 improved error message on failure opening statistics dump file 2000-11-10 03:05:36 +00:00
Michael Sawyer 31eef7e2d4 Use lowercase names for stats
statistic printing code cleanup
move some of the statistics stufdf to the server object
2000-11-09 19:55:20 +00:00
Andreas Gustafsson f9e2ce8223 warn against relative path names as arguments to the -c
option [RT #428]
2000-11-09 18:09:12 +00:00
Michael Sawyer 39e672d653 Change rndc command from "dump-statistics" to "stats," to match ARM. 2000-11-08 19:02:56 +00:00
Michael Sawyer 3b269c0cf3 Move file write routines to server.c, using isc_stdio_*.
Implement default filename for stats file.
Properly free the name's memory when shutting down.
2000-11-08 18:58:02 +00:00
Bob Halley 7977cf4cfe The recently added code to set lame-ttl triggered an assertion if
there was no view specified in the config file.
2000-11-08 18:46:40 +00:00
Mark Andrews bfcdcde570 implement lame-ttl. 2000-11-08 03:53:16 +00:00
Andreas Gustafsson 4b5a9213ca an extraneous empty line snuck in with the previous change 2000-11-08 01:36:12 +00:00
Michael Sawyer a3a11c4f3f Add the ability (via rndc dump-statistics) to dump a file with counters of
various results given to queries.  Enable the (previously disabled)
statistics-file config option.
2000-11-07 23:49:42 +00:00
Mark Andrews 4ec1a96d90 542. [func] Add allow-update-forwarding support. 2000-11-06 08:11:11 +00:00
Brian Wellington 6a55a9f083 yet another reload related fix. 2000-11-04 01:11:27 +00:00
Brian Wellington c524a5269d unchecked calls to dns_message_gettemp* and unfreed references on failure. 2000-11-03 23:01:58 +00:00
Andreas Gustafsson 05c7046a3d use complete sentences in comments 2000-11-03 17:54:52 +00:00
Andreas Gustafsson 98f43e2d60 commented the special case TSIG code for update forwarding 2000-11-03 17:39:37 +00:00
Mark Andrews 79451e492c remove debugging printf 2000-11-03 07:53:13 +00:00
Mark Andrews 0fc89c4ee6 540. [func] Add dialup support. 2000-11-03 07:16:09 +00:00
Brian Wellington b209e8ecad The check to see if tsig checking failing with badkey is ok because
the message is an update to be forwarded was wrong.
2000-11-03 04:45:03 +00:00
Brian Wellington e21d199dca 539. [func] Support the blackhole option. 2000-11-03 02:45:55 +00:00
Brian Wellington 9ce9834a57 server side of getrrsetbyname() 2000-11-02 01:53:25 +00:00
Brian Wellington 97c323e9d8 A couple failure cases weren't handled correctly. 2000-11-01 23:56:29 +00:00
Brian Wellington 4587a7c3df lwresd should only try to load /etc/resolv.conf if the -c option was not
specified.
2000-11-01 20:59:22 +00:00
Brian Wellington 783055c0a6 Big lwresd restructuring. The code is a lot more modular now (the lwresd
structure containing search path, view, etc. is split from the listener
object), and should work correctly on reload.
2000-10-31 22:39:30 +00:00
Mark Andrews 533df4efda 537. [func] Use transfer-source{-v6} when notify messages. 2000-10-31 05:34:18 +00:00
Mark Andrews 368b37b616 dns_rdata_invalidate -> dns_rdata_reset 2000-10-31 03:22:05 +00:00
Brian Wellington 38a5d999de #include cleanup 2000-10-30 20:15:20 +00:00
Brian Wellington 686026894b getaddrbyname now does search path processing in the server. 2000-10-28 00:35:57 +00:00
Brian Wellington eb716d8c2e added a new variable to the searchctx 2000-10-28 00:09:46 +00:00
Brian Wellington 1e561d6103 ok, this really works now. 2000-10-28 00:09:11 +00:00
Brian Wellington 0e23f2010f Maybe it works this time. 2000-10-27 18:50:00 +00:00
Brian Wellington 8ee7467b98 valid base64 strings with embedded spaces were rejected. 2000-10-25 19:24:18 +00:00
Mark Andrews c03bb27f06 532. [func] Implement DNS UPDATE pseudo records using
DNS_RDATA_UPDATE flag.

 531.   [func]          Rdata really should be initalized before being
                        assigned to (dns_rdata_fromwire(), dns_rdata_fromtext(),
                        dns_rdata_clone(), dns_rdata_fromregion()),
                        check that it is.
2000-10-25 04:26:57 +00:00
Brian Wellington 5b9a83dd15 ndots handling is correct now (I think). 2000-10-24 17:15:54 +00:00
Brian Wellington dadd8860bb Support for the search and ndots config options in lwresd. 2000-10-24 04:27:25 +00:00
Brian Wellington 38379c5c5e lwresd search list stuff. This isn't used by getaddrbyname yet, but
it's used by the uncommitted getrrsetbyname.
2000-10-24 04:25:16 +00:00
Andreas Gustafsson 35a1d7c80e replaces_p() in bin/named/update.c should treat DNAME as a singleton
type too. [RT #374]
2000-10-20 22:34:50 +00:00
Mark Andrews cf573ce6fb More ISC_LINK_INIT fixes. 2000-10-20 13:29:37 +00:00