Commit graph

7112 commits

Author SHA1 Message Date
Mark Andrews
1c2bf5f1cb 1446. [func] Implemented undocumented alternate transfer sources
from BIND 8.  See use-alt-transfer-source,
                        alt-transfer-source-v4 and alt-transfer-source-v6.
2003-08-27 02:13:50 +00:00
Mark Andrews
7cf2a51f0c 1443. [func] Masters lists can now be specified and referenced
in zone masters clauses and other masters lists.
2003-08-27 01:53:06 +00:00
Mark Andrews
2d7ca109c5 1442. [func] New fuctions for manipulating port lists:
dns_portlist_create(), dns_portlist_add(),
                        dns_portlist_remove(), dns_portlist_match(),
                        dns_portlist_attach() and dns_portlist_detach().

1441.   [func]          It is now possible to tell dig to bind to a specific
                        source port.

1440.   [func]          It is now possible to tell named to avoid using
                        certian source ports (avoid-v4-udp-ports,
                        avoid-v6-udp-ports).
2003-08-27 01:39:27 +00:00
Mark Andrews
4ddffdf9be version.h 2003-08-27 01:27:34 +00:00
Mark Andrews
0a26225288 1436. [func] dns_zonemgr_resumexfrs() can be used to restart
stalled transfers.
2003-08-26 07:54:22 +00:00
Mark Andrews
7361bfec13 1433. [bug] named could trigger a REQUIRE failure if it could
not get a file descriptor when attempting to write
                        a master file. [RT #4347]
2003-08-26 06:01:17 +00:00
Mark Andrews
19548853e9 1432. [func] The advertised EDNS UDP buffer size can now be set
via named.conf (edns-udp-size).
2003-08-26 05:56:18 +00:00
Mark Andrews
9ea4e48caf pullup:
engine pointer not set to NULL on free.
2003-08-26 05:38:47 +00:00
Mark Andrews
f44cdbe5b9 spelling 2003-08-26 05:32:50 +00:00
Mark Andrews
c4dc4fd856 1417. [func] ID.SERVER/CHAOS is now a built in zone.
See "server-id" for how to configure.
2003-08-26 04:34:17 +00:00
Mark Andrews
4154634631 1412. [func] You can now specify servers to be tried if a nameserver
has IPv6 address and you only support IPv4 or the
                        reverse. See dual-stack-servers.
2003-08-26 03:24:14 +00:00
Mark Andrews
388672fb80 pullup misc. changes 2003-08-25 05:49:57 +00:00
Mark Andrews
5874ad9039 cygwin support 2003-08-25 05:40:31 +00:00
Mark Andrews
43e2d66621 1405. [func] Use arc4random() if available. 2003-08-25 05:06:11 +00:00
Mark Andrews
c3fedc9282 1402. [cleanup] A6 has been moved to experimental and is no longer
fully supported.
2003-08-25 04:16:27 +00:00
Mark Andrews
68b63c87ea check for the existance of if_nametoindex(). 2003-08-25 03:31:57 +00:00
Mark Andrews
4d79da8ba0 1502. [bug] nsupdate: adjust timeouts for UPDATE requests over TCP. 2003-08-25 02:42:16 +00:00
Mark Andrews
0146abd893 1501. [func] Allow TCP queue length to be specified via
named.conf, tcp-listen-queue.
2003-08-25 02:33:14 +00:00
Mark Andrews
719e3ac95f pullup:
merge rt3598 (code by marka, pullup by me)
2003-08-25 01:44:12 +00:00
Mark Andrews
fb118b8418 1394. [func] It is now possible to check if a particular element is
in a acl.  Remove duplicate entries from the localnets
                        acl.

1393.   [port]          Bind to individual IPv6 interfaces if IPV6_IPV6ONLY
                        is not available in the kernel to prevent accidently
                        listening on IPv4 interfaces.
2003-08-22 06:24:24 +00:00
Mark Andrews
6627b5242f pullup:
u_int32_t -> isc_uint32_t
2003-08-22 06:10:23 +00:00
Mark Andrews
763f9d9836 pullup:
u_int32_t -> isc_uin32_t
2003-08-22 06:09:25 +00:00
Mark Andrews
8f570b8b09 pullup:
u_int#_t -> isc_uint#_t
2003-08-22 06:08:37 +00:00
Mark Andrews
3420dc3b56 pullup:
isc_netaddr_fromsockaddr failed to set zone for AF_INET
2003-08-22 06:07:33 +00:00
Mark Andrews
370732d189 1391. [func] Add support for IPv6 scoped addresses in named. 2003-08-22 05:17:15 +00:00
Mark Andrews
20a6f010fb pullup:
remove repeated "keep" in comment.
2003-08-22 03:54:45 +00:00
Mark Andrews
1c273a7b04 1383. [func] Track the serial number in a IXFR response and log if
a mismatch occurs.  This is a more specific error than
                        "not exact". [RT #3445]
2003-08-22 03:22:33 +00:00
Mark Andrews
b3367d4b0e pullup:
report type and class when logging failures via add_bad
2003-08-22 01:49:59 +00:00
Mark Andrews
38ebaa15d1 pullup:
add missing whitespace if fprintf
2003-08-21 07:38:42 +00:00
Mark Andrews
56ccb82277 pullup:
When a lookup resulted in an nxrrset match of a wildcard, the wildcard
attribute wasn't set on foundname.
2003-08-21 06:48:26 +00:00
Mark Andrews
c28e1b5678 1380. [func] 'rndc recursing' dump recursing queries to
'recursing-file = "named.recursing";'.
2003-08-21 06:17:57 +00:00
Mark Andrews
f0d2117bcc 1379. [func] 'rndc stats' now reports tcp and recursion quota
states.

1378.   [func]          Improved positive feedback for 'rndc {reload|refresh}.

1377.   [func]          dns_zone_load{new}() now reports if the zone was
                        loaded, queued for loading to up to date.

1376.   [func]          New function dns_zone_logc() to log to specified
                        category.
2003-08-21 05:19:21 +00:00
Mark Andrews
9098582352 1375. [func] 'rndc dumpdb' now dumps the adb cache along with the
data cache.
2003-08-21 05:10:53 +00:00
Mark Andrews
f9192a3940 1374. [func] dns_adb_dump() now logs the lame zones associated
with each server.
2003-08-21 04:47:43 +00:00
Mark Andrews
3fe687adf2 pullup:
TRIEDFIND test had wrong sence
2003-08-21 03:50:21 +00:00
Mark Andrews
2b9f05032c pullup:
change many debug(3) to debug(1), and several debug(*) to info
2003-08-21 02:50:34 +00:00
Mark Andrews
4c98b4d5b2 pullup:
Rework previous slightly, to only signal if we were using WAITUNTIL() and we
actually have a due time
2003-08-21 02:15:50 +00:00
Mark Andrews
4bdd141eef pullup:
When scheduling a new timer, check to see if we missed our last wakeup
by more than 15 seconds.  If we have, SIGNAL().
2003-08-21 02:05:47 +00:00
Mark Andrews
05e00f411b pullup:
add a new log module, timer
2003-08-21 02:02:04 +00:00
Mark Andrews
013781e021 pullup:
add isc_timer_gettype() (useful in debugging code) and a temporary hack of isc_
timermgr_poke
2003-08-20 07:13:06 +00:00
Mark Andrews
143a27871d pullup:
rename 'worklimited' to 'idle'
2003-08-20 06:43:21 +00:00
Mark Andrews
80b0668c88 pullup:
add goo for error checking mutexes on (at least) tru64
2003-08-20 06:40:57 +00:00
Mark Andrews
6cb94e593b pullup:
dns_zone_logc() log to category
raise deferred transfers to INFO level and log to xfer-in.
2003-08-20 06:37:17 +00:00
Mark Andrews
96151e740c pullup:
'\0' terminate code.
All reasons for marking a server bad should be logged to the lame channel.
2003-08-20 06:02:54 +00:00
Mark Andrews
984d0d58e9 1368. [func] remove support for bitstring labels. 2003-08-20 05:33:18 +00:00
Mark Andrews
d8669da83c 1367. [func] Use response times to select forwarders. 2003-08-20 04:52:46 +00:00
Mark Andrews
9fa13373e5 1220. [func] Support for APL rdata type. 2003-08-20 04:47:23 +00:00
Mark Andrews
c56defb98c 1358. [func] log the reason for rejecting a server when resolving
queries.
2003-08-19 07:40:20 +00:00
Mark Andrews
646f21b5bd 1358. [func] log the reason for rejecting a server when resolving
queries.
2003-08-19 07:26:09 +00:00
Mark Andrews
e6bb021434 1354. [bug] Fix DNSSEC wildcard proof for CNAME/DNAME. 2003-08-19 04:11:24 +00:00
Mark Andrews
c7c25e99aa 1344. [func] Log if the serial number on the master has gone
backwards.
                        If you have multiple machines specified in the masters
                        clause you may want to set 'multi-master yes;' to
                        suppress this warning.
2003-08-19 03:11:19 +00:00
Mark Andrews
326428fcf8 1342. [func] Log remote address with TCP dispatch failures. 2003-08-19 02:53:57 +00:00
Mark Andrews
d735ed8b1f 1341. [func] Allow a rate limiter to be stalled. 2003-08-19 02:49:00 +00:00
Mark Andrews
d930eaf77b 1331. [func] Generate DNSSEC wildcard proofs. 2003-08-18 07:35:54 +00:00
Mark Andrews
2bb0b0009e 1332. [func] Report the current serial with periodic commits when
rolling forward the journal.
2003-08-18 07:10:11 +00:00
Mark Andrews
eb35881767 1329. [func] named-checkzone will now check if nameservers that
appear to be IP addresses.  Available modes "fail",
                        "warn" (default) and "ignore" the results of the
                        check.
2003-08-18 05:56:58 +00:00
Mark Andrews
d8cdda8e1d pullup:
isc_modules[2] not isc_modules[3]
2003-08-15 04:03:56 +00:00
Mark Andrews
f87cbb4806 dd "interface" module 2003-08-15 04:02:46 +00:00
Mark Andrews
7b1256eb34 Protect both the socket and fifo tests with #ifdef's. 2003-08-15 03:11:45 +00:00
Mark Andrews
bb4b8c0c53 1309. [func] Log that a zone transfer was covered by a TSIG. 2003-08-15 03:09:13 +00:00
Mark Andrews
b1b705a049 pullup:
uninitalised variable (minimize difference with HEAD).
2003-08-15 03:01:30 +00:00
Mark Andrews
c107aac084 1304. [func] New function: dns_zone_name().
1303.   [func]          Option 'flush-zones-on-shutdown <boolean>;'.
2003-08-15 02:49:35 +00:00
Mark Andrews
34d527bf02 pullup:
mask of mode format bits and compare result
2003-08-15 02:14:57 +00:00
Mark Andrews
364237ab5f 1293. [func] Entropy can now be retrieved from EGDs. [RT #2438] 2003-08-15 02:11:28 +00:00
Mark Andrews
40803cab47 1291. [func] Enable IPv6 support when using sysctl style interface
scanning.
2003-08-15 02:07:45 +00:00
Mark Andrews
b3301d9e99 pullup:
check location before dereference
2003-08-15 01:54:07 +00:00
Mark Andrews
861e5d03f4 1285. [func] lwres: probe the system to see what address families
are currently in use.
2003-08-15 01:48:24 +00:00
Mark Andrews
b4a3336bb2 1283. [func] Use "dataready" accept filter if available. 2003-08-15 01:16:06 +00:00
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
Mark Andrews
f278e2135b pullup DESTROYMUTEXBLOCK, EMPTY_TRANSLATION_UNIT and TIME_NOW 2003-08-08 04:39:46 +00:00
Mark Andrews
fcb70eb568 1137. [func] It is now possible to flush a given name from the
ADB by calling the new function dns_adb_flushname().
2003-08-08 04:35:17 +00:00
Mark Andrews
2bb8b924b9 1135. [func] You can now override the default syslog() facility for
named/lwresd at compile time. [RT #1982]
2003-08-08 04:24:41 +00:00
Mark Andrews
0b5ddcc4c0 1128. [func] sdb drivers can now provide RR data in either text
or wire format, the latter using the new functions
                        dns_sdb_putrdata() and dns_sdb_putnamedrdata().
2003-08-08 04:04:10 +00:00
Mark Andrews
72ceb8a6cc pullup:
@Add bind9_getaddresses(), a consistent version of the get_address function
from dig/host/nslookup, nsupdate, and rndc.  This should make it
easier to have the various programs support multiple addresses for a hostname.
2003-08-08 03:40:09 +00:00
Mark Andrews
9699727166 1119. [func] Added support in Win32 for NTFS file/directory ACL's
for access control.
2003-08-07 07:02:31 +00:00
Mark Andrews
8cb3b2fed8 1115. [func] Set maximum values for cleaning-interval,
heartbeat-interval, interface-interval,
                        max-transfer-idle-in, max-transfer-idle-out,
                        max-transfer-time-in, max-transfer-time-out,
                        statistics-interval of 28 days and
                        sig-validity-interval of 3660 days. [RT #2002]
2003-08-07 06:33:30 +00:00
Mark Andrews
9cadfb2c17 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]
2003-08-07 05:14:01 +00:00
Mark Andrews
9c9e5c572b 1073. [bug] The ADB cache cleaning should also be space driven.
[RT #1915, #1938]
2003-08-07 04:47:36 +00:00
Mark Andrews
636f97b356 1067. [func] Allow quotas to be soft, isc_quota_soft(). 2003-08-07 03:39:26 +00:00
Mark Andrews
e3aff0ace9 1060. [func] Move refresh, stub and notify UDP retry processing
into dns_request.
2003-08-06 07:03:08 +00:00
Mark Andrews
aa5dba300d 1059. [func] dns_request now support will now retry UDP queries,
dns_request_createvia2() and dns_request_createraw2().
2003-08-06 06:26:24 +00:00
Mark Andrews
13dde62605 1058. [func] Limited lifetime ticker timers are now available,
isc_timertype_limited.
2003-08-06 06:18:07 +00:00
Mark Andrews
946a81d121 1055. [func] Version and hostname queries can now be disabled
using "version none;" and "hostname none;",
                        respectively.

1049.   [func]          "pid-file none;" will disable writing a pid file.
                        [RT #1848]
2003-08-06 06:03:24 +00:00
Mark Andrews
4683e36702 1037. [bug] Negative responses whose authority section contain
SOA or NS records whose owner names are not equal
                        equal to or parents of the query name should be
                        rejected. [RT #1862]
2003-08-06 04:53:52 +00:00
Mark Andrews
1b5a728293 1499. [bug] isc_random need to be seeded better if arc4random()
is not used.
2003-08-05 00:08:30 +00:00
Mark Andrews
f75356ec50 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.
2003-08-04 08:06:49 +00:00
Mark Andrews
a1342ef451 1025. [bug] Don't use multicast addresses to resolve iterative
queries. [RT #101]
2003-08-04 07:39:10 +00:00
Mark Andrews
d354545fb9 1023. [func] Accept hints without TTLs. 2003-08-04 06:53:23 +00:00
Mark Andrews
d97b2b9426 1011. [cleanup] Removed isc_dir_current(). 2003-08-04 06:35:45 +00:00
Mark Andrews
d841556f11 Move configuration checking to libbind9. 2003-08-04 05:53:40 +00:00
Mark Andrews
ff77225512 pullup:
Move configuration checking to libbind9.
2003-08-04 04:23:56 +00:00
Mark Andrews
8552753ad4 997. [func] Add support for RSA-SHA1 keys (RFC3110). 2003-08-04 02:31:57 +00:00
Mark Andrews
3b89807475 997. [func] Add support for RSA-SHA1 keys (RFC3110). 2003-08-04 01:04:44 +00:00
Mark Andrews
c8c7e23e28 994. [func] Treat non-authoritative responses to queries for type
NS as referrals even if the NS records are in the
                        answer section, because BIND 8 servers incorrectly
                        send them that way.  This is necessary for DNSSEC
                        validation of the NS records of a secure zone to
                        succeed when the parent is a BIND 8 server. [RT #1706]
2003-08-04 00:31:05 +00:00
Mark Andrews
1af2c81e29 991. [func] Lower UDP refresh timeout messages to DEBUG(1). 2003-08-02 01:35:54 +00:00
Mark Andrews
792aa70e13 983. [func] The server now supports generating IXFR difference
sequences for non-dynamic zones by comparing zone
                        versions, when enabled using the new config
                        option "ixfr-from-differences". [RT #1727]
2003-08-02 00:38:59 +00:00
Mark Andrews
c0856b8177 979. [func] Incremental master file dumping. dns_master_dumpinc(),
dns_master_dumptostreaminc(), dns_dumpctx_attach(),
                        dns_dumpctx_detach(), dns_dumpctx_cancel(),
                        dns_dumpctx_db() and dns_dumpctx_version().
2003-08-01 23:19:13 +00:00
Mark Andrews
8c1c6e46ae 970. [func] 'max-journal-size' can now be used to set a target
size for a journal.
2003-07-31 23:34:57 +00:00
Mark Andrews
abd79e7de8 970. [func] 'max-journal-size' can now be used to set a target
size for a journal.
2003-07-31 06:56:51 +00:00
cvs2git
fb4531edb3 This commit was manufactured by cvs2git to create branch 'v9_3'. 2003-07-30 02:00:55 +00:00
Mark Andrews
597e257fdf 1498. [port] bsdos: 5.x support. 2003-07-30 02:00:52 +00:00
Mark Andrews
5e9f612524 1498. [port] bsdos: 5.x support. 2003-07-30 01:43:28 +00:00
Mark Andrews
eb126c1c77 #include <isc/string.h> [RT #8537] 2003-07-30 01:15:18 +00:00
Mark Andrews
d19fc9d988 #include <isc/string.h> [RT #8537] 2003-07-30 01:10:46 +00:00
cvs2git
63727e9a3b This commit was manufactured by cvs2git to create branch 'v9_3'. 2003-07-30 01:04:16 +00:00
Mark Andrews
6773fb173e remove redundant check [RT #8539] 2003-07-30 01:04:15 +00:00
Mark Andrews
57443f34ba remove redundant check [RT #8539] 2003-07-30 00:54:27 +00:00
Mark Andrews
a8f061d5c6 #include <config.h> 2003-07-29 04:31:23 +00:00
Mark Andrews
833a60b03d isc_int32_t -> isc_uint32_t 2003-07-29 04:30:07 +00:00
Mark Andrews
3f40de5598 isc_int32_t -> isc_uint32_t 2003-07-29 04:22:53 +00:00
cvs2git
2e5b4a743d This commit was manufactured by cvs2git to create branch 'v9_3'. 2003-07-28 07:03:16 +00:00
Mark Andrews
39ec601af3 pullup:
rt #5222: useing a wrong return type for isc_file_exists().
2003-07-28 07:03:15 +00:00
Mark Andrews
30083115dc add dns_byaddr_createptrname2 2003-07-25 11:50:42 +00:00
Mark Andrews
29ffef7149 add <config.h> 2003-07-25 08:21:45 +00:00
Mark Andrews
4d1fce191f 1496. [port] test for pthread_attr_setstacksize(). 2003-07-25 07:38:23 +00:00
Mark Andrews
5a042e1d08 1495. [cleanup] Replace hash functions with universal hash. 2003-07-25 07:30:43 +00:00
Mark Andrews
3184ff5e45 1496. [port] test for pthread_attr_setstacksize(). 2003-07-25 05:08:51 +00:00
Mark Andrews
7848bfa033 missing '*' 2003-07-25 05:05:28 +00:00
Mark Andrews
d5d2dca925 missing '*' 2003-07-25 05:02:54 +00:00
Mark Andrews
da204aa8be 1496. [protocol] dig, nslookup and host now perform nibble lookups
under IP6.ARPA, use -i for IP6.INT (dig and host).
                        lwres now uses IP6.ARPA.
2003-07-25 04:36:46 +00:00
Mark Andrews
1d04b5105d 1495. [cleanup] Replace hash functions with universal hash. 2003-07-25 03:31:45 +00:00
Mark Andrews
96391d4178 add hash.c/hash.h 2003-07-25 02:57:58 +00:00
cvs2git
f03d3eeed2 This commit was manufactured by cvs2git to create branch 'v9_2'. 2003-07-25 02:22:27 +00:00
Mark Andrews
1e107b3d7b 1495. [cleanup] Replace hash functions with universal hash. 2003-07-25 02:22:26 +00:00
Mark Andrews
4691e18ca0 deconst 2003-07-25 02:04:28 +00:00
Mark Andrews
5eb91bd90e silence compiler warnings (HPUX/11i) 2003-07-25 00:01:16 +00:00
Mark Andrews
4c54e122fe silence compiler warning (HPUX/11i) 2003-07-24 06:41:20 +00:00
Mark Andrews
bfee2789a6 silence compiler warning (HPUX/11i) 2003-07-24 06:31:55 +00:00
Mark Andrews
f2d11f4c11 1494. [security] Turn on RSA BLINDING as a precaution. 2003-07-24 06:18:42 +00:00
Mark Andrews
cc6271e46c 1494. [security] Turn on RSA BLINDING as a precaution. 2003-07-24 06:08:20 +00:00
cvs2git
8491d008f0 This commit was manufactured by cvs2git to create branch 'v9_3'. 2003-07-24 01:17:55 +00:00
cvs2git
79df9ecfdd This commit was manufactured by cvs2git to create branch 'v9_3'. 2003-07-23 06:58:00 +00:00
Mark Andrews
c1df871a18 silence compiler warnings (HPUX/11i) 2003-07-23 06:57:59 +00:00
Mark Andrews
3afde524a1 win32obj.obj -> win32os.obj 2003-07-23 03:59:50 +00:00
Mark Andrews
4757465d50 typo 2003-07-23 03:20:24 +00:00
Mark Andrews
ce08911be8 typo 2003-07-23 03:18:56 +00:00
Mark Andrews
faf21a64b8 regen 2003-07-23 02:23:06 +00:00
Mark Andrews
77c50a476c update for 9.2.3rc1 2003-07-22 07:00:28 +00:00
cvs2git
dd80cef295 This commit was manufactured by cvs2git to create branch 'v9_3'. 2003-07-22 04:03:55 +00:00
Mark Andrews
f4d86cfcea update_copyrights 2003-07-22 04:03:54 +00:00
Mark Andrews
5f11b5614e 1477. [bug] memory leak using stub zones and TSIG. 2003-07-21 05:55:03 +00:00
Mark Andrews
f25e5800c0 1492. [cleanup] Preserve rwlock quota context when upgrading /
downgrading. [RT #5599]
2003-07-21 01:28:23 +00:00
Mark Andrews
17a14e451d 1492. [cleanup] Preserve rwlock quota context when upgrading /
downgrading. [RT #5599]
2003-07-21 01:14:18 +00:00
Mark Andrews
afbb7b15ae Only fall back to TCP for slave zones if UDP refresh queries fail.
[RT #8253]
2003-07-21 01:11:29 +00:00
Mark Andrews
a20785632f 1491. [bug] dns_master_dump*() would produce extraneous $ORIGIN
lines. [RT #6206]
2003-07-21 00:37:25 +00:00
Mark Andrews
8667ca6c74 1489. [compat] Treat 'allow-update' on slave zones as a warning.
[RT #3469]
2003-07-18 06:07:25 +00:00
Mark Andrews
f488b1c311 1487. [compat] Treat 'allow-update' on slave zones as a warning.
[RT #3469]
2003-07-18 06:00:41 +00:00
cvs2git
abe872c276 This commit was manufactured by cvs2git to create branch 'v9_3'. 2003-07-18 04:35:52 +00:00
Mark Andrews
fe15a52e07 1488. [bug] Don't override trust levels for glue addresses.
[RT #5764]
2003-07-18 04:35:51 +00:00
Mark Andrews
4bb16c5856 1488. [bug] Don't override trust levels for glue addresses.
[RT #5764]
2003-07-18 04:30:01 +00:00
Mark Andrews
6dcc5d25c3 1487. [bug] A REQUIRE() failure could be triggered if a zone was
queued for transfer and the zone was then removed.
                        [RT #6189]
2003-07-18 04:18:46 +00:00
Mark Andrews
c676c1b497 1487. [bug] A REQUIRE() failure could be triggered if a zone was
queued for transfer and the zone was then removed.
                        [RT #6189]
2003-07-18 02:54:23 +00:00
Mark Andrews
64e7419bab 1486. [bug] isc_print_snprintf() '%%' consumed one too many format
characters. [RT# 8230]
2003-07-18 02:43:30 +00:00
Mark Andrews
ffdfae8e41 1486. [bug] isc_print_snprintf() '%%' consumed one too many format
characters. [RT# 8230]
2003-07-18 02:27:40 +00:00
Mark Andrews
83bd77fec9 1485. [bug] gen failed to handle high type values. [RT #6225] 2003-07-18 00:55:54 +00:00
Mark Andrews
471e0563c7 1485. [bug] gen failed to handle high type values. [RT #6225] 2003-07-17 08:05:15 +00:00
Mark Andrews
6b46515a00 1481. [bug] Refresh and stub queries failed to use masters keys
if specified. [RT #7391]
2003-07-17 07:11:17 +00:00
Mark Andrews
3ca4b8062f 1481. [bug] Refresh and stub queries failed to use masters keys
if specified. [RT #7391]
2003-07-17 07:05:12 +00:00
Mark Andrews
edb8af0b14 1480. [bug] Provide replay protection for rndc commands. Full
replay protection requires both rndc and named to
                        be updated.  Partial replay protection (limited
                        exposure after restart) is provided if just named
                        is updated.
2003-07-17 06:36:47 +00:00
Mark Andrews
72ddc4cef9 1480. [bug] Provide replay protection for rndc commands. Full
replay protection requires both rndc and named to
                        be updated.  Partial replay protection (limited
                        exposure after restart) is provided if just named
                        is updated.
2003-07-17 06:24:44 +00:00
Mark Andrews
57fe5960b5 remove unused code 2003-07-09 05:17:49 +00:00
Mark Andrews
51e94e467d ins strerror.c to be consistant with 9.3 2003-07-09 05:11:08 +00:00
Mark Andrews
79e5e7b356 1348. [port] win32: Rewrote code to use I/O Completion Ports
in socket.c and eliminating a host of socket
                        errors. Performance is enhanced.
2003-07-09 04:58:19 +00:00
Mark Andrews
dbd34ac1d0 remove potential file descriptor leak 2003-07-09 03:28:44 +00:00
Mark Andrews
c5daf90e7c Openssl 0.9.f 2003-07-09 01:33:16 +00:00
Mark Andrews
f04ce044c6 win32os is in this directory not the parent 2003-07-09 01:16:29 +00:00
Mark Andrews
407128fd48 1479. [bug] cfg_create_tuple() failed to handle out of
memory cleanup.  parse_list() would leak memory
                        on syntax errors.
reviewed: explorer
2003-07-08 23:14:52 +00:00
Mark Andrews
89eff0031e update WIDE copyright. 2003-07-04 05:22:34 +00:00
Mark Andrews
5798e5b3d4 update WIDE copyright notice. 2003-07-04 05:21:47 +00:00
Mark Andrews
ad4b2f37e0 1479. [bug] cfg_create_tuple() failed to handle out of
memory cleanup.  parse_list() would leak memory
                        on syntax errors.
2003-07-03 01:50:25 +00:00
Mark Andrews
436f8fb854 1473. [bug] create_map() and create_string() failed to handle out
of memory cleanup.  [RT #6813]
2003-07-03 00:50:03 +00:00
Mark Andrews
3425cd6803 1473. [bug] create_map() and create_string() failed to handle out
of memory cleanup.  [RT #6813]
2003-07-03 00:43:28 +00:00
Mark Andrews
54dedb94df 1122. [tuning] Resolution timeout reduced from 90 to 30 seconds.
[RT #2046]
2003-07-02 04:43:27 +00:00
Mark Andrews
73e65a8010 1473. [bug] free_map() and free_string() failed to handle out
of memory cleanup.  [RT #6813]
2003-07-02 04:37:35 +00:00
Mark Andrews
af6d74e360 1462. [bug] parse_sizeval() failed to check the token type.
[RT #5586]
2003-07-02 04:34:10 +00:00
Mark Andrews
840b61d38f 1471. [bug] libbind: updated to BIND 8.4.0. 2003-07-02 04:10:28 +00:00
Mark Andrews
edc6991f4b 1471. [bug] libbind: updated to BIND 8.4.0. 2003-07-02 04:00:40 +00:00
Mark Andrews
9c1eb2279d 1477. [bug] memory leak using stub zones and TSIG. 2003-07-01 03:51:30 +00:00
Mark Andrews
f189a07122 1471. [bug] libbind: updated to BIND 8.4.0. 2003-06-27 04:18:46 +00:00
Mark Andrews
3e82bbf686 1471. [bug] libbind: updated to BIND 8.4.0. 2003-06-27 03:51:44 +00:00
Mark Andrews
b9294462c0 1476. [port] win32: port unreachables were blocking further i/o
on sockets (Windows 2000 SP2 and later).
2003-06-24 07:26:35 +00:00
Mark Andrews
f95231835f 1475. [port] Probe for old sprintf(). 2003-06-24 06:24:44 +00:00
Mark Andrews
090f79c6c2 1474. [port] Provide strtoul() and memmove() for platforms
without them.
2003-06-24 05:18:39 +00:00
Mark Andrews
21f1794606 1474. [port] Provide strtoul() and memmove() for platforms
without them.
2003-06-24 05:11:53 +00:00
Mark Andrews
0cb25226fb 1473. [bug] free_map() and free_string() failed to handle out
of memory cleanup.  [RT #6813]
2003-06-20 02:50:48 +00:00
Mark Andrews
692ae2fff9 don't print redundant $ORIGIN's. 2003-06-18 05:42:45 +00:00
Mark Andrews
c8af2c78dd Use LOCK_ZONE/UNLOCK_ZONE. 2003-06-06 06:09:39 +00:00
Mark Andrews
90df33887f 1471. [bug] libbind: updated to BIND 8.4.0. 2003-06-03 06:40:22 +00:00
Mark Andrews
68e6e43c2b regen:
1471.   [bug]           libbind: updated to BIND 8.4.0.
2003-06-03 04:40:51 +00:00
Mark Andrews
7a857bdb68 1471. [bug] libbind: updated to BIND 8.4.0. 2003-06-03 04:39:35 +00:00
Mark Andrews
61b416af86 update for v7 compile 2003-05-24 02:22:39 +00:00
Mark Andrews
7767c2a7aa try tcp axfr/ixfr even if refresh fails/refused. 2003-05-21 14:15:32 +00:00
Mark Andrews
80554c9aa3 add isc_rwlock_tryupgrade, isc_rwlock_downgrade 2003-05-20 07:37:10 +00:00
Mark Andrews
df64d9f473 workaround missing stat macro 2003-05-20 07:35:49 +00:00
Mark Andrews
f64a0125a9 silence compiler warning. 2003-05-20 07:32:31 +00:00
Mark Andrews
9c83671abd isc/stat.h is needed to be referenced outside of win32 space for S_ISREG etc. 2003-05-20 00:06:56 +00:00
Mark Andrews
e1b3761bb2 cvsnt doesn't handle msdos style line termination 2003-05-19 23:16:08 +00:00
Mark Andrews
99182fa095 convert back to unix format as cvsnt doesn't seem to cope 2003-05-19 23:06:23 +00:00
Mark Andrews
5679eb9258 1445. [bug] DNS_ADBFIND_STARTATROOT broke stub zones. This has
been replaced with DNS_ADBFIND_STARTATZONE which
                        causes the search to start using the closest zone.
2003-05-19 04:47:06 +00:00
Mark Andrews
2c6d181f85 restore dos newlines 2003-05-16 05:46:16 +00:00
Mark Andrews
cfb3789c07 1470. [bug] Incorrect length passed to snprintf. [RT #5966] 2003-05-15 06:51:53 +00:00