Danny Mayer
6fedbb60b2
Change freebuf flag to be local to calls to NTstrerror() and be threadsafe
2002-01-25 03:39:25 +00:00
Danny Mayer
efd263562b
Removed C++ "//" comment lines
2002-01-24 23:43:28 +00:00
Danny Mayer
d7979cbb6c
Removed errno references (except for pipe) and used WSAGetLastError() instead, changed logging to use isc__strerror() (adding function in this file for now), changed select timeout to 400 Milleseconds from 2 seconds. This reduces the wait when adding a socket at the cost of CPU usage.
2002-01-24 23:19:35 +00:00
Mark Andrews
db18d1997e
DNS_ZONEFLG_FLUSH was not being cleared.
...
dns_zone_flush() could return a misleading result.
If the zone was being dumped incrementaly when dns_zone_flush() was
called ensure that it gets redumped if the were still outstanding
changes.
2002-01-24 13:45:36 +00:00
Brian Wellington
b6279d0b4b
Don't freeze an already frozen zone.
2002-01-24 09:58:42 +00:00
Brian Wellington
b2ca6fd3a8
#1187 was both unclean and broken. Fix it and clean it up.
2002-01-23 08:46:40 +00:00
Mark Andrews
7e715a0fc5
alignment
2002-01-23 03:42:23 +00:00
Andreas Gustafsson
b6e20238b6
Fix RT #2309 differently, allowing rather than rejecting empty
...
also-notify clauses
2002-01-23 02:03:05 +00:00
Mark Andrews
de619d1e81
remove also-notify empty checks.
2002-01-23 01:51:16 +00:00
Andreas Gustafsson
93aba2cb04
The comment saying that the string passed to isc_log_settag()
...
may not be altered after the call no longer applies
2002-01-23 01:27:52 +00:00
Brian Wellington
cde7dfea4c
1190. [func] Add the "rndc freeze" and"rndc unfreeze" commands.
...
[RT #2394 ]
Basically, "freeze" disables dynamic updates to a zone, syncs the journal
file into the master file, and removes the journal. This allows manual
edits of a dynamic zone file without stopping the server, since the
zone is temporarily considered non-dynamic. "unfreeze" re-enables dynamic
updates to a zone.
So, instead of the old:
rndc stop
edit master file
remove journal
restart server
you can now do:
rndc freeze zone
edit master file
rndc reload zone
rndc unfreeze zone
which doesn't require stopping the server.
About everyone here at the secure dynamic update workshop wanted this.
It will be documented soon.
2002-01-22 22:05:59 +00:00
Andreas Gustafsson
915c16e8aa
typo in comment
2002-01-22 21:52:32 +00:00
Andreas Gustafsson
47af71b523
use token.value.as_textregion.base, not token.value.pointer
2002-01-22 19:31:57 +00:00
Brian Wellington
fca9cc33ad
1189. [bug] On some systems, malloc(0) returns NULL, which
...
could cause the caller to report an out of memory
error. [RT #2398 ]
2002-01-22 15:40:24 +00:00
Brian Wellington
2ca2e1a1ce
1188. [bug] Dynamic updates of a signed zone would fail if
...
some of the zone private keys were unavailable.
2002-01-22 13:04:45 +00:00
Brian Wellington
84185d19c7
1187. [bug] named was incorrectly returning DNSSEC records
...
in negative responses when the DO bit was not set.
2002-01-22 09:07:30 +00:00
Mark Andrews
5da1e589c2
pullup from BIND 8:
...
1185. [bug] libbind: don't assume statp->_u._ext.ext is valid
unless RES_INIT is set when calling res_*init().
1184. [bug] libbind: call res_ndestroy() if RES_INIT is set
when res_*init() is called.
2002-01-22 03:16:28 +00:00
Mark Andrews
852fa3b2e3
1183. [bug] Handle ENOSR error when writing to the internal
...
control pipe. [RT #2395 ]
2002-01-22 02:38:34 +00:00
Brian Wellington
8569ab045a
1182. [bug] The server could throw an assertion failure when
...
constructing a negative response packet.
2002-01-21 16:26:06 +00:00
Brian Wellington
a5c077e40c
1181. [func] Add the "key-directory" configuration statement,
...
which allows the server to look for online signing
keys in alternate directories.
2002-01-21 11:00:25 +00:00
Brian Wellington
930ecd3756
style
2002-01-21 09:47:09 +00:00
Brian Wellington
97527fc03c
1179. [func] Add SIG(0) support to nsupdate.
2002-01-21 07:59:15 +00:00
Mark Andrews
c46f10e4a1
Use as_textregion.base not as_pointer. [RT #2385 ]
2002-01-21 01:07:32 +00:00
Mark Andrews
e1c2a8b9c1
1178. [func] Follow and cache (if appropriate) A6 and other
...
data chains to completion in the additional section.
2002-01-17 00:16:30 +00:00
Brian Wellington
3a8d4a316e
openssl 0.9.6a and higher don't have the RSA locking bug that earlier versions
...
did, so don't disable precomputation. Note that while this was fixed for
RSA, other algorithms still don't do locking when performing precomputation,
and thus we still disable it.
2002-01-15 22:09:45 +00:00
Mark Andrews
b7064914ca
1177. [func] Report view when loading zones if it is not a
...
standard view (_default or _bind). [RT #2270 ]
2002-01-15 06:42:15 +00:00
Brian Wellington
6e8b843125
When parsing a hex string of unknown length, properly unget the EOL token
...
at the end. This doesn't affect any existing code, since the one caller
passes a known length, but it's still a bug.
2002-01-15 02:10:10 +00:00
Mark Andrews
b627356826
re-do:
...
1168. [bug] Empty also-notify clauses were not handled. [RT #2309 ]
2002-01-14 04:16:03 +00:00
Andreas Gustafsson
9cf6d43887
cut-and-paste-o:s
2002-01-11 01:30:32 +00:00
Mark Andrews
d073663cb4
1174. [bug] Win32: add WSAECONNRESET to the expected errors
...
from connect(). [RT #2308 ]
2002-01-10 03:50:13 +00:00
Mark Andrews
cad61731f8
1173. [bug] Potential leaks in isc_log_create() and
...
isc_log_settag(). [RT #2336 ]
2002-01-09 06:16:10 +00:00
Brian Wellington
e74100e3f4
move isc_region_compare to isc/region.[ch], not isc/buffer.[ch]
2002-01-05 07:28:44 +00:00
Olafur Gudmundsson
90e303b114
Adding function isc_region_compare and using in instead of compare_region in lib/dns
2002-01-05 07:05:28 +00:00
Mark Andrews
9c827a3997
initalise warning
...
initalise token
only print known token types.
2002-01-04 06:19:20 +00:00
Mark Andrews
adbb11147c
1170. [bug] Don't attempt to print the token when a I/O error
...
occurs when parsing named.conf. [RT #2275 ]
2002-01-04 05:42:12 +00:00
Andreas Gustafsson
6a2a7fbfd1
oops, forgot this file in last commit
2002-01-04 04:34:51 +00:00
Andreas Gustafsson
669e9657c7
Split off the named.conf grammar into a source module separate
...
from the configuration parser, to facilitate reuse of the latter for
parsing non-BIND configuration files
2002-01-04 02:32:16 +00:00
Mark Andrews
77467267d9
1168. [bug] Empty also-notify clauses were not handled gracefully.
...
[RT #2309 ]
2001-12-29 04:49:51 +00:00
Brian Wellington
b7dca533e0
avoid calling set_offsets() in dns_name_copy() if possible.
2001-12-28 20:59:27 +00:00
Mark Andrews
0fa218cc7c
reduce the log level of connection reset from error to info.
2001-12-27 05:07:26 +00:00
Mark Andrews
da5d1cf1b1
1164. [bug] "Not Implemented" should be reported as NOTIMP.
2001-12-19 12:16:47 +00:00
Mark Andrews
df1415d1e8
Out of date comment.
2001-12-19 05:51:34 +00:00
Mark Andrews
82107a8889
reference after free in error path.
2001-12-19 05:44:54 +00:00
Danny Mayer
13f20ab1fa
Update isc_time_formattimestamp to use the 12-Dec-2001 style of datestamp. Fix badtime to be 99-Bad-9999
2001-12-19 03:46:57 +00:00
Mark Andrews
66291de206
1165. [bug] We were rejecting notify-source{-v6} in zone clauses.
2001-12-18 23:23:32 +00:00
Brian Wellington
0118965e19
fix large DH key generation, hopefully for the last time.
2001-12-18 06:05:41 +00:00
Mark Andrews
6c06bc591a
1164. [bug] Empty masters clauses in slave / stub zones were not
...
handled gracefully. [RT #2262 ]
2001-12-17 22:56:58 +00:00
Mark Andrews
c36f45e354
1163. [func] isc_time_formattimestamp() will now reports the year.
...
The format matches BIND 8 date stamp.
2001-12-17 02:55:06 +00:00
Andreas Gustafsson
9cec4ca6ca
1162. [bug] The allow-notify option was not accepted in slave
...
zone statements.
2001-12-13 06:31:00 +00:00
Brian Wellington
19f0d00107
check that allow-notify is only specified for slave zones
2001-12-13 06:20:40 +00:00