David Lawrence
5336b803ae
style lint
2000-06-20 04:12:15 +00:00
Mark Andrews
242dfd9cc6
261 [func] Add dns_zone_markdirty().
2000-06-19 23:05:32 +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
Andreas Gustafsson
21eaa04858
added dns_zonemgr_attach(); also changed comments for other
...
attach() functions to consistently say that the new reference attaches to
the object, not vice versa
2000-06-15 16:11:50 +00:00
Andreas Gustafsson
2f259b4eec
commented
2000-06-12 19:23:51 +00:00
Brian Wellington
14c5931d3d
tkey cleanups and conversion to the entropy api
2000-06-09 22:33:08 +00:00
Andreas Gustafsson
2bb908bd0b
style; removed references to EDNS1 and local compression
2000-06-09 21:52:27 +00:00
Andreas Gustafsson
1cad45e9cf
whitespace changes in copyright message
2000-06-09 20:59:32 +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
adf8222185
Rename global option cachesize to cache-size and add corresponding option
...
to view statement.
2000-06-09 08:48:42 +00:00
Mark Andrews
0791b485bf
DNS_ZONE_F_???? -> DNS_ZONEFLG_????
...
DNS_ZONE_O_???? -> DNS_ZONEOPT_????
Add various missing REQUIRE's
Add / cleanup comments in zone.h
Remove dns_zone_unmount() never implemented.
2000-06-09 06:16:21 +00:00
Mark Andrews
bcff319811
Wildcard NS records are not conceptually allowed by RFC 103[45].
2000-06-09 06:03:47 +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
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
265086fc36
Added comments.
2000-06-07 03:12:13 +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
Andreas Gustafsson
ee03a00244
changed references to 'binary buffer' in comments
...
to just 'buffer', as there is no longer a distinction between binary
and text buffers
2000-06-06 17:47:54 +00:00
James Brister
616c83b78b
temporarily disable code that validates listen-on and listen-on-v6 lists.
2000-06-06 14:20:03 +00:00
Mark Andrews
7ed73313b1
Add function to determine whether a given request used TCP or not.
2000-06-06 02:07:13 +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
Andreas Gustafsson
f1f2f8bd47
Wired up the new 'port' option. Also, the interface manager now has
...
both a 'listen-on' and a 'listen-on-v6' ACL. We are still waiting for
the 'listen-on-v6' config file option to set the latter explicitly,
but at least the default value now tracks the 'port' option and the
'-p' command line option.
2000-06-05 19:10:13 +00:00
James Brister
029f5aa861
Conversion of various config file values to isc_uint32_t.
2000-06-05 09:17:14 +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
4fe8755480
Use the new DST API
2000-06-02 18:59:33 +00:00
Andreas Gustafsson
11d0a4a55e
wired up the sig-validity-interval option; renamed its
...
access functions in the config code to be consistent with the option name
2000-06-02 17:31:43 +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
1c70c5ee90
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 01:07:05 +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
6d12fdf966
Megacommit of many files.
...
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const. Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.
The macro DE_CONST is used to deal with a handful of very special
places where something is qualified as const but really needs to have
its const qualifier removed.
rdata.c now defines macros for the prototypes of the basic rdata functions,
and all of the lib/dns/rdata/**/*.c files now use them.
Some minor integer-compatibility issues. (IE, ~0x03 is a signed int,
so assigning it to an unsigned int should use a cast. The type of an
enum member is int, so there are some conversion issues there, too.)
A pointers-to-function should not be cast to a pointer-to-object.
Variables should not be named for C reserved identifiers.
One or two set-but-not-used variables removed.
Minor other ISC style cleanups.
2000-06-01 18:26:56 +00:00
Andreas Gustafsson
4831695ebe
no need to include <isc/netaddr.h> to get in_port_t; <isc/net.h> suffices
2000-06-01 16:40:23 +00:00
Brian Wellington
2321de58e5
Added #include <isc/netaddr.h>, since in_port_t wasn't defined.
2000-06-01 02:04:01 +00:00
Brian Wellington
7a97b7630f
dns_message_gettsig/getsig0 cleanup
2000-06-01 01:30:55 +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
fe0e3c7707
Rename message->tsigset/querytsigset to tsig/querytsig.
2000-05-31 23:58:35 +00:00
Andreas Gustafsson
e6ec99f169
commented
2000-05-31 23:35:09 +00:00
James Brister
725a4773f5
Support also-notify and trusted-keys in a view statement.
...
Fixed error message when lexer couldn't open an input file.
2000-05-31 13:10:00 +00:00
Brian Wellington
0f80bfec68
The message code now has functions to manipulate TSIG and SIG(0), and the
...
callers use these functions. Also a lot of TSIG cleanup.
2000-05-30 23:14:57 +00:00
Andreas Gustafsson
7cd4c3ddd1
The 'cache-ttl' and 'ncache-ttl' options now work
2000-05-26 23:17:56 +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
David Lawrence
82a30bf0a0
in dns_name_fromtext, REQUIRE() that the source buffer not have an
...
isc_buffer_remaininglength of 0. this finds problems like isc_buffer_init
not followed by isc_buffer_add much sooner.
also, enforce the already documented contract requirements of needing
a valid source buffer and either a valid target buffer or a name
with a dedicated buffer.
2000-05-25 23:57:25 +00:00
Andreas Gustafsson
c885fad9b8
Wired up the view-specific 'key' statement.
2000-05-25 22:06:51 +00:00
Andreas Gustafsson
c6cdf39bb2
Removed the function dns_zone_validate(). It was unused,
...
undocumented, marked XXX, and buggy (it contained a switch
statement that compared an rdclass to a set of zone types).
2000-05-25 21:13:39 +00:00
Andreas Gustafsson
e6aae9483e
removed code for hint, forward, and cache "zones" as those
...
no longer have zone objects associated with them
2000-05-25 21:07:43 +00:00
Andreas Gustafsson
c90b021ea3
renamed dns_zone_setnotifyalso() to dns_zone_setalsonotify(),
...
to be consistent with the name of the config file option
2000-05-25 15:34:26 +00:00
Brian Wellington
5d83b561ad
Added dns_tsigrcode_totext/fromtext
2000-05-25 00:46:32 +00:00
Michael Sawyer
c7868e2262
Modify dns_message_totext, dns_message_sectiontotext,
...
dns_message_pseudosectiontotext to use bitfields instead of flags
2000-05-24 18:17:53 +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
ed019cabc1
fixed lines > 79 columns wide
2000-05-24 05:10:00 +00:00
David Lawrence
94bd549175
updated comments with regards to chains and parent pointers, and added caveat
...
about what happens with "name" and "origin" parameters when a chain
points to ".".
2000-05-24 02:56:26 +00:00