Commit Graph

941 Commits

Author SHA1 Message Date
David Lawrence
123dd02946 Removed unused ns_lwdclientmgr_t *cm from ns_lwdclient_errorpktsend(). 2000-11-15 23:29:29 +00:00
David Lawrence
f769deac29 removed token after an #endif 2000-11-15 23:09:09 +00:00
David Lawrence
dfc595ff7a Take care of a "variable might be used before set" warning. 2000-11-15 20:35:13 +00:00
Andreas Gustafsson
e9f6414d40 simplified query logging code by dropping support for EDNS1
multiple queries and by using dns_rdata{type,class}_format();
include the class in query log messages
2000-11-15 19:35:07 +00:00
Andreas Gustafsson
8f086b9df8 when logging incoming messages that fail to match a view,
include the class name in the log message
2000-11-15 19:15:25 +00:00
Andreas Gustafsson
046bd40fd1 macro definitions should not end in a semicolon 2000-11-15 19:04:41 +00:00
Andreas Gustafsson
eb23b7b590 eliminated compiler warnings;
renamed setup_sortlist() to ns_sortlist_setup() to conform
to naming conventions
2000-11-15 18:12:38 +00:00
Andreas Gustafsson
2cd125a2b2 spacing 2000-11-15 18:11:32 +00:00
Andreas Gustafsson
6f191af6ac document NULL returns from ns_sortlist_byaddrsetup() 2000-11-15 02:47:29 +00:00
David Lawrence
21ec512685 some systems do not implement all of the resources of
the isc_resource_t enum, so the API was changed to return
ISC_R_NOTIMPLEMENTED in such cases.
2000-11-15 02:11:50 +00:00
David Lawrence
a881879ffc use isc_result_totext(result) in place of strerror(errno) when reporting
the result of setting resource limits
2000-11-15 01:37:00 +00:00
Andreas Gustafsson
e045287d31 provide a more detailed error message when configuring a trusted key fails 2000-11-15 01:16:30 +00:00
Andreas Gustafsson
7dde2780ae provide a more detailed error message when configuring
a TSIG key fails [RT #461]
2000-11-15 00:42:50 +00:00
Andreas Gustafsson
850d708185 562. [cleanup] Moved lib/dns/*conf.c to bin/named where they belong. 2000-11-15 00:36:42 +00:00
David Lawrence
19aa938b53 561. [func] The 'datasize', 'stacksize', 'coresize' and 'files'
clauses of the options{} statement are now implemented.
2000-11-15 00:19:49 +00:00
David Lawrence
2c02438f84 save the initial values of the resource limits for datasize, stacksize,
coresize, and open files
2000-11-14 23:59:21 +00:00
David Lawrence
108490a7f8 keep the CAP_SYS_RESOURCE capability on linux systems.
as someone noted before (bob?  brian?) this might not really be the right
thing to do in a linuxthreads program.
2000-11-14 23:57:45 +00:00
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