Commit Graph

232 Commits

Author SHA1 Message Date
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
David Lawrence
6deb631b20 208. [func] Added ISC_OFFSET_MAXIMUM for the maximum value
of an isc_offset_t.
2000-05-25 03:34:34 +00:00
Brian Wellington
b1d234eb75 The dnssec tools properly use the logging subsystem and share more code. 2000-05-24 23:54:43 +00:00
Brian Wellington
a9bc95f22e dst now stores the key name as a dns_name_t, not a char *. 2000-05-24 23:13:32 +00:00
David Lawrence
bcea992514 also turn off IRIX warning 1552, variable set but not used, in dnssafe,openssl 2000-05-24 22:16:34 +00:00
David Lawrence
3c8e458ed2 205. [cleanup] On IRIX, turn off warning 1692 ("prototyped function
redeclared without prototype") when compiling in
                        the lib/dns/sec/{dnssafe,openssl} directories, which
                        are code imported from outside sources.

... and on HP/UX, pass -Wl,+vnocompatwarnings as part of LIBS, no CC,
so it only appears on the command line when linking.
2000-05-24 20:04:47 +00:00
David Lawrence
7ffc4c63ac 204. [cleanup] On HP/UX, Pass +vnocompatwarnings to the linker
to quiet the warnings that "The linked output may not
                        run on a PA 1.x system."
2000-05-24 19:42:00 +00:00
Brian Wellington
19d1b1667d notify and zone soa queries are now tsig signed when appropriate. 2000-05-24 17:30:41 +00:00
David Lawrence
20b20b2394 202. [func] isc_lex_getsourceline() changed from returning int
to returning unsigned long, the type of its underlying
                        counter.
2000-05-24 15:07:59 +00:00
Andreas Gustafsson
a89b06a49c sdig is gone 2000-05-24 04:03:05 +00:00
Andreas Gustafsson
9c987b20b9 --- 9.0.0b3 released --- 2000-05-23 14:47:18 +00:00
Andreas Gustafsson
7e9bfde795 200. [bug] Failures in sending query responses to clients
(e.g., running out of network buffers) were
                        not logged.
2000-05-22 17:00:27 +00:00