Andreas Gustafsson
b346ae570d
style
2001-01-23 20:45:31 +00:00
Brian Wellington
e90441d922
INSIST that accept() returns a socket of the correct protocol family. Also
...
assign the "pf" field in the new socket.
2001-01-23 20:42:46 +00:00
Andreas Gustafsson
6a3b882115
#ifndef USE_GETADDRINFO, not #ifdef USE_GETADDRINFO
2001-01-23 19:55:04 +00:00
Brian Wellington
dac1e1dd18
remove more duplicated code
2001-01-23 19:50:10 +00:00
Andreas Gustafsson
40562d7208
comment style
2001-01-23 18:47:33 +00:00
Andreas Gustafsson
80ddc8b22b
grammar
2001-01-23 18:12:17 +00:00
Andreas Gustafsson
52d6c41cfc
spacing
2001-01-23 18:08:15 +00:00
James Brister
6ca537b8a3
New include statement for ndc.conf
...
include "/tmp/foo";
only allowed at file level (not at any random whitespace location).
2001-01-23 13:15:12 +00:00
James Brister
5905bccacd
use new include statement to include ndc.conf-include
2001-01-23 13:13:29 +00:00
James Brister
a21891ee97
file to be included by test ndc.conf
2001-01-23 13:12:50 +00:00
Mark Andrews
9a6632fb42
removed unnecessary assignment
2001-01-23 07:45:39 +00:00
Mark Andrews
7c2dce3c4d
common code elimination
2001-01-23 07:36:06 +00:00
Mark Andrews
ab0380976c
add isc/platform.h
2001-01-23 06:00:11 +00:00
Mark Andrews
f8a44ed400
705. [port] workout resource limit type for use where rlim_t is
...
not available. [RT #695 ]
2001-01-23 05:15:36 +00:00
Mark Andrews
4ae98f5100
Use approptiate typoe based on configure results.
2001-01-23 05:13:25 +00:00
Mark Andrews
545d51072b
sync: Determine the appropriate type for resource limit, ISC_PLATFORM_RLIMITTYPE.
2001-01-23 04:59:41 +00:00
Mark Andrews
6ab3d08c12
Determine the appropriate type for resource limit, ISC_PLATFORM_RLIMITTYPE.
2001-01-23 04:58:57 +00:00
Mark Andrews
66ad1d85cb
703. [port] sys/select.h is needed on older platforms. [RT #695 ]
2001-01-23 04:47:56 +00:00
Mark Andrews
f1007e99b7
spelling
2001-01-23 03:59:26 +00:00
Mark Andrews
07d6480b68
704. [port] RLIMIT_NOFILE in to available on all platforms.
...
[RT #695 ]
2001-01-23 03:14:28 +00:00
Mark Andrews
d3ea05978f
sync: remove bad quotes from error messages.
2001-01-23 03:11:05 +00:00
Mark Andrews
b6cb5907b2
remove bad quotes from error messages.
2001-01-23 03:09:39 +00:00
Mark Andrews
363cb30a83
703. [port] sys/select.h is needed on older platforms. [RT #695 ]
2001-01-23 03:07:18 +00:00
Brian Wellington
47f65caf30
The msgcat text contained an extra %s.
2001-01-23 02:27:19 +00:00
Brian Wellington
5d18f1205a
remove the call to dns_name_getlabel(), since the dns_name_toregion() macro
...
is faster.
2001-01-23 02:19:48 +00:00
Brian Wellington
668eb43f1f
spacing
2001-01-23 02:00:56 +00:00
Andreas Gustafsson
49d61b46a7
inconsistent spacing in duplicated code
2001-01-23 01:59:03 +00:00
Brian Wellington
fd091cb3cd
freerrset() wasn't.
2001-01-23 01:51:21 +00:00
Brian Wellington
d29da750d2
statistics counting was slowing down the server. Make client.c:count_query()
...
inline and remove dns_stats_ncounters(), which just returned the public
constant DNS_STATS_NCOUNTERS.
2001-01-23 01:50:29 +00:00
Mark Andrews
7817a6f41b
sync to configure.in
2001-01-23 00:59:39 +00:00
Mark Andrews
a4938cc64a
check if unistd.h declares fd_set
2001-01-23 00:57:58 +00:00
Brian Wellington
ea6709ec8a
702. [func] If the address 0.0.0.0 is seen in resolv.conf,
...
use 127.0.0.1 instead. [RT #693 ]
2001-01-23 00:41:55 +00:00
Brian Wellington
b151cb7dfa
rdataset -> sigrdataset
2001-01-22 23:28:48 +00:00
Andreas Gustafsson
20b6f1e657
misc cleanup
2001-01-22 23:22:09 +00:00
Andreas Gustafsson
57ecc983c0
removed unused edns_level member from ADB entry
2001-01-22 22:53:13 +00:00
Andreas Gustafsson
d5874af5a5
removed avoid_bitstring feature from the ADB
2001-01-22 22:51:23 +00:00
Andreas Gustafsson
4b3e2a344f
#ifdef in last change should have been #ifndef
2001-01-22 22:38:21 +00:00
Andreas Gustafsson
bc13425bc3
edited
2001-01-22 22:32:43 +00:00
Andreas Gustafsson
8669e2a2eb
need <sys/types.h> and <sys/time.h> for select()
2001-01-22 22:29:36 +00:00
Andreas Gustafsson
1d830654f5
removed bitstring avoidance code since it was only effective when
...
reverse mapping the exact same name multiple times within a 10-minute
window, and the resolver's EDNS0 capability flagging achieves much of
the same effect in a much more general way
2001-01-22 22:29:04 +00:00
Brian Wellington
9fb7cdd126
call getrrsetbyname with a zero length name
2001-01-22 22:12:45 +00:00
Brian Wellington
b9ceffe82f
checking for 0 length names is no longer needed.
2001-01-22 22:12:17 +00:00
Brian Wellington
70b4889c85
A minor optimation to the rbt hash code that should reduce the number
...
of calls to dns_name_fullcompare().
2001-01-22 20:41:43 +00:00
Brian Wellington
9d967288c3
zero length keys from the config file were not being logged as too short to be
...
secure.
2001-01-22 20:27:04 +00:00
Brian Wellington
3aac1558c3
delete name operations were broken by the change allowing ttls in delete
...
commands.
2001-01-22 20:00:56 +00:00
Andreas Gustafsson
634784cb66
701. [func] Root hints are now fully optional. Class IN
...
views use compiled-in hints by default, as
before. Non-IN views with no root hints now
provide authoritative service but not recursion.
A warning is logged if a view has neither root
hints nor authoritative data for the root. [RT #696 ]
2001-01-22 19:21:19 +00:00
Andreas Gustafsson
a1cfa2a82d
need <isc/print.h>
2001-01-22 18:59:06 +00:00
Andreas Gustafsson
96b8d611a7
alphabetized includes
2001-01-22 18:58:36 +00:00
Andreas Gustafsson
5042f374bc
a valid buffer has the current pointer before or at the
...
used pointer by definition; there is no need to require that explicitly
2001-01-22 18:21:45 +00:00
Andreas Gustafsson
3a5cbb3c22
Fixed 39 cases where either named or rndc would crash when
...
given empty string values in rndc.conf or on the command line
2001-01-22 03:59:21 +00:00