Commit graph

243 commits

Author SHA1 Message Date
Mark Andrews
242dfd9cc6 261 [func] Add dns_zone_markdirty(). 2000-06-19 23:05:32 +00:00
Brian Wellington
7777118507 (#260) Running named as a non-root user failed on Linux kernels new enough to
support retaining capabilities after setuid().
2000-06-16 07:35:54 +00:00
James Brister
0d5d8e2bbf 259. [func] New random-device and random-seed-file statements
for global options block of named.conf. Both accept
                        a single string argument.
2000-06-15 23:38:16 +00:00
James Brister
99f3a24e69 258. [bug] Fixed printing of lwres_addr_t.address field. 2000-06-15 21:37:18 +00:00
Andreas Gustafsson
aa79283a0d 257. [bug] The server detached the last zone manager reference
too early, while it could still be in use by queries.
                        This manifested itself as assertion failures during the
                        shutdown process for busy name servers (RT #133).

 256.   [func]          isc_ratelimiter_t now has attach/detach semantics, and
                        isc_ratelimiter_shutdown guarantees that the rate
                        limiter is detached from its task.

 255.   [func]          New function dns_zonemgr_attach().
2000-06-15 17:40:22 +00:00
Mark Andrews
0bfcec250f 254. [bug] suppress "query denied" messages on additional data
lookups.
 ISC-Bugs #139
2000-06-15 04:42:01 +00:00
Andreas Gustafsson
b5f24a6988 --- 9.0.0b4 released --- 2000-06-14 22:38:42 +00:00
Andreas Gustafsson
94c5757a7a clarified 245 2000-06-14 22:38:04 +00:00
James Brister
379bd2c19c 253. [func] resolv.conf parser now recognises ';' and '#' as
comments (anywhere in line, not just as the beginning).

 252.   [bug]           resolv.conf parser mishandled masks on sortlists.
                        It slso aborted when an unrecognised keyword was seen,
                        now it silently ignores the entire line.
2000-06-14 19:07:11 +00:00
Andreas Gustafsson
c24265935e 251. [bug] lwresd caught an assertion failure on startup. 2000-06-13 16:06:17 +00:00
Andreas Gustafsson
b092aef755 it's max-cache-ttl, not cache-ttl 2000-06-12 19:19:08 +00:00
James Brister
bedfa169b4 fixed handling of size+unit when value would be too large for internal
representation.

max-cache-size config option now takes a size-spec like 'datasize',
except 'default' is not allowed.
2000-06-09 22:13:23 +00:00
James Brister
d85552c450 global lame-ttl option was not being printed when config structures were
written out.
2000-06-09 15:54:26 +00:00
James Brister
47c196192a Rename cache-size config option to max-cache-size and change argument
type to be strict integer (no 'default' or 'unlimited')..
2000-06-09 15:03:28 +00:00
James Brister
29196ffb72 typo. 2000-06-09 08:53:32 +00:00
James Brister
adf8222185 Rename global option cachesize to cache-size and add corresponding option
to view statement.
2000-06-09 08:48:42 +00:00
Brian Wellington
f3b52d9fe5 If an uncompressed name will take more than 255 characters and the buffer is
sufficiently long, dns_name_fromwire should return DNS_R_FORMERR, not
ISC_R_NOSPACE.
2000-06-09 01:30:11 +00:00
James Brister
71a4339351 Empty named.conf file and empty options statement are now parsed properly.
New cachesize option for named.conf

Fixed incorrect warning about auth-nxdomain usage.
2000-06-08 12:04:56 +00:00
James Brister
c0b06c8275 Fixed typo in description of new additional-data config file field. 2000-06-07 21:19:17 +00:00
Mark Andrews
0380c44d02 241. [cleanup] nscount and soacount have been removed from the
dns_master_*() arguement lists.
2000-06-07 03:30:02 +00:00
Mark Andrews
a6733246ea 240. [func] databases now come in three flavours: zone, cache
and stub.
2000-06-07 02:38:41 +00:00
Brian Wellington
36bcb04af2 If ISC_MEM_DEBUG is enabled, the variable isc_mem_debugging controls
whether messages are printed or not.
2000-06-06 17:50:43 +00:00
David Lawrence
ed71ea51c6 Silence a few more warnings:
+ missing sigwait prototype on BSD/OS 4.0/4.0.1
 + PTHREAD_ONCE_INIT unbraced initializer warnings on Solaris 2.8.
 + IN6ADDR_ANY_INIT unbraced initializer warnings on BSD/OS 4.*, Linux and
   Solaris 2.8.
2000-06-06 16:06:50 +00:00
Andreas Gustafsson
9c11326b18 237. [bug] If connect() returned ENOBUFS when the resolver was
initiating a TCP query, the socket didn't get destroyed,
                        and the server did not shut down cleanly.  [RT #107]
2000-06-05 22:31:54 +00:00
James Brister
c78dc8b001 Added new listen-on-v6 config file statement.
Consider it a config file error if a listen-on statement has an IPv6
address in it, or a listen-on-v6 statement has an IPv4 address in it.
2000-06-05 22:08:50 +00:00
James Brister
d5399cc351 Allow a trusted-key's first field (domain-name) be either a quoted or
an unquoted string, instead of requiring a quoted string.
2000-06-05 20:32:01 +00:00
James Brister
40f349ad1f Convert all config structure integer values to unsigned integer
(isc_uint32_t) to match grammer.
2000-06-05 09:17:01 +00:00
Mark Andrews
ac3b769801 232. [bug] Allow slave zones to not have a file. 2000-06-05 03:44:17 +00:00
James Brister
69b691c962 Support new 'port' clause in config file options section. Causes
'listen-on', 'masters' and 'also-notify' statements to use its value
instead of default (53).
2000-06-04 19:51:22 +00:00
Brian Wellington
dba20696eb dst update 2000-06-02 19:04:12 +00:00
Andreas Gustafsson
e4eed779ed removed item [230], it was a duplicate of [217] 2000-06-02 17:33:07 +00:00
James Brister
98c2f9a111 Support config file trusted-keys and also-notify statemenets in views.
Support config file sig-validity-interval statement in options, views
and zone statements (master zones only).

Logging messages in config module stripped of trailing period.
2000-06-02 15:12:36 +00:00
David Lawrence
705cb05a18 227. [cleanup] The enumerated identifiers dns_rdataclass_*,
dns_rcode_*, dns_opcode_*, and dns_trust_* are
                        also now cast to their appropriate types.
2000-06-02 02:53:31 +00:00
Andreas Gustafsson
a3c0a79b61 dns_name_totext() now always prints the root name as '.',
even when omit_final_dot is true
2000-06-02 00:14:02 +00:00
David Lawrence
0b056755b2 225. [cleanup] The enumerated dns_rdatatype_* identifiers are now
cast to dns_rdatatype_t via macros of their same name
                        so that they are of the proper integral type wherever
                        a dns_rdatatype_t is needed.

(And a few prototypes that I recently bogusly changed to take "int" parameters
in place of "dns_rdatatype_t" to accomodate the type of an enum identifier
have been reverted to again properly take a dns_rdatatype_t.)
2000-06-01 21:42:42 +00:00
David Lawrence
174a4f7b80 224. [cleanup] The entire project builds cleanly with gcc's
-Wcast-qual and -Wwrite-strings warnings enabled,
                        which is now the default when using gcc.  (Warnings
                        from confparser.c, because of yacc's code, are
                        unfortunately to be expected.)

 223.   [func]          Several functions were reprototyped to qualify one
                        or more of their arguments with "const".  Similarly,
                        several functions that return pointers now have
                        those pointers qualified with const.
2000-06-01 19:39:26 +00:00
Andreas Gustafsson
0640343258 222. [bug] The global 'also-notify' option was ignored. 2000-06-01 00:39:45 +00:00
Andreas Gustafsson
c8df84cb38 edited entry 217: also-notify and trusted-keys
are now supported in view statements (it said 'supported in config
files', which is true but not a recent change)
2000-06-01 00:39:09 +00:00
Andreas Gustafsson
dccfe96a44 RT #127 2000-06-01 00:32:37 +00:00
Michael Graff
d98c74e2ec set the default destination port in the view, and use it when returning addresses from the adb. 2000-06-01 00:30:58 +00:00
Brian Wellington
d03d452499 Signed truncated messages more correctly follow the respective specs. 2000-06-01 00:28:43 +00:00
Brian Wellington
75f6c57d95 When an rdataset is signed, its ttl is normalized based on the signature
validity period.
2000-05-31 22:01:39 +00:00
James Brister
f34984369f New alto-notify and trusted-keys view options in config file. 2000-05-31 13:13:04 +00:00
Andreas Gustafsson
7cd4c3ddd1 The 'cache-ttl' and 'ncache-ttl' options now work 2000-05-26 23:17:56 +00:00
Andreas Gustafsson
76a191c420 failures at certain points in request processing could cause
the assertion INSIST(client->lockview == NULL) to be triggered
2000-05-26 22:43:36 +00:00
Andreas Gustafsson
fef059dcec 214. [func] New public function isc_netaddr_format(), for
formatting network addresses in log messages.
2000-05-26 16:40:44 +00:00
Brian Wellington
5f80c1428b Don't leak memory when reloading the zone if an update-policy clause was
present in the old zone.
2000-05-26 00:48:59 +00:00
Brian Wellington
af60263664 Added dns_tsigkey_attach & _detach, to simplify reference counting.
Added dns_message_get/settsigkey to deuglify tsig key handling in message code.
2000-05-26 00:16:46 +00:00
Andreas Gustafsson
b3aaa872e1 211. [func] The 'key' and 'server' statements can now occur
inside 'view' statements.

 210.   [bug]           The 'allow-transfer' option was ignored for slave
                        zones, and the 'transfers-per-ns' option was
                        was ignored for all zones.
2000-05-25 22:25:54 +00:00
Olafur Gudmundsson
389f2ccc2f Upgrading openssl to latest released version 0.9.5
there are no major fixes in here but couple of bug fixes that
	may affect operation in some cases. I updated rename.h to
	make sure all symbols with T have dst__openssl prefix.
	Any bugs found in this source code should be reported to the
	openssl people.
	Olafur
2000-05-25 18:27:42 +00:00