Commit graph

1699 commits

Author SHA1 Message Date
Mark Andrews
edc944d166 Change #1331 (Generate DNSSEC wildcard proofs) contained a memory leak. 2002-07-23 03:33:12 +00:00
Mark Andrews
c54c1eaf26 1251. [func] Generate DNSSEC wildcard proofs. 2002-07-19 03:50:42 +00:00
Mark Andrews
240a5d160a When returning a delegation from the cache and the DO bit is set, always
try to add a DS.  The test for the existence of the sigrdataset was bogus
and crashed the server.

to reproduce:
 - create a signed parent & child zone
 - query a recursive server for the ns record of the child
 - query the recursive server for a name in the child with +norec
bwelling
2002-07-17 06:09:41 +00:00
Mark Andrews
65bbe3a2cb pullup:
There are four "i":s in "initialize"
2002-07-12 00:17:28 +00:00
Mark Andrews
8e5017af68 Recursive quota should apply to tcp queries when the tcp quota is reached. 2002-07-11 05:45:33 +00:00
Mark Andrews
3e4d38c0b1 reviewed: bwelling
1277.   [bug]           Failure to write pid-file should not be fatal on
                        reload. [RT #2861]
2002-07-10 04:27:30 +00:00
Mark Andrews
5d98cf67b3 white space cleanup 2002-07-10 01:13:44 +00:00
Mark Andrews
475fe52dc3 1345. [bug] If the tcpquota was exhausted it was possible to
to trigger a INSIST() failure.
2002-07-09 02:41:36 +00:00
Mark Andrews
7d73f463e2 reviewed: bwelling
1341.   [port]          linux: Slackware 4.0 needs <asm/unistd.h>.
2002-07-09 01:42:05 +00:00
Mark Andrews
268c7ef56b don't apply cache-filename to "_bind" view. 2002-07-04 05:03:46 +00:00
Mark Andrews
0f8f42a09e 1341. [port] linux: Slackware 4.0 needs <asm/unistd.h>. 2002-07-03 05:09:43 +00:00
Mark Andrews
c073347825 reviewed: bwelling
1335.   [bug]           Options should apply to the internal _bind view.
2002-07-02 02:46:43 +00:00
Mark Andrews
70f8c70cdd 1335. [bug] Options should apply to the internal _bind view. 2002-06-26 04:48:12 +00:00
Mark Andrews
ac65e45126 1333. [func] Query log now says if the query was signed (S) or
if EDNS was used (E).
2002-06-25 04:12:51 +00:00
Mark Andrews
0423090da1 1332. [func] Log TSIG key used w/ outgoing zone transfers. 2002-06-25 04:08:43 +00:00
Mark Andrews
8f1bf2fb3a null pointer dereference 2002-06-20 00:21:35 +00:00
Mark Andrews
0b09763c35 1328. [func] DS (delegation signer) support. 2002-06-17 04:01:37 +00:00
Mark Andrews
cd9bfe5b25 1323. [func] Option 'flush-zones-on-shutdown <boolean>;'. 2002-06-13 05:54:34 +00:00
Mark Andrews
dcd371be7d 1220. [func] Extended rndc dumpdb to support dumping of zones and
view selection: 'dumpdb [-all|-zones|-cache] [view]'.
2002-06-13 05:12:54 +00:00
Mark Andrews
cc4928ec71 1219. [func] New category 'update-security'. 2002-06-12 06:29:49 +00:00
Mark Andrews
a1edcd1b8d 1203. [func] Use "dataready" accept filter if available. 2002-05-27 00:40:23 +00:00
Mark Andrews
7c23b791f4 1301. [func] Log zone when unable to get private keys to update
zone.  Log zone when NXT records are missing from
                        secure zone.
2002-05-24 06:26:04 +00:00
Mark Andrews
f013b11377 1213. [func] Report view associated with client if it is not a
standard view (_default or _bind).
2002-05-24 06:22:30 +00:00
Mark Andrews
4c83dd7f22 1291. [bug] "recursion available: {denied,approved}" was too
confusing.
2002-05-16 04:05:42 +00:00
Mark Andrews
b9b40d5fb7 1282. [bug] ns_server_destroy() failed to set *serverp to NULL. 2002-05-08 06:06:33 +00:00
Mark Andrews
88c2b83cc5 1282. [bug] ns_server_destroy() failed to set *serverp to NULL. 2002-05-08 04:45:43 +00:00
Mark Andrews
93e6ebcd0a 1277. [bug] Failure to write pid-file should not be fatal on
reload. [RT #2861]
2002-05-03 05:28:29 +00:00
Mark Andrews
0dfac52f06 null pointer de-reference 2002-04-29 23:43:46 +00:00
Mark Andrews
c4a9ce445c 1274. [func] preferred-glue option from BIND 8.3. 2002-04-26 00:40:37 +00:00
Mark Andrews
09fb82a40d Reviewed by: gson@nominum.com
1244.   [bug]           Receiving a TCP message from a blackhole address would
                        prevent further messages being received over that
                        interface.
2002-04-23 01:53:53 +00:00
Mark Andrews
2b1c71b134 1244. [bug] Receiving a TCP message from a blackhole address would
prevent further messages being received over that
                        interface.
2002-04-03 05:30:03 +00:00
Mark Andrews
253c278b39 pullup:
1240.   [bug]           It was possible to leak zone references by
                        specifying an incorrect zone to rndc.
2002-03-29 01:35:24 +00:00
Mark Andrews
7d3458a972 1240. [bug] It was possible to leak zone references by
specifying an incorrect zone to rndc.
2002-03-29 01:10:22 +00:00
Mark Andrews
af54b372dc pullup:
1239.   [bug]           Under certain circumstances named could continue to
                        use a name after it had been freed triggering
                        INSIST() failures.  [RT #2614]
2002-03-28 05:10:09 +00:00
Mark Andrews
7c441b7f4a 1239. [bug] Under certain circumstances named could continue to
use a name after it had been freed triggering
                        INSIST() failures.  [RT #2614]
2002-03-28 04:03:50 +00:00
Mark Andrews
27cd2ff244 pullup:
1221.   [bug]           Zone types 'master', 'slave' and 'stub' were not being
                        compared case insensitively. [RT #2542]
2002-03-20 20:32:41 +00:00
Brian Wellington
3c5f4710cf remove extraneous blank lines 2002-03-13 23:36:14 +00:00
Mark Andrews
2dd99c098c 1234. [bug] 'rrset-order' and 'sortlist' should be additive
not exclusive.

1223.   [func]          'rrset-order' partially works 'cyclic' and 'random'
                        are supported.
2002-03-07 13:46:41 +00:00
Mark Andrews
608c703d12 1221. [bug] Zone types 'master', 'slave' and 'stub' were not being
compared case insensitively. [RT #2542]
2002-03-06 23:52:38 +00:00
Mark Andrews
27151990b2 1219. [func] Named now reports the TSIG extended error code when
signature verification fails. [RT #1651]
2002-03-05 00:36:44 +00:00
Mark Andrews
a7038d1a05 copyrights 2002-02-20 03:35:59 +00:00
Andreas Gustafsson
6a8832f784 There are four "i":s in "initialize" 2002-02-20 01:45:15 +00:00
cvs2git
0570be3294 This commit was manufactured by cvs2git to create branch 'v9_3'. 2002-02-08 03:57:48 +00:00
Mark Andrews
73d7583d98 update copyrights 2002-02-08 03:57:47 +00:00
Danny Mayer
51693f0bd9 Added case to ensure that normal cleanup code is run during system shutdown 2002-02-02 00:56:40 +00:00
Brian Wellington
94b4f2728e rndc unfreeze should reload the zone. 2002-01-30 00:55:15 +00:00
Mark Andrews
0e84be2c52 unsigned char -> char 2002-01-25 03:12:07 +00:00
Mark Andrews
3e69f0cd72 pullup:
1072.   [bug]           The TCP client quota could be exceeded when
                        recursion occurred. [RT #1937]
2002-01-24 23:09:15 +00:00
Mark Andrews
c592760e76 pullup:
1071.   [bug]           Sockets listening for TCP DNS connections
                        specified an excessive listen backlog. [RT #1937]
2002-01-24 22:59:07 +00:00
Andreas Gustafsson
3f25cb17e3 pullup:
1070.  [bug]           Copy DNSSEC OK (DO) to response as specified by
                       draft-ietf-dnsext-dnssec-okbit-03.txt.
2002-01-24 19:00:27 +00:00
Brian Wellington
b6279d0b4b Don't freeze an already frozen zone. 2002-01-24 09:58:42 +00:00
Mark Andrews
f27e47b5ff pullup:
1014.   [bug]           Some queries would cause statistics counters to
                        increment more than once or not at all. [RT #1321]
2002-01-24 04:22:58 +00:00
Mark Andrews
2a091ec932 pullup:
988.   [bug]           'additional-from-auth no;' did not work reliably
                        in the case of queries answered from the cache.
                        [RT #1436]
2002-01-24 03:49:04 +00:00
Mark Andrews
9445e10377 1012. [bug] The -p option to named did not behave as documented. 2002-01-24 03:06:25 +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
Brian Wellington
99df95697c pullup:
1191.   [bug]           A dynamic update removing the last non-apex name in
                        a secure zone would fail. [RT #2399]
2002-01-23 08:17:55 +00:00
Mark Andrews
feed58ca64 pullup:
add format checking
2002-01-23 03:02:28 +00:00
Mark Andrews
023dd2cfe0 reverse also-notify changes. dns_zone_setalsonotify() has relaxed its calling
convention.
Correct INSIST
2002-01-23 02:12:24 +00:00
Andreas Gustafsson
413463f215 pullup:
wrong test to see if snprintf had a too small buffer.
2002-01-23 02:11:32 +00:00
Andreas Gustafsson
48b0f5ff87 1191. [bug] A dynamic update removing the last non-apex name in
a secure zone would fail. [RT #2399]
2002-01-22 22:26:45 +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
ec52edeff2 missing format string argument; add format checking 2002-01-22 21:45:07 +00:00
Brian Wellington
15033eed4d make a few dynamic update log messages more informative 2002-01-22 16:05:51 +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
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
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
9ab461a6ff 1169. [func] Identify recursive queries in the query log. 2001-12-29 05:31:26 +00:00
Mark Andrews
11dbb6dc6b silently reject MD and MF updates. 2001-12-11 23:53:13 +00:00
Mark Andrews
8e40433e34 1158. [func] Report the client's address when logging notify
messages.
2001-12-10 23:09:24 +00:00
Brian Wellington
68d9a8bddf Fix a typo (I hope) in marka's keys-in-match-* patch. 2001-12-07 01:34:08 +00:00
Andreas Gustafsson
1b1f3fca3a spacing 2001-12-06 18:55:52 +00:00
Mark Andrews
880723fb13 1157. [func] match-clients and match-destinations now accept
keys. [RT #2045]
2001-12-06 04:38:51 +00:00
Mark Andrews
3acadb07f4 wrong test to see if snprintf had a too small buffer. 2001-12-01 00:39:22 +00:00
Mark Andrews
cf300e03de 1153. [func] 'rndc {stop|halt} -p' now reports the process id
of the instance of named being shutdown.
2001-12-01 00:34:27 +00:00
Andreas Gustafsson
1f1d36a87b Check return values or cast them to (void), as required by the coding
standards; add exceptions to the coding standards for cases where this is
not desirable
2001-11-30 01:59:49 +00:00
Mark Andrews
ef29912666 1147. [func] Set IPV6_IPV6ONLY on IPv6 sockets if supported by
the OS.  listen-on-v6 { any; }; should no longer
                        result in IPv4 queries be accepted.  Similarly
                        control { inet :: ... }; should no longer result
                        in IPv4 connections being accepted.  This can be
                        overridden at compile time by defining
                        ISC_ALLOW_MAPPED=1.
2001-11-29 13:14:33 +00:00
Andreas Gustafsson
72ad976640 pullup:
1141.   [bug]           When named rejected a control message, it would
                        leak a file descriptor and memory.  It would also
                        fail to respond, causing rndc to hang. [RT #2139]
2001-11-27 22:38:14 +00:00
Brian Wellington
b541c10d04 1141. [bug] When named rejected a control message, it would
leak a file descriptor and memory.
2001-11-27 21:51:31 +00:00
Mark Andrews
60213f2815 1139. [func] It is now possible to flush a given name from the
caches via 'rndc flushname name [view]'.  [RT #2051]
2001-11-27 04:06:17 +00:00
Andreas Gustafsson
f1b6872550 Do not put a space before ';' when terminating a statement or in a 'for' statement. 2001-11-27 00:56:32 +00:00
Mark Andrews
0797eebc66 pullup:
1136.   [bug]           CNAME records synthesized from DNAMEs did not
                        have a TTL of zero as required by RFC2672
                        [RT #2129]
2001-11-27 00:43:06 +00:00
Andreas Gustafsson
6b31d9c568 1136. [bug] CNAME records synthesized from DNAMEs did not
have a TTL of zero as required by RFC2672
                        [RT #2129]
2001-11-26 22:54:16 +00:00
Mark Andrews
ee80f45064 1135. [func] You can now override the default syslog() facility for
named/lwresd at compile time. [RT #1982]
2001-11-23 01:15:07 +00:00
Danny Mayer
c2cee22ec1 Added builtin.c to build 2001-11-22 03:12:00 +00:00
Danny Mayer
7869e8ad05 Braces were missing when isc__strerror was added 2001-11-22 03:11:01 +00:00
Danny Mayer
d5f394f4c4 Change strerror references to use isc__strerror [RT #1689] 2001-11-21 05:07:25 +00:00
Andreas Gustafsson
d2e371201c the named.conf options block should not apply to the built-in views 2001-11-20 22:30:35 +00:00
Andreas Gustafsson
6af3a0d53c properly quote embedded newlines in string 2001-11-20 18:46:43 +00:00
Mark Andrews
4072dfb9b8 1132. [func] Improve UPDATE prerequisite failure diagnotic messages. 2001-11-20 05:04:41 +00:00
Andreas Gustafsson
17453368fa Reimplemented the built-in CHAOS zones using sdb. 2001-11-20 01:18:15 +00:00
Danny Mayer
33b8775d3a Updated to support tree organization changes and to support the lib/bind9 library code 2001-11-18 03:11:06 +00:00
Danny Mayer
0021672451 Added proper code for retrieving the hostname 2001-11-18 03:03:42 +00:00
Andreas Gustafsson
cde2f4dabe style 2001-11-16 23:58:39 +00:00
Brian Wellington
04999a9c03 pullup:
1131.   [bug]           The match-destinations view option did not work with
                        IPv6 destinations. [RT #2073, #2074]
2001-11-16 21:21:42 +00:00
Andreas Gustafsson
92094d44a2 1131. [bug] The match-destinations view option did not work with
IPv6 destinations. [RT #2073, #2074]
2001-11-16 20:01:57 +00:00
Mark Andrews
5b477dd3b9 1126. [bug] The server could access a freed event if shut
down while a client start event was pending
                        delivery. [RT #2061]
2001-11-15 02:51:46 +00:00
Mark Andrews
309979a136 pullup:
Removed all code within #ifdef DNS_OPT_NEWCODES*.
It was the last thing being sanitized out of releases; removing
it makes it possible to eliminate the sanitation process.
2001-11-15 01:24:21 +00:00
Andreas Gustafsson
f547209bf6 more leftovers 2001-11-14 23:16:49 +00:00
Andreas Gustafsson
ca1ecf38c6 forgot to remove an UNLOCK() in previous change 2001-11-14 23:15:22 +00:00
Andreas Gustafsson
31f6e44dca 1126. [bug] The server could access a freed event if shut
down while a client start event was pending
                        delivery. [RT #2061]
2001-11-14 22:00:22 +00:00
Andreas Gustafsson
fbdbb3e8fa spacing 2001-11-14 19:11:06 +00:00
Andreas Gustafsson
10a6442013 typo 2001-11-14 02:03:43 +00:00
Andreas Gustafsson
80c7cf7e5d pullup:
1113.   [bug]           The allow-update-forwarding option was ignored
                        when specified in a view. [RT #2014]
2001-11-13 01:15:33 +00:00
Mark Andrews
80dd46d7aa 1113. [bug] allow-update/allow-update-forwarding did not work
when specified in a view.  [RT #2014]
2001-11-08 05:36:23 +00:00
Andreas Gustafsson
66923d616a spacing 2001-11-07 23:01:41 +00:00
Mark Andrews
773e64ec15 try-edns is no more 2001-11-07 04:25:19 +00:00
Mark Andrews
be9932698b max-adb-size is no more.
1073.  [bug]           The adb cache should also be space driven.
                       [RT #1915, #1938]
2001-11-07 03:52:20 +00:00
Brian Wellington
0e40083fdd @DNS_OPENSSL_LIBS@ -> @DNS_CRYPTO_LIBS@ 2001-11-06 20:05:13 +00:00
Mark Andrews
1260bf0573 pullup:
1083.   [bug]           The default control channel listened on the
                        wildcard adress, not the loopback as documented.
                        [RT #1975]
2001-10-31 23:00:44 +00:00
Mark Andrews
bdbaee5cfc pullup:
1082.  [bug]           The -g option to named incorrectly caused logging
                       to be sent to syslog in addition to stderr.
                       [RT #1974]
2001-10-31 22:44:15 +00:00
Andreas Gustafsson
5cd7e9d4db 1083. [bug] The default control channel listened on the
wildcard adress, not the loopback as documented.
2001-10-31 19:35:19 +00:00
Andreas Gustafsson
cc8e8b59d6 1082. [bug] The -g option to named incorrectly caused logging
to be sent to syslog in addition to stderr.
2001-10-31 17:42:04 +00:00
Andreas Gustafsson
17b687ef36 1080. [bug] BIND 8 compatibility: accept bare IP prefixes
as the second element of a two-element top level
                        sort list statement. [RT #1964]
2001-10-30 20:19:34 +00:00
Andreas Gustafsson
cd60cef97d rewrote parts of 1079. to reduce code duplication and to support
a bare 'localhost' or 'localnets' at the top level of the sortlist
2001-10-30 19:45:33 +00:00
Mark Andrews
998358fa90 1079. [bug] BIND 8 compatibility: accept bare elements at top
level of sort list treating them as if they were
                        a single element list.  [RT #1963]
2001-10-30 06:41:58 +00:00
Mark Andrews
e169fd331c pullup:
AXFRs were misidentified as AXFR-style IXFRs in log messages
2001-10-30 01:28:29 +00:00
Mark Andrews
58fbc62a4a pullup:
running out of memory during ns_client_t construction could crash server
[RT #409]
2001-10-30 01:12:34 +00:00
Andreas Gustafsson
fde3820de9 AXFRs were misidentified as AXFR-style IXFRs in log messages 2001-10-30 00:55:25 +00:00
Andreas Gustafsson
f33fe250cf running out of memory during ns_client_t construction could crash server [RT #409] 2001-10-30 00:48:25 +00:00
Andreas Gustafsson
e8108e60c9 removed empty line 2001-10-29 19:30:11 +00:00
Andreas Gustafsson
479c6fc458 disable change 1069 since it makes the problem of caching server
memory growth worse rather than better, at least under some load conditions
2001-10-29 19:10:42 +00:00
Andreas Gustafsson
b352902413 1077. [func] Do not accept further recursive clients when
the total number of of recursive lookups being
                        processed exceeds max-recursive-clients, even
                        if some of the lookups are internally generated.
                        [RT #1915, #1938]
2001-10-29 19:02:48 +00:00
Andreas Gustafsson
f2b515e117 more compiler warning elimination 2001-10-26 23:18:51 +00:00
Andreas Gustafsson
9615df2e83 eliminate compiler warning 2001-10-26 23:04:17 +00:00
Andreas Gustafsson
4785e8e98a clarify log message reporting number of CPUs [RT #1948] 2001-10-26 22:54:22 +00:00
Mark Andrews
081cff0c33 1073. [bug] The adb cache should also be space driven,
max-adb-size.  [RT #1915, #1938]
2001-10-25 04:57:46 +00:00
Andreas Gustafsson
2562a84dc5 make error message issued when exceeding the recursive client
quota more meaningful to users
2001-10-25 01:50:15 +00:00
Mark Andrews
ee3085e9e2 Add '-m usage'.
Add '-m' to usage messages.
2001-10-25 01:07:45 +00:00
Andreas Gustafsson
d352f188cb 1072. [bug] The TCP client quota could be exceeded when
recursion occurred. [RT #1937]
2001-10-25 00:13:37 +00:00
Andreas Gustafsson
3d38596530 1071. [bug] Sockets listening for TCP DNS connections
specified an excessive listen backlog. [RT #1937]
2001-10-25 00:12:07 +00:00
Mark Andrews
a7cb695600 1070. [bug] Copy DNSSEC OK (DO) to response as specified by
draft-ietf-dnsext-dnssec-okbit-03.txt.
2001-10-24 21:47:12 +00:00
Andreas Gustafsson
5b4f07a4f3 redid 1.204 using a subroutine to reduce code duplication and
to eliminate a rather confusing for loop
2001-10-24 18:55:04 +00:00
Mark Andrews
b19619260f 1069. [func] Kill oldest recursive query when recursive query
quota is exhausted.
2001-10-24 03:10:18 +00:00
Mark Andrews
5d4bffa427 cancelled fetches wern't being detected. 2001-10-23 06:04:37 +00:00
Mark Andrews
f0a464d58a memory leak on error. 2001-10-23 06:01:14 +00:00
Andreas Gustafsson
5a78ccdf1f pullup:
1068.   [bug]           errno could be overwritten by catgets(). [RT #1921]
1066.   [bug]           Provide a thread safe wrapper for strerror().
                        [RT #1689]
(Also some changes to configure.in, config.h.in, and acconfig.h that were
necessary to allow config.h.in to be correctly regenerated with the
HAVE_STRERROR definition needed by 1066.)
2001-10-22 23:28:26 +00:00
Andreas Gustafsson
7209c50da4 pullup:
1064.   [bug]           Do not shut down active network interfaces if we
                        are unable to scan the interface list. [RT #1921]
2001-10-22 17:42:05 +00:00
Mark Andrews
2f6d1483f6 1064. [bug] Do not shutdown active interfaces if we are unable
to scan the list of interfaces.  [RT #1921]
2001-10-22 03:31:24 +00:00
Brian Wellington
e94a2fdd30 pullup:
1062.	[bug]		If the control channel listener socket was shut
			down before server exit, the listener object could
			be freed twice. [RT #1916]
2001-10-19 22:29:08 +00:00
Andreas Gustafsson
32d248107a 1062. [bug] If the control channel listener socket was shut
down before server exit, the listener object could
                        be freed twice. [RT #1916]
2001-10-19 21:00:12 +00:00
Andreas Gustafsson
3b19037ccd removed unnecessary includes 2001-10-19 19:05:42 +00:00
Mark Andrews
7a89c23c2d 1057. [bug] Reloading the server after adding a "file" clause
to a zone statement could cause the server to
                        crash due to a typo in change 1016.
2001-10-18 00:35:20 +00:00
Andreas Gustafsson
5a23b8523d spelling 2001-10-17 19:34:07 +00:00
Andreas Gustafsson
0cf9ce19cc 1057. [bug] Reloading the server after adding a "file" clause
to a zone statement could cause the server to
                        crash due to a typo in change 1016.
2001-10-17 18:57:01 +00:00
Andreas Gustafsson
3c3fe07225 1055. [func] Version and hostname queries can now be disabled
using "version none;" and "hostname none;",
                        respectively.
(for consistency with "pid-file none" and each other)
2001-10-16 22:18:59 +00:00
Andreas Gustafsson
8d2b885018 The option for disabling the PID file is now pid-file none, not pid-file "none" 2001-10-16 20:04:41 +00:00
Bob Halley
392b3526d8 The server was segfaulting comparing NULL pidfile to "none". The correct
comparison is filename, not pidfile.
2001-10-13 20:13:53 +00:00
Mark Andrews
7ce9f2dbe8 pullup:
1051.   [bug]           Do not ignore a network interface completely just
                        because it has a noncontiguous netmask.  Instead,
                        omit it from the localnets ACL and issue a warning.
                        [RT #1891]
2001-10-13 03:56:44 +00:00
Andreas Gustafsson
79432444e8 RFC1123 says ignore the RD bit in multicast requests, not
FORMERR multicast requests with RD set
2001-10-13 01:10:26 +00:00
Andreas Gustafsson
afe5729a33 in revision 1.182, presumably a & was intended where a |= was written 2001-10-13 00:44:24 +00:00
Andreas Gustafsson
fc9acafe15 spacing 2001-10-12 23:54:03 +00:00
Andreas Gustafsson
fa2fb620c7 1051. [bug] Do not ignore a network interface completely just
because it has a noncontiguous netmask.  Instead,
                        omit it from the localnets ACL and issue a warning.
                        [RT #1891]
2001-10-12 23:05:58 +00:00
Andreas Gustafsson
31da643c6a pullup:
1033.   [bug]           Always respond to requests with an unsupported opcode
                        with NOTIMP, even if we don't have a matching view
                        or cannot determine the class.
2001-10-12 19:14:47 +00:00
Andreas Gustafsson
dd0319d149 1047. [bug] named was incorrectly refusing all requests signed
with a TSIG key derived from an unsigned TKEY
                        negotiation with a NOERROR response. [RT #1886]
2001-10-12 18:20:14 +00:00
Mark Andrews
9bdb01e6c3 1049. [func] pid-file "none"; will disable writing a pid file.
[RT #1848]
2001-10-12 05:40:41 +00:00
Mark Andrews
ff52c72095 restore comment 2001-10-12 04:01:40 +00:00
Mark Andrews
417872b98a re-do #1047
1047.  [bug]           named was incorrectly refusing all requests signed
                       with a TSIG key derived from an unsigned TKEY
                       negotiation with a NOERROR response.  [RT #1886]
2001-10-12 03:58:04 +00:00
Mark Andrews
a3ed377607 pullup:
1047.   [bug]           When a request was refused due to being signed with
                        a TSIG key derived from an unsigned TKEY negotiation,
                        the response could have an rcode of SUCCESS rather
                        than REFUSED. [RT #1886]
2001-10-12 01:05:51 +00:00
Andreas Gustafsson
a77ad145d0 1047. [bug] When a request was refused due to being signed with
a TSIG key derived from an unsigned TKEY negotiation,
                        the response could have an rcode of SUCCESS rather
                        than REFUSED. [RT #1886]
2001-10-11 22:45:20 +00:00
Mark Andrews
329fd2fe75 pullup:
1043.   [bug]           Specifying a transfer-source or transfer-source-v6
                        option in the zone statement for a master zone was
                        not treated as an error. [RT #1876]
2001-10-11 03:31:04 +00:00
Mark Andrews
8002894e6e pullup:
1042.   [bug]           The "config" logging category did not work properly.
                        [RT #1873]
2001-10-11 02:03:23 +00:00
Andreas Gustafsson
bb60abb445 1043. [bug] Specifying a transfer-source or transfer-source-v6
option in the zone statement for a master zone was
                        not treated as an error. [RT #1876]
2001-10-11 01:55:03 +00:00
Mark Andrews
9e3fe84689 pullup:
1040.   [bug]           Multiple listen-on-v6 options with different ports
                        were not accepted. [RT #1875]
2001-10-11 01:20:31 +00:00
Andreas Gustafsson
024face21c 1042. [bug] The "config" logging category did not work properly.
[RT #1873]
2001-10-11 01:16:18 +00:00
Andreas Gustafsson
f953788d75 1040. [bug] Multiple listen-on-v6 options with different ports
were not accepted. [RT #1875]
2001-10-11 00:02:34 +00:00
Mark Andrews
0aba41458d 1036. [func] Temporally drop requests received via multicast. 2001-10-09 04:29:19 +00:00
Mark Andrews
5f7516bee5 1035. [bug] Respond to multicast queries from a unicast address,
RFC 1123. [RT #137]
2001-10-09 02:39:03 +00:00
Mark Andrews
2e24e82fc3 1034. [bug] Multicast queries must not have RD set, RFC 1123.
FORMERR those that do.  [RT #137]
2001-10-09 02:30:20 +00:00
Mark Andrews
d5169236b7 1033. [bug] Don't imply that we support a opcode that we don't
when we don't have a matching view or cannot
                        determine the class.
2001-10-09 02:05:55 +00:00
Mark Andrews
df7596a03e 1032. [func] hostname.bind/txt/chaos now returns the name of
the machine hosting the nameserver.  This is useful
                        in diagnosing problems with anycast servers.
2001-10-08 07:46:11 +00:00
Andreas Gustafsson
9066d09c3e Removed all code within #ifdef DNS_OPT_NEWCODES*.
It was the last thing being sanitized out of releases; removing
it makes it possible to eliminate the sanitation process.
2001-10-01 18:54:05 +00:00
Brian Wellington
d65168b7a7 pullup:
1020.	[bug]		IXFR log messages did not distinguish between
			true IXFRs, AXFR-style IXFRs, and and mere
			version polls. [RT #1811]
2001-09-28 22:07:12 +00:00
Brian Wellington
4b09cca4b9 pullup:
1018.   [bug]           The default log channel was not always initialized
                        correctly. [RT #1813]
2001-09-28 18:35:02 +00:00
Andreas Gustafsson
e5100b1367 report duplicate zones with file name and line number even if
they are not caught by the configuration checking code, which is
the case if they are spelled differently [RT #1806]
2001-09-28 18:19:34 +00:00
Mark Andrews
a4e8b19b83 1019. [bug] The value of the lame-ttl option was limited to 18000
seconds, not 1800 seconds as documented. [RT #1803]
2001-09-28 05:35:47 +00:00
Andreas Gustafsson
846474d5a6 1020. [bug] IXFR log messages did not distinguish between
true IXFRs, AXFR-style IXFRs, and and mere
                        version polls. [RT #1811]
2001-09-28 00:45:34 +00:00
Andreas Gustafsson
edaf5b86ce 1019. [bug] The value of the lame-ttl option was limited to 18000
seconds, not 1800 seconds as documented. [RT #1803]
2001-09-27 22:46:35 +00:00
Andreas Gustafsson
6859033d42 1018. [bug] The default log channel was not always initialized
correctly. [RT #1813]
2001-09-27 20:54:27 +00:00
Mark Andrews
d30fcb907b 1016. [bug] Slave zones with no backup file were re-transferred
on every server reload.
2001-09-26 03:43:00 +00:00
Mark Andrews
d924384f72 1015. [bug] Log channels that had a "versions" option but no
"size" option failed to create numbered log
                       files. [RT #1783]
2001-09-26 02:52:09 +00:00
Andreas Gustafsson
ff4322d44f 1016. [bug] Slave zones with no backup file were re-transferred
on every server reload.
2001-09-25 23:01:15 +00:00
Andreas Gustafsson
8d146b6e11 1015. [bug] Log channels that had a "versions" option but no
"size" option failed to create numbered log
                        files. [RT #1783]
2001-09-25 00:55:22 +00:00
Andreas Gustafsson
a9617effd0 pullup:
1002.   [bug]           Log unknown class including file and line.  [RT #1759]
2001-09-21 20:30:32 +00:00
Andreas Gustafsson
808b909f27 1014. [bug] Some queries would cause statistics counters to
increment more than once or not at all. [RT #1321]
2001-09-21 19:08:06 +00:00
Mark Andrews
fe57fad800 make "lwresd -p port" work again. 2001-09-21 12:34:19 +00:00
Mark Andrews
9cdfffc7ce pullup:
controls->shuttingdown should not be set on server reload.
2001-09-21 03:31:17 +00:00
Brian Wellington
9cc98b104e controls->shuttingdown should not be set on server reload. 2001-09-21 03:04:14 +00:00
Mark Andrews
b21236d838 redo #1010 2001-09-21 00:28:58 +00:00
Mark Andrews
7a74126eb8 undo 2001-09-21 00:28:05 +00:00
Mark Andrews
9f89b34f4d pullup:
1010.   [bug]           The server could attempt to execute a command channel
                        command after initiating server shutdown, causing
                        an assertion failure. [RT #1766]
2001-09-20 23:01:44 +00:00
Andreas Gustafsson
d9e690eb71 1012. [bug] The -p option to named did not behave as documented. 2001-09-20 21:51:22 +00:00
Brian Wellington
b32e75f3e1 deuglify #1010 [RT #1766] 2001-09-20 19:04:59 +00:00
Andreas Gustafsson
640923da58 1010. [bug] The server could attempt to execute a command channel
command after initiating server shutdown, causing
                        an assertion failure. [RT #1766]
2001-09-20 18:37:00 +00:00
Mark Andrews
c2bc56dc65 Move configuration checking to libbind9. 2001-09-20 15:17:07 +00:00
Andreas Gustafsson
2f734e0a7e sizeof style 2001-09-19 23:08:24 +00:00
Mark Andrews
99a0822e3c pullup:
1005.   [bug]           Don't copy nonzero RCODEs from request to response.
                        [RT #1765]
2001-09-19 02:44:00 +00:00
Andreas Gustafsson
28cf7340b9 1005. [bug] Don't copy nonzero RCODEs from request to response.
[RT #1765]
2001-09-19 00:02:26 +00:00
Mark Andrews
d1a6976967 1002. [bug] Log unknown class including file and line. [RT #1759] 2001-09-17 00:33:52 +00:00
Mark Andrews
5fe21da364 999. [func] "rndc retransfer zone [class [view]]" added.
[RT #1752]
2001-09-15 14:23:29 +00:00
Mark Andrews
98e231525f 996. [func] Issue warning if the configuration filename contains
the chroot path.
2001-09-14 12:34:03 +00:00
Andreas Gustafsson
1e9efeeb22 986. [bug] 'additional-from-auth no;' did not work reliably
in the case of queries answered from the cache.
                        [RT #1436]
2001-09-11 01:21:39 +00:00
Andreas Gustafsson
cab0ee644d 985. [func] Consider network interfaces to be up iff they have
a nonzero IP address rather than based on the
                        IFF_UP flag. [RT #1160]
2001-09-10 23:03:09 +00:00
Andreas Gustafsson
8cccaeaee1 New named.conf option "ixfr-from-differences" [RT #1727] 2001-09-08 00:21:49 +00:00
Mark Andrews
fe6b7ccc8d ns_os_*memstats() -> ns_main_setmemstats() 2001-09-07 00:37:02 +00:00
Andreas Gustafsson
11a4398874 New server command line option -m taking symbolic memory debuggin
flags, as in 'named -m record,trace' (as suggested by Brian).  Also moved
the creation of the global mctx to after parsing the command line so that
the flags are defined when the mctx is created
2001-09-07 00:17:25 +00:00
Mark Andrews
a24d253a3f 982. [func] If "memstatistics-file" is set in options the memory
statistics will be written to it.
2001-09-06 02:13:55 +00:00
Andreas Gustafsson
f6fc4b1391 pullup:
updated to properly support shutdowns.  See RT #1672 as it relates to NT
2001-09-04 19:40:20 +00:00
Andreas Gustafsson
44caf20759 <named/types.h> needed for interfacemgr type declaration 2001-09-04 19:38:46 +00:00
Andreas Gustafsson
f1eda76d36 include <named/types.h>, not <named/interfacemgr.h> 2001-09-04 19:29:24 +00:00
Andreas Gustafsson
76d9120dd6 80 columns 2001-09-04 19:20:54 +00:00
Danny Mayer
102e532c65 updated to properly support shutdowns. See RT #1672 as it relates to NT 2001-09-01 05:27:46 +00:00
Danny Mayer
ad82fd0a25 named/interfacemgr.h was not being included 2001-09-01 05:17:28 +00:00
Andreas Gustafsson
687b7ef998 handle max-journal-size more like other options 2001-09-01 01:43:24 +00:00
Andreas Gustafsson
cb8fd52bbe call the new option for setting the maximum journal
size 'max-journal-size', not 'journal-size', in the tradition of the
historical option 'max-ixfr-log-size'
2001-09-01 01:13:41 +00:00
Mark Andrews
4b87939256 strerror() -> isc__strerror() [RT #1689] 2001-08-31 05:57:58 +00:00
Andreas Gustafsson
54706e9e57 pullup:
973.   [bug]           Failed to log the question name when logging:
                        "bad zone transfer request: non-authoritative zone
                        (NOTAUTH)".
2001-08-31 00:37:12 +00:00
Andreas Gustafsson
7edac4480f added colon to log message 2001-08-31 00:35:18 +00:00
Mark Andrews
452b30ddb3 973. [bug] Failed to log the question name when logging:
"bad zone transfer request: non-authoritative zone
                        (NOTAUTH)".
2001-08-30 23:51:45 +00:00
Mark Andrews
06a960c681 971. [func] 'try-edns' can be use to disable edns on all queries. 2001-08-30 05:52:18 +00:00
Mark Andrews
cc0a5f7142 journal-size can now be set from named.conf 2001-08-30 05:23:00 +00:00
cvs2git
92e662f530 This commit was manufactured by cvs2git to create branch 'v9_3'. 2001-08-30 04:33:22 +00:00
Andreas Gustafsson
f462b9aed2 Revert change 966. Brian says user-level programs should not include
any headers under asm.
2001-08-29 18:03:36 +00:00
Mark Andrews
b885fd1d53 966. [port] #include <asm/unistd.h> is required on some Linux
ports.  [RT #1670]
2001-08-29 04:21:51 +00:00
Mark Andrews
28fc90e6c8 #857 was incomplete, ISC_MAGIC was not being used everwhere it should have been.
'magic' was not being declared consistantly.
some #include <isc/magic.h> were missing from other include files.
NS_SERVER_VALID was not using ISC_MAGIC_VALID.
2001-08-28 03:58:29 +00:00
Andreas Gustafsson
135c1c53b8 don't INSIST() that calling dns_db_find() on the root hints
only binds the rdataset when returning ISC_R_SUCCESS, because that's not the case -
for example, if the root hints are '. 300 IN CNAME .', DNS_R_CNAME is returned and
the rdataset is bound
2001-08-27 17:20:10 +00:00
Mark Andrews
89555ff443 965. [bug] Using non root hints caused a rbtdb node reference
leak.    [RT #1581, RT #1618]
2001-08-27 06:10:17 +00:00
Danny Mayer
b9eaebe882 ns_g_autorndckeyfile had been renamed to ns_g_keyfile 2001-08-09 23:44:13 +00:00
Andreas Gustafsson
f504adce37 duplicated CVS ID line 2001-08-09 17:21:06 +00:00
Danny Mayer
51ac5c28de Changed win32 code to remove references to named.key 2001-08-09 02:55:41 +00:00
Andreas Gustafsson
76c8294c81 format string bugs and improved format string checking [RT #1578] 2001-08-08 22:54:55 +00:00
Andreas Gustafsson
5439bb1725 removed unused variable ns_g_autorndckeyfile 2001-08-08 20:37:31 +00:00
Andreas Gustafsson
569caae79d don't remove ns_g_autorndckeyfile - it no longer exists 2001-08-08 20:36:13 +00:00
Mark Andrews
de9833be77 955. [bug] When using views, the zone's class was not being
inherited from the view's class.  [RT #1583]
2001-08-07 01:58:59 +00:00
Andreas Gustafsson
b199e25ab7 spacing 2001-08-06 11:28:21 +00:00
Mark Andrews
8173a963d2 #if (result) should have been #if (result == ISC_R_SUCCESS) otherwise we
would fail to replace the keys if they changed.
Add the IPv4 any control before the IPv6 any control.
2001-08-06 01:03:53 +00:00
Mark Andrews
ee8a5c01e2 only call get_key_info() in update_listener() if control != NULL. 2001-08-04 07:49:38 +00:00
Mark Andrews
9bac746a3c keyless inet controls triggered assertion. [RT#1566] 2001-08-04 07:38:06 +00:00
Andreas Gustafsson
89209405b7 spacing 2001-08-03 21:44:45 +00:00
Andreas Gustafsson
b4b47bf187 simplified by using dns_acl_any() 2001-08-03 20:05:42 +00:00
Brian Wellington
f5862b6f22 fix warning 2001-08-03 18:39:50 +00:00
Andreas Gustafsson
1bcdcce64b simplified by using dns_acl_any() 2001-08-03 18:28:48 +00:00
Brian Wellington
3dfc806ddf fix key algorithm checks 2001-08-03 18:12:08 +00:00
Andreas Gustafsson
f8c304e5a5 removed comment stating that 'For this reason,
the automagic key is not regenerated on each reload', which is no longer
applicable since automagic keys are no longer regenerated
by the server at all
2001-08-03 18:03:02 +00:00
Brian Wellington
337a8fe16a Add Danny's name to the authors.bind list 2001-08-03 17:58:18 +00:00
Andreas Gustafsson
7dac8d231c the server would catch an assertion failure if the key statement in rndc.key
was missing the algorithm or secret clause
2001-08-03 17:24:11 +00:00
Mark Andrews
326bcfa0e2 rndc.key support 2001-08-03 05:56:22 +00:00
Danny Mayer
a59a1d313a Updated .mak files to remove dependancies 2001-08-02 07:05:43 +00:00
Andreas Gustafsson
b76883e1cc issue a more descriptive error message when multiple conflicting
forwarding policies are configured
2001-07-31 19:22:51 +00:00
Danny Mayer
ed1f8b162a added named.key file path to global variable 2001-07-27 05:02:11 +00:00
Brian Wellington
26a5f97dd8 Don't refer to keys as "TSIG keys", since they might be used for rndc only,
and this could be confusing.
2001-07-26 20:54:35 +00:00