Commit graph

6835 commits

Author SHA1 Message Date
Mark Andrews
0940db56ad pullup:
isc_file_renameunique() no longer used mkstemp().
2003-08-14 06:45:07 +00:00
Mark Andrews
163893dffd 1277. [func] You can now create your own customised printing
styles: dns_master_stylecreate() and
                        dns_master_styledestroy().
2003-08-14 06:32:46 +00:00
Mark Andrews
45c5fb1fcd 1267. [func] isc_file_openunique() now creates file using mode
0666 rather than 0600.
2003-08-14 06:14:23 +00:00
Mark Andrews
59771f18b8 1254. [func] preferred-glue option from BIND 8.3. 2003-08-14 05:56:10 +00:00
Mark Andrews
69f20fa680 1247. [bug] Don't reset the interface index for link/site local
addresses. [RT #2576]
2003-08-14 04:31:55 +00:00
Mark Andrews
c5e54cacda 1246. [func] New functions isc_sockaddr_issitelocal(),
isc_sockaddr_islinklocal(), isc_netaddr_issitelocal()
                        and isc_netaddr_islinklocal().
2003-08-14 04:25:09 +00:00
Mark Andrews
7509a66b8e 1235. [func] Report 'out of memory' errors from openssl. 2003-08-14 04:08:24 +00:00
Mark Andrews
892f1e690f 1233. [bug] The flags field of a KEY record can be expressed in
hex as well as decimal.
2003-08-14 04:00:33 +00:00
Mark Andrews
e2ac00112c misc cleanups 2003-08-14 03:22:38 +00:00
Mark Andrews
c98b46eded 1226. [func] Use EDNS for zone refresh queries. [RT #2551] 2003-08-14 02:51:18 +00:00
Mark Andrews
bcc468b92e 1225. [func] dns_message_setopt() no longer requires that
dns_message_renderbegin() to have been called.
2003-08-14 02:41:55 +00:00
Mark Andrews
cb0556144b add a new result code so that parsing a bad KEY record doesn't result in
"unknown class/type".
2003-08-14 02:35:49 +00:00
Mark Andrews
45d8fa0d1a 1224. [bug] 'rrset-order' and 'sortlist' should be additive
not exclusive.

1223.   [func]          'rrset-order' partially works 'cyclic' and 'random'
                        are supported.
2003-08-14 02:34:18 +00:00
Mark Andrews
108a1cfcc0 misc pullups:
*warning messages generated by dns_master_load* should not print
dns_master_load, since it violates the "don't print function names in
error messages" rule.
*When printing a warning about a value not being a valid decimal dotted
quad, it seems excessive to print "warning" when the message is already logged
at log level WARNING by the warn() callback.
*We could select on a closed file descriptor.
2003-08-14 00:50:20 +00:00
Mark Andrews
6178680406 1217. [func] Report locations of previous key definition when a
duplicate is detected.
2003-08-14 00:40:39 +00:00
Mark Andrews
3b8a9158fa pullup:
add isc_parse_uint16() and isc_parse_uint8()
2003-08-14 00:38:32 +00:00
Mark Andrews
ab148ab902 pullup:
Clean up the implementation cleanup mechanism.  Also remove ->issymmetric,
since it's easier to just do it in dst_api.c.
Move the memory allocation wrappers into openssl_link.c, since they're
openssl specific.
add dst_key_privatefrombuffer(), which coverts a public key into a private
key.
2003-08-13 06:51:34 +00:00
Mark Andrews
3c00cc0767 pullup:
Add REQUIRE()s
2003-08-13 06:22:14 +00:00
Mark Andrews
2e8234c5f3 pullup:
removed unused struct field isc_lex_t::options
2003-08-13 06:20:21 +00:00
Mark Andrews
23a4cb9167 pullup:
dns_master_loadlexer[inc], to load master files from existing lexers
2003-08-13 06:19:15 +00:00
Mark Andrews
50cd7e51de pullup:
isc_lex_setsourcename(), for use when lexing buffers or streams
2003-08-13 06:13:02 +00:00
Mark Andrews
21f5c930d3 pullup:
add dns_rdataslab_tordataset()
2003-08-13 06:11:08 +00:00
Mark Andrews
860158f9b5 1203. [func] Report locations of previous acl and zone definitions
when a duplicate is detected.
2003-08-13 05:41:03 +00:00
Mark Andrews
50c140b7dc 1202. [func] New functions: cfg_obj_line() and cfg_obj_file(). 2003-08-13 05:36:29 +00:00
Mark Andrews
ae643dbc34 pullup: misc cleanups 2003-08-13 05:06:53 +00:00
Mark Andrews
60c8cebb10 pullup: misc cleanups 2003-08-13 04:55:28 +00:00
Mark Andrews
48d5177bea pullup:
RFC 2065 ->  RFC 2535
2003-08-13 04:39:27 +00:00
Mark Andrews
d83b5cb4c8 1192. [bug] The seconds fields in LOC records were restricted
to three decimal places.  More decimal places should
                        be allowed but warned about.
2003-08-13 04:26:36 +00:00
Mark Andrews
53fcc33633 pullup:
Reimplemented the built-in CHAOS zones using sdb.
2003-08-13 03:58:12 +00:00
Mark Andrews
4eabedb01f pullup:
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.
2003-08-13 02:24:31 +00:00
Mark Andrews
820d86cbe6 1187. [bug] named was incorrectly returning DNSSEC records
in negative responses when the DO bit was not set.
2003-08-13 02:18:19 +00:00
Mark Andrews
f09db09817 1190. [func] Add the "rndc freeze" and"rndc unfreeze" commands.
[RT #2394]
2003-08-13 02:08:46 +00:00
Mark Andrews
5e381211f9 pullup:
use token.value.as_textregion.base, not token.value.pointer
2003-08-13 01:59:19 +00:00
Mark Andrews
ad1cdd5b95 1187. [bug] named was incorrectly returning DNSSEC records
in negative responses when the DO bit was not set.
2003-08-13 01:56:03 +00:00
Mark Andrews
fbfcbe90e2 1181. [func] Add the "key-directory" configuration statement,
which allows the server to look for online signing
                        keys in alternate directories.
2003-08-13 01:41:34 +00:00
Mark Andrews
193fd4f417 pullup:
Use as_textregion.base not as_pointer.  [RT #2385]
2003-08-13 00:36:56 +00:00
Mark Andrews
4081748055 1177. [func] Report view when loading zones if it is not a
standard view (_default or _bind). [RT #2270]
2003-08-13 00:25:52 +00:00
Mark Andrews
e6f17dd534 1171. [func] Added function isc_region_compare(), updated files in
lib/dns to use this function instead of local one.
2003-08-12 14:16:17 +00:00
Mark Andrews
fe73090122 pullup:
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
2003-08-12 07:10:32 +00:00
Mark Andrews
802ef49198 1163. [func] isc_time_formattimestamp() now includes the year. 2003-08-12 05:34:06 +00:00
Mark Andrews
d5f5d596ac 1159. [bug] MD and MF are not permitted to be loaded by RFC1123. 2003-08-12 05:09:36 +00:00
Mark Andrews
79e2dd3eb8 1157. [func] match-clients and match-destinations now accept
keys. [RT #2045]
2003-08-11 05:58:18 +00:00
Mark Andrews
a5bc0b7cea 1155. [func] Recover from master files being removed from under
us.
2003-08-11 05:46:35 +00:00
Mark Andrews
9052beb238 pullup
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
2003-08-11 05:28:23 +00:00
Mark Andrews
2e7d97c5ba 1151. [bug] nslookup failed to check that the arguments to
the port, timeout, and retry options were
                        valid integers and in range. [RT #2099]

1150.   [bug]           named incorrectly accepted TTL values
                        containing plus or minus signs, such as
                        1d+1h-1s.

1149.   [func]          New function isc_parse_uint32().
2003-08-11 04:48:07 +00:00
Mark Andrews
27e6e3708d 1147. [func] Set IPV6_V6ONLY 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.
2003-08-08 07:12:27 +00:00
Mark Andrews
e1ccb64c24 1146. [func] Allow IPV6_IPV6ONLY to be set/cleared on a socket if
supported by the OS by a new function
                        isc_socket_ipv6only().
2003-08-08 06:50:17 +00:00
Mark Andrews
2b6b5bc00c 1143. [bug] When a trusted-keys statement was present and named
was built without crypto support, it would leak memory.
2003-08-08 06:07:52 +00:00
Mark Andrews
62acdc453a 1139. [func] It is now possible to flush a given name from the
cache(s) via 'rndc flushname name [view]'. [RT #2051]
2003-08-08 05:32:36 +00:00
Mark Andrews
c354304ec4 1138. [func] It is now possible to flush a given name from the
cache by calling the new function
                        dns_cache_flushname().
2003-08-08 04:53:11 +00:00