Compare commits

...

1517 Commits

Author SHA1 Message Date
Mark Andrews
b0f3042e37 add PRODUCT to version.h; handle empty PATCHVER 2013-03-07 15:42:06 +11:00
Tinderbox User
c4bf484fdf newcopyrights 2013-03-07 02:48:31 +00:00
Tinderbox User
f7f1907186 9.6-ESV-R9b2 2013-03-07 02:23:12 +00:00
Mark Andrews
0c5b21f8d2 9.6-ESV-R9b2 2013-03-07 13:12:18 +11:00
Tinderbox User
b8a04649f1 update copyright notice 2013-03-06 23:46:06 +00:00
Tinderbox User
4a4ac126a7 newcopyrights 2013-03-06 23:30:02 +00:00
Mark Andrews
b8cd20fa3c 3517. [bug] Reorder destruction to avoid shutdown race. [RT #32777] 2013-03-07 07:20:44 +11:00
Mark Andrews
cbea577f2a 3515. [port] '%T' is not portable in strftime(). [RT #32763]
(cherry picked from commit 550c92405f)
2013-03-06 15:36:15 +11:00
Tinderbox User
6e64182fec update copyright notice 2013-03-05 23:45:13 +00:00
Tinderbox User
2e4be4d888 newcopyrights 2013-03-05 23:30:02 +00:00
Mark Andrews
bc0ecfe8f3 check that the lwresd server has started before querying it
(cherry picked from commit 661f1197a200bdd3d2411e9b02a46b93fb1fb083)
2013-03-05 17:24:57 +11:00
Evan Hunt
801cf525ab [v9_6] need to quote PRODUCT
(cherry picked from commit f107fe7fc9)
2013-03-02 00:17:19 -08:00
Tinderbox User
2120ac5e5c update copyright notice 2013-03-01 23:45:13 +00:00
Tinderbox User
6a42935e90 newcopyrights 2013-03-01 23:30:03 +00:00
Curtis Blackburn
90cc42d025 [v9_6]3509. [cleanup] Added a product line to version file to allow for
easy naming of different products (BIND
                        vs BIND ESV, for example). [RT #32755]
(cherry picked from commit 53a4e18582)
2013-03-01 16:31:37 -06:00
Evan Hunt
5a6afe688d [v9_6] add changes note for 32338 2013-02-28 13:53:08 -08:00
Tinderbox User
6bcf6c9e47 regen v9_6 2013-02-28 01:07:14 +00:00
Evan Hunt
80f14644b3 [v9_6] clarify size_spec in ARM
3503.	[doc]		Clarify size_spec syntax. [RT #32449]
(cherry picked from commit de1223830f)
(cherry picked from commit 70351d6e18)
(cherry picked from commit 61a0bb0f4b)
2013-02-27 14:41:09 -08:00
Tinderbox User
7ca530711c regen v9_6 2013-02-27 01:11:55 +00:00
Tinderbox User
889497d7a8 update copyright notice 2013-02-26 23:45:14 +00:00
Tinderbox User
ed897970ad newcopyrights 2013-02-26 23:30:02 +00:00
Evan Hunt
e06d01139a [v9_6] fix built-in zone doc
3499.	[doc]		Corrected ARM documentation of built-in zones.
			[RT #32694]
(cherry picked from commit 298ca12250)
(cherry picked from commit a0d472b36e)
(cherry picked from commit b2ae46acbc)
2013-02-26 11:58:43 -08:00
Mark Andrews
6b6aef7492 3498. [bug] zone statistics for zones which matched a potential
empty zone could have their zone-statistics setting
                        overridden.

reviewed via jabber.
2013-02-26 15:51:06 +11:00
Tinderbox User
88434def08 update copyright notice 2013-02-18 23:45:13 +00:00
Tinderbox User
9c5238def5 newcopyrights 2013-02-18 23:30:02 +00:00
Mark Andrews
46cd744950 dlzdb in 9.8 and earlier doesn't have a link element 2013-02-19 08:35:48 +11:00
Mark Andrews
e85ad696bb 3489. [bug] --enable-developer now turns on ISC_LIST_CHECKINIT.
dns_dlzcreate() failed to properly initialize
                        dlzdb.link.  When cloning a rdataset do not copy
                        the link contents.  [RT #32651]

Squashed commit of the following:

commit c36c49cbdaeec8b2506dffadbffa543283702fa2
Author: Mark Andrews <marka@isc.org>
Date:   Mon Feb 18 23:24:57 2013 +1100

    don't copy the link when cloning a rdataset

commit 9fef5827edcc925075832dcce900eeca9057456d
Author: Mark Andrews <marka@isc.org>
Date:   Mon Feb 18 23:23:25 2013 +1100

    initialise the dlzdb link; don't return a stale pointer on error

commit a13c584732eae2dde48920a73886b54f1fe6b030
Author: Mark Andrews <marka@isc.org>
Date:   Mon Feb 18 23:21:59 2013 +1100

    turn on ISC_LIST_CHECKINIT

Conflicts:
	lib/dns/dlz.c
(cherry picked from commit c1402b00d3)

Conflicts:
	CHANGES
2013-02-19 07:33:54 +11:00
Mark Andrews
6f60b37d38 fatal errors should be reflected in exit status 2013-02-18 20:38:22 +11:00
Mark Andrews
12a3b0a480 unlink from namelist before calling dns_message_addname
(cherry picked from commit 8244b5c296cd2f4d3c90af969d79bf4c4d3f8ead)
2013-02-18 20:36:03 +11:00
Mark Andrews
98cc9f6ead 3488. [bug] Use after free error with DH generated keys. [RT #32649] 2013-02-18 20:30:10 +11:00
Tinderbox User
3482345a12 update copyright notice 2013-02-16 23:45:11 +00:00
Mark Andrews
e2bcc6282d update 2013-02-16 11:23:11 +11:00
Mark Andrews
05045c3ef5 3487. [bug] Change 3444 was not complete. There was a additional
place where the NOQNAME proof needed to be saved.
                        [RT #32629]

Squashed commit of the following:

commit cdef844f57bd3eb30b1f77135b89b6f9360e8bee
Author: Mark Andrews <marka@isc.org>
Date:   Sat Feb 16 00:27:14 2013 +1100

    whitespace

commit 60eb7e3f6cdd102d6aaf0fb4ada8c552576e4502
Author: Mark Andrews <marka@isc.org>
Date:   Sat Feb 16 00:19:51 2013 +1100

    return noqname proof with +cd and dlv

Conflicts:
	CHANGES
2013-02-16 07:51:01 +11:00
Mark Andrews
c7daf72017 silence compiler warning
(cherry picked from commit 52946dc6c0)
2013-02-15 17:43:01 +11:00
Tinderbox User
481dc30c3a newcopyrights 2013-02-07 23:30:02 +00:00
Curtis Blackburn
495e2c11bb [v9_6]3481. [cleanup] removed use of const const in atf
(cherry picked from commit 0da7c95546)
2013-02-06 17:52:11 -06:00
Tinderbox User
eab85ef275 update copyright notice 2013-02-05 23:45:10 +00:00
Tinderbox User
a98426f766 newcopyrights 2013-02-05 23:30:01 +00:00
Mark Andrews
9bb13b5f19 explict cast to (char *) from (void *) to silence compiler warning in %s checking 2013-02-05 14:26:08 +11:00
Tinderbox User
4afa6cb717 update copyright notice 2013-01-25 23:45:11 +00:00
Tinderbox User
4ac7971499 newcopyrights 2013-01-25 23:30:02 +00:00
Mark Andrews
b4cacbf1fa 3479. [bug] Address potential memory leaks in gssapi support
code. [RT #32405]
2013-01-25 12:24:58 +11:00
Tinderbox User
915c1cd652 update copyright notice 2013-01-24 23:45:14 +00:00
Tinderbox User
ec21d7b3f6 newcopyrights 2013-01-24 23:30:01 +00:00
Tinderbox User
639b190505 regenerate 2013-01-24 22:55:37 +00:00
Evan Hunt
1d096cbf8d [v9_6] build failure in C99
3478.	[port]		Fix a build failure in strict C99 environments
			[RT #32475]
(cherry picked from commit cd63e94310)
2013-01-24 14:52:41 -08:00
Evan Hunt
309872bb5a Merge branch 'v9_6' of ssh://repo/proj/git/prod/bind9 into v9_6 2013-01-23 15:49:50 -08:00
Evan Hunt
a0d68463e1 [v9_6] fix dns_request_createvia assert
3474.	[bug]		nsupdate could assert when the local and remote
			address families didn't match. [RT #22897]
(cherry picked from commit ffff5d6792)
(cherry picked from commit 8d025e23e3)
2013-01-23 15:47:51 -08:00
Tinderbox User
83cc9ffe57 regenerate 2013-01-23 23:10:18 +00:00
Evan Hunt
0508e22587 [v9_6] fix enable-openssl-hash/with-atf combo 2013-01-23 15:06:24 -08:00
Tinderbox User
464b8634a5 update copyright notice 2013-01-21 23:45:10 +00:00
Tinderbox User
7035fc0f93 newcopyrights 2013-01-21 23:30:01 +00:00
Evan Hunt
4f18cc1174 [v9_6] prevent ixfr/ns1 being removed 2013-01-21 14:20:49 -08:00
Evan Hunt
63775871db [v9_6] add 10.53.0.8 address 2013-01-21 12:38:29 -08:00
Evan Hunt
6eeb32663e Merge branch 'v9_6' of ssh://repo/proj/git/prod/bind9 into v9_6 2013-01-18 14:21:19 -08:00
Evan Hunt
ee709e9393 [v9_6] add CVE, correct change 3388
(cherry picked from commit 3806133da5)
2013-01-18 14:20:45 -08:00
Tinderbox User
47894d492d update copyright notice 2013-01-17 23:45:13 +00:00
Tinderbox User
e4927b728e newcopyrights 2013-01-17 23:30:01 +00:00
Mark Andrews
e01bdca94f add POST's 2013-01-17 23:27:38 +11:00
Mark Andrews
5b6e1a6067 s/head/tail/ 2013-01-17 21:46:29 +11:00
Mark Andrews
f7d9efd98b Silence "Access to field 'type' results in a dereference of a null pointer" by adding appropriate assertions. 2013-01-17 14:45:40 +11:00
Mark Andrews
4c43678e8e Silence "Use of memory after it is freed" by asserting the head and tail of list are not the element after it is unlinked from the list. 2013-01-17 14:22:48 +11:00
Tinderbox User
3d145d5061 update copyright notice 2013-01-15 23:45:10 +00:00
Tinderbox User
969799e84b newcopyrights 2013-01-15 23:30:01 +00:00
Mark Andrews
fbe1c2cfd9 silence compiler warning: Value stored to '?' is never used 2013-01-16 07:14:12 +11:00
Tinderbox User
04b3e60a3e update copyright notice 2013-01-11 23:45:15 +00:00
Tinderbox User
a9eeec72b4 newcopyrights 2013-01-11 23:30:01 +00:00
Mark Andrews
9a66f76036 fix typo 2013-01-11 17:52:59 +11:00
Mark Andrews
e08fe9752f add dns_zone_clearqueryaoncl, dns_zone_getqueryaoncl 2013-01-11 16:54:29 +11:00
Mark Andrews
bbb9aa3e3c windows snprint support 2013-01-11 16:27:40 +11:00
Mark Andrews
7fe8320eed 9.6-ESV-R9 2013-01-11 15:24:50 +11:00
Mark Andrews
a79d139351 9.6-ESV-R9b1 2013-01-11 14:50:11 +11:00
Mark Andrews
1f6dc1abee 3465. [bug] Handle isolated reserved ports. [RT #31778] 2013-01-11 14:13:30 +11:00
Mark Andrews
7a5d21ce36 backport missing win32 isc_time_formatISO8601 2013-01-11 13:40:40 +11:00
Mark Andrews
dd65cba6c8 backport missing win32 isc_time_formatISO8601 2013-01-11 13:40:21 +11:00
Evan Hunt
09bffc43ad [v9_6] contrib/dane/mkdane.sh
3409.	[contrib]	contrib/dane/mkdane.sh: Tool to generate TLSA RR's
			from X.509 certificates, for use with DANE
			(DNS-based Authentication of Named Entities).
			[RT #30513]
2013-01-11 13:34:38 +11:00
Mark Andrews
6d5e5310fb Merge branch 'v9_6' of repo.isc.org:/proj/git/prod/bind9 into v9_6 2013-01-11 12:50:37 +11:00
Mark Andrews
14d71a66fc spelling; whitespace 2013-01-11 12:38:32 +11:00
Tinderbox User
0be50bb94f regen v9_6 2013-01-11 01:06:55 +00:00
Mark Andrews
152a3c7a0a 9.6-ESV-R9b1 2013-01-11 12:03:12 +11:00
Mark Andrews
aa19c3d96e record 9.8.x range info 2013-01-11 11:52:33 +11:00
Tinderbox User
70df3d06bc 9.6-ESV-R9b1 2013-01-11 00:33:16 +00:00
Tinderbox User
ce69235dce update copyright notice 2013-01-10 23:45:15 +00:00
Tinderbox User
77e30358a8 newcopyrights 2013-01-10 23:30:06 +00:00
Tinderbox User
159c34de3f regen v9_6 2013-01-10 20:22:34 +00:00
Evan Hunt
fe73aec175 [v9_6] doc clarification about dig & resolv.conf 2013-01-10 11:50:10 -08:00
Mark Andrews
e252b8b8da 3461. [bug] Negative responses could incorrectly have AD=1
set. [RT #32237]
2013-01-10 21:55:05 +11:00
Mark Andrews
e80cd3be84 remove dead code 2013-01-10 18:13:01 +11:00
Mark Andrews
4e290bf392 remove methods not used in 9.6.x 2013-01-10 18:07:55 +11:00
Mark Andrews
04902c6369 2512. [func] Print a summary of the cached records which make up
the negative response.  [RT #18885]
2013-01-10 11:43:05 +11:00
Tinderbox User
55d5562536 update copyright notice 2013-01-09 23:45:13 +00:00
Mark Andrews
51c914b976 update 2013-01-10 10:40:24 +11:00
Mark Andrews
997176a75e Merge remote-tracking branch 'refs/remotes/origin/v9_6' into v9_6 2013-01-10 10:39:00 +11:00
Mark Andrews
6132d502b9 3458. [bug] Return FORMERR when presented with a overly long
domain named in a request. [RT #29682]
2013-01-10 10:35:37 +11:00
Tinderbox User
f057f3c98a newcopyrights 2013-01-09 23:30:22 +00:00
Evan Hunt
6035caf7a3 [v9_6] typo 2013-01-09 14:35:01 -08:00
Mark Andrews
15dba50013 3457. [protocol] Add ILNP records (NID, LP, L32, L64). [RT #31836] 2013-01-10 08:38:13 +11:00
Mark Andrews
3f9f034f89 3456. [port] g++47: aft fails to compile. [RT #32012] 2013-01-09 22:33:59 +11:00
Mark Andrews
46f93322c7 remove dead code 2013-01-09 21:51:42 +11:00
Mark Andrews
0983eab761 3455. [contrib] queryperf: fix getopt option list. [RT #32338] 2013-01-09 21:41:16 +11:00
Mark Andrews
087cf7aa6c use known length for known algorithns in fromtext_dlv cf fromtext_ds 2013-01-09 21:08:38 +11:00
Mark Andrews
bfcc458e8e test eighth interface 2013-01-09 19:10:41 +11:00
Mark Andrews
3d0c95fe2d 3373. [bug] win32: open raw files in binary mode. [RT #30944]
was not complete openfile_raw should be using mode "rb" rather than "r".
2013-01-09 17:07:26 +11:00
Mark Andrews
7bc28859b9 3454. [port] sparc64: improve atomic support. [RT #25182] 2013-01-09 12:57:30 +11:00
Tinderbox User
2b59928888 update copyright notice 2013-01-08 23:45:11 +00:00
Tinderbox User
86b746428f newcopyrights 2013-01-08 23:30:02 +00:00
Mark Andrews
30194165fa queryperf: fix getopt option string 2013-01-08 22:58:08 +11:00
Mark Andrews
c535907383 spelling 2013-01-08 11:06:35 +11:00
Mark Andrews
1db4de0cc0 3452. [bug] Accept duplicate singlton records. [RT #32329] 2013-01-08 10:59:49 +11:00
Tinderbox User
ea03a55dc5 update copyright notice 2013-01-06 23:45:10 +00:00
Tinderbox User
5c38fb079f newcopyrights 2013-01-06 23:30:02 +00:00
Mark Andrews
138b7ad44a 3451. [port] Increase per thread stack size from 64K to 1M.
[RT #32230]
2013-01-07 09:54:37 +11:00
Tinderbox User
0782358696 update copyright notice 2013-01-05 23:45:11 +00:00
Tinderbox User
6717184461 newcopyrights 2013-01-05 23:30:02 +00:00
Mark Andrews
d6ad0ec371 3450. [bug] Stop logfileconfig system test spam system logs.
[RT #32315]

Squashed commit of the following:

commit ad40744e2c7dc253b70857bb229def5dd194b418
Author: Mark Andrews <marka@isc.org>
Date:   Fri Jan 4 17:24:45 2013 +1100

    logfileconfig spams the system log files

Conflicts:
	bin/named/main.c

Conflicts:
	bin/tests/system/logfileconfig/tests.sh

Conflicts:
	bin/named/main.c
	bin/tests/system/logfileconfig/tests.sh
2013-01-06 08:03:51 +11:00
Mark Andrews
eb0fce9258 remove dead code 2013-01-06 07:46:54 +11:00
Tinderbox User
bd002de585 regen v9_6 2013-01-05 01:07:06 +00:00
Tinderbox User
0701549b85 update copyright notice 2013-01-04 23:45:11 +00:00
Tinderbox User
4350719d29 newcopyrights 2013-01-04 23:30:04 +00:00
Mark Andrews
8a1c58d755 make static 2013-01-05 00:33:44 +11:00
Mark Andrews
2931e83af7 silence compiler warning 2013-01-04 15:57:46 +11:00
Evan Hunt
81083aaa75 [v9_6] add print.h 2013-01-03 18:24:06 -08:00
Mark Andrews
1c4083048e Merge branch 'v9_6' of repo.isc.org:/proj/git/prod/bind9 into v9_6 2013-01-04 12:29:24 +11:00
Mark Andrews
5a1d49a1ef 3445. [bug] Warn about zone files with blank owner names
immediately after $ORIGIN directives. [RT #31848]

Conflicts:
	lib/dns/tests/master_test.c
2013-01-04 12:28:57 +11:00
Tinderbox User
b7e251c4a2 regen v9_6 2013-01-04 01:07:04 +00:00
Mark Andrews
e7df3e584e 3449. [bug] gen.c: use the pre-processor to construct format
strings so that compiler can perform sanity checks;
                        check the snprintf results. [RT #17576]

Conflicts:
	lib/dns/gen.c
2013-01-04 11:09:39 +11:00
Evan Hunt
7a904931ad [v9_6] allow-query-on works now
3448.	[bug]		The allow-query-on ACL was not processed correctly.
			[RT #29486]
(cherry picked from commit 222d38735f)
(cherry picked from commit 8d9207a17b)
(cherry picked from commit ba2599657b)
2013-01-03 15:39:21 -08:00
Tinderbox User
59c0cfc789 update copyright notice 2013-01-02 23:45:10 +00:00
Tinderbox User
3dfef43868 newcopyrights 2013-01-02 23:30:01 +00:00
Tinderbox User
c3fe41869f update copyright notice 2013-01-01 23:45:10 +00:00
Tinderbox User
bd3e5de6d9 newcopyrights 2013-01-01 23:30:01 +00:00
Mark Andrews
6f7a7dc5eb 3447. [port] Add support for libxml2-2.9.x [RT #32231] 2013-01-01 23:15:11 +00:00
Mark Andrews
5f8762c504 remove extranous rdata in nxrrset call as it is not ingnored in Net::DNS 0.70 2012-12-21 14:14:28 +11:00
Mark Andrews
d66b536512 sign_tcp_continuation doesn't work with the newer versions of
Net:DNS.  Code has been submitted so we don't need to use
the sign_tcp_continuation hack in future.
2012-12-21 13:02:03 +11:00
Tinderbox User
a66479c66d update copyright notice 2012-12-20 23:45:10 +00:00
Evan Hunt
eef1314b8b [v9_6] remove unnecessary memcpy 2012-12-20 10:34:44 -08:00
Mark Andrews
78738be0e1 TSIG no longer has a mac_size method; arcount no longer need to be adjusted 2012-12-21 00:31:44 +11:00
Mark Andrews
6995c4567c update 2012-12-20 11:57:47 +11:00
Mark Andrews
e83ec5e03f adjust test to account for blank owner after origin now being rejected 2012-12-19 14:37:23 +11:00
Mark Andrews
1503ea6472 -H not -i sets iterations 2012-12-19 14:18:50 +11:00
Mark Andrews
40535921ab fix genrandom path 2012-12-19 13:36:28 +11:00
Mark Andrews
e06306eb09 remove redundant $ORIGINs 2012-12-19 13:35:19 +11:00
Mark Andrews
cc63b4f7f5 silence signed/unsigned warning; rename log -> fctx_log 2012-12-19 12:41:01 +11:00
Evan Hunt
d191810ed3 [v9_6] include SRCID in windows builds
3446.	[port]		win32: Add source ID (see change #3400) to build.
			[RT #31683]
(cherry picked from commit 2dd959aa18)
2012-12-18 16:31:41 -08:00
Evan Hunt
9b6378026c [v9_6] reject $ORIGIN before inherited name
3445.	[bug]		Reject zone files with blank owner names immediately
			after $ORIGIN directives. [RT #31848]
(cherry picked from commit 3ad3e9c948)
(cherry picked from commit cdea02bf60)
2012-12-18 16:26:11 -08:00
Evan Hunt
52cc5ff8db [v9_6] fix change number 2012-12-18 16:25:19 -08:00
Tinderbox User
e60b4aa460 update copyright notice 2012-12-18 23:45:11 +00:00
Mark Andrews
c973a1dee7 3443. [bug] The NOQNAME proof was not being returned from cached
insecure responses. [RT #21409]

Conflicts:
	bin/tests/system/conf.sh.in
	lib/dns/include/dns/nsec3.h
	lib/dns/validator.c
2012-12-19 10:31:27 +11:00
Mark Andrews
b77bdaa5ce 3442. [port] Net::DNS 0.69 introduced a non backwards compatible
change. [RT #32216]
2012-12-19 08:49:35 +11:00
Mark Andrews
84dde6383c Net::DNS 0.{70,71} doesn't force the TTL to zero for yxrrset, nxrrset and rr_del 2012-12-18 11:45:17 +11:00
Mark Andrews
68f2c843be don't wipe out named.run when restarting 2012-12-14 17:48:11 +11:00
Mark Andrews
4f1853005d 3441. [maint] D.ROOT-SERVERS.NET is now 199.7.91.13. 2012-12-14 12:47:51 +11:00
Mark Andrews
1b9f10181b 3440. [bug] Reorder get_key_struct to not trigger a assertion when
cleaning up due to out of memory error. [RT #32131]
2012-12-13 11:20:21 +11:00
Mark Andrews
ff2d989592 3439. [bug] contrib/dlz error checking fixes. [RT #32102]
Conflicts:
	contrib/dlz/example/dlz_example.c
	contrib/dlz/example/dlz_minimal.h

Conflicts:
	contrib/dlz/drivers/dlz_filesystem_driver.c
	contrib/dlz/example/dlz_example.c
	contrib/dlz/example/dlz_minimal.h
2012-12-11 13:29:34 +11:00
Mark Andrews
0fcbd40175 throw fatal error on realloc failure 2012-12-10 10:18:03 +11:00
Tinderbox User
38215b46b7 update copyright notice 2012-12-08 23:45:12 +00:00
Tinderbox User
a4e7c840ca newcopyrights 2012-12-08 23:30:02 +00:00
Mark Andrews
2f74870f49 RETTOK -> RETERR 2012-12-09 07:46:35 +11:00
Mark Andrews
4b6f307bd7 isc_buffer_init -> isc_buffer_constinit 2012-12-09 07:16:04 +11:00
Mark Andrews
22407050fe DIG -> $DIG 2012-12-08 15:33:10 +11:00
Mark Andrews
c35c678e1a 3438. [bug] Don't accept unknown data escape in quotes. [RT #32031]
Squashed commit of the following:

commit 7ad3daade513c94a1c92ee7c91c112f161d13ef4
Author: Mark Andrews <marka@isc.org>
Date:   Mon Dec 3 15:03:44 2012 +1100

    look at the second token to determine if a TXT record in of unknown format or not

commit 7df32138462646f6aee84ffa56d02ac24ec8d672
Author: Mark Andrews <marka@isc.org>
Date:   Mon Dec 3 12:42:18 2012 +1100

    '"\#"' was incorrectly being treated as a unknown data escape sequence.
2012-12-08 14:14:04 +11:00
Mark Andrews
4871328f72 3437. [bug] isc_buffer_init -> isc_buffer_constinit to initialise
buffers with constant data. [RT #32064]

Squashed commit of the following:

commit 3433b96bf11f8c90ccbe412f01d02a6d8bbc2d33
Author: Mark Andrews <marka@isc.org>
Date:   Sat Dec 8 12:41:16 2012 +1100

    isc_buffer_init -> isc_buffer_constinit

commit c22dbcc1122a0a44f7b46068e0ccbc25353a57d5
Author: Mark Andrews <marka@isc.org>
Date:   Sat Dec 8 12:38:39 2012 +1100

    isc_buffer_init -> isc_buffer_constinit

commit 900820416c45c1887d0d22d7a010df60a903bd56
Author: Mark Andrews <marka@isc.org>
Date:   Sat Dec 8 12:24:19 2012 +1100

    remove isc_buffer_reconstinit

commit f815711c17b05f9961786a90b9bae902d3c01494
Author: Mark Andrews <marka@isc.org>
Date:   Wed Dec 5 15:42:57 2012 +1100

    add isc_buffer_constinit
2012-12-08 13:08:03 +11:00
Tinderbox User
240a1f6813 update copyright notice 2012-12-07 23:45:11 +00:00
Tinderbox User
68e6bc8c55 newcopyrights 2012-12-07 23:30:02 +00:00
Evan Hunt
4fe7f9e64d [v9_6] check malloc/calloc return values
3436.	[bug]		Check malloc/calloc return values. [RT #32088]
(cherry picked from commit 45f3693294)
2012-12-07 12:24:54 -08:00
Mark Andrews
a6aeebda20 3435. [bug] Cross compilation support in configure was broken.
[RT #32078]

Squashed commit of the following:

commit 9c67d7a52346dffeb7609f08d3aaa8a8689d8094
Author: Mark Andrews <marka@isc.org>
Date:   Fri Dec 7 13:31:50 2012 +1100

    regen

commit 4c1874dd3a98ea8e50b0860b107bd2deb8550af0
Author: Mark Andrews <marka@isc.org>
Date:   Fri Dec 7 13:31:10 2012 +1100

    improve cross compile support; tidy --help output

commit 15ba411a728cc35c904804935477b15c8a65ebbd
Author: Mark Andrews <marka@isc.org>
Date:   Fri Dec 7 13:28:46 2012 +1100

    add util/xc

commit 165bc538fa6590752d7006348285a3ba48713498
Author: Mark Andrews <marka@isc.org>
Date:   Fri Dec 7 13:27:35 2012 +1100

    test cross compiler

Conflicts:
	CHANGES
	config.h.in
	configure
	configure.in
2012-12-07 16:40:22 +11:00
Mark Andrews
40869b938b silence clang --analyser false positive 2012-12-05 11:43:54 +11:00
Mark Andrews
01d3af945b treat clang 3.x and 4.x as independent release streams 2012-12-03 09:09:19 +11:00
Mark Andrews
0f7c52af38 workaround only needed for clang 3.1 2012-12-03 07:59:34 +11:00
Mark Andrews
66d5cfe992 silence compiler warnings 2012-12-01 21:35:24 +11:00
Mark Andrews
a978b24900 signed/unsigned comparision 2012-11-30 23:37:26 +11:00
Mark Andrews
b04d25d98f silence clang --analyze warnings 2012-11-30 18:53:43 +11:00
Mark Andrews
ba57636139 conditionally silence false positives from clang --analyze 2012-11-30 16:19:56 +11:00
Mark Andrews
3910d31e1d regen 2012-11-30 12:31:06 +11:00
Mark Andrews
f2ed4e1c5e Merge branch 'v9_6' of repo.isc.org:/proj/git/prod/bind9 into v9_6 2012-11-30 12:25:59 +11:00
Mark Andrews
179d1bd965 add /opt/local/share/xsl/docbook-xsl to list of locations to look for docbook files 2012-11-30 12:20:59 +11:00
Tinderbox User
b847e7105e regen v9_6 2012-11-30 01:15:10 +00:00
Mark Andrews
1f253dcf4d 3429. [bug] dns_zone_getserial2 could a return success without
returning a valid serial. [RT #32007]

Squashed commit of the following:

commit 0057f4b6e843c3998b987dbc7f32ceeee8afc150
Author: Mark Andrews <marka@isc.org>
Date:   Fri Nov 30 08:13:15 2012 +1100

    zone_get_from_db could return success without setting return valuses; serial is only valid if soacount is none zero

Conflicts:
	lib/dns/zone.c
2012-11-30 12:02:17 +11:00
Tinderbox User
e266df465f update copyright notice 2012-11-29 23:45:10 +00:00
Jeremy C. Reed
5a6d0a9844 Remove link to AUSCERT article about ACLs. It has been broken
for at least 6 years.
See ticket #16479 for details.
No CHANGES entry added.
This was not reviewed. It is minor.
2012-11-30 10:40:43 +11:00
Evan Hunt
1ff8b5bef5 [v9_6] add timezone to dig
3428.	[cleanup]	dig: Add timezone to date output. [RT #2269]
(cherry picked from commit 706219e547)
(cherry picked from commit df9aeb663d)
(cherry picked from commit 5d1b72e2ed)
2012-11-29 09:09:02 -08:00
Mark Andrews
e1b09c2c48 use consistent type in sizeof and ultimate type cast 2012-11-30 00:56:31 +11:00
Mark Andrews
9dc8381ff4 null pointer derefernce on out of memory 2012-11-30 00:51:17 +11:00
Mark Andrews
133ca384d1 initialize the octet string to empty so that we don't free garbage on error 2012-11-29 18:13:27 +11:00
Evan Hunt
961e45050f [v9_6] fix dig +trace output
3427.	[bug]		dig +trace incorrectly displayed name server
			addresses instead of names. [RT #31641]
(cherry picked from commit 2f21adbc6a)
(cherry picked from commit 90dbd7c2e0)
(cherry picked from commit fddb023637)
2012-11-28 19:07:04 -08:00
Tinderbox User
ab9d947465 regen v9_6 2012-11-29 01:07:54 +00:00
Mark Andrews
2346a15d6c update 2012-11-29 10:43:55 +11:00
Mark Andrews
b6bfc7235d update 2012-11-29 10:43:27 +11:00
Mark Andrews
8338bbc282 link against @DNS_CRYPTO_LIBS@ 2012-11-29 07:27:41 +11:00
Evan Hunt
705e16c394 [v9_6] s/size spec/size_spec/ 2012-11-27 22:48:59 -08:00
Mark Andrews
bc032a97bb update libtool support to version 2.4.2 2012-11-28 04:38:21 +00:00
Mark Andrews
4d5ef03723 adjust looping threshold from 10 to 15 2012-11-28 12:06:53 +11:00
Mark Andrews
cecbe5bc42 3425. [bug] "acacheentry" reference counting was broken resulting
in use after free. [RT #31908]
2012-11-27 16:05:45 +11:00
Tinderbox User
a9cf59c7cb update copyright notice 2012-11-21 23:45:10 +00:00
Mark Andrews
1aefd8ec88 3421. [bug] Named loops when re-signing if all keys are offline.
[RT #31916]

Squashed commit of the following:

commit f47af0ca6793687b9c8d08fd44b0c091ba5a4f9a
Author: Mark Andrews <marka@isc.org>
Date:   Wed Nov 21 17:45:21 2012 +1100

    dns_dns_zonediff_t -> dns_zonediff_t, clarify comment

commit 344edefc3ee90856a7ff990abe7971925ba843b2
Author: Mark Andrews <marka@isc.org>
Date:   Tue Nov 20 13:12:26 2012 +1100

    commit the zone changes if a keep was marked as being offline

commit cad2c2446ebfc20b6d8c4f6dd0d6596d7106cc0f
Author: Mark Andrews <marka@isc.org>
Date:   Tue Nov 20 13:08:29 2012 +1100

    check for looping when re-signing expiring.example

Conflicts:
	lib/dns/zone.c

Conflicts:
	lib/dns/zone.c
2012-11-21 20:48:01 +11:00
Mar Andrews
40f92e3040 3420. [bug] Address VPATH compilation issues. [RT #31879] 2012-11-17 09:54:28 +00:00
Mark Andrews
6b696ad957 3419. [bug] Memory leak on validation cancel. [RT #31869]
Squashed commit of the following:

commit 452b07ec7cb31784d90d9c2e45ca708df306302e
Author: Mark Andrews <marka@isc.org>
Date:   Wed Nov 14 23:36:36 2012 +1100

    destroy fetch when canceling validator
2012-11-15 11:21:14 +11:00
Mark Andrews
caa58096b2 Redo
3415.   [bug]           named could die with a REQUIRE failure if a valdation
                        was canceled. [RT #31804]
2012-11-14 07:44:30 +11:00
Mark Andrews
5d8eaba029 spelling 2012-11-09 09:31:30 +11:00
Mark Andrews
25c877f032 3415. [bug] named could die with a REQUIRE failure id a valdation
was canceled. [RT #31804]

Squashed commit of the following:

commit d414d3cb4244daeca4159ac1f8a82322e4a20e5a
Author: Mark Andrews <marka@isc.org>
Date:   Wed Nov 7 14:19:28 2012 +1100

    check that val->fetch != NULL before calling dns_resolver_destroyfetch
2012-11-09 09:15:11 +11:00
Mark Andrews
39621f0a19 sock is potentially unused in use_min_mtu 2012-11-01 15:29:53 +11:00
Mark Andrews
c772a63639 task used uninitalised 2012-11-01 15:20:45 +11:00
Mark Andrews
fdfc5c763e uninitalised use 2012-11-01 13:55:29 +11:00
Mark Andrews
dd03068db2 3412. [bug] Copy timeval structure from control message data.
[RT #31548]
2012-11-01 11:17:41 +11:00
Tinderbox User
5079524c7c update copyright notice 2012-10-31 23:45:11 +00:00
Mark Andrews
95eff34c01 address merge error 2012-11-01 10:42:01 +11:00
Mark Andrews
3474f269c6 More coverity fixes:
3410.   [bug]           Addressed Coverity warnings. [RT #31626]
Squashed commit of the following:

commit 6fec07bbb69ead784063052f2099674f8b52c6b3
Author: Mark Andrews <marka@isc.org>
Date:   Tue Oct 30 18:14:35 2012 +1100

    use strl{cat,cpy}

commit 19a5d3766f3dbc8a2944b21640a8226a89aae7ba
Author: Mark Andrews <marka@isc.org>
Date:   Tue Oct 30 14:38:55 2012 +1100

    address unchecked xmlTextWriter* calls

Conflicts:
	bin/named/statschannel.c
	lib/dns/cache.c
	lib/dns/include/dns/cache.h
	lib/isc/task.c

Conflicts:
	lib/isc/mem.c
	lib/isc/task.c
	lib/isc/unix/socket.c
	lib/isc/win32/socket.c
2012-11-01 10:35:08 +11:00
Mark Andrews
28cb874727 3411. [tuning] Use IPV6_USE_MIN_MTU or equivalent with TCP in addition to UDP. [RT #31690]
Squashed commit of the following:

commit bcbe9ae7a99e1f7f4236a22739a793b51ace8684
Author: Mark Andrews <marka@isc.org>
Date:   Wed Oct 31 15:10:53 2012 +1100

    Use IPV6_USE_MIN_MTU for TCP as well as UDP

Conflicts:
	lib/isc/win32/socket.c
2012-11-01 08:46:00 +11:00
Mark Andrews
fb8813c89e spelling, whitespace
Conflicts:
	CHANGES

Conflicts:
	CHANGES
2012-10-31 07:40:41 +11:00
Evan Hunt
35e2c35de1 [v9_6] fix changes note
(cherry picked from commit a8ef22d88e)
2012-10-30 09:59:11 -07:00
Tinderbox User
f9d075bb26 update copyright notice 2012-10-29 23:45:11 +00:00
Tinderbox User
980bd670b1 newcopyrights 2012-10-29 23:30:04 +00:00
Mark Andrews
9923c4fe57 <sys/errno.h> -> <errno.h> 2012-10-30 09:27:38 +11:00
Mark Andrews
2eacd1be5c 3410. [bug] Addressed Coverity warnings. [RT #31626]
Squashed commit of the following:

commit bce2efe66d69d60b746b85df49974ca341723169
Author: Mark Andrews <marka@isc.org>
Date:   Mon Oct 29 12:59:25 2012 +1100

    use 'static dns_rdata_xxxx_t xxxx'

commit 704d3c29acbf2dd350a26f2df82a57cb077ba72e
Author: Mark Andrews <marka@isc.org>
Date:   Mon Oct 29 12:35:16 2012 +1100

    return ISC_R_NOTFOUND if private record length does not make sense

commit 7596610c12c5685336fc0909860173d2fae359af
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:41:17 2012 +1100

    check private->length == 5

commit 3836365a3e3e83b057bd940350f032279e080296
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:40:50 2012 +1100

    properly set private->length

commit a295778ac53109d39ef3a8b233751100edae678b
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:13:30 2012 +1100

    check dns_rdata_tostruct result

commit e33c37ca9112159e0b2363615bb018d27fa7d1a5
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:10:43 2012 +1100

    check remove/fopen/chmod return values

commit 3a675e0666aae25d1c51f51ec7bd3fbe25545aae
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:59:10 2012 +1100

    check isc_socket_accept result

commit 696923344f4b07ce0dba4cf2675b1cbb6eba7e8e
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:55:40 2012 +1100

    change variable scopes

commit b9e9d9ad58270271003e463f10744e0ceaf9ad97
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:53:19 2012 +1100

    check inet_pton return value

commit 70698e9589da77e3745efb6ea24b8830addd6ae4
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:52:40 2012 +1100

    break -> /* NOTREACHED */

commit 88de9de2e8e201ab2fef16a868f241e8206ea826
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:52:06 2012 +1100

    strcpy -> strlcpy

commit 6ba79c7cec0e48014cdfa76e8a9406b7a921556e
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:51:26 2012 +1100

    check dns_rdata_tostruct return values

Conflicts:
	bin/tests/rdata_test.c
	lib/dns/private.c
	lib/dns/tests/private_test.c
	lib/dns/zone.c

Conflicts:
	CHANGES
	bin/tests/rdata_test.c
	lib/dns/zone.c
2012-10-29 20:52:41 +11:00
Mark Andrews
e5d6854aa2 extract repo from --remote 2012-10-29 02:56:56 +00:00
Evan Hunt
7331f3d84b [v9_6] address mem.c compilation problems
3406.	[bug]		mem.c: Fix compilation errors when building with
			ISC_MEM_TRACKLINES or ISC_MEMPOOL_NAMES disabled.
                        Also, ISC_MEM_DEBUG is no longer optional. [RT #31559]
(cherry picked from commit 2f57f353e8)
(cherry picked from commit 76e34eb2fd)
(cherry picked from commit 7c5941b4c2)
2012-10-25 19:07:13 -07:00
Tinderbox User
9b23de87dc update copyright notice 2012-10-25 23:46:14 +00:00
Tinderbox User
12a275a9fc newcopyrights 2012-10-25 23:30:03 +00:00
Mark Andrews
e68ab11c16 3405. [bug] Handle time going backwards in acache. [RT #31253]
Squashed commit of the following:

commit fbf4c8fe2644c101bac870360d3f2c159a90f203
Author: Mark Andrews <marka@isc.org>
Date:   Wed Oct 24 14:43:14 2012 +1100

    remove INSIST and handle time going backwards
2012-10-25 14:30:09 +11:00
Evan Hunt
19842feafb Merge branch 'v9_6' of ssh://repo/proj/git/prod/bind9 into v9_6 2012-10-24 18:04:46 -07:00
Evan Hunt
620d76c6e0 [v9_6] remove spurious signatures from glue
3404.	[bug]		dnssec-signzone: When re-signing a zone, remove
			RRSIG and NSEC records from nodes that used to be
			in-zone but are now below a zone cut. [RT #31556]
(cherry picked from commit 4b3d727d96)
(cherry picked from commit d8861c4350)
(cherry picked from commit 3314b7cd78)
2012-10-24 18:02:29 -07:00
Tinderbox User
48a322e5be update copyright notice 2012-10-24 23:45:15 +00:00
Tinderbox User
4824bf6a6a newcopyrights 2012-10-24 23:30:04 +00:00
Evan Hunt
b8888bfd55 [v9_6] silence warning 2012-10-24 15:40:45 -07:00
Evan Hunt
c5987d9ebe [v9_6] fix CHANGES error 2012-10-24 13:20:43 -07:00
Evan Hunt
ef70ea9f63 [v9_6] silence warnings in dnssec system test 2012-10-24 13:16:55 -07:00
Evan Hunt
148413ff38 [v9_6] silence noisy OpenSSL logging
3402.	[bug]		Correct interface numbers for IPv4 and IPv6 interfaces.
(cherry picked from commit 0e37e9e3d7)
(cherry picked from commit 152c393671)
(cherry picked from commit ab9d2ca4dd)
2012-10-24 13:16:38 -07:00
ckb
dce5155b28 3402. [bug] Correct interface numbers for IPv4 and IPv6 interfaces.
[RT #25085]
2012-10-24 14:54:38 -05:00
Evan Hunt
a86ff30111 [v9_6] silence coverity warnings
3401.	[bug]		Addressed Coverity warnings. [RT #31484]
(cherry picked from commit 47c5b8af92)
(cherry picked from commit 2589af5868)
(cherry picked from commit a53a622417)
2012-10-23 22:34:16 -07:00
Evan Hunt
b87fa3e046 add CHANGES 2012-10-22 13:18:14 -07:00
Tinderbox User
3260441570 regen 2012-10-22 20:05:14 +00:00
Evan Hunt
e9df78aa34 [rt31494] add gitID to kit.sh generated tarballs 2012-10-22 13:00:19 -07:00
Tinderbox User
2484c768ce update SRCID 2012-10-19 06:16:04 +00:00
Mark Andrews
8a8b37d36f remove redundant UNUSED(callbacks) 2012-10-19 16:29:47 +11:00
Tinderbox User
5bef8ce420 update SRCID 2012-10-19 00:15:54 +00:00
Tinderbox User
231b8abbc1 update copyright notice 2012-10-18 23:45:13 +00:00
Tinderbox User
e2b9eb7d4e update SRCID 2012-10-18 23:15:36 +00:00
ckb
cd20e4a109 3397. [bug] dig crashed when using +nssearch with +tcp. [RT #25298] 2012-10-18 17:56:27 -05:00
Tinderbox User
a4c28497f5 update SRCID 2012-10-18 03:16:04 +00:00
Mark Andrews
49a924db3b 3396. [bug] OPT records were incorrectly removed from signed,
truncated responses. [RT #31439]
2012-10-18 13:27:36 +11:00
Tinderbox User
26e22c238e update SRCID 2012-10-17 02:15:40 +00:00
Mark Andrews
9f519425b2 missing space before other len after change #3389 2012-10-17 12:50:30 +11:00
Tinderbox User
14d738b6d8 update SRCID 2012-10-17 01:15:46 +00:00
Tinderbox User
ad17ed2583 regen v9_6 2012-10-17 01:08:52 +00:00
Tinderbox User
5610034a78 update SRCID 2012-10-16 02:15:41 +00:00
Mark Andrews
659ab661a2 3395. [protocol] Add RFC 6598 reverse zones to built in empty zones
list, 64.100.IN-ADDR.ARPA ... 127.100.IN-ADDR.ARPA.
                        [RT #31336]
2012-10-16 12:46:42 +11:00
Tinderbox User
6ac3fb5c5c update SRCID 2012-10-16 01:15:44 +00:00
Mark Andrews
f9d8debcd0 3394. [bug] Adjust 'sucessfully validated after lower casing
signer' log level and category. [RT #31414]
2012-10-16 11:57:05 +11:00
Tinderbox User
6589e64936 update SRCID 2012-10-16 00:16:49 +00:00
Mark Andrews
cfee4fb8a2 test for directory existance before calling find 2012-10-16 10:56:06 +11:00
Mark Andrews
c0dcb1e04e 3393. [bug] 'host -C' could core dump if REFUSED was received.
[RT #31381]
2012-10-16 10:44:47 +11:00
Tinderbox User
98787faea2 update SRCID 2012-10-10 02:15:34 +00:00
Mark Andrews
8a1b751171 fix typos in variable names 2012-10-10 13:11:54 +11:00
Tinderbox User
f7f370829e update SRCID 2012-10-07 01:15:38 +00:00
Mark Andrews
8c4c5e5cec Merge branch 'v9_6' of repo.isc.org:/proj/git/prod/bind9 into v9_6 2012-10-07 11:37:23 +11:00
Tinderbox User
61711df30d update SRCID 2012-10-07 00:15:52 +00:00
Tinderbox User
f88745517a update copyright notice 2012-10-06 23:45:13 +00:00
Tinderbox User
11b4085796 newcopyrights 2012-10-06 23:30:03 +00:00
Tinderbox User
ce03256f84 update SRCID 2012-10-06 08:15:43 +00:00
Mark Andrews
12bab5c663 remove empty directories when cleaning 2012-10-06 17:26:58 +10:00
Mark Andrews
efc3ad0392 update change description 2012-10-06 17:24:51 +10:00
Mark Andrews
79992558d9 Merge branch 'v9_6' of repo.isc.org:/proj/git/prod/bind9 into v9_6 2012-10-06 17:15:13 +10:00
Tinderbox User
00b0069eab update SRCID 2012-10-06 05:16:07 +00:00
Mark Andrews
6e8dc44545 3391. [bug] DNSKEY that encountered a CNAME failed. [RT #31262] 2012-10-06 15:06:58 +10:00
Mark Andrews
e4e82b398c 3390. [bug] Silence clang compiler warnings. [RT #30417] 2012-10-06 12:26:50 +10:00
Tinderbox User
d0e2f6c6ca update SRCID 2012-10-04 21:15:35 +00:00
Mark Andrews
be6c81b03e 3389. [bug] Always return NOERROR (not 0) in TSIG. [RT #31275] 2012-10-05 06:58:52 +10:00
Tinderbox User
61b52746c5 update SRCID 2012-10-04 00:15:51 +00:00
Tinderbox User
918eee6228 newcopyrights 2012-10-03 23:30:02 +00:00
Tinderbox User
7e5d132c9c update SRCID 2012-10-03 22:15:31 +00:00
Mark Andrews
b1a4dd1c07 Revert "include <isc/print.h> in gen.c"
This reverts commit 5bbba214b2.
2012-10-04 08:13:47 +10:00
Tinderbox User
8aeff24b3d update SRCID 2012-10-03 15:15:35 +00:00
Evan Hunt
5bbba214b2 include <isc/print.h> in gen.c 2012-10-03 08:01:41 -07:00
Tinderbox User
6103a5369b update SRCID 2012-10-03 07:15:53 +00:00
Evan Hunt
09b49ec9b4 fix coverity issues
3388.	[bug]		Fixed several Coverity warnings. [RT #30996]
2012-10-03 00:01:28 -07:00
Tinderbox User
4e24be19b6 update SRCID 2012-10-03 00:15:51 +00:00
Mark Andrews
21768e3aae 3386. [bug] Address locking violation when generating new NSEC /
NSEC3 chains. [RT #31224]
2012-10-03 10:05:55 +10:00
Tinderbox User
180e413931 update SRCID 2012-09-27 01:15:35 +00:00
Evan Hunt
9e09039ce8 fixed an exploitable hang bug
3383.	[security]	A certain combinations of records in the RBT could
                        cause named to hang while populating the additional
                        section of a response. [RT #31090]
2012-09-26 17:21:30 -07:00
Tinderbox User
21ee08520c update SRCID 2012-09-26 21:15:37 +00:00
Evan Hunt
2d4c6e30a0 use correct port range
3382.	[bug]		SOA query from slave used use-v6-udp-ports range,
			if set, regardless of the address family in use.
			[RT #24173]
2012-09-26 13:57:10 -07:00
Tinderbox User
59ca4e0f4e update SRCID 2012-09-26 06:16:42 +00:00
Evan Hunt
96530bc8c1 support more rrtypes in queryperf
3381.	[contrib]	Update queryperf to support more RR types.
			[RT #30762]
2012-09-25 22:55:10 -07:00
Mark Andrews
8e4dd15561 3380. [bug] named could die if a non-existant master list was
referenced in a also-notify. [RT #31004]
2012-09-26 15:29:38 +10:00
Mark Andrews
7f1fab8b88 3379. [bug] isc_interval_zero and isc_time_epoch should be
"const (type)* const". [RT #31069]
2012-09-26 15:21:18 +10:00
Tinderbox User
9c75dd9935 update SRCID 2012-09-19 04:15:56 +00:00
Mark Andrews
90530fa80f remove contrib/dbus/* 2012-09-19 14:04:06 +10:00
Tinderbox User
f4b3864bf8 update SRCID 2012-09-18 22:15:33 +00:00
Evan Hunt
d7befc6016 contrib/dbus is deprecated 2012-09-18 14:57:05 -07:00
Tinderbox User
6a15e57e2a update SRCID 2012-09-15 00:15:42 +00:00
Tinderbox User
d5356fec3e update copyright notice 2012-09-14 23:45:12 +00:00
Tinderbox User
551b3d0216 newcopyrights 2012-09-14 23:30:06 +00:00
Tinderbox User
16dc282144 update SRCID 2012-09-14 01:15:43 +00:00
Mark Andrews
0365bb2101 3376. [bug] Lack of EDNS support was being recorded without a
successful response. [RT #30811]
2012-09-14 11:02:38 +10:00
Mark Andrews
1d6b9860c7 fix isc_begin_tests call 2012-09-14 10:38:15 +10:00
ckb
5f7545bf48 3375. [func] Check that 'rndc dumpdb' works on a empty cache.
[RT #30808]
2012-09-13 19:34:00 -05:00
Tinderbox User
4b97f08c1f update SRCID 2012-09-14 00:15:54 +00:00
Mark Andrews
93bad11f96 3375. [func] Check that 'rndc dumpdb' works on a empty cache.
[RT #30808]
2012-09-14 09:47:25 +10:00
Tinderbox User
006734c198 update SRCID 2012-09-13 00:15:57 +00:00
Tinderbox User
6e02beeec7 update copyright notice 2012-09-12 23:45:17 +00:00
Tinderbox User
bc50f9cb0d newcopyrights 2012-09-12 23:30:04 +00:00
ckb
e4263037ec 3374. [bug] isc_parse_uint32 failed to return a range error on
systems with 64 bit longs [RT #30232]
2012-09-12 15:39:30 -05:00
Tinderbox User
1fed19d4a9 update SRCID 2012-09-12 08:15:35 +00:00
Mark Andrews
2f5502d687 use binary mode for raw/fast 2012-09-12 17:45:13 +10:00
Tinderbox User
33197da4f9 update SRCID 2012-09-12 06:15:51 +00:00
Mark Andrews
4df15f2b94 Merge branch 'v9_6' of repo.isc.org:/proj/git/prod/bind9 into v9_6 2012-09-12 15:37:56 +10:00
Mark Andrews
44c8d0d555 turn binary mode on for raw/fast 2012-09-12 15:30:35 +10:00
Tinderbox User
986fe5d9a6 update SRCID 2012-09-12 04:16:01 +00:00
Mark Andrews
7278b54211 O_BINARY -> _O_BINARY 2012-09-12 13:56:22 +10:00
Tinderbox User
8cddf4ff35 update SRCID 2012-09-12 03:16:08 +00:00
Mark Andrews
22e5707efa 3373. [bug] win32: open raw files in binary mode. [RT #30944] 2012-09-12 12:04:25 +10:00
Tinderbox User
9b65e287fa update SRCID 2012-09-08 09:15:47 +00:00
Mark Andrews
f4a0e3aaff 3372. [bug] Silence spurious "deleted from unreachable cache"
messages.  [RT #30501]
2012-09-08 18:16:42 +10:00
Tinderbox User
5e1cb0fff0 update SRCID 2012-09-01 00:16:02 +00:00
Tinderbox User
4d708d7eb8 newcopyrights 2012-08-31 23:30:04 +00:00
Tinderbox User
c66dbce23d update SRCID 2012-08-31 02:15:43 +00:00
Mark Andrews
58085bf485 3371. [bug] AD=1 should behave like DO=1 when deciding whether to
add NS RRsets to the additional section or not.
                        [RT #30479]
2012-08-31 11:34:14 +10:00
Tinderbox User
b19965e134 update SRCID 2012-08-30 04:15:56 +00:00
Mark Andrews
43f74fff0a don't call out to the internet when running test 2012-08-30 13:59:54 +10:00
Tinderbox User
19cb51c289 update SRCID 2012-08-24 07:15:50 +00:00
Mark Andrews
1221ba2fbf update 2012-08-24 17:01:22 +10:00
Tinderbox User
40f3ae7859 update SRCID 2012-08-24 05:16:58 +00:00
Mark Andrews
c13f4beb43 9.6-ESV-R8 2012-08-24 14:17:25 +10:00
Mark Andrews
b34173241e update CVE list 2012-08-24 14:11:57 +10:00
Mark Andrews
ff56cee13c 3364. [security] Named could die on specially crafted record.
[RT #30416]
2012-08-24 14:10:48 +10:00
Tinderbox User
2bee7bd587 update SRCID 2012-08-23 08:15:58 +00:00
Mark Andrews
702cf023d3 handle doc/arm/*.html 2012-08-23 17:55:29 +10:00
Tinderbox User
145a695fc5 update SRCID 2012-08-23 06:16:04 +00:00
Mark Andrews
77ff7325ad 9.6-ESV-R8rc1 2012-08-23 15:32:45 +10:00
Tinderbox User
9b1fb5da85 update SRCID 2012-08-23 00:15:54 +00:00
Mark Andrews
5c4f03600a update 2012-08-23 09:59:17 +10:00
Tinderbox User
281b87dc88 update SRCID 2012-08-22 10:15:50 +00:00
Mark Andrews
977d6987ae change number 2012-08-22 19:24:55 +10:00
Tinderbox User
fd7deb9201 update SRCID 2012-08-22 09:15:40 +00:00
Mark Andrews
58cbd8c4fd back port parse_rdata fix to handle NULL commandline 2012-08-22 18:38:46 +10:00
Tinderbox User
41ff983eeb update SRCID 2012-08-22 04:16:02 +00:00
Mark Andrews
a6598d6709 3379. [bug] nsupdate terminated unexpectedly in interactive mode
if built with readline support. [RT #29550]
2012-08-22 13:55:39 +10:00
Tinderbox User
6a7dca8e8c update SRCID 2012-08-22 00:15:44 +00:00
Tinderbox User
4a8fb790b0 update copyright notice 2012-08-21 23:45:12 +00:00
Tinderbox User
1c53153757 newcopyrights 2012-08-21 23:30:03 +00:00
Tinderbox User
433a832300 update SRCID 2012-08-21 19:15:34 +00:00
Evan Hunt
6678d435cc spelling 2012-08-21 12:08:33 -07:00
Tinderbox User
acba1a78d0 update SRCID 2012-08-21 07:16:09 +00:00
Mark Andrews
19f97857e4 3368. [bug] <dns/iptable.h> and <dns/zone.h> where not C++ safe. 2012-08-21 16:48:32 +10:00
Tinderbox User
fb1c254dd0 update SRCID 2012-08-17 18:15:43 +00:00
ckb
d026886b08 3366. [bug] Fixed Read-After-Write dependency violation for IA64
atomic operations. [RT #25181]
2012-08-17 13:07:11 -05:00
Tinderbox User
9623917ad8 update SRCID 2012-08-17 06:15:57 +00:00
Mark Andrews
734b0a4b9f clean testdir's as well 2012-08-17 16:06:24 +10:00
Tinderbox User
8bc478c05f update SRCID 2012-08-17 04:15:56 +00:00
Mark Andrews
02fefa5b52 we didn't catch a zero option at the global level when views are active 2012-08-17 13:56:20 +10:00
Tinderbox User
13e3932260 update SRCID 2012-08-16 22:15:31 +00:00
Mark Andrews
361165650f silence "t_names.c:130:7: warning: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage" 2012-08-17 07:21:38 +10:00
Tinderbox User
6cc8b4b8fd update SRCID 2012-08-16 19:15:42 +00:00
Evan Hunt
ff413dbe66 remove spurious newlines in zone.c logging
3365.	[bug]		Removed spurious newlines from log messages in
			zone.c [RT #30675]
2012-08-16 10:50:06 -07:00
Tinderbox User
3782efb7d0 update SRCID 2012-08-16 05:17:04 +00:00
Evan Hunt
44f94b4af2 specify libtool mode in DLZBDB makefile 2012-08-15 21:54:27 -07:00
Tinderbox User
8e6b6115cd update SRCID 2012-08-15 00:15:41 +00:00
Tinderbox User
3fed8757e9 update copyright notice 2012-08-14 23:45:11 +00:00
Tinderbox User
6929f23913 newcopyrights 2012-08-14 23:30:04 +00:00
Tinderbox User
c9da7da070 update SRCID 2012-08-14 06:15:42 +00:00
Evan Hunt
6202b2ec2a properly range-check fields that do not allow 0
3362.	[bug]		Setting some option values to 0 in named.conf
			could trigger an assertion failure on startup.
			[RT #27730]
2012-08-13 22:52:29 -07:00
Tinderbox User
cb7e02ba7f update SRCID 2012-08-14 05:15:44 +00:00
Mark Andrews
112f7c3785 test against unsigned zero 2012-08-14 14:29:47 +10:00
Tinderbox User
136d2fada0 update SRCID 2012-08-14 01:16:00 +00:00
Mark Andrews
054a9cc454 3360. [bug] 'host -w' could die. [RT #18723] 2012-08-14 11:11:23 +10:00
Tinderbox User
af724aff4e update SRCID 2012-08-12 05:16:08 +00:00
Mark Andrews
58ee862835 update 2012-08-12 14:52:40 +10:00
Tinderbox User
2f65d30ad9 update SRCID 2012-08-11 04:16:39 +00:00
Evan Hunt
8dc862fe22 address memory leak with bad tsig secret
3359.	[bug]		An improperly-formed TSIG secret could cause a
                        memory leak. [RT #30607]
2012-08-10 20:23:57 -07:00
Tinderbox User
ee76b2ef38 update SRCID 2012-08-05 03:15:58 +00:00
Mark Andrews
53d0f8a914 3358 [bug] Fix declaration of fatal in bin/named/server.c
and bin/nsupdate/main.c. [RT #30522]
2012-08-05 13:09:07 +10:00
Tinderbox User
c9acb5511f update SRCID 2012-08-04 15:15:43 +00:00
Mark Andrews
1486f91694 Fix declaration of fatal in bin/named/server.c. 2012-08-05 01:08:27 +10:00
Tinderbox User
0b029832cd update SRCID 2012-08-02 02:15:41 +00:00
Mar Andrews
dd678452b9 3357. [port] Add support for libxml2-2.8.x [RT #30440] 2012-08-02 01:53:20 +00:00
Tinderbox User
61e1d262cd update SRCID 2012-07-26 06:15:56 +00:00
Evan Hunt
4dfb52131e Merge branch 'v9_6' of ssh://repo/proj/git/prod/bind9 into v9_6 2012-07-25 22:24:15 -07:00
Evan Hunt
2f16faf485 revert rt26429 due to incompatibilities with 9.6 2012-07-25 22:22:16 -07:00
Tinderbox User
4dd24fbcf1 update SRCID 2012-07-26 05:15:46 +00:00
Mark Andrews
817bceaf01 remove test skipping 2012-07-26 14:49:56 +10:00
Evan Hunt
0953cc2c36 fix merge errors 2012-07-25 21:19:51 -07:00
Tinderbox User
c53306d856 update SRCID 2012-07-26 03:15:59 +00:00
Mark Andrews
9611cd2068 remove conflict marker 2012-07-26 13:11:56 +10:00
Tinderbox User
24c06f4799 update SRCID 2012-07-26 00:15:49 +00:00
Tinderbox User
2615007d77 update copyright notice 2012-07-25 23:45:12 +00:00
Tinderbox User
2c6afd50e8 newcopyrights 2012-07-25 23:30:06 +00:00
Tinderbox User
ccdb39648f update SRCID 2012-07-25 23:15:41 +00:00
ckb
8d74549a5c 3356. [bug] Cap the TTL of signed RRsets when RRSIGs are
approaching their expiry, so they don't remain
			in caches after expiry. [RT #26429]
2012-07-25 17:38:47 -05:00
Tinderbox User
58d4e6452a update SRCID 2012-07-24 07:15:35 +00:00
Evan Hunt
779ec9984d Merge branch 'v9_6' of ssh://repo/proj/git/prod/bind9 into v9_6 2012-07-23 23:31:14 -07:00
Evan Hunt
8181ca0d97 update api 2012-07-23 23:31:00 -07:00
Tinderbox User
bbe6cf8aed update SRCID 2012-07-24 03:16:04 +00:00
Mark Andrews
d72d9d5858 cleanup unused variables 2012-07-24 12:26:54 +10:00
Tinderbox User
70fcea59c5 update SRCID 2012-07-24 00:15:45 +00:00
Tinderbox User
f69f6d9d65 update copyright notice 2012-07-23 23:45:13 +00:00
Tinderbox User
a8ac2df240 newcopyrights 2012-07-23 23:30:02 +00:00
Tinderbox User
ddf3b86e0b update SRCID 2012-07-23 21:15:37 +00:00
Evan Hunt
9644984506 update 2012-07-23 13:35:33 -07:00
Tinderbox User
228aed11b2 update SRCID 2012-07-23 20:15:32 +00:00
Evan Hunt
1cac29a57c fix change note 3348, bug not security 2012-07-23 12:59:48 -07:00
Evan Hunt
7bd0a3c6a2 prep 9.6-ESV-R8b1 2012-07-23 12:58:45 -07:00
Tinderbox User
013e87384b update SRCID 2012-07-23 07:15:44 +00:00
Mark Andrews
29173e699a 3354. [func] Improve OpenSSL error logging. [RT #29932] 2012-07-23 16:30:55 +10:00
Tinderbox User
598a07a616 update SRCID 2012-07-20 05:16:35 +00:00
Tinderbox User
9a3a8f524c regen v9_6 2012-07-20 04:37:04 +00:00
Tinderbox User
71083d9a1a sync 2012-07-20 04:34:43 +00:00
Tinderbox User
3eae25e2ef update SRCID 2012-07-18 05:16:52 +00:00
Mark Andrews
88e814e0e4 3352. [bug] Ensure that learned server attributes timeout of the
adb cache. [RT #29856]
2012-07-18 14:20:09 +10:00
Tinderbox User
72f2207fc5 update SRCID 2012-07-18 00:15:43 +00:00
Mark Andrews
6439173dae 3350. [bug] Memory read overrun in isc___mem_reallocate if
ISC_MEM_DEBUGCTX memory debugging flag is set.
                        [RT #30240]
2012-07-18 09:54:25 +10:00
Tinderbox User
d92f5ce987 update SRCID 2012-07-09 19:15:34 +00:00
ckb
960012de77 3348. [security] prevent RRSIG data from being cached if a negative
record matching the covering type exists at a higher
			trust level. Such data already can't be retrieved from
			the cache since change 3218 -- this prevents it
			being inserted into the cache as well. [RT #26809]
2012-07-09 13:29:42 -05:00
Tinderbox User
484b950181 update SRCID 2012-07-02 17:15:30 +00:00
Evan Hunt
28aae970ea fix bad-cache assert
3346.	[security]	Bad-cache data could be used before it was
			initialized, causing an assert. [RT #30025]
2012-07-02 10:05:20 -07:00
Evan Hunt
bc892cc381 wrong RT number 2012-07-02 09:28:29 -07:00
Tinderbox User
794bd47f6d update SRCID 2012-06-30 00:15:44 +00:00
Tinderbox User
ae47f254c7 update copyright notice 2012-06-29 23:45:10 +00:00
Tinderbox User
f149d3087f newcopyrights 2012-06-29 23:30:03 +00:00
Tinderbox User
1ed281f48e update SRCID 2012-06-29 02:15:43 +00:00
Mark Andrews
77092470f0 lost line 2012-06-29 11:47:30 +10:00
Mark Andrews
0b51f38570 reverse bad copyright update 2012-06-29 11:47:25 +10:00
Tinderbox User
a4da60cb18 update copyright notice 2012-06-29 01:21:32 +00:00
Tinderbox User
95dd83a7bc update SRCID 2012-06-29 01:15:21 +00:00
Mark Andrews
cbe6d5d7e1 add support for python 2012-06-29 11:06:04 +10:00
Tinderbox User
cbba858415 update SRCID 2012-06-27 00:15:28 +00:00
Mark Andrews
916d7e4d87 3343. [bug] Relax isc_random_jitter() REQUIRE tests. [RT# 19821] 2012-06-27 10:06:44 +10:00
Mark Andrews
eb4ad81ccb 3342. [bug] Change #3314 broke saving of stub zones to disk
resulting in excessive cpu usage in some cases.
                        [RT #29952]
2012-06-27 09:45:41 +10:00
Tinderbox User
610e44c0e1 update SRCID 2012-06-25 02:15:32 +00:00
Mark Andrews
abf344768f silence compiler warning by using offsetof to get structure element offsets 2012-06-25 12:05:14 +10:00
Tinderbox User
aa6802d74b update SRCID 2012-06-22 00:15:28 +00:00
Tinderbox User
cf77da1598 update copyright notice 2012-06-21 23:45:09 +00:00
Tinderbox User
db54e2dd5c update SRCID 2012-06-21 06:15:40 +00:00
Evan Hunt
0c0c7ae630 fix secondkey test, properly 2012-06-20 22:48:20 -07:00
Tinderbox User
e1b256f3b7 update SRCID 2012-06-21 05:15:27 +00:00
Mark Andrews
abc4784748 remove rundundent call 'result = isc_parse_uint8(&ui, r.base, 10);' 2012-06-21 14:32:35 +10:00
Tinderbox User
779ceee98a update SRCID 2012-06-20 22:16:10 +00:00
Evan Hunt
aa3ed1b594 fixed second-key test to use correct rndc.conf 2012-06-20 15:10:01 -07:00
Tinderbox User
adb73a5926 update SRCID 2012-06-15 00:15:59 +00:00
Tinderbox User
981af8798a update copyright notice 2012-06-14 23:45:08 +00:00
Tinderbox User
eae6301d93 update SRCID 2012-06-14 01:15:27 +00:00
Tinderbox User
1f6c540eb5 Merge branch 'v9_6' of /proj/git/prod/bind9 into v9_6 2012-06-14 01:15:26 +00:00
Tinderbox User
8c99375816 update SRCID 2012-06-14 00:15:28 +00:00
Mark Andrews
d5eb49141a only use 9.6 features 2012-06-14 10:15:08 +10:00
Mark Andrews
0dce2c6123 update 2012-06-14 09:45:19 +10:00
Mark Andrews
242af366a8 add ./bin/tests/system/rndc/ns2/secondkey.key 2012-06-14 09:42:01 +10:00
Tinderbox User
b0ef27d2d7 update SRCID 2012-06-13 07:15:27 +00:00
Mark Andrews
3024c922ff 3337. [bug] Change #3294 broke support for the multiple keys
in controls. [RT #29694]
2012-06-13 16:57:23 +10:00
Tinderbox User
3873426088 update SRCID 2012-06-08 05:16:38 +00:00
Evan Hunt
df79d703ed nslookup exit with error if unsuccessful
3335.	[func]		nslookup: return a nonzero exit code when unable
			to get an answer. [RT #29492]
2012-06-07 22:09:47 -07:00
Tinderbox User
8cd91651ca update SRCID 2012-06-08 04:15:45 +00:00
Mark Andrews
5af98b88f1 add # 2012-06-08 13:58:45 +10:00
Tinderbox User
26cde354f2 update SRCID 2012-06-07 03:16:05 +00:00
Mark Andrews
11496d8be5 3332. [bug] Re-use cached DS rrsets if possible. [RT 29446] 2012-06-07 13:00:00 +10:00
Tinderbox User
855af5daaa update SRCID 2012-06-02 05:15:44 +00:00
Mark Andrews
d932ee4853 Merge branch 'v9_6' of repo.isc.org:/proj/git/prod/bind9 into v9_6 2012-06-02 14:55:43 +10:00
Mark Andrews
d1c848f8ca add missing change note 2012-06-02 14:54:10 +10:00
Tinderbox User
863cda8fd0 update SRCID 2012-06-02 00:15:48 +00:00
Tinderbox User
b40e492c83 update copyright notice 2012-06-01 23:45:12 +00:00
Tinderbox User
718be0d6a2 newcopyrights 2012-06-01 23:42:45 +00:00
Mark Andrews
390bdd73d2 add ./bin/tests/system/unknown/large.out 2012-06-02 09:41:32 +10:00
Tinderbox User
01b8938dcb update SRCID 2012-06-01 17:15:26 +00:00
Evan Hunt
c149639f1a security fix
3331.	[security]	dns_rdataslab_fromrdataset could produce bad
			rdataslabs. [RT #29644]
2012-06-01 10:04:46 -07:00
Tinderbox User
446f5852c6 update SRCID 2012-06-01 11:15:27 +00:00
Mark Andrews
d4b59ed307 fixup merge conflict 2012-06-01 21:10:57 +10:00
Tinderbox User
9ab672f69e update SRCID 2012-06-01 01:15:39 +00:00
Tinderbox User
05e61fc99c regen v9_6 2012-06-01 01:06:53 +00:00
Tinderbox User
4c8eb049f1 sync 2012-06-01 01:04:36 +00:00
Tinderbox User
c66c4e78c9 update SRCID 2012-05-31 01:15:37 +00:00
Tinderbox User
26c0f0424c regen v9_6 2012-05-31 01:07:19 +00:00
Tinderbox User
bd575ac7ec update SRCID 2012-05-30 16:15:34 +00:00
Evan Hunt
798f680440 fixed ARM typo: s/replacable/replaceable/ 2012-05-30 08:17:25 -07:00
Tinderbox User
ed9062cb49 update SRCID 2012-05-21 05:41:13 +00:00
Mark Andrews
938a013c39 portability awk add space between -v and it's argument, if anything has changed add ./COPYRIGHT 2012-05-21 15:19:21 +10:00
Tinderbox User
f9e63ab5d9 update SRCID 2012-05-21 01:15:41 +00:00
Mark Andrews
83f94c2255 awk and toupper is not portable, use sed instead 2012-05-21 10:18:46 +10:00
Tinderbox User
84e7b77ba8 update SRCID 2012-05-21 00:15:27 +00:00
Tinderbox User
43da4bdf27 update SRCID 2012-05-20 00:15:22 +00:00
Tinderbox User
c6076cafe2 update SRCID 2012-05-19 00:15:36 +00:00
Tinderbox User
37ab9b45c7 update SRCID 2012-05-18 00:15:47 +00:00
Tinderbox User
76c46f0fd3 update copyright notice 2012-05-17 23:45:10 +00:00
Evan Hunt
6de0ec806a Merge branch 'v9_6' of ssh://repo/proj/git/prod/bind9 into v9_6 2012-05-17 16:33:04 -07:00
Evan Hunt
1ac5fa17b0 fix check_data() usage
3328.   [bug]           Fixed inconsistent data checking in dst_parse.c.
                        [RT #29401]
2012-05-17 16:31:59 -07:00
Tinderbox User
ba6db14388 newcopyrights 2012-05-17 23:30:09 +00:00
Tinderbox User
65c60ad5eb update SRCID 2012-05-17 22:15:27 +00:00
Evan Hunt
cee7943a1b some files were not cleaned up 2012-05-17 14:59:33 -07:00
Tinderbox User
4bdc863453 update SRCID 2012-05-17 19:15:35 +00:00
Evan Hunt
c92cfa7eae Handle RRSIG signer case consistently
3329.	[bug]	Handle RRSIG signer-name case consistently: We
		generate RRSIG records with the signer-name in
		lower case.  We accept them with any case, but if
		they fail to validate, we try again in lower case.
		[RT #27451]
2012-05-17 11:39:23 -07:00
Tinderbox User
511687b15b update SRCID 2012-05-17 00:15:20 +00:00
Tinderbox User
6950929fa4 update SRCID 2012-05-16 00:15:42 +00:00
Tinderbox User
4d588491b1 update SRCID 2012-05-15 00:15:42 +00:00
Tinderbox User
a7021ba3f7 update SRCID 2012-05-14 00:15:35 +00:00
Tinderbox User
758ea2a01d update SRCID 2012-05-13 00:15:22 +00:00
Tinderbox User
522f945e0f update SRCID 2012-05-12 00:15:35 +00:00
Tinderbox User
857d8059b1 update SRCID 2012-05-11 00:15:35 +00:00
Tinderbox User
f9d2229db9 update SRCID 2012-05-10 00:15:45 +00:00
Tinderbox User
ed420395f8 update SRCID 2012-05-09 23:15:28 +00:00
Mark Andrews
1511cda8b6 3318. [tuning] Reduce the amount of work performed while holding a
bucket lock when finshed with a fetch context.
                        [RT #29239]
2012-05-10 08:46:41 +10:00
Tinderbox User
d151fbee99 update SRCID 2012-05-09 00:15:35 +00:00
Tinderbox User
477048a7c4 update SRCID 2012-05-08 00:15:23 +00:00
Tinderbox User
69f057944f update SRCID 2012-05-07 00:15:21 +00:00
Tinderbox User
485196a4cc update SRCID 2012-05-06 00:15:25 +00:00
Tinderbox User
e95785a789 update SRCID 2012-05-05 00:15:29 +00:00
Tinderbox User
12de90c2cc update SRCID 2012-05-04 00:15:31 +00:00
Tinderbox User
f2ab2af3b7 update SRCID 2012-05-03 01:15:20 +00:00
Tinderbox User
5f764bca6e regen v9_6 2012-05-03 01:07:06 +00:00
Tinderbox User
cdd128b849 sync 2012-05-03 01:04:48 +00:00
Tinderbox User
03f1bb8356 sync 2012-05-03 01:04:48 +00:00
Tinderbox User
fa733320ca update SRCID 2012-05-03 00:15:40 +00:00
Tinderbox User
a4c2a6271b update SRCID 2012-05-02 00:15:26 +00:00
Tinderbox User
f4dd256dde update SRCID 2012-05-01 00:15:26 +00:00
Tinderbox User
131e246c26 update SRCID 2012-04-30 00:15:37 +00:00
Tinderbox User
6b27b3f08e update SRCID 2012-04-29 00:15:29 +00:00
Tinderbox User
56afba572b update SRCID 2012-04-28 00:15:20 +00:00
Tinderbox User
f0ab2408bf update SRCID 2012-04-27 13:15:25 +00:00
Mark Andrews
5d439f5238 9.6-ESV-R7 2012-04-27 23:08:23 +10:00
Tinderbox User
9787eb680b update SRCID 2012-04-27 12:15:32 +00:00
Mark Andrews
40af8b5475 Merge branch 'v9_6' of repo.isc.org:/proj/git/prod/bind9 into v9_6 2012-04-27 21:25:36 +10:00
Mark Andrews
67546361cb 3197. [bug] Don't try to log the filename and line number when
the config parser can't open a file. [RT #22263]
2012-04-27 21:24:43 +10:00
Tinderbox User
b512d3659f update SRCID 2012-04-27 11:15:23 +00:00
Mark Andrews
453a4b6c3a 3232. [bug] Zero zone->curmaster before return in
dns_zone_setmasterswithkeys(). [RT #26732]
2012-04-27 21:06:01 +10:00
Mark Andrews
d4a9f3b6cb de-dup 2012-04-27 18:39:06 +10:00
Mark Andrews
2667843e65 sort, whitespace 2012-04-27 18:33:29 +10:00
Mark Andrews
c93fb40e31 whitespace 2012-04-27 18:32:46 +10:00
Tinderbox User
f8cb5e5bc3 update SRCID 2012-04-27 08:15:34 +00:00
Tinderbox User
57299225a4 update SRCID 2012-04-27 07:15:37 +00:00
Tinderbox User
0bdc53c9ba update copyright notice 2012-04-27 06:37:41 +00:00
Mark Andrews
8b27fd4b29 only report different text if not in EXCLUDED 2012-04-27 16:31:40 +10:00
Tinderbox User
28bf17cf58 update SRCID 2012-04-27 04:15:40 +00:00
Tinderbox User
f8dda3b299 update copyright notice 2012-04-27 04:02:41 +00:00
Tinderbox User
72a5b0d53e newcopyrights 2012-04-27 04:01:20 +00:00
Tinderbox User
79b014d60b update SRCID 2012-04-27 03:15:45 +00:00
Mark Andrews
36c1751de0 check if the pdf version of the ARM needs to be committed 2012-04-27 12:29:19 +10:00
Tinderbox User
fd0583a479 update SRCID 2012-04-27 01:15:30 +00:00
Mark Andrews
74203f8f02 sync with master 2012-04-27 10:48:13 +10:00
Tinderbox User
8aa6e8da60 update SRCID 2012-04-27 00:15:24 +00:00
Tinderbox User
675eac11d7 newcopyrights 2012-04-26 23:30:05 +00:00
Tinderbox User
480e8334e9 update SRCID 2012-04-26 12:15:24 +00:00
Mark Andrews
0992569f34 remove casecompare_tlsa as it is only needed in [C9.7 and later 2012-04-26 18:27:54 +10:00
Tinderbox User
45fe615138 update SRCID 2012-04-26 05:15:46 +00:00
Mark Andrews
fea1c98c87 3314. [bug] The masters list could be updated while refesh_callback
and stub_callback were using it. [RT #26732]
2012-04-26 14:39:00 +10:00
Tinderbox User
1d1958439c update SRCID 2012-04-26 03:15:51 +00:00
Mark Andrews
967fa276cf 3313. [protocol] Add TLSA record type. [RT #28989] 2012-04-26 12:41:39 +10:00
Tinderbox User
f66a5412c7 update SRCID 2012-04-26 02:15:25 +00:00
Mark Andrews
d3a3cf39e2 3312. [bug] named-checkconf didn't detect a bad dns64 clients acl.
[RT #27631]
2012-04-26 11:51:18 +10:00
Mark Andrews
cb994f41ba 3311. [bug] Abort the zone dump if zone->db is NULL in
zone.c:zone_gotwritehandle. [RT #29028]
2012-04-26 11:35:57 +10:00
Tinderbox User
694ffc6b26 update SRCID 2012-04-26 00:15:35 +00:00
Tinderbox User
e2b1577e08 update SRCID 2012-04-25 00:15:34 +00:00
Evan Hunt
8a4656e335 increase table size for mutex profiling 2012-04-24 16:53:29 -07:00
Tinderbox User
05f3f36cb9 update SRCID 2012-04-24 22:15:27 +00:00
Evan Hunt
fa31ca157f fctx_finddone: call fctx_destroy within the bucket lock 2012-04-24 15:07:43 -07:00
Tinderbox User
d920a41f95 update SRCID 2012-04-24 00:15:23 +00:00
Tinderbox User
ac902d0eec newcopyrights 2012-04-23 23:30:07 +00:00
Tinderbox User
093ebbed91 update SRCID 2012-04-23 16:15:24 +00:00
Evan Hunt
b6a40587a9 fix .gitignore files 2012-04-23 09:10:09 -07:00
Tinderbox User
6294217721 update SRCID 2012-04-23 00:15:35 +00:00
Tinderbox User
a18b781fac update SRCID 2012-04-22 00:15:38 +00:00
Tinderbox User
49c4cbffbe update SRCID 2012-04-21 00:15:32 +00:00
Tinderbox User
aa524d66eb update SRCID 2012-04-20 00:15:26 +00:00
Tinderbox User
f612ce4746 update SRCID 2012-04-19 14:16:06 +00:00
Scott Mann
d02f8030f0 removed rfc5011.txt from contrib in tarball 2012-04-19 08:04:17 -06:00
Tinderbox User
74da435353 update SRCID 2012-04-19 00:15:33 +00:00
Tinderbox User
56aec60ae3 update SRCID 2012-04-18 00:15:38 +00:00
Tinderbox User
7a75bfd9f7 update SRCID 2012-04-17 00:15:27 +00:00
Tinderbox User
877d3b185b update SRCID 2012-04-16 00:15:31 +00:00
Tinderbox User
a330dec0b5 update SRCID 2012-04-15 00:15:40 +00:00
Tinderbox User
970eeaff20 update SRCID 2012-04-14 00:15:28 +00:00
Tinderbox User
f0ada6657d update SRCID 2012-04-13 00:15:42 +00:00
Tinderbox User
00ff6766dd update SRCID 2012-04-12 23:15:36 +00:00
Mark Andrews
fbc355b20c 3307. [bug] Add missing ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS.
[RT #28956]
2012-04-13 08:46:00 +10:00
Tinderbox User
c949afb3c1 update SRCID 2012-04-12 05:15:40 +00:00
Evan Hunt
8a593376be remove release-notes.css 2012-04-11 21:25:05 -07:00
Tinderbox User
4aa8caeb53 update SRCID 2012-04-12 00:15:40 +00:00
Tinderbox User
cc86c4f840 update SRCID 2012-04-11 03:15:32 +00:00
Mark Andrews
5f69cd48c9 Merge branch 'v9_6' of repo.isc.org:/proj/git/prod/bind9 into v9_6 2012-04-11 12:36:40 +10:00
Mark Andrews
3b24367a06 rt28563 2012-04-11 12:36:19 +10:00
Tinderbox User
628a7e5c60 update SRCID 2012-04-11 02:15:10 +00:00
Mark Andrews
3cd63e9198 add the ability to override --remote 2012-04-11 11:34:04 +10:00
Tinderbox User
1cd0e02533 update SRCID 2012-04-11 01:15:36 +00:00
Mark Andrews
e5602180dc 3304. [bug] Use hmctx, not mctx when freeing rbtdb->heaps. [RT #28571] 2012-04-11 10:52:26 +10:00
Tinderbox User
3c83ce9313 update SRCID 2012-04-11 00:15:20 +00:00
Tinderbox User
0df5975731 update SRCID 2012-04-10 07:16:49 +00:00
Mark Andrews
8dc21f361a use --remote=cvs.isc.org:/proj/git/prod/bind9.git 2012-04-10 16:24:07 +10:00
Tinderbox User
e71e4a4cdd update SRCID 2012-04-10 00:15:59 +00:00
Tinderbox User
4e5042b224 update SRCID 2012-04-09 00:16:39 +00:00
Tinderbox User
dfce21d27b update SRCID 2012-04-08 00:16:42 +00:00
Tinderbox User
ccced33af3 update SRCID 2012-04-07 00:16:36 +00:00
Tinderbox User
d3ff406fca update SRCID 2012-04-06 00:15:06 +00:00
Tinderbox User
df2a88e2b8 update SRCID 2012-04-05 00:16:12 +00:00
Tinderbox User
ce910b013f update SRCID 2012-04-04 00:16:25 +00:00
Tinderbox User
4b500a80b4 update SRCID 2012-04-03 00:16:09 +00:00
Tinderbox User
2e67f6cd68 update SRCID 2012-04-02 00:16:42 +00:00
Tinderbox User
983a82b5f7 update SRCID 2012-04-01 00:16:20 +00:00
Tinderbox User
0f86ffd4b6 update SRCID 2012-03-31 00:16:41 +00:00
Tinderbox User
b1803c627b update SRCID 2012-03-30 01:16:47 +00:00
Mark Andrews
b3afec046e dns_dnssec_findmatchingkeys isn't supported in 9.6 2012-03-30 12:11:39 +11:00
Tinderbox User
b26782a1df update SRCID 2012-03-30 00:16:15 +00:00
Tinderbox User
dbab5b0036 newcopyrights 2012-03-29 23:30:04 +00:00
Tinderbox User
9c7a8dc753 update SRCID 2012-03-29 00:16:46 +00:00
Mark Andrews
68864dc2a9 3301. [contrib] Update queryperf to build on darwin. Add -R flag
for non-recursive queries. [RT #28565]
2012-03-29 10:35:10 +11:00
Tinderbox User
60cd8bcc56 update SRCID 2012-03-28 23:15:46 +00:00
Mark Andrews
8e7aa4e1a8 3300. [bug] Named could die if gssapi was enabled in named.conf
but was not compiled in. [RT #28338]
2012-03-29 09:56:58 +11:00
Tinderbox User
d38b0e91a3 update SRCID 2012-03-28 00:16:12 +00:00
Mark Andrews
f694d83e78 3299. [bug] Make SDB handle errors from database drivers better.
[RT #28534]
2012-03-28 10:37:28 +11:00
Tinderbox User
03c4e32d48 update SRCID 2012-03-27 00:15:39 +00:00
Tinderbox User
6a658a8677 update SRCID 2012-03-26 17:15:40 +00:00
Evan Hunt
0049ddf3a6 respin 9.6 to include change #3298 2012-03-26 09:14:28 -07:00
Tinderbox User
4111675d2b update SRCID 2012-03-26 00:16:20 +00:00
Tinderbox User
efa3ceeb4a update SRCID 2012-03-25 23:15:42 +00:00
Mark Andrews
2a3a6cbb2a remove RELEASE-NOTES-BIND-9.6* 2012-03-26 09:52:15 +11:00
Mark Andrews
73948e98a9 Merge branch 'v9_6' of repo.isc.org:/proj/git/prod/bind9 into v9_6 2012-03-26 09:44:01 +11:00
Tinderbox User
969477beda update SRCID 2012-03-25 00:16:16 +00:00
Tinderbox User
21d75d5a52 update SRCID 2012-03-24 00:16:42 +00:00
Tinderbox User
11b2fe4c0d update SRCID 2012-03-23 00:16:43 +00:00
Tinderbox User
0add5b1d4e update SRCID 2012-03-22 19:16:34 +00:00
Evan Hunt
df6cc1ca06 Merge branch 'v9_6' of ssh://repo.isc.org/proj/git/prod/bind9 into v9_6 2012-03-22 12:07:20 -07:00
Evan Hunt
3966ba59ca prep for 9.6-ESV-R6 release 2012-03-22 12:07:04 -07:00
Evan Hunt
1b3f17522e prep for 9.6-ESV-R6 release 2012-03-22 11:36:16 -07:00
Tinderbox User
8ad0f1ee89 update SRCID 2012-03-22 18:15:47 +00:00
Tinderbox User
dba981f69c regen PDF 2012-03-22 17:42:01 +00:00
Mark Andrews
ff06385f16 3298. [bug] Named could dereference a NULL pointer in
zmgr_start_xfrin_ifquota if the zone was being removed.
                        [RT #28419]
2012-03-22 12:47:37 +11:00
Tinderbox User
d805d915f9 update SRCID 2012-03-22 00:16:36 +00:00
Tinderbox User
d439ba4643 update SRCID 2012-03-21 00:16:40 +00:00
Tinderbox User
f8291a5254 update SRCID 2012-03-20 00:16:37 +00:00
Tinderbox User
aaf1a5bbed update SRCID 2012-03-19 00:15:38 +00:00
Tinderbox User
3c88292ce7 update SRCID 2012-03-18 00:16:45 +00:00
Tinderbox User
19721af7f1 update SRCID 2012-03-17 00:15:42 +00:00
Tinderbox User
73b750e93a update SRCID 2012-03-16 00:16:42 +00:00
Tinderbox User
b90d706ef5 update SRCID 2012-03-15 01:16:39 +00:00
Mark Andrews
50b6f7c7b8 3297. [bug] Named could die on a malformed master file. [RT #28467] 2012-03-15 12:13:42 +11:00
Tinderbox User
795897abae update SRCID 2012-03-15 00:15:45 +00:00
Tinderbox User
605f3c69ee update SRCID 2012-03-14 00:16:39 +00:00
Mark Andrews
31a79cab42 add ans.run lwresd.run and named.memstats 2012-03-14 10:53:29 +11:00
Tinderbox User
7821aad6af update SRCID 2012-03-13 01:15:37 +00:00
Mark Andrews
ddee889c0c remove bind.keys.h 2012-03-13 11:54:47 +11:00
Mark Andrews
19828611a2 Merge branch 'v9_6' of repo.isc.org:/proj/git/prod/bind9 into v9_6 2012-03-13 11:46:29 +11:00
Mark Andrews
48e34d185d not part of 9.6 2012-03-13 11:45:53 +11:00
Tinderbox User
578113e8be update SRCID 2012-03-13 00:16:40 +00:00
Tinderbox User
f8b6975e14 update copyright notice 2012-03-12 23:45:09 +00:00
Tinderbox User
b686add6f7 update SRCID 2012-03-12 01:16:25 +00:00
Tinderbox User
007fb8f8b0 regen v9_6 2012-03-12 01:06:53 +00:00
Mark Andrews
ad1f068c29 copyright cleanup 2012-03-12 11:47:30 +11:00
Mark Andrews
26204e6f8f copyright cleanup 2012-03-12 11:43:47 +11:00
Tinderbox User
fc3074bcb4 update SRCID 2012-03-12 00:15:52 +00:00
Tinderbox User
2c7eb14f3f regen 2012-03-11 23:30:05 +00:00
Tinderbox User
56b68a1ad3 update SRCID 2012-03-11 00:16:12 +00:00
Tinderbox User
a3bf29d6c8 update copyright notice 2012-03-10 23:45:08 +00:00
Tinderbox User
4042b53ec4 newcopyrights 2012-03-10 23:30:06 +00:00
Tinderbox User
5dd25321ad update SRCID 2012-03-10 04:29:30 +00:00
Tinderbox User
c39d71b8eb update SRCID 2012-03-10 00:16:41 +00:00
Evan Hunt
a8f16a98c9 Merged 'rt28345': new git-based merge_copyrights 2012-03-09 16:00:50 -08:00
Mark Andrews
f6d2c22fc9 remove lib/dns/tests/testdata/master/.gitignore 2012-03-10 10:50:40 +11:00
Tinderbox User
f81094698f regen 2012-03-09 23:30:02 +00:00
Tinderbox User
68faefd4f0 update SRCID 2012-03-09 22:16:04 +00:00
Mark Andrews
8b91525483 empty directory 2012-03-10 08:50:41 +11:00
Tinderbox User
813adc0a20 update SRCID 2012-03-09 21:16:09 +00:00
Tinderbox User
8629afc229 update SRCID 2012-03-09 21:00:50 +00:00
Evan Hunt
3935184154 s/cvsignore/gitignore/ 2012-03-08 13:44:44 -08:00
Tinderbox User
9f5db0bf59 update copyright notice 2012-03-08 20:09:43 +00:00
Mark Andrews
9d728c7eef 3295. [bug] Adjust isc_time_secondsastimet range check to be more
portable. [RT # 26542]
2012-03-08 15:36:13 +11:00
Mark Andrews
be8fd4909d update .gitignore 2012-03-08 14:58:16 +11:00
Mark Andrews
04083d6748 3294. [bug] isccc/cc.c:table_fromwire failed to free alist on
error. [RT #28265]
2012-03-08 14:47:00 +11:00
Evan Hunt
6f1702a673 update copyrights 2012-03-07 15:51:55 -08:00
Evan Hunt
93320a05fb Revert "add .gitattributes (turn on ident)"
This reverts commit 43d8ee6dc4.
2012-03-07 08:46:08 -08:00
Evan Hunt
66fb5237d3 set $Id$ 2012-03-07 08:19:59 -08:00
Tinderbox User
d9301fcfdd regen v9_6 2012-03-07 02:11:36 +00:00
Tinderbox User
d5c5ac0dbb regen v9_6 2012-03-07 01:45:20 +00:00
Evan Hunt
0b87ce2e97 add .gitattributes (turn on ident) 2012-03-06 17:30:28 -08:00
Evan Hunt
c37ef28ccb kit.sh now uses git 2012-03-04 10:53:26 -08:00
Evan Hunt
aea84bd0d8 remove cvsignore, add gitignore 2012-03-04 09:08:12 -08:00
Automatic Updater
9830d394a4 update 2012-03-01 00:15:20 +00:00
Automatic Updater
a3785ae186 update copyright notice 2012-02-29 23:45:19 +00:00
Automatic Updater
87a7a2bd81 newcopyrights 2012-02-29 23:30:04 +00:00
Automatic Updater
5334ee4cfa update 2012-02-29 22:15:23 +00:00
Evan Hunt
071b47b643 3291. [port] Fixed a build error on systems without ENOTSUP.
[RT #28200]
2012-02-29 21:27:09 +00:00
Automatic Updater
ceabf889ef update 2012-02-29 00:15:27 +00:00
Automatic Updater
d2b4873632 update copyright notice 2012-02-28 23:45:13 +00:00
Automatic Updater
cf9603c5dd newcopyrights 2012-02-28 23:30:07 +00:00
Automatic Updater
1faa768408 update 2012-02-28 22:15:12 +00:00
Mark Andrews
12425269fa 3290. [bug] <isc/hmacsha.h> was not being installed. [RT #28169] 2012-02-28 21:38:11 +00:00
Automatic Updater
6851fd3f54 update 2012-02-23 04:16:02 +00:00
Evan Hunt
feb2f458ae nicer release notes URL 2012-02-23 03:53:01 +00:00
Automatic Updater
a4900ba76d update 2012-02-23 00:15:22 +00:00
Automatic Updater
5abdfd0a3b update copyright notice 2012-02-22 23:45:14 +00:00
Automatic Updater
05d5341d14 newcopyrights 2012-02-22 23:30:04 +00:00
Automatic Updater
3aa4f73464 update 2012-02-22 15:15:18 +00:00
Mark Andrews
d27e7bec62 3287. [port] Update ans.pl to work with Net::DNS 0.68. [RT #28028] 2012-02-22 14:32:59 +00:00
Automatic Updater
503ee7b4b7 update 2012-02-22 01:15:12 +00:00
Evan Hunt
7df44b5640 add pointer to release notes (ugly URL; should be updated to a pretty one) 2012-02-22 00:54:58 +00:00
Automatic Updater
b3fe7c6966 update 2012-02-15 21:15:11 +00:00
Automatic Updater
80422940a5 update copyright notice 2012-02-15 21:14:15 +00:00
Automatic Updater
b5253c0a33 newcopyrights 2012-02-15 21:13:33 +00:00
Mark Andrews
efa9453630 3285. [bug] val-frdataset was incorrectly disassociated in
proveunsecure after calling startfinddlvsep.
                        [RT #27928]
2012-02-15 21:05:25 +00:00
Automatic Updater
8274dc7de3 update 2012-02-15 13:15:13 +00:00
Mark Andrews
1646f6b739 2x POST(locktype); 2012-02-15 12:34:26 +00:00
Automatic Updater
a30a591b36 update 2012-02-15 10:15:16 +00:00
Mark Andrews
c8c414098c 9.6-ESV-R6rc2 2012-02-15 10:10:21 +00:00
Automatic Updater
67a03c0c6a update 2012-02-15 02:15:20 +00:00
Mark Andrews
c43a12b55c 3284. [bug] Address race conditions with the handling of
rbtnode.deadlink. [RT #27738]
2012-02-15 02:04:24 +00:00
Mark Andrews
afa80947f6 Loop 'I:checking that large rdatasets loaded' in case the zone transfer has not yet completed 2012-02-15 01:24:27 +00:00
Automatic Updater
d635d1160f update 2012-02-15 00:15:15 +00:00
Automatic Updater
5c00ca799f update copyright notice 2012-02-14 23:45:27 +00:00
Automatic Updater
031a50b7fc newcopyrights 2012-02-14 23:30:04 +00:00
Automatic Updater
6124c1d598 update 2012-02-14 01:15:16 +00:00
Mark Andrews
08ce7ff929 extend:
3282.   [bug]           Restrict the TTL of NS RRset to no more than that
                        of the old NS RRset when replacing it.
                        [RT #27792] [RT #27884]
2012-02-14 00:29:10 +00:00
Mark Andrews
d78710021a 3283. [bug] Raw zones with with more than 512 records in a RRset
failed to load. [RT #27863]
2012-02-14 00:16:12 +00:00
Automatic Updater
bb5156bd44 update 2012-02-10 00:15:38 +00:00
Automatic Updater
3d264c70a3 update copyright notice 2012-02-09 23:45:25 +00:00
Automatic Updater
f3cf288e6f newcopyrights 2012-02-09 23:30:04 +00:00
Automatic Updater
bcdf465fbc update 2012-02-09 21:15:19 +00:00
Mark Andrews
222e488f92 3282. [bug] Restrict the TTL of NS RRset to no more than that
of the old NS RRset when replacing it. [RT #27792]
2012-02-09 21:05:29 +00:00
Automatic Updater
0c3b2aa946 update 2012-02-08 00:15:16 +00:00
Automatic Updater
17cab6eb9d update copyright notice 2012-02-07 23:45:14 +00:00
Automatic Updater
dc2f0c21d1 newcopyrights 2012-02-07 23:30:04 +00:00
Automatic Updater
bc3ca828bf update 2012-02-07 20:15:49 +00:00
Mark Andrews
049fbd1b59 3281. [bug] SOA refresh queries could be treated as cancelled
despite succeeding over the loopback interface.
                        [RT #27782]
2012-02-07 19:55:15 +00:00
Automatic Updater
3814a90033 update 2012-02-07 00:17:40 +00:00
Automatic Updater
a263590d5b update copyright notice 2012-02-06 23:45:16 +00:00
Automatic Updater
0ab3c339a6 newcopyrights 2012-02-06 23:30:05 +00:00
Mark Andrews
f2c72db13f verify server is answering before starting next server 2012-02-06 23:24:43 +00:00
Automatic Updater
5d51a0c1e5 update 2012-02-04 00:15:18 +00:00
Automatic Updater
6bb332d5cf update copyright notice 2012-02-03 23:45:25 +00:00
Automatic Updater
516a47a130 newcopyrights 2012-02-03 23:30:15 +00:00
Automatic Updater
90365739e6 update 2012-02-03 05:16:41 +00:00
Mark Andrews
85a63d3e40 I:waiting for nameserver to load, ok'd by Evan 2012-02-03 04:47:33 +00:00
Automatic Updater
3a8e7c8de3 update 2012-02-01 00:15:11 +00:00
Automatic Updater
3a1a65d7ab update copyright notice 2012-01-31 23:45:27 +00:00
Automatic Updater
3be744a381 newcopyrights 2012-01-31 23:30:06 +00:00
Automatic Updater
3db0515ac9 update 2012-01-31 23:15:12 +00:00
Mark Andrews
924172e9f3 3374. [bug] Log when a zone is not reusable. Only set loadtime
on successful loads.  [RT #27650]
2012-01-31 22:37:36 +00:00
Automatic Updater
a1c9425dbd update 2012-01-31 00:15:17 +00:00
Automatic Updater
3b3e45d9b1 update copyright notice 2012-01-30 23:45:37 +00:00
Automatic Updater
8ff1d47348 newcopyrights 2012-01-30 23:30:06 +00:00
Automatic Updater
ab1461f2e5 update 2012-01-30 04:15:12 +00:00
Automatic Updater
8e712b54f9 9.7.5 2012-01-30 03:45:50 +00:00
Automatic Updater
318ad8e235 update 2012-01-30 01:15:10 +00:00
Mark Andrews
19a83afa4b remove doc/draft, doc/rfc 2012-01-30 00:56:34 +00:00
Mark Andrews
72d548ffb8 make 'when' isc_stdtime_t in set_key_expiry_warning 2012-01-30 00:19:43 +00:00
Automatic Updater
bf9241c7fa update 2012-01-28 00:15:20 +00:00
Automatic Updater
83255fe881 update copyright notice 2012-01-27 23:45:34 +00:00
Automatic Updater
bb94d6dc2d newcopyrights 2012-01-27 23:30:18 +00:00
Automatic Updater
c4cc1321d3 update 2012-01-27 13:15:55 +00:00
Mark Andrews
579f9be3f9 const origin 2012-01-27 12:39:33 +00:00
Automatic Updater
eb038a02d0 update 2012-01-27 08:15:10 +00:00
Mark Andrews
525727410c 9.6-ESV-R6 2012-01-27 07:38:16 +00:00
Automatic Updater
4f6050ab45 update 2012-01-27 07:16:03 +00:00
Mark Andrews
bb9ec5d667 9.6-ESV-R6 2012-01-27 06:32:54 +00:00
Mark Andrews
d7fcc9ecce 9.6-ESV-R6 2012-01-27 06:30:38 +00:00
Automatic Updater
70160d0356 update 2012-01-27 06:16:10 +00:00
Mark Andrews
d047f5e7df 9.6-ESV-R6 2012-01-27 05:29:10 +00:00
Mark Andrews
97dc273b21 whitespace 2012-01-27 05:28:22 +00:00
Automatic Updater
56deb51ea0 update 2012-01-27 05:16:46 +00:00
Mark Andrews
444117ab97 9.6-ESV-R6 2012-01-27 04:58:29 +00:00
Automatic Updater
26ad194aca update 2012-01-27 03:16:09 +00:00
Mark Andrews
19735887e8 add static dns_name_fromstring 2012-01-27 02:36:44 +00:00
Mark Andrews
9cc3a3a8c5 adjust format to handle 64 type 2012-01-27 02:36:02 +00:00
Automatic Updater
f200295e3c update 2012-01-27 02:15:11 +00:00
Mark Andrews
f9f46691b8 back port dns_test_loaddb from 9.9.0 2012-01-27 02:10:54 +00:00
Mark Andrews
595f2934dc 3268. [bug] Convert RRSIG expiry times to 64 timestamps to work
out the earliest expiry time. [RT #23311]
2012-01-27 01:50:09 +00:00
Mark Andrews
e4e2b02dab 3267. [bug] Memory allocation failures could be mis-reported as
unexpected error.  New ISC_R_UNSET result code.
                        [RT #27336]
2012-01-27 01:30:24 +00:00
Automatic Updater
170b17cfc7 update 2012-01-27 01:15:14 +00:00
Mark Andrews
6717fafb4d 3266. [bug] The maximum number of NSEC3 iterations for a
DNSKEY RRset was not being properly computed.
                        [RT #26543]
2012-01-27 01:11:05 +00:00
Automatic Updater
799f9742e6 update 2012-01-24 00:15:09 +00:00
Automatic Updater
4ade361325 update copyright notice 2012-01-23 23:45:25 +00:00
Automatic Updater
ccebf2c16d newcopyrights 2012-01-23 23:30:04 +00:00
Automatic Updater
d18ede85f4 update 2012-01-23 12:15:38 +00:00
Mark Andrews
6f5e15e92e test for Net::DNS 2012-01-23 11:57:38 +00:00
Automatic Updater
61f0dd970a update 2012-01-21 01:15:12 +00:00
Automatic Updater
be0d0be8ee sync 2012-01-21 01:04:46 +00:00
Automatic Updater
1b915c75e1 update 2012-01-20 02:15:13 +00:00
Mark Andrews
5d151f17cc remove more bashisms 2012-01-20 01:34:28 +00:00
Automatic Updater
24a9f08ecb update 2012-01-20 00:15:18 +00:00
Automatic Updater
cb2143c701 newcopyrights 2012-01-19 23:30:04 +00:00
Automatic Updater
4c85bce04a update 2012-01-19 09:16:01 +00:00
Mark Andrews
abbc29e54a don't use bash syntax 2012-01-19 08:46:08 +00:00
Automatic Updater
398fb41f28 update 2012-01-14 02:15:17 +00:00
Automatic Updater
bb75af3722 sync 2012-01-14 01:15:24 +00:00
Automatic Updater
64fd1f8833 update 2012-01-12 00:15:12 +00:00
Automatic Updater
7dddc7b2cd update copyright notice 2012-01-11 23:45:14 +00:00
Evan Hunt
23e42436fa update authors.bind 2012-01-11 23:41:44 +00:00
Automatic Updater
81d94ff043 newcopyrights 2012-01-11 23:30:05 +00:00
Automatic Updater
bcec88c1a1 update 2012-01-11 21:15:15 +00:00
Curtis Blackburn
e1c0a8f4a3 added myself to the list of authors. 2012-01-11 20:18:18 +00:00
Automatic Updater
f9ff478d9c update 2012-01-06 00:15:18 +00:00
Automatic Updater
f7296dccfc newcopyrights 2012-01-05 23:30:21 +00:00
Automatic Updater
adfc363a99 update 2012-01-05 05:15:13 +00:00
Mark Andrews
0890078f85 rrset-order cyclic fix cleanupt 2012-01-05 04:53:59 +00:00
Automatic Updater
258f97dc36 update 2012-01-05 00:15:17 +00:00
Automatic Updater
e0229601aa update copyright notice 2012-01-04 23:45:30 +00:00
Automatic Updater
5b120b641b newcopyrights 2012-01-04 23:30:04 +00:00
Automatic Updater
e9a5f2860c update 2012-01-04 03:16:00 +00:00
Evan Hunt
eec7032275 3260. [bug] "rrset-order cyclic" could appear not to rotate
for some query patterns.  [RT #27170/27185]
2012-01-04 03:12:03 +00:00
Automatic Updater
f640168930 update 2011-12-24 00:15:20 +00:00
Automatic Updater
e16ecd6aba update copyright notice 2011-12-23 23:45:49 +00:00
Automatic Updater
bd3df214a2 update 2011-12-23 07:17:40 +00:00
Automatic Updater
09020166c6 regenerate 2011-12-23 07:12:55 +00:00
Evan Hunt
76bb31f650 update for 9.6-ESV-R6rc1 2011-12-23 07:11:44 +00:00
Automatic Updater
2c76f9061e update 2011-12-23 03:16:04 +00:00
Evan Hunt
59a5f910c5 prep for rc1 2011-12-23 02:29:50 +00:00
Automatic Updater
94f93ce49f update 2011-12-23 02:15:23 +00:00
Automatic Updater
ba01fd1cd2 update 2011-12-23 01:40:19 +00:00
Automatic Updater
12dfd0a396 update 2011-12-23 01:15:19 +00:00
Mark Andrews
8eb99d2044 --enable-fixed-rrset uses reversed order for cyclic 2011-12-23 01:08:14 +00:00
Mark Andrews
3e9ebd086c 3260. [bug] "rrset-order cyclic" could appears to not rotate
for some query patterns.  [RT #27170]
2011-12-23 00:43:19 +00:00
Automatic Updater
5ba5788f8b update 2011-12-23 00:15:16 +00:00
Mark Andrews
ecfec45175 3260. [bug] "rrset-order cyclic" could appear to not rotate
for some query patterns.  [RT #27170]
2011-12-22 23:55:25 +00:00
Automatic Updater
f2926b876c update 2011-12-22 18:15:11 +00:00
Evan Hunt
16a4a7b579 3259. [bug] named-compilezone: Suppress "dump zone to <file>"
message when writing to stdout. [RT #27109]
2011-12-22 17:27:55 +00:00
Automatic Updater
0fef592c65 update 2011-12-22 09:15:10 +00:00
Mark Andrews
d6aab1d286 3257. [bug] Do not generate a error message when calling fsync()
in a pipe or socket. [RT #27109]
2011-12-22 08:53:32 +00:00
Mark Andrews
79ae18e170 3256. [bug] Disable empty zones for lwresd -C. [RT #27139] 2011-12-22 08:29:21 +00:00
Automatic Updater
0ee88d1f33 update 2011-12-22 08:15:54 +00:00
Mark Andrews
08b1dae9b9 3254. [bug] Set isc_socket_ipv6only() on the IPv6 control channels.
[RT #22249]
2011-12-22 08:12:21 +00:00
Mark Andrews
e86194b500 3253. [bug] Return DNS_R_SYNTAX when the input to a text field is
too long. [RT #26956]
2011-12-22 07:45:46 +00:00
Mark Andrews
eeda4faf0d 3251. [bug] Enforce a upper bound (65535 bytes) on the amount of
memory dns_sdlz_putrr() can allocate per record to
                        prevent run away memory consumption on ISC_R_NOSPACE.
                        [RT #26956]
2011-12-22 07:18:45 +00:00
Automatic Updater
01a48682de update 2011-12-21 00:15:54 +00:00
Automatic Updater
90d80c5782 update copyright notice 2011-12-20 23:45:15 +00:00
Automatic Updater
45fe423be6 newcopyrights 2011-12-20 23:30:04 +00:00
Automatic Updater
049bcf8c09 update 2011-12-20 06:15:53 +00:00
Mark Andrews
f2191c223c configure strips out VPATH. Use ${srcdir} instead so 'make depend' works
in lib/export.
2011-12-20 05:27:04 +00:00
Automatic Updater
f43a1358c9 update 2011-12-20 01:15:35 +00:00
Mark Andrews
d4977443e2 update slabbed data layout description 2011-12-20 00:56:58 +00:00
Mark Andrews
8d43f4a6d9 regen 2011-12-20 00:46:54 +00:00
Mark Andrews
ffb776a8fe 3250. [func] 'configure --enable-developer'; turn on various
configure options, normally off by default, that
                        we want developers to build and test with. [RT #27103]
2011-12-20 00:42:17 +00:00
Mark Andrews
b36f5d7b12 add missing s 2011-12-20 00:31:09 +00:00
Mark Andrews
6b3e4a7f46 3249. [bug] Update log message when saving slave zones files for
analysis after load failures. [RT #27087]

3247.   [bug]           'raw' format zones failed to preserve load order
                        breaking 'fixed' sort order. [RT #27087]
2011-12-20 00:16:22 +00:00
Automatic Updater
c36ac535d8 update 2011-12-19 23:15:40 +00:00
Mark Andrews
c1f36a507d set status to 1 on R:FAIL 2011-12-19 23:13:00 +00:00
Automatic Updater
14a1f32dc6 update 2011-12-17 00:15:43 +00:00
Automatic Updater
1ebbd904c3 newcopyrights 2011-12-16 23:30:23 +00:00
Automatic Updater
24594c2b7a update 2011-12-16 00:15:18 +00:00
Mark Andrews
fce09ca4d4 regen 2011-12-16 00:14:05 +00:00
Mark Andrews
69bd26fc73 3243. [port] netbsd,bsdi: the thread defaults were not being
properly set.
2011-12-16 00:08:14 +00:00
Automatic Updater
0a756fcb17 update 2011-12-07 23:15:15 +00:00
Mark Andrews
55175c2681 3241. [bug] Address race conditions in the resolver code.
[RT #26889]
2011-12-07 23:14:22 +00:00
Mark Andrews
63516183ad 3238. [bug] keyrdata was not being reinitialized in
lib/dns/rbtdb.c:iszonesecure. [RT#26913]
2011-12-07 22:27:21 +00:00
Automatic Updater
b53d53c917 update 2011-12-07 18:15:12 +00:00
Evan Hunt
c1c0eda1ca 3237. [bug] dig -6 didn't work with +trace. [RT #26906] 2011-12-07 17:24:55 +00:00
Automatic Updater
2c57aa33c3 update 2011-12-03 00:15:28 +00:00
Automatic Updater
aa3f827cc9 newcopyrights 2011-12-02 23:30:06 +00:00
Automatic Updater
0892962af5 update 2011-12-02 07:15:19 +00:00
Mark Andrews
23bccd43a2 3234. [bug] 'make depend' produced invalid makefiles. [RT #26830] 2011-12-02 07:07:18 +00:00
Automatic Updater
bd581054d0 update 2011-12-02 00:15:26 +00:00
Automatic Updater
a728f73921 update copyright notice 2011-12-01 23:45:29 +00:00
Automatic Updater
2239f2a6cb newcopyrights 2011-12-01 23:30:04 +00:00
Automatic Updater
946e866e53 update 2011-12-01 03:15:15 +00:00
Mark Andrews
096ca55d4d back out accidental commit 2011-12-01 03:00:15 +00:00
Automatic Updater
5ab4a45157 update 2011-12-01 02:15:27 +00:00
Mark Andrews
b90a370e07 silence Division by zero warning 2011-12-01 01:32:21 +00:00
Automatic Updater
7672fc49d4 update 2011-12-01 01:15:13 +00:00
Mark Andrews
6f8ffee820 3231. [bug] named could fail to send a uncompressable zone.
[RT #26796]

3230.   [bug[           'dig axfr' failed to properly handle a multi-message
                        axfr with a serial of 0. [RT #26796]
2011-12-01 01:05:02 +00:00
Automatic Updater
f7cab29e9f update 2011-12-01 00:15:16 +00:00
Automatic Updater
6c6b7e5383 update copyright notice 2011-11-30 23:45:15 +00:00
Automatic Updater
6d20595510 newcopyrights 2011-11-30 23:30:04 +00:00
Automatic Updater
e228ac1445 update 2011-11-30 23:15:12 +00:00
Mark Andrews
1084f4a02a mkdep was just broken 2011-11-30 23:06:41 +00:00
Automatic Updater
91174bd480 update 2011-11-30 22:15:13 +00:00
Mark Andrews
49cdc7b206 remove extra argument from isc_test_begin call 2011-11-30 21:19:07 +00:00
Automatic Updater
5ad1a6342c update 2011-11-30 21:15:41 +00:00
Mark Andrews
c12394952f symtab_text -> symtab_test 2011-11-30 21:14:18 +00:00
Automatic Updater
d53916d703 update 2011-11-30 06:15:11 +00:00
Mark Andrews
5e478234c5 #include <isc/print.h> 2011-11-30 06:11:38 +00:00
Evan Hunt
a33e19a4e7 add print.h 2011-11-30 06:10:15 +00:00
Mark Andrews
3f7eb424f7 move declaration to start of block 2011-11-30 06:08:12 +00:00
Automatic Updater
e7af212289 update 2011-11-30 05:16:04 +00:00
Evan Hunt
d51bd1de1f 3228. [tuning] Dynamically grow symbol table to improve zone
loading performance. [RT #26523]
2011-11-30 04:25:09 +00:00
Automatic Updater
9515a7a754 update 2011-11-30 02:15:10 +00:00
Mark Andrews
317e89bc5e remove freeit 2011-11-30 02:01:04 +00:00
Mark Andrews
1fafeebcb2 3227. [bug] Interim fix to make WKS's use of getprotobyname()
and getservbyname() self thread safe. [RT #26232]
2011-11-30 01:23:38 +00:00
Automatic Updater
cd3f411b5f update 2011-11-30 01:15:13 +00:00
Mark Andrews
0509c5ce27 3226. [bug] Address minor resource leakages. [RT #26624] 2011-11-30 00:54:50 +00:00
Automatic Updater
4a98325b40 update 2011-11-24 02:15:12 +00:00
Evan Hunt
f49495bc4e respin 9.6-ESV-R6b1 2011-11-24 02:11:58 +00:00
Automatic Updater
a63bb85991 update 2011-11-23 23:15:16 +00:00
Evan Hunt
f3dc2e3c0c 3221. [bug] Fixed a potential coredump on shutdown due to
referencing fetch context after it's been freed.
			[RT #26720]
2011-11-23 22:51:50 +00:00
Automatic Updater
19dabdabc1 update 2011-11-22 04:15:11 +00:00
Mark Andrews
28753875ef 9.6-ESV-R6b1 2011-11-22 04:11:01 +00:00
Automatic Updater
bf5c61254a update 2011-11-16 10:15:18 +00:00
Mark Andrews
0b20398de2 3218. [security] Cache lookup could return RRSIG data associated with
nonexistent records, leading to an assertion
                        failure. [RT #26590]
2011-11-16 09:45:25 +00:00
Automatic Updater
d9362d5f21 update 2011-11-15 22:15:13 +00:00
Evan Hunt
118da77539 3216. [bug] resolver.c:validated() was not thread-safe. [RT #26478] 2011-11-15 21:46:42 +00:00
Evan Hunt
3890d42462 file symtab_test.c was added on branch v9_6 on 2011-11-30 04:25:09 +0000 2011-11-15 21:03:12 +00:00
Automatic Updater
29609dbc8b update 2011-11-10 03:15:51 +00:00
Evan Hunt
369582a031 remove old isc_assertion_failed data reference 2011-11-10 02:37:53 +00:00
Evan Hunt
012d88d6cc update libisc.def 2011-11-10 02:30:03 +00:00
Automatic Updater
d2ea75c370 update 2011-11-10 02:15:25 +00:00
Evan Hunt
cdb1e9f3ff update api files for 9.6-ESV-R6b1 2011-11-10 01:45:46 +00:00
Automatic Updater
b3d3ebde1d regen 2011-11-10 01:31:08 +00:00
Automatic Updater
3748929967 regen v9_6 2011-11-10 01:25:53 +00:00
Automatic Updater
0d57013e1f update 2011-11-10 01:15:11 +00:00
Evan Hunt
7aea94d347 fix version typo 2011-11-10 01:02:36 +00:00
Automatic Updater
f7d4e7c770 update 2011-11-10 00:15:23 +00:00
Automatic Updater
0355ff9c7a update for 9.6-ESV-R6b1 2011-11-09 23:47:18 +00:00
Evan Hunt
b64678cb60 Prepare 9.6-ESV-R6b1 release. 2011-11-09 23:39:39 +00:00
Automatic Updater
b07ed0b5a1 update 2011-11-09 06:15:46 +00:00
Evan Hunt
9421c8ac3d 3213. [doc] Clarify ixfr-from-differences behavior. [RT #25188] 2011-11-09 05:55:02 +00:00
Automatic Updater
8658ec49eb update 2011-11-08 22:15:29 +00:00
Mark Andrews
7bcd1005b3 nsec -> nsec3 2011-11-08 21:51:15 +00:00
Mark Andrews
30a0de4949 3212. [bug] rbtdb.c: failed to remove a node from the deadnodes
list prior to adding a reference to it leading a
                        possible assertion failure. [RT #23219]
2011-11-08 21:20:57 +00:00
Automatic Updater
60737e14a1 update 2011-11-08 00:15:15 +00:00
Automatic Updater
7e3be58594 update copyright notice 2011-11-07 23:45:37 +00:00
Automatic Updater
62fd8321b6 newcopyrights 2011-11-07 23:30:04 +00:00
Automatic Updater
70e46b9784 update 2011-11-07 00:15:18 +00:00
Automatic Updater
38e3acd89b update copyright notice 2011-11-06 23:45:15 +00:00
Mark Andrews
bc1fd64a5a 3208. [bug] 'dig -y' handle unknown tsig alorithm better.
[RT #25522]
2011-11-06 23:33:43 +00:00
Automatic Updater
3db514a1e4 update 2011-11-05 06:15:31 +00:00
Automatic Updater
e21df5aabb regen 2011-11-05 05:19:18 +00:00
Evan Hunt
e22ad75a08 3207. [contrib] Fixed build error in Berkeley DB DLZ module. [RT #26444] 2011-11-05 05:15:39 +00:00
Automatic Updater
faa7becf3d update 2011-11-05 01:15:12 +00:00
Evan Hunt
bc07ff042c 3206. [cleanup] Add ISC information to log at start time. [RT #25484] 2011-11-05 00:46:27 +00:00
Automatic Updater
646ead0a59 update 2011-11-04 08:15:46 +00:00
Mark Andrews
c6b8889e10 sync with HEAD 2011-11-04 07:38:23 +00:00
Automatic Updater
e43bb112bf update 2011-11-04 06:15:16 +00:00
Evan Hunt
6eb9b6e968 typo 2011-11-04 05:55:44 +00:00
Evan Hunt
e358b9159a 3204. [bug] When a master server that has been marked as
unreachable but sends a NOTIFY, mark it reachable
			again. [RT #25960]
2011-11-04 05:52:58 +00:00
Evan Hunt
c78a1d96de 3203. [bug] Increase log level to 'info' for validation failures
from expired or not-yet-valid RRSIGs. [RT #21796]
2011-11-04 05:33:27 +00:00
Automatic Updater
37fc83de8d update 2011-11-04 02:15:51 +00:00
Automatic Updater
96943c921c regen v9_6 2011-11-04 01:24:00 +00:00
Automatic Updater
d53e3e5feb update 2011-11-04 00:15:38 +00:00
Automatic Updater
4d5624b0b4 update copyright notice 2011-11-03 23:45:18 +00:00
Automatic Updater
32b72b2ec6 newcopyrights 2011-11-03 23:30:05 +00:00
Automatic Updater
43dd74ef9c update 2011-11-03 22:15:30 +00:00
Evan Hunt
f18ae1d196 3200. [doc] Some rndc functions were undocumented or were
missing from 'rndc -h' output. [RT #25555]
2011-11-03 22:06:50 +00:00
Automatic Updater
9bc2a7868a update 2011-11-03 05:15:53 +00:00
Evan Hunt
451d571023 remove 1/8 and 2/8 from bogusnets example 2011-11-03 04:56:00 +00:00
Evan Hunt
b0ca498208 3196. [bug] nsupdate: return nonzero exit code when target zone
doesn't exist. [RT #25783]
2011-11-03 04:31:30 +00:00
Automatic Updater
fd91e4d3c4 update 2011-11-03 03:15:49 +00:00
Evan Hunt
4549b6f75b 3194. [doc] Updated RFC references in the 'empty-zones-enable'
documentation. [RT #25203]
2011-11-03 03:10:48 +00:00
Evan Hunt
c1b96d5375 3193. [cleanup] Changed MAXZONEKEYS to DNS_MAXZONEKEYS, moved to
dnssec.h. [RT #26415]
2011-11-03 02:58:57 +00:00
Automatic Updater
e8a8fffee6 update 2011-11-03 00:15:12 +00:00
Mark Andrews
9b7e7bb4de 3192. [bug] A query structure could be used after being freed.
[RT #22208]
2011-11-02 23:48:41 +00:00
Automatic Updater
88235b10c1 update copyright notice 2011-11-02 23:45:18 +00:00
Automatic Updater
5d2ef49954 newcopyrights 2011-11-02 23:30:14 +00:00
Automatic Updater
89d063c6aa update 2011-11-02 20:15:23 +00:00
Evan Hunt
6998d04941 edited a comment for clarity. 2011-11-02 19:40:35 +00:00
Automatic Updater
3cfacc310f update 2011-11-02 09:15:49 +00:00
Mark Andrews
775706a0e6 loop waiting for stub zone to transfer 2011-11-02 08:20:44 +00:00
Automatic Updater
40bcbd5685 update 2011-11-02 03:15:50 +00:00
Evan Hunt
cb2fbfd8a7 grammar fix 2011-11-02 02:23:26 +00:00
Automatic Updater
da39bbed00 update 2011-11-02 02:15:13 +00:00
Mark Andrews
65c5197de9 3191. [bug] Print NULL records using unknown format. [RT #26392] 2011-11-02 01:16:32 +00:00
Automatic Updater
1125d72e98 update 2011-11-02 00:15:16 +00:00
Automatic Updater
66a2728de7 update copyright notice 2011-11-01 23:45:32 +00:00
Automatic Updater
818de0e836 newcopyrights 2011-11-01 23:30:07 +00:00
Automatic Updater
d09c5bc92a update 2011-11-01 22:15:14 +00:00
Mark Andrews
1531f10434 3190. [bug] Underflow in error handling in isc_mutexblock_init.
[RT #26397]
2011-11-01 22:05:38 +00:00
Automatic Updater
e8c9a47f14 update 2011-11-01 19:15:14 +00:00
Evan Hunt
f034307b09 3189. [test] Added a summary report after system tests. [RT #25517] 2011-11-01 18:33:25 +00:00
Automatic Updater
9631b89795 update 2011-11-01 00:15:15 +00:00
Automatic Updater
705084ab3b update copyright notice 2011-10-31 23:45:36 +00:00
Automatic Updater
a27604a895 newcopyrights 2011-10-31 23:30:04 +00:00
Automatic Updater
46b49ffed1 update 2011-10-31 00:15:37 +00:00
Mark Andrews
ef1a4098e6 3187. [port] win32: support for Visual Studio 2008. [RT #26356] 2011-10-30 23:46:38 +00:00
Automatic Updater
bfe02d8d60 update 2011-10-26 06:15:48 +00:00
Mark Andrews
964917093b spin waiting for zone transfer to complete 2011-10-26 05:35:19 +00:00
Automatic Updater
1158c7d8fe update 2011-10-26 00:15:14 +00:00
Automatic Updater
cb5b75f33e update copyright notice 2011-10-25 23:45:36 +00:00
Automatic Updater
1628eee3f5 newcopyrights 2011-10-25 23:30:05 +00:00
Automatic Updater
ceaf32d985 update 2011-10-25 22:15:21 +00:00
Mark Andrews
e48078acdd 3179. [port] kfreebsd: build issues. [RT #26273] 2011-10-25 21:27:40 +00:00
Automatic Updater
e4d613f172 update 2011-10-25 03:15:16 +00:00
Mark Andrews
e5973c63f3 Correctly invalidate the sha2/hmac2 contexts. This was already done in practice, but this makes it zero out the whole structure rather than just the first 4 bytes + the key. sha2.c did not always zero out the full sha2 state in invalidate, but will now. 2011-10-25 03:11:17 +00:00
Automatic Updater
50c9595c79 update 2011-10-21 00:15:14 +00:00
Automatic Updater
8830c847aa update copyright notice 2011-10-20 23:45:14 +00:00
Automatic Updater
f9c3ac9c90 update 2011-10-20 22:15:11 +00:00
Mark Andrews
48e7804399 3175. [bug] Fix how DNSSEC positive wildcard responses from a
NSEC3 signed zone are validated.  Stop sending a
                        unnecessary NSEC3 record when generating such
                        responses. [RT #26200]
2011-10-20 21:47:47 +00:00
Automatic Updater
0ec67facc9 update 2011-10-18 00:15:25 +00:00
Automatic Updater
611c5eacdb update copyright notice 2011-10-17 23:45:22 +00:00
Automatic Updater
82fc82d159 newcopyrights 2011-10-17 23:30:04 +00:00
Automatic Updater
a704f49bcd update 2011-10-17 06:15:47 +00:00
Mark Andrews
eb18e1f8aa sleep 1 # allow lwresd to finish starting. 2011-10-17 05:44:03 +00:00
Automatic Updater
3b24208d02 update 2011-10-17 03:15:47 +00:00
Mark Andrews
b9b2670676 sync with HEAD 2011-10-17 02:41:22 +00:00
Mark Andrews
bdc12c867b add --restart arg 2011-10-17 02:37:57 +00:00
Automatic Updater
a88b1b2a4e update 2011-10-15 05:15:13 +00:00
Mark Andrews
af524126b2 3173. [port] Correctly validate root DS responses. [RT #25726] 2011-10-15 05:13:39 +00:00
Automatic Updater
e23ce15e58 update 2011-10-13 23:15:42 +00:00
Automatic Updater
329b11e08a update copyright notice 2011-10-13 22:46:59 +00:00
Automatic Updater
90af01e243 newcopyrights 2011-10-13 22:46:23 +00:00
Automatic Updater
bb510b7247 update 2011-10-13 14:15:13 +00:00
Mark Andrews
a1423d89e4 handle unchecked assignment 2011-10-13 13:16:38 +00:00
Automatic Updater
0e622e8d37 update 2011-10-13 08:15:33 +00:00
Mark Andrews
5e3c1be88c #include <stdlib.h> 2011-10-13 07:44:38 +00:00
Automatic Updater
72fbcebd4f update 2011-10-13 01:15:11 +00:00
Mark Andrews
0d11496e02 3169. [func] Catch db/version mis-matches when call dns_db_*().
[RT #26017]
2011-10-13 00:37:34 +00:00
Automatic Updater
2483e6556f update 2011-10-13 00:15:11 +00:00
Automatic Updater
00adbff8af update copyright notice 2011-10-12 23:45:12 +00:00
Automatic Updater
82fbab0713 newcopyrights 2011-10-12 23:30:04 +00:00
Automatic Updater
98df83e6f3 update 2011-10-12 02:15:09 +00:00
Mark Andrews
df4074735e some hunks misapplied, fctx->addrinfo is needed 2011-10-12 01:40:32 +00:00
Automatic Updater
ab51c5e4c7 update 2011-10-12 01:15:14 +00:00
Mark Andrews
3693a4c6b7 3167. [bug] Negative answers from forwarders were not being
correctly tagged making them appear to not be cached.
                        [RT #25380]
2011-10-12 00:30:16 +00:00
Automatic Updater
939b258bc4 update 2011-10-11 01:15:15 +00:00
Mark Andrews
9445400489 handle named.args 2011-10-11 00:50:23 +00:00
Automatic Updater
fe74d946f7 update 2011-10-11 00:15:38 +00:00
Scott Mann
1f22e83c95 Change s/\R//g to chomp(). 2011-10-10 23:23:50 +00:00
Automatic Updater
196323cd4d update 2011-10-10 20:15:09 +00:00
Scott Mann
5721855c9e allow custom args to named in system tests (RT 26044). 2011-10-10 19:40:50 +00:00
Automatic Updater
d27081366c update 2011-10-07 05:15:13 +00:00
Evan Hunt
4a4da8faaf 3157. [tuning] Reduce the time spent in "rndc reconfig" by parsing
the config file before pausing the server. [RT #21373]
2011-10-07 04:41:30 +00:00
Automatic Updater
578179266a update 2011-10-07 02:15:10 +00:00
Automatic Updater
e7bdc6f8ee regen v9_6 2011-10-07 01:25:48 +00:00
Automatic Updater
bf9422b54e update 2011-10-06 12:15:11 +00:00
Mark Andrews
cd87945e6d fix default for sig-signing-type 2011-10-06 11:53:21 +00:00
Automatic Updater
415a8d22b7 update 2011-09-24 00:15:35 +00:00
Automatic Updater
39abd8d7ab update copyright notice 2011-09-23 23:45:16 +00:00
Automatic Updater
72c0459087 newcopyrights 2011-09-23 23:30:06 +00:00
Automatic Updater
a578f60294 update 2011-09-23 01:15:12 +00:00
Evan Hunt
6b79ae4b25 3156. [bug] Reconfiguring the server with an incorrectly
formatted TSIG key could cause a crash during
                        subsequent zone transfers.  [RT #20391]
2011-09-23 00:37:29 +00:00
Automatic Updater
3caa87d01f update 2011-09-09 00:15:17 +00:00
Automatic Updater
288d660942 update copyright notice 2011-09-08 23:45:16 +00:00
Automatic Updater
5d13caf302 newcopyrights 2011-09-08 23:30:04 +00:00
Automatic Updater
56c5b420e6 update 2011-09-08 03:15:46 +00:00
Mark Andrews
b4c35df48a manual update 2011-09-08 02:24:42 +00:00
Automatic Updater
79a23af289 update 2011-09-07 19:15:09 +00:00
Evan Hunt
87da623641 3154. [bug] Attempting to print an empty rdataset could trigger
an assert. [RT #25452]
2011-09-07 19:11:53 +00:00
Automatic Updater
383d2a1f7f update 2011-09-06 06:15:11 +00:00
Mark Andrews
ebaaa81534 add depend target 2011-09-06 06:08:55 +00:00
Automatic Updater
2947f87708 update 2011-09-06 04:15:17 +00:00
Mark Andrews
a0d23d1679 $ -> 18739 2011-09-06 04:04:33 +00:00
Mark Andrews
a6354cb1f0 run unit tests even if system tests fail. Report if either set of tests fail 2011-09-06 04:03:34 +00:00
Automatic Updater
db114e79fe update 2011-09-06 00:15:16 +00:00
Automatic Updater
95564c6f04 update copyright notice 2011-09-05 23:45:14 +00:00
Automatic Updater
f2ebdf2a43 update 2011-09-05 18:15:11 +00:00
Evan Hunt
3d7092d9bd 3152. [cleanup] Some versions of gcc and clang failed due to
incorrect use of __builtin_expect. [RT #25183]
2011-09-05 18:01:47 +00:00
Evan Hunt
1484402c39 add time.h to silence compiler warning 2011-09-05 17:39:12 +00:00
Automatic Updater
029b92ae5c update 2011-09-05 08:15:10 +00:00
Evan Hunt
125383b7e3 3149. [tuning] Improve scalability by allocating one zone
task per 100 zones at startup time.  (The
			BIND9_ZONE_TASKS_HINT environment variable
			which was established as a temporary measure
			in change #3132 is no longer needed or
			used.) [rt25541]
2011-09-05 07:19:28 +00:00
Automatic Updater
b3647fb597 update 2011-09-05 00:15:12 +00:00
Mark Andrews
934eb4d748 manual adds 2011-09-05 00:02:40 +00:00
Automatic Updater
3fee6ec7c6 update 2011-09-04 13:15:11 +00:00
Mark Andrews
3d2a398bb0 report R:PASS/FAIL 2011-09-04 12:15:54 +00:00
Automatic Updater
f89fc8b436 update 2011-09-03 00:15:22 +00:00
Automatic Updater
4061571044 update copyright notice 2011-09-02 23:45:15 +00:00
Automatic Updater
6b2e839a15 update 2011-09-02 23:15:14 +00:00
Automatic Updater
8997657f0f regen 2011-09-02 22:31:45 +00:00
Evan Hunt
809c735a37 3139. [test] Added tests from RFC 6234, RFC 2202, and RFC 1321
for the hashing algorithms (md5, sha1 - sha512, and
			their hmac counterparts).  [RT #25067]
2011-09-02 22:21:55 +00:00
Automatic Updater
4e9c2b42f0 update 2011-09-02 22:15:10 +00:00
Evan Hunt
62da6b0e7e 3151. [bug] Queries for type RRSIG or SIG could be handled
incorrectly.  [RT #21050]
2011-09-02 21:53:54 +00:00
Automatic Updater
4b14c07a18 update 2011-09-02 15:15:10 +00:00
Scott Mann
8c838ac1de fix comment 2011-09-02 14:43:40 +00:00
Automatic Updater
d8699d6d32 update 2011-09-02 02:45:23 +00:00
Mark Andrews
f54313c531 don't use a expired slave zone 2011-09-02 02:21:23 +00:00
Automatic Updater
a61ed9fc12 update 2011-09-01 00:15:35 +00:00
Automatic Updater
60dd9e35bf update copyright notice 2011-08-31 23:45:13 +00:00
Mark Andrews
6969f82320 silence clang warnings 2011-08-31 23:33:23 +00:00
Automatic Updater
7718ede2de newcopyrights 2011-08-31 23:30:04 +00:00
Automatic Updater
0baf2fbe5f update 2011-08-31 08:15:13 +00:00
Mark Andrews
9bf3513f03 3148. [bug] Processing of normal queries could be stalled when
forwarding a UPDATE message. [RT #24711]
2011-08-31 07:47:56 +00:00
Automatic Updater
111a0c7ab3 update 2011-08-31 04:15:11 +00:00
Mark Andrews
0afd1a8f02 remove unused variables 'stop' and 'is_ksk', remove redundant assignments 2011-08-31 03:40:39 +00:00
Mark Andrews
7ba03654e7 POST(argv); 2011-08-31 03:31:07 +00:00
Automatic Updater
592cf0c029 update 2011-08-31 03:15:14 +00:00
Mark Andrews
675f127a77 remove unused variable 'null_key' 2011-08-31 03:09:22 +00:00
Mark Andrews
ff4b4d699e remove potential null pointer dereference 2011-08-31 03:07:25 +00:00
Automatic Updater
56501aa8ad update 2011-08-31 01:15:11 +00:00
Mark Andrews
94a78f2c0c silence clang warnings 2011-08-31 00:48:21 +00:00
Automatic Updater
31ca9a7453 update 2011-08-31 00:15:32 +00:00
Automatic Updater
c362331845 update copyright notice 2011-08-30 23:45:13 +00:00
Automatic Updater
4f9c2ad16c newcopyrights 2011-08-30 23:30:05 +00:00
Automatic Updater
7f6b801e39 update 2011-08-30 22:15:11 +00:00
Mark Andrews
c94da62c89 report the result of dns_adb_createfind 2011-08-30 21:53:33 +00:00
Automatic Updater
d8084d8104 update 2011-08-30 21:15:11 +00:00
Mark Andrews
2052fae74f #include <isc/platform.h> 2011-08-30 21:07:21 +00:00
Automatic Updater
84c84748c0 update 2011-08-30 14:15:10 +00:00
Mark Andrews
87d1c0b3e2 silence clang warnings 2011-08-30 14:05:34 +00:00
Automatic Updater
086befb06b update 2011-08-30 13:15:11 +00:00
Mark Andrews
e1f0c5f2e5 regen 2011-08-30 12:26:15 +00:00
Mark Andrews
b755e5ee27 backport noreturn attribute tagging 2011-08-30 12:23:16 +00:00
Automatic Updater
6020a25ab8 update 2011-08-30 01:15:12 +00:00
Mark Andrews
1378f5a037 POST(port); POST(addr); 2011-08-30 00:20:54 +00:00
Automatic Updater
042744680c update 2011-08-30 00:15:25 +00:00
Automatic Updater
0f2a0b716f update copyright notice 2011-08-29 23:45:12 +00:00
Automatic Updater
0bd6682b64 newcopyrights 2011-08-29 23:30:04 +00:00
Mark Andrews
ace261405a query could be tested uninitialised, check the result of dns_message_create 2011-08-29 23:26:54 +00:00
Automatic Updater
2a7943a56e update 2011-08-29 07:15:10 +00:00
Mark Andrews
30d584cdd3 check the results of dns_name_toprincipal calls, only use gnamebuf.value when valid 2011-08-29 06:39:34 +00:00
Automatic Updater
bc70adf8ea update 2011-08-29 06:15:12 +00:00
Mark Andrews
430649b889 *++tp = 0; -> tp++; *tp = 0; 2011-08-29 06:00:52 +00:00
Automatic Updater
b2c6d30a75 update 2011-08-29 05:15:46 +00:00
Mark Andrews
8a9135dea8 POST(p); POST(len); 2011-08-29 04:22:34 +00:00
Automatic Updater
efd40a036d update 2011-08-29 04:15:14 +00:00
Mark Andrews
72c727e63b INSIST(response); 2011-08-29 04:05:12 +00:00
Automatic Updater
35fb7aed52 update 2011-08-29 00:15:12 +00:00
Mark Andrews
88581b7260 add POST, len is not needed 2011-08-28 23:57:08 +00:00
Mark Andrews
7445e66748 add POST 2011-08-28 23:49:22 +00:00
Automatic Updater
6824c7691c update copyright notice 2011-08-28 23:45:12 +00:00
Mark Andrews
9e3d83828d add missing check_result 2011-08-28 23:38:35 +00:00
Automatic Updater
729947623d newcopyrights 2011-08-28 23:30:04 +00:00
Automatic Updater
239c853255 update 2011-08-28 10:15:09 +00:00
Mark Andrews
4b5bfbe87b silence 'never read' warning 2011-08-28 09:29:50 +00:00
Mark Andrews
8917b20b15 report if dns_rdata{class,type}_totext failed 2011-08-28 09:16:12 +00:00
Automatic Updater
9ef4102af7 update 2011-08-28 08:15:09 +00:00
Mark Andrews
fec10520b0 t3 is not used 2011-08-28 08:14:36 +00:00
Automatic Updater
9d10e2cbc2 update 2011-08-27 00:15:37 +00:00
Automatic Updater
cbf83b4928 update copyright notice 2011-08-26 23:45:10 +00:00
Automatic Updater
f4576262fc update 2011-08-26 05:15:46 +00:00
Mark Andrews
b78f29a3f7 silence 'is never read' warnings 2011-08-26 04:45:06 +00:00
Automatic Updater
c1a93ea320 update 2011-08-26 04:15:12 +00:00
Mark Andrews
225d76ab4b 3134. [bug] Improve the accuracy of dnssec-signzone's signing
statistics. [RT #16030]
2011-08-26 03:50:06 +00:00
Automatic Updater
172d521f20 update 2011-08-26 00:15:28 +00:00
Automatic Updater
9cbbb1747c update copyright notice 2011-08-25 23:45:14 +00:00
Automatic Updater
992294645a newcopyrights 2011-08-25 23:30:04 +00:00
Automatic Updater
81ac460d79 update 2011-08-25 14:15:09 +00:00
Mark Andrews
d0fe7e5243 simplify flag printing, protect first with #ifdef USEINITALWS 2011-08-25 13:30:49 +00:00
Automatic Updater
c5d300bb68 update 2011-08-25 10:15:10 +00:00
Mark Andrews
5c28816a7c remove isc_os_minprivs call accidently committed 2011-08-25 09:52:29 +00:00
Automatic Updater
c00c17e2c7 update 2011-08-25 08:15:14 +00:00
Mark Andrews
e01ef6cd10 cltfd is only needed when select is being used 2011-08-25 08:13:43 +00:00
Automatic Updater
d65782cb31 update 2011-08-25 07:15:13 +00:00
Mark Andrews
5aeb6eac8d silence 'Dereference of undefined pointer value' by assigning to 'sorted' sequentially from zero 2011-08-25 06:29:35 +00:00
Mark Andrews
19b2b3bdb9 save the result of is_response(msg) so it can be treated as a invariant by clang 2011-08-25 06:23:45 +00:00
Automatic Updater
0597583b94 update 2011-08-25 06:15:13 +00:00
Mark Andrews
d7aee68b73 silence null pointer dereference warning by adding INSIST(sibling != NULL); 2011-08-25 06:09:12 +00:00
Mark Andrews
44da94cf75 remove duplicate lines 2011-08-25 06:07:45 +00:00
Automatic Updater
c3e87f931a update 2011-08-25 00:15:15 +00:00
Mark Andrews
710ed631e3 lib/dns/tests/testdata/dbiterator/zone2.data 2011-08-24 23:55:33 +00:00
Automatic Updater
5cae510a21 update 2011-08-24 20:15:09 +00:00
Scott Mann
427a63337b Fixes compilation errors in ATF under gcc 4.6.0 (RT #25598). 2011-08-24 20:01:43 +00:00
Automatic Updater
0d6e0feb06 update 2011-08-24 00:15:18 +00:00
Automatic Updater
1c6e0a4f51 update copyright notice 2011-08-23 23:53:14 +00:00
Mark Andrews
3d9c17acbb manual add 2011-08-23 23:46:55 +00:00
Automatic Updater
f9e02929e1 update 2011-08-23 04:15:12 +00:00
Mark Andrews
a5d2199afe #include <stdlib.h> 2011-08-23 03:53:05 +00:00
Automatic Updater
62deef1b8c update 2011-08-23 03:15:26 +00:00
Evan Hunt
4d7796ce67 Fix backport issue 2011-08-23 02:51:11 +00:00
Automatic Updater
8f9c71755d update 2011-08-23 02:15:09 +00:00
Evan Hunt
4efd18941d 3145. [test] Capture output of ATF unit tests in "./atf.out" if
there were any errors while running them. [RT #25527]
2011-08-23 01:28:42 +00:00
Automatic Updater
91cfa3af2c update 2011-08-23 01:15:12 +00:00
Evan Hunt
c9b0a507f1 3144. [bug] dns_dbiterator_seek() could trigger an assert when
used with a nonexistent database node. [RT #25358]
2011-08-23 00:57:12 +00:00
Automatic Updater
5ff43b9a58 update 2011-08-19 00:17:08 +00:00
Automatic Updater
7afa964cc4 update copyright notice 2011-08-18 23:45:12 +00:00
Automatic Updater
80d1085981 newcopyrights 2011-08-18 23:30:03 +00:00
Automatic Updater
5fcd2fbcae update 2011-08-18 18:15:08 +00:00
Mark Andrews
60d0a26787 cast to unsigned 2011-08-18 17:42:24 +00:00
Automatic Updater
34df9193ce update 2011-08-18 07:15:10 +00:00
Mark Andrews
ca32542f97 3143. [bug] Silence clang compiler warnings. [RT #25174] 2011-08-18 06:40:45 +00:00
Automatic Updater
766d4b30c5 update 2011-08-18 05:15:43 +00:00
Mark Andrews
97832786c8 3143. [bug] Silence clang compiler warnings. [RT #25174] 2011-08-18 05:14:33 +00:00
Automatic Updater
dad2395f62 update 2011-08-17 00:15:32 +00:00
Automatic Updater
6e2d98a971 update copyright notice 2011-08-16 23:45:14 +00:00
Automatic Updater
791be44e28 newcopyrights 2011-08-16 23:30:04 +00:00
Automatic Updater
a6bdfec038 update 2011-08-16 03:15:41 +00:00
Mark Andrews
0ed2de748a 3142. [bug] NAPTR is class agnostic. [RT #25429] 2011-08-16 02:53:10 +00:00
Mark Andrews
1adce64730 3142. [bug] NAPTR is class agnostic. [RT #25429] 2011-08-16 02:46:06 +00:00
Evan Hunt
5bb96730d1 file zone2.data was added on branch v9_6 on 2011-08-23 00:57:12 +0000 2011-08-15 23:58:42 +00:00
Evan Hunt
55587efda2 file zone1.data was added on branch v9_6 on 2011-08-23 00:57:12 +0000 2011-08-09 18:17:34 +00:00
Evan Hunt
bf0882b366 file dbiterator_test.c was added on branch v9_6 on 2011-08-23 00:57:11 +0000 2011-08-09 18:17:32 +00:00
Automatic Updater
afd0d59148 update 2011-08-09 04:15:11 +00:00
Automatic Updater
a9af193913 update copyright notice 2011-08-09 04:11:08 +00:00
Automatic Updater
d48c3e0476 newcopyrights 2011-08-09 04:10:34 +00:00
Mark Andrews
8392316e7d 3141. [bug] Silence spurious "zone serial unchanged" messages
associated with empty zones. [RT #25079]
2011-08-09 03:18:38 +00:00
Automatic Updater
71c4f90715 update 2011-08-06 00:15:35 +00:00
Automatic Updater
8d85da806d update copyright notice 2011-08-05 23:45:12 +00:00
Automatic Updater
44d1084794 newcopyrights 2011-08-05 23:30:03 +00:00
Automatic Updater
74606d5b9f update 2011-08-05 07:15:20 +00:00
Mark Andrews
3b445b875e sync with head 2011-08-05 07:11:31 +00:00
Mark Andrews
830f806c3c sync w/ head 2011-08-05 06:28:38 +00:00
Automatic Updater
5af73f0205 update 2011-08-05 06:15:16 +00:00
Mark Andrews
c15dc6a305 silence expression result unused 2011-08-05 06:00:42 +00:00
Automatic Updater
194bbfe2d6 update 2011-08-03 02:15:57 +00:00
Automatic Updater
cb7a34e063 regen v9_6 2011-08-03 01:33:39 +00:00
Automatic Updater
9ba2fc9a87 update 2011-08-02 05:15:44 +00:00
Evan Hunt
c609d2af0b 3136. [func] Add RFC 1918 reverse zones to the list of built-in
empty zones switched on by the 'empty-zones-enable'
			option. [RT #24990]
2011-08-02 04:57:03 +00:00
Automatic Updater
5253ce24f1 update 2011-07-30 02:15:40 +00:00
Automatic Updater
91c9c1d3a9 sync 2011-07-30 01:25:04 +00:00
Automatic Updater
4c669dee7f update 2011-07-29 03:16:18 +00:00
Mark Andrews
92a45f96f3 missing isc__strerror on error paths 2011-07-29 02:20:20 +00:00
Automatic Updater
9839c35125 update 2011-07-29 00:15:43 +00:00
Automatic Updater
fb013af232 update copyright notice 2011-07-28 23:46:13 +00:00
Automatic Updater
e9cd0b8776 newcopyrights 2011-07-28 23:30:11 +00:00
Automatic Updater
55bc0a66a9 update 2011-07-28 05:15:44 +00:00
Mark Andrews
7d16e1e99f 3138. [bug] Address memory leaks and out-of-order operations when
shutting named down. [RT #25210]
2011-07-28 04:43:20 +00:00
Automatic Updater
bd40aa38b5 update 2011-07-27 08:16:13 +00:00
Mark Andrews
91d5b423e6 silence 'expression result unused' from clang 2011-07-27 07:39:00 +00:00
Automatic Updater
268cc78458 update 2011-07-27 07:15:55 +00:00
Mark Andrews
418629d44e use UNUSED(x) not 'x = x' 2011-07-27 07:09:11 +00:00
Automatic Updater
d3de4f0de5 update 2011-07-26 22:15:47 +00:00
Michael Graff
c3eb8317a3 regenerate 2011-07-26 22:10:40 +00:00
Michael Graff
4ab14d411d fix for compiling on OSX Lion. Verified it compiles on Snow Leopard using older XCode as well. 2011-07-26 22:03:17 +00:00
Automatic Updater
f1c2588a53 update 2011-07-24 08:16:44 +00:00
Mark Andrews
3987bc43d9 remove RELEASE-NOTES-BIND-9.6-ESV.xml 2011-07-24 08:07:30 +00:00
Automatic Updater
249100742c update copyright notice 2011-07-24 08:05:48 +00:00
Mark Andrews
b742c87a08 9.6-ESV-R5 2011-07-24 07:58:31 +00:00
Automatic Updater
39bd472355 update 2011-07-22 00:15:49 +00:00
Automatic Updater
df4d76e4af update copyright notice 2011-07-21 23:46:12 +00:00
Automatic Updater
0af3ddd7aa newcopyrights 2011-07-21 23:30:14 +00:00
Automatic Updater
cb1750eeba update 2011-07-21 07:15:48 +00:00
Mark Andrews
2343159252 s/fallbackas/fallback as/ 2011-07-21 06:23:20 +00:00
Mark Andrews
4516da053b 9.6-ESV-R5 2011-07-21 06:16:58 +00:00
Automatic Updater
1e2061295a update 2011-07-21 03:15:47 +00:00
Mark Andrews
5a6573cac1 9.6-ESV-R5 2011-07-21 02:48:13 +00:00
Mark Andrews
4c6a741bf8 update changes note 2011-07-21 02:36:13 +00:00
Automatic Updater
2d60879034 update 2011-07-21 02:15:57 +00:00
Mark Andrews
de13ce5a11 3135. [port] FreeBSD: workaround broken IPV6_USE_MIN_MTU processing.
See http://www.freebsd.org/cgi/query-pr.cgi?pr=158307
                        [RT #24950]
2011-07-21 01:48:05 +00:00
Automatic Updater
6ff1fd74b2 update 2011-07-21 00:15:47 +00:00
Automatic Updater
cd80d14af5 update copyright notice 2011-07-20 23:46:20 +00:00
Automatic Updater
4653bb36ff update 2011-07-20 15:15:39 +00:00
Curtis Blackburn
c7ad49649e added #include <stdlib.h> to lib/dns/zone.c 2011-07-20 14:32:53 +00:00
Automatic Updater
6e6410e0bf update 2011-07-20 01:15:48 +00:00
Curtis Blackburn
6a2e1ce0d7 3132.[bug]Workaround for excessive startup time with
large number of zones;
 allow setting of an environment variable to tune
 the number of tasks. default is 8, reccommend
 200 zones per task. If you have 200000 zones:
 csh: setenv BIND9_ZONE_TASKS_HINT 1000
 sh:  BIND9_ZONE_TASKS_HINT=1000;
      export BIND9_ZONE_TASKS_HINT
 Applicable to 9.7, 9.6, auto-tuned in 9.8 and up.
2011-07-20 00:33:35 +00:00
Automatic Updater
0a8e2b14aa update 2011-06-21 22:15:44 +00:00
Evan Hunt
5d2c608d5a Add the newly discovered PoD to the nsupdate test. (No CHANGES note.) 2011-06-21 22:14:29 +00:00
Automatic Updater
47a8e740a0 update 2011-06-17 00:15:56 +00:00
Automatic Updater
8547ac2268 update copyright notice 2011-06-16 23:46:05 +00:00
Automatic Updater
5499083f12 update 2011-06-16 02:15:46 +00:00
Mark Andrews
29b2abbbb4 update for re-tag of 9.6-ESV-R5rc1 2011-06-16 01:32:43 +00:00
Automatic Updater
89e1fa229c update 2011-06-15 04:16:12 +00:00
Mark Andrews
d40840108e move 9.6-ESV-R5rc1 release marker 2011-06-15 03:34:04 +00:00
Automatic Updater
2de666fba8 update 2011-06-09 01:15:46 +00:00
Evan Hunt
d7eaf06b5a 3124. [bug] Use an rdataset attribute flag to indicate
negative-cache records rather than using rrtype 0;
			this will prevent problems when that rrtype is
			used in actual DNS packets. [RT #24777]

3123.	[security]	Change #2912 exposed a latent flaw in
			dns_rdataset_totext() that could cause named to
			crash with an assertion failure. [RT #24777]
2011-06-09 00:16:37 +00:00
Automatic Updater
2d1f9f6af0 update 2011-05-31 01:16:53 +00:00
Automatic Updater
e2c82680d8 update copyright notice 2011-05-31 00:51:10 +00:00
Mark Andrews
ace53c3c09 update for 9.6-ESV-R5rc1 re-tag 2011-05-31 00:23:54 +00:00
Automatic Updater
782e8ad358 update 2011-05-30 02:16:12 +00:00
Mark Andrews
7e9a45d52c remove bin/tests/system/dlv/ns1/root.db 2011-05-30 01:43:28 +00:00
Automatic Updater
dd08f03484 update 2011-05-28 00:17:29 +00:00
Automatic Updater
6f06b66613 update copyright notice 2011-05-28 00:01:52 +00:00
Automatic Updater
dab530e9b3 newcopyrights 2011-05-27 23:32:08 +00:00
Automatic Updater
bb73a1df5c update 2011-05-27 06:16:21 +00:00
Mark Andrews
ff8ae08688 dns_trust_totext 2011-05-27 06:06:02 +00:00
Automatic Updater
9b0647ae6a update 2011-05-27 05:17:00 +00:00
Mark Andrews
4c94ae39a5 move dns_trust_totext from masterdump.c to rdataset.c so that exportlib will build 2011-05-27 05:04:17 +00:00
Automatic Updater
5c360acb24 update 2011-05-27 02:15:41 +00:00
Mark Andrews
58e8ea9c16 move 9.6-ESV-R5rc1 release point 2011-05-27 01:54:56 +00:00
Automatic Updater
f92af906a0 update 2011-05-27 01:16:09 +00:00
Mark Andrews
c0229f8125 3120. [bug] Named could fail to validate zones list in a DLV
that validated insecure without using DLV and had
                        DS records in the parent zone. [RT #24631]
2011-05-27 00:50:10 +00:00
Automatic Updater
703ea9563b update 2011-05-27 00:15:47 +00:00
Automatic Updater
e77ce57647 update copyright notice 2011-05-26 23:45:46 +00:00
Automatic Updater
49af386d78 newcopyrights 2011-05-26 23:36:32 +00:00
Automatic Updater
5ead61f22e update 2011-05-26 23:15:48 +00:00
Evan Hunt
f32e775717 3121. [security] An authoritative name server sending a negative
response containing a very large RRset could
                        trigger an off-by-one error in the ncache code
                        and crash named. [RT #24650]
2011-05-26 23:12:06 +00:00
Automatic Updater
6bbbb8ac9f update 2011-05-24 01:15:48 +00:00
Automatic Updater
4e921e4c81 newcopyrights 2011-05-24 00:15:15 +00:00
Automatic Updater
52aa9708e3 v9_6_ESV_R5rc1 2011-05-24 00:08:44 +00:00
Mark Andrews
7160363173 whitespace 2011-05-24 00:05:41 +00:00
Automatic Updater
4a6568e5f2 update copyright notice 2011-05-23 23:45:49 +00:00
Automatic Updater
c9c35b0502 copyrights 2011-05-23 23:36:50 +00:00
Automatic Updater
faec941f5e update 2011-05-23 23:35:56 +00:00
Mark Andrews
73220c967c v9_6_ESV_R5rc1 2011-05-23 23:19:09 +00:00
Automatic Updater
4e36d1522f update 2011-05-23 23:15:46 +00:00
Evan Hunt
d9ebd3015c 3118. [bug] nsupdate could dump core on shutdown when using
SIG(0) keys. [RT #24604]
2011-05-23 22:24:12 +00:00
Automatic Updater
2c51b017ae update 2011-05-18 02:15:48 +00:00
Automatic Updater
d5d9d29cbe regen v9_6 2011-05-18 01:36:07 +00:00
Automatic Updater
859f5e5eef update 2011-05-18 00:16:14 +00:00
Automatic Updater
970ba31e4a newcopyrights 2011-05-17 23:31:00 +00:00
Automatic Updater
cdd62cea95 update 2011-05-17 06:15:46 +00:00
Mark Andrews
d54156f771 3113. [doc] Document the relationship between serial-query-rate
and NOTIFY messages.
2011-05-17 05:38:32 +00:00
Automatic Updater
7003f80ff3 update 2011-05-17 02:15:39 +00:00
Automatic Updater
b5475f4750 regen v9_6 2011-05-17 01:35:54 +00:00
Automatic Updater
75311ef4d0 update 2011-05-17 00:16:15 +00:00
Automatic Updater
e7dd02c5a0 update copyright notice 2011-05-16 23:46:09 +00:00
Automatic Updater
afbd39ca59 newcopyrights 2011-05-16 23:30:40 +00:00
Automatic Updater
079fb15a47 update 2011-05-16 05:15:43 +00:00
Mark Andrews
cea7c586ff 3112. [doc] Add missing descriptions of the update policy name
types "ms-self", "ms-subdomain", "krb5-self" and
                        "krb5-subdomain", which allow machines to update
                        their own records, to the BIND 9 ARM.
2011-05-16 04:23:15 +00:00
Automatic Updater
b44216677a update 2011-05-07 01:16:22 +00:00
Evan Hunt
80ce101ee4 3110. [bug] dnssec-signzone: Wrong error message could appear
when attempting to sign with no KSK. [RT #24369]
2011-05-07 00:23:50 +00:00
Automatic Updater
55a4eb4197 update 2011-05-07 00:16:20 +00:00
Automatic Updater
4fb6d08114 update copyright notice 2011-05-06 23:45:55 +00:00
Automatic Updater
795ac237fb newcopyrights 2011-05-06 23:30:53 +00:00
Automatic Updater
958bc1a49f update 2011-05-06 00:16:18 +00:00
Mark Andrews
8b513ae9de set/reset client->signer. 2011-05-05 23:57:21 +00:00
Scott Mann
db19bfeb9b remove trailing newline from pid (RT #24388) 2011-05-05 23:23:15 +00:00
Automatic Updater
3ac32ee622 update 2011-05-05 20:15:39 +00:00
Automatic Updater
4cd88bf19b regen 2011-05-05 19:23:28 +00:00
Evan Hunt
f9d92ced79 3104. [bug] Better support for cross-compiling. [RT #24367] 2011-05-05 19:22:19 +00:00
Automatic Updater
c2bfd89aa1 update 2011-05-05 05:15:46 +00:00
Mark Andrews
cc3ca39344 explictly kill the process if the server fails to start, check for a non zero length pid file 2011-05-05 04:56:14 +00:00
Automatic Updater
a27d6d30d7 update 2011-05-04 00:15:51 +00:00
Automatic Updater
a26c7f6b89 update copyright notice 2011-05-03 23:46:21 +00:00
Automatic Updater
d8dc64f0e5 newcopyrights 2011-05-03 23:30:30 +00:00
Automatic Updater
ebefa713e2 update 2011-05-03 16:15:41 +00:00
Mark Andrews
805c71c811 grep was not precise enough leading to test failure 2011-05-03 16:10:06 +00:00
Automatic Updater
0c4c7ac6ee update 2011-05-03 00:16:17 +00:00
Automatic Updater
e1dcab768c update copyright notice 2011-05-02 23:46:06 +00:00
Automatic Updater
55e6dc2c7d newcopyrights 2011-05-02 23:30:46 +00:00
Automatic Updater
3e21171244 update 2011-05-02 00:16:13 +00:00
Mark Andrews
e00190a545 treat exit code 255 as skipped 2011-05-01 23:38:23 +00:00
Automatic Updater
9aae4cb1fb update 2011-04-20 00:16:10 +00:00
Automatic Updater
06584e923e update copyright notice 2011-04-19 23:46:18 +00:00
Automatic Updater
94e791c2a9 newcopyrights 2011-04-19 23:30:28 +00:00
Automatic Updater
c411c2287f update 2011-04-19 23:15:40 +00:00
Automatic Updater
816824aed4 regen 2011-04-19 22:37:04 +00:00
Evan Hunt
d34b3cc9dd 3099. [test] "dlz" system test now runs but gives R:SKIPPED if
not compiled with --with-dlz-filesystem.  [RT #24146]
2011-04-19 22:32:51 +00:00
Automatic Updater
991f965396 update 2011-04-16 00:16:13 +00:00
Automatic Updater
ce244bd2db newcopyrights 2011-04-15 23:30:47 +00:00
Automatic Updater
62ddab2f60 update 2011-04-15 01:15:46 +00:00
Evan Hunt
2bf9de0210 3097. [test] Add a tool to test handling of malformed packets.
[RT #24096]
2011-04-15 01:02:36 +00:00
edmonds
c8e4048ee5 update 2011-04-13 23:21:37 +00:00
Automatic Updater
c0abdc2d51 update 2011-04-08 07:16:01 +00:00
Automatic Updater
9d6b032b0e newcopyrights 2011-04-08 06:19:07 +00:00
Automatic Updater
84aedf2a50 update 2011-04-08 05:15:41 +00:00
Mark Andrews
8f926ae56d dns_cache_create3 2011-04-08 04:46:43 +00:00
Automatic Updater
bddb09add3 update 2011-04-08 03:16:01 +00:00
Automatic Updater
0b6510531d newcopyrights 2011-04-08 02:49:25 +00:00
Mark Andrews
9b01b03fd6 9.6-ESV-R5b1 2011-04-08 02:19:06 +00:00
Automatic Updater
7cec37fcd3 update 2011-04-07 23:15:46 +00:00
Mark Andrews
f0069633aa 3096. [bug] Set KRB5_KTNAME before calling log_cred() in
dst_gssapi_acceptctx(). [RT #24004]
2011-04-07 23:07:37 +00:00
Automatic Updater
6372246a91 update 2011-04-06 11:15:44 +00:00
Mark Andrews
126aafee47 3095. [bug] Handle isolated reserved ports in the port range.
[RT #23957]
2011-04-06 10:34:27 +00:00
Automatic Updater
19ca102388 update 2011-04-04 11:15:41 +00:00
Mark Andrews
a4d99d27c7 1 -> 1U 2011-04-04 11:12:21 +00:00
Automatic Updater
506f2a8d41 update 2011-03-29 00:16:08 +00:00
Automatic Updater
b38b6d44d9 update copyright notice 2011-03-28 23:45:57 +00:00
Automatic Updater
238bc6ff37 newcopyrights 2011-03-28 23:30:47 +00:00
Automatic Updater
bf3e8f7fb9 update 2011-03-28 06:15:42 +00:00
Mark Andrews
bf71395b3a unsigned constants 2011-03-28 05:37:32 +00:00
Mark Andrews
6de7ff9067 unsigned constants 2011-03-28 05:24:50 +00:00
Mark Andrews
4a74fe980b while (1) -> for (;;), style 2011-03-28 05:16:59 +00:00
Automatic Updater
4197f29ea4 update 2011-03-28 05:15:41 +00:00
Mark Andrews
fd7e3b51d0 portability fixes backported from change 2987 2011-03-28 05:10:04 +00:00
Automatic Updater
f165b621d8 update 2011-03-28 04:15:45 +00:00
Mark Andrews
99959424dd unsigned constants 2011-03-28 03:46:43 +00:00
Automatic Updater
267e419635 update 2011-03-26 01:15:41 +00:00
Evan Hunt
86f9e65647 3092. [bug] Signatures for records at the zone apex could go
stale due to an incorrect timer setting. [RT #23769]
2011-03-26 00:47:02 +00:00
Automatic Updater
8475d7adf9 update 2011-03-23 00:16:15 +00:00
Automatic Updater
1a583f19a8 update copyright notice 2011-03-22 23:46:00 +00:00
Automatic Updater
6a5437f857 update 2011-03-22 20:16:00 +00:00
Scott Mann
99a28937ac fixup for RT #23687 2011-03-22 19:36:30 +00:00
Automatic Updater
46174e9b8a update 2011-03-22 19:15:40 +00:00
Scott Mann
9fcade3a09 Remove bin/tests/system/logfileconfig/ns1/named.conf and add setup.sh
in order to resolve changing named.conf issue.  [RT #23687]
2011-03-22 19:10:41 +00:00
Automatic Updater
1eaf06992a update 2011-03-21 02:15:42 +00:00
Mark Andrews
a3f2db3629 3083. [bug] NOTIFY messages were not being sent when generating
a NSEC3 chain incrementally. [RT #23702]
2011-03-21 01:17:14 +00:00
Automatic Updater
cca5eba91f update 2011-03-19 10:15:43 +00:00
Mark Andrews
3ddb69e254 3081. [bug] Failure of DNAME substitution did not return
YXDOMAIN. [RT #23591]
2011-03-19 09:47:54 +00:00
Automatic Updater
1f3443c4c2 update 2011-03-19 00:16:15 +00:00
Automatic Updater
08d01c3a4f update copyright notice 2011-03-18 23:46:09 +00:00
Automatic Updater
21880c2258 newcopyrights 2011-03-18 23:30:41 +00:00
Automatic Updater
c236458672 update 2011-03-18 22:15:41 +00:00
Francis Dupont
7b4bda968d add new dname test files 2011-03-18 21:39:21 +00:00
Francis Dupont
1e491a168a 3081. [bug] Failure of DNAME substitution did not return
YXDOMAIN. [RT #23591]
2011-03-18 21:38:50 +00:00
Francis Dupont
eeecf1948e add 23591 no-regression 2011-03-18 21:38:15 +00:00
Automatic Updater
3be934ac44 update 2011-03-18 09:15:43 +00:00
Francis Dupont
39b282b851 3080. [cleanup] Replaced compile time constant by STDTIME_ON_32BITS.
[RT #23587]
2011-03-18 09:10:20 +00:00
Francis Dupont
d8077a6086 introduce STDTIME_ON_32BITS 2011-03-18 09:09:45 +00:00
Automatic Updater
30c959ea62 update 2011-03-18 08:15:41 +00:00
Mark Andrews
ca6c0d246d 3079. [bug] Handle isc_event_allocate failures in t_tasks.
[RT #23572]
2011-03-18 07:49:17 +00:00
Automatic Updater
173f440c70 update 2011-03-18 05:15:42 +00:00
Evan Hunt
b6f5bf959e ignore SIGPIPE in ans.pl; this is needed for debian. 2011-03-18 04:40:08 +00:00
Automatic Updater
f84aeac068 update 2011-03-14 00:16:33 +00:00
Automatic Updater
f8c3482f39 update copyright notice 2011-03-13 23:46:04 +00:00
Automatic Updater
e28a45ee49 newcopyrights 2011-03-13 23:30:47 +00:00
Automatic Updater
7d59cf6be6 update 2011-03-13 04:16:05 +00:00
Mark Andrews
9a44555549 3074. [bug] Make the adb cache read through for zone data and
glue learn for zone named is authoritative for.
                        [RT #22842]
2011-03-13 03:42:09 +00:00
Automatic Updater
42d238f580 update 2011-03-13 00:16:26 +00:00
Automatic Updater
d262042b47 update copyright notice 2011-03-12 23:46:13 +00:00
Automatic Updater
15aa182132 newcopyrights 2011-03-12 23:30:36 +00:00
Automatic Updater
8003286b51 update 2011-03-12 22:16:09 +00:00
Mark Andrews
54d484d653 test for Net::DNS 2011-03-12 21:27:12 +00:00
Automatic Updater
ffb96f9547 update 2011-03-12 05:16:17 +00:00
Automatic Updater
9e5debd879 update copyright notice 2011-03-12 04:57:33 +00:00
Automatic Updater
7ba1e1d5e8 newcopyrights 2011-03-12 04:55:47 +00:00
Automatic Updater
5bd3a02bd1 update 2011-03-12 04:51:43 +00:00
Mark Andrews
e9cc9a1dce 3058. [bug] Cause named to terminate at startup or rndc reconfig/
reload to fail, if a log file specified in the conf
                        file isn't a plain file. [RT #22771]
2011-03-12 04:48:03 +00:00
Automatic Updater
157f06e573 update 2011-03-12 03:16:44 +00:00
Mark Andrews
2c5d414d51 bin/tests/system/common/rndc.key 2011-03-12 03:08:50 +00:00
Automatic Updater
288952c1fa update 2011-03-11 13:16:02 +00:00
Mark Andrews
4a8a881a7a 3071. [bug] has_nsec could be used unintialised in
update.c:next_active. [RT #20256]
2011-03-11 12:57:03 +00:00
Automatic Updater
8375c33385 update 2011-03-11 11:16:02 +00:00
Mark Andrews
5b4cdf0f41 3069. [cleanup] Silence warnings messages from clang static analysis.
[RT #20256]
2011-03-11 10:50:00 +00:00
Automatic Updater
d472b80e1b update 2011-03-11 03:16:43 +00:00
Mark Andrews
e979efefac pkey is only used if USE_ENGINE is defined or USE_EVP is 1 2011-03-11 03:02:50 +00:00
Automatic Updater
6659972b4c update 2011-03-11 02:17:25 +00:00
Mark Andrews
63876ecca1 3068. [bug] Named failed to build with a OpenSSL without engine
support. [RT #23473]
2011-03-11 01:39:11 +00:00
Evan Hunt
9d5d261240 Reversing prior change, turns out not to be legal on all compilers. 2011-03-11 01:28:38 +00:00
Automatic Updater
9e2bf6d265 sync 2011-03-11 01:24:42 +00:00
Evan Hunt
db4562497e Silence a compiler warning by using #if comparison instead of if. No
CHANGES note because it's trivial. [RT #23587]
2011-03-11 01:22:55 +00:00
Automatic Updater
a017d186c7 update 2011-03-11 01:16:11 +00:00
Mark Andrews
bcfab2630a 3067. [bug] ixfr-from-differences {master|slave}; failed to
select the master/slave zones.  [RT #23580]
2011-03-11 00:52:38 +00:00
Automatic Updater
36c14893e2 update 2011-03-10 00:16:42 +00:00
Automatic Updater
595b55f3db update copyright notice 2011-03-09 23:45:50 +00:00
Automatic Updater
598c4eb5c3 newcopyrights 2011-03-09 23:30:49 +00:00
Automatic Updater
a52d576df2 update 2011-03-09 08:16:12 +00:00
Mark Andrews
13feff2b58 3065. [bug] RRSIG could have time stamps too far in the future.
[RT #23356]
2011-03-09 07:31:47 +00:00
Automatic Updater
e7b8583bc0 update 2011-03-09 01:16:36 +00:00
Mark Andrews
fa7943dcb2 remove removed files 2011-03-09 00:52:48 +00:00
Automatic Updater
fc2fd60633 update 2011-03-08 02:16:05 +00:00
Automatic Updater
a248674518 sync 2011-03-08 01:24:51 +00:00
Automatic Updater
edadcd7d75 update 2011-03-08 01:16:37 +00:00
Mark Andrews
5ba78745bc add 'sync' to ISC_PLATFORM_USEMACASM build as well 2011-03-08 00:51:27 +00:00
Mark Andrews
bfe7b53f7b DNAME not DS 2011-03-08 00:36:43 +00:00
Automatic Updater
2ccc68ebbc update 2011-03-08 00:16:32 +00:00
Automatic Updater
d884c1f4d3 update copyright notice 2011-03-07 23:46:10 +00:00
Automatic Updater
de4686f11d newcopyrights 2011-03-07 23:30:41 +00:00
Automatic Updater
888b81aa5a update 2011-03-07 22:16:05 +00:00
Evan Hunt
cffc47476a Style cleanup in DLZ LDAP driver. No functional change, no CHANGES note. 2011-03-07 22:03:14 +00:00
Automatic Updater
d49176081b update 2011-03-07 16:16:03 +00:00
Scott Mann
9f5e445e1a Removed use of rndc due to failures on test systems. 2011-03-07 16:10:33 +00:00
Automatic Updater
079dd6cff9 update 2011-03-07 01:16:27 +00:00
Mark Andrews
b23ab77224 reorder so ESV change history is visible 2011-03-07 00:58:47 +00:00
Mark Andrews
c0337497aa 3064. [bug] powerpc: add sync instructions to the end of atomic
operations. [RT #23469]
2011-03-07 00:32:20 +00:00
Automatic Updater
b770ca193a update 2011-03-06 00:16:18 +00:00
Automatic Updater
4e6f2f87e3 update copyright notice 2011-03-05 23:51:02 +00:00
Automatic Updater
0592378a16 newcopyrights 2011-03-05 23:30:48 +00:00
Automatic Updater
1f142e1b04 update 2011-03-05 23:16:09 +00:00
Evan Hunt
319cc9c02b 3063. [contrib] More verbose error reporting from DLZ LDAP. [RT #23402] 2011-03-05 23:08:46 +00:00
Automatic Updater
d630f191bd update 2011-03-05 03:16:14 +00:00
Mark Andrews
a6c37be820 add #include <isc/file.h> 2011-03-05 03:07:40 +00:00
Automatic Updater
b8ffd5fae8 update 2011-03-05 02:38:37 +00:00
Automatic Updater
6627a251ff update 2011-03-04 22:16:05 +00:00
Evan Hunt
e7f1bd0601 3059. [test] Added a regression test for change #3023. 2011-03-04 22:11:01 +00:00
Automatic Updater
b256641823 update 2011-03-04 15:16:02 +00:00
Scott Mann
d75978a967 Adding missing test files for RT22771. 2011-03-04 14:59:31 +00:00
Automatic Updater
1996fd9cb8 update 2011-03-04 02:16:38 +00:00
Automatic Updater
8b439453ba sync 2011-03-04 01:24:48 +00:00
Automatic Updater
8887fb980c update 2011-03-04 00:16:31 +00:00
Automatic Updater
9ff8a0fdd7 update copyright notice 2011-03-03 23:46:02 +00:00
Automatic Updater
1c7a0cb64f newcopyrights 2011-03-03 23:30:52 +00:00
Automatic Updater
29945a1da2 update 2011-03-03 12:16:03 +00:00
Mark Andrews
8783f21645 cat the output as atf-report truncates stdout 2011-03-03 11:24:43 +00:00
Automatic Updater
44c4ba2f55 update 2011-03-03 08:16:06 +00:00
Mark Andrews
dc240a41f2 use csv output format. ticker not suitable for robie 2011-03-03 08:01:49 +00:00
Automatic Updater
fc26b1b104 update 2011-03-03 05:16:02 +00:00
Evan Hunt
58a91f8111 3053. [bug] Under a sustained high query load with a finite
max-cache-size, it was possible for cache memory
			to be exhausted and not recovered. [RT #23371]
2011-03-03 04:45:59 +00:00
Automatic Updater
e3f12615ec update 2011-03-03 00:16:25 +00:00
Automatic Updater
d826071633 update copyright notice 2011-03-02 23:46:18 +00:00
Automatic Updater
aef73dfd11 newcopyrights 2011-03-02 23:30:33 +00:00
Automatic Updater
f33fa066e3 update 2011-03-02 16:16:05 +00:00
Automatic Updater
e250f6b176 regen 2011-03-02 15:25:09 +00:00
Automatic Updater
b567f96e87 update 2011-03-02 07:16:03 +00:00
Evan Hunt
4cd16612f2 add MISSING=: to ATF configure arguments to suppress checks for
missing autotools files
2011-03-02 06:40:47 +00:00
Evan Hunt
54a1ad25e4 9.6.3 has been published; removing the release notes. 2011-03-02 06:23:38 +00:00
Automatic Updater
403a581229 update 2011-03-02 05:16:08 +00:00
Mark Andrews
d6e0f47d45 3051. [bug] NS records obsure DS records at the bottom of the
zone if both are present. [RT #23035]
2011-03-02 04:43:22 +00:00
Mark Andrews
b7147009da 3051. [bug] NS records obsure DS records at the bottom of the
zone if both are present. [RT #23035]
2011-03-02 04:34:22 +00:00
Automatic Updater
493e17161e update 2011-03-01 00:16:23 +00:00
Automatic Updater
c58cd7fb62 update copyright notice 2011-02-28 23:45:54 +00:00
Automatic Updater
cb80e4fa1b newcopyrights 2011-02-28 23:30:29 +00:00
Automatic Updater
1933c9b2bd regen 2011-02-28 23:30:28 +00:00
Automatic Updater
86f87af7f4 update 2011-02-28 17:16:13 +00:00
Automatic Updater
3aa8f702b5 autoreconf in hopes of silencing robie warnings 2011-02-28 16:46:45 +00:00
Automatic Updater
a0218dd024 update 2011-02-28 15:16:03 +00:00
Francis Dupont
1b6423ff8c Use RRSIG original TTL in validated RRset TTL [RT #23332] 2011-02-28 14:44:00 +00:00
Automatic Updater
bb338e26bf update 2011-02-28 13:16:06 +00:00
Mark Andrews
ee94e49f30 3044. [bug] Hold the socket manager lock while freeing the socket.
[RT #23333]
2011-02-28 12:54:54 +00:00
Automatic Updater
89f939cfd6 update 2011-02-28 04:56:15 +00:00
Automatic Updater
c005061b56 update 2011-02-28 02:15:42 +00:00
Automatic Updater
b82a8a428c update copyright notice 2011-02-28 01:18:47 +00:00
Automatic Updater
4fa1352dd0 update 2011-02-28 01:16:25 +00:00
Mark Andrews
4ab212aa22 elseif -> elsif 2011-02-28 01:07:47 +00:00
Mark Andrews
79055ce3da atf source maintains it's own copyright 2011-02-28 01:05:02 +00:00
Automatic Updater
6da4a00f4a update 2011-02-28 00:15:24 +00:00
Automatic Updater
51bb389b7e update 2011-02-27 15:15:12 +00:00
Automatic Updater
74ceaee009 update 2011-02-27 14:15:18 +00:00
Mark Andrews
49f017b38d only run test if ATFBIN defined 2011-02-27 14:15:12 +00:00
Mark Andrews
d7ef9feb95 regen 2011-02-27 13:31:35 +00:00
Mark Andrews
7a0bec030d remove space between -L path 2011-02-27 13:31:21 +00:00
Automatic Updater
913c0b4b5e update 2011-02-27 10:44:21 +00:00
Automatic Updater
fceb128642 update 2011-02-27 10:31:42 +00:00
Mark Andrews
7bafa2173c regen 2011-02-27 06:27:31 +00:00
Evan Hunt
218d0d146a 3043. [test] Merged in the NetBSD ATF test framework (currently
version 0.12) for development of future unit tests.
                        Use configure --with-atf to build ATF internally
                        or configure --with-atf=prefix to use an external
                        copy.  [RT #23209]
2011-02-26 05:46:59 +00:00
Evan Hunt
7ac92ea3ae minor typo 2011-02-25 23:11:48 +00:00
Evan Hunt
c8250f45f0 3042. [bug] dig +trace could fail attempting to use IPv6
addresses on systems with only IPv4 connectivity.
			[RT #23797]
2011-02-25 23:06:01 +00:00
Mark Andrews
635f8fa82e 3041. [bug] dnssec-signzone failed to generate new signatures on
ttl changes. [RT #23330]
2011-02-24 03:35:39 +00:00
Mark Andrews
21deff3df5 3040. [bug] Named failed to validate insecure zones where a node
with a CNAME existed between the trust anchor and the
                        top of the zone. [RT #23338]
2011-02-23 12:48:21 +00:00
Mark Andrews
8ae6d54d4c change numbers 2011-02-23 03:59:51 +00:00
Automatic Updater
b6b6262f33 update 2011-02-22 07:15:15 +00:00
Mark Andrews
39a575c3f8 2037. [doc] Update COPYRIGHT to contain all the individual
copyright notices that cover various parts.
2011-02-22 06:40:42 +00:00
Automatic Updater
f5f398ab29 update 2011-02-22 05:15:10 +00:00
Mark Andrews
810779bf8d 2036. [bug] Check built-in zone arguments to see if the zone
is re-usable or not. [RT #21914]
2011-02-22 04:33:49 +00:00
Automatic Updater
b4811d7c4c update 2011-02-22 00:15:19 +00:00
Automatic Updater
49e7dc2ad1 update copyright notice 2011-02-21 23:45:49 +00:00
Automatic Updater
0d8693e2f1 newcopyrights 2011-02-21 23:30:17 +00:00
Automatic Updater
d5a5d9a73b update 2011-02-21 08:15:10 +00:00
Mark Andrews
77b668076b 3035. [cleanup] Simplify by using strlcpy. [RT #22521] 2011-02-21 07:38:59 +00:00
Mark Andrews
cb197cbb14 3034. [cleanup] nslookup: use strlcpy instead of safecopy. [RT #22521] 2011-02-21 07:29:02 +00:00
Mark Andrews
bde68f99d9 check for snprintf failure. [RT #22521] 2011-02-21 07:17:34 +00:00
Automatic Updater
051d2b2c9d update 2011-02-21 07:15:13 +00:00
Mark Andrews
f7eb0ef71f 3033. [cleanup] Add two INSIST(bucket != DNS_ADB_INVALIDBUCKET).
[RT #22521]
2011-02-21 07:12:50 +00:00
Mark Andrews
8ecd249a9e 3032. [bug] rdatalist.c: add missing REQUIREs. [RT #22521] 2011-02-21 07:04:54 +00:00
Mark Andrews
08bf17fabb 3031. [bug] dns_rdataclass_format() handle a zero sized buffer.
[RT #22521]
2011-02-21 06:55:13 +00:00
Mark Andrews
9d7c7023e6 3030. [bug] dns_rdatatype_format() handle a zero sized buffer.
[RT #22521]
2011-02-21 06:46:14 +00:00
Mark Andrews
f5d6a36457 3029. [bug] isc_netaddr_format() handle a zero sized buffer.
[RT #22521]
2011-02-21 06:35:02 +00:00
Mark Andrews
6995206cb4 3028. [bug] isc_sockaddr_format() handle a zero sized buffer.
[RT #22521]
2011-02-21 06:23:52 +00:00
Automatic Updater
1d07ae5eff update 2011-02-21 06:15:15 +00:00
Mark Andrews
1636fe17c3 3027. [bug] Add documented REQUIREs to cfg_obj_asnetprefix() to
catch NULL pointer dereferences before they happen.
                        [RT #22521]
2011-02-21 06:13:58 +00:00
Mark Andrews
5a70082ce7 3026. [bug] lib/isc/httpd.c: check that we have enough space
after calling grow_headerspace() and if not
                        re-call grow_headerspace() until we do. [RT #22521]
2011-02-21 05:59:40 +00:00
Automatic Updater
0923d0e019 update 2011-02-20 01:15:14 +00:00
Mark Andrews
5c4c100c15 spelling 2011-02-20 01:01:35 +00:00
Automatic Updater
da48b7c5e8 update 2011-02-20 00:15:24 +00:00
Automatic Updater
81890674ce update copyright notice 2011-02-19 23:45:47 +00:00
Automatic Updater
5eb115b833 newcopyrights 2011-02-19 23:30:23 +00:00
Automatic Updater
af3a878845 update 2011-02-19 02:15:21 +00:00
Evan Hunt
6f32629913 Fixed incorrect library link order in libisccc and libisccfg 2011-02-19 01:30:00 +00:00
Evan Hunt
678d543786 Fixed an error in change 3023, ensuring that journal file isn't
removed after IXFR.  No CHANGES note.
2011-02-19 01:26:48 +00:00
Automatic Updater
4bcd4674ab update 2011-02-19 01:15:13 +00:00
Evan Hunt
08c0b5f032 3025. [bug] Fixed a possible deadlock due to zone resigning.
[RT #22964]
2011-02-19 00:44:13 +00:00
Automatic Updater
63f671582e update 2011-02-19 00:15:26 +00:00
Automatic Updater
4618f6f8e8 update copyright notice 2011-02-18 23:45:48 +00:00
Automatic Updater
1263f7abf2 newcopyrights 2011-02-18 23:30:20 +00:00
Automatic Updater
efbfbba8dd update 2011-02-18 22:15:10 +00:00
Evan Hunt
7dd81b570d 3023. [bug] Named could be left in an inconsistent state when
receiving multiple AXFR response messages that were
			not all TSIG-signed. [RT #23254]
2011-02-18 21:34:41 +00:00
Automatic Updater
2a49e3e27a update 2011-02-16 00:15:30 +00:00
Automatic Updater
d04f3c269e update copyright notice 2011-02-15 23:46:15 +00:00
Automatic Updater
2627298d2a newcopyrights 2011-02-15 23:30:26 +00:00
Automatic Updater
51ad390c9e update 2011-02-15 01:15:16 +00:00
Mark Andrews
3a09adda9e 3019. [func] Test: check apex NSEC3 records after adding DNSKEY
record via UPDATE. [RT #23229]
2011-02-15 00:16:39 +00:00
Automatic Updater
461b745952 update 2011-02-08 23:15:41 +00:00
Automatic Updater
58ba1ed262 update copyright notice 2011-02-08 23:08:41 +00:00
Automatic Updater
1315ce7990 newcopyrights 2011-02-08 23:06:51 +00:00
Automatic Updater
c603e626d4 update 2011-02-08 06:15:12 +00:00
Mark Andrews
96ad5aff12 Regression test for:
3018.   [bug]           Named failed to check for the "none;" acl when deciding
                        if a zone may need to be re-signed. [RT #23120]
2011-02-08 05:23:53 +00:00
Automatic Updater
5bb1887896 update 2011-02-07 13:15:23 +00:00
Mark Andrews
7d8fe42a19 missing [ 2011-02-07 12:27:07 +00:00
Automatic Updater
c87df2e67e update 2011-02-07 12:15:31 +00:00
Automatic Updater
bf7327383b update copyright notice 2011-02-07 12:15:09 +00:00
Automatic Updater
479647b0b4 newcopyrights 2011-02-07 12:13:22 +00:00
Automatic Updater
60a4dcf961 update 2011-02-07 01:15:11 +00:00
Mark Andrews
7a2c642272 3018. [bug] Named failed to check for the "none;" acl when deciding
if a zone may need to be re-signed. RT #23120]
2011-02-07 00:18:39 +00:00
Automatic Updater
bc2df2da11 update 2011-02-03 13:15:20 +00:00
Automatic Updater
448f9dbdc5 update copyright notice 2011-02-03 12:16:45 +00:00
Automatic Updater
5b47125d18 newcopyrights 2011-02-03 12:15:07 +00:00
Mark Andrews
9d5d9dc475 3016. [bug] rndc usage missing '-b'. [RT #22937] 2011-02-03 11:50:52 +00:00
Automatic Updater
4b1fcfdb52 update 2011-02-03 09:15:11 +00:00
Mark Andrews
0417821b02 3015. [port] win32: fix IN6_IS_ADDR_LINKLOCAL and
IN6_IS_ADDR_SITELOCAL macros. [RT #22724]
2011-02-03 08:19:40 +00:00
Automatic Updater
f09a66be0e update 2011-02-03 08:15:21 +00:00
Mark Andrews
ff5f5adff4 3014. [bug] Fix the zonechecks system test to match expected
behaviour for 9.6 and to fail on error. [RT #22905]
2011-02-03 07:50:56 +00:00
Mark Andrews
208360cc77 3012. [bug] Remove DNSKEY TTL change pairs before generating
signing records for any remaining DNSKEY changes.
                        [RT #22590]
2011-02-03 07:20:54 +00:00
1677 changed files with 182212 additions and 49575 deletions

View File

@@ -1,9 +0,0 @@
Makefile
config.log
config.h
config.cache
config.status
libtool
isc-config.sh
configure.lineno
autom4te.cache

53
.gitignore vendored Normal file
View File

@@ -0,0 +1,53 @@
Makefile
config.log
config.h
config.cache
config.status
libtool
isc-config.sh
configure.lineno
autom4te.cache
*.o
*.lo
*.so
*.a
*.la
*_test
timestamp
ans.run
lwresd.run
named.run
named.memstats
gen.dSYM/
.libs/
.deps/
.dirstamp
unit/atf-src/atf-c++/atf-c++.pc
unit/atf-src/atf-c/atf-c.pc
unit/atf-src/atf-c/defs.h
unit/atf-src/atf-c/detail/process_helpers
unit/atf-src/atf-config/atf-config
unit/atf-src/atf-report/atf-report
unit/atf-src/atf-report/fail_helper
unit/atf-src/atf-report/misc_helpers
unit/atf-src/atf-report/pass_helper
unit/atf-src/atf-run/atf-run
unit/atf-src/atf-run/bad_metadata_helper
unit/atf-src/atf-run/expect_helpers
unit/atf-src/atf-run/misc_helpers
unit/atf-src/atf-run/pass_helper
unit/atf-src/atf-run/several_tcs_helper
unit/atf-src/atf-run/zero_tcs_helper
unit/atf-src/atf-sh/atf-check
unit/atf-src/atf-sh/atf-sh
unit/atf-src/atf-sh/misc_helpers
unit/atf-src/atf-version/atf-version
unit/atf-src/atf-version/revision.h
unit/atf-src/atf-version/revision.h.stamp
unit/atf-src/bconfig.h
unit/atf-src/bootstrap/atconfig
unit/atf-src/doc/atf.7
unit/atf-src/stamp-h1
unit/atf-src/test-programs/c_helpers
unit/atf-src/test-programs/cpp_helpers
unit/atf-src/test-programs/sh_helpers

5
Atffile Normal file
View File

@@ -0,0 +1,5 @@
Content-Type: application/X-atf-atffile; version="1"
prop: test-suite = bind9
tp: lib

1253
CHANGES

File diff suppressed because it is too large Load Diff

494
COPYRIGHT
View File

@@ -1,4 +1,4 @@
Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
Copyright (C) 2004-2013 Internet Systems Consortium, Inc. ("ISC")
Copyright (C) 1996-2003 Internet Software Consortium.
Permission to use, copy, modify, and/or distribute this software for any
@@ -13,9 +13,15 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
$Id: COPYRIGHT,v 1.14.176.3 2011/01/04 23:45:42 tbox Exp $
$Id$
Portions Copyright (C) 1996-2001 Nominum, Inc.
Portions of this code release fall under one or more of the
following Copyright notices. Please see individual source
files for details.
For binary releases also see: OpenSSL-LICENSE.
Copyright (C) 1996-2001 Nominum, Inc.
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
@@ -28,3 +34,485 @@ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-----------------------------------------------------------------------------
Copyright (C) 1995-2000 by Network Associates, Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND ISC AND NETWORK ASSOCIATES DISCLAIMS
ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE
FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-----------------------------------------------------------------------------
Copyright (C) 2002 Stichting NLnet, Netherlands, stichting@nlnet.nl.
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the
above copyright notice and this permission notice appear in all
copies.
THE SOFTWARE IS PROVIDED "AS IS" AND STICHTING NLNET
DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
STICHTING NLNET BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
USE OR PERFORMANCE OF THIS SOFTWARE.
The development of Dynamically Loadable Zones (DLZ) for Bind 9 was
conceived and contributed by Rob Butler.
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the
above copyright notice and this permission notice appear in all
copies.
THE SOFTWARE IS PROVIDED "AS IS" AND ROB BUTLER
DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
ROB BUTLER BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
USE OR PERFORMANCE OF THIS SOFTWARE.
-----------------------------------------------------------------------------
Copyright (c) 1987, 1990, 1993, 1994
The Regents of the University of California. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software
must display the following acknowledgement:
This product includes software developed by the University of
California, Berkeley and its contributors.
4. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
-----------------------------------------------------------------------------
Copyright (C) The Internet Society 2005. This version of
this module is part of RFC 4178; see the RFC itself for
full legal notices.
(The above copyright notice is per RFC 3978 5.6 (a), q.v.)
-----------------------------------------------------------------------------
Copyright (c) 2004 Masarykova universita
(Masaryk University, Brno, Czech Republic)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the University nor the names of its contributors may
be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
-----------------------------------------------------------------------------
Copyright (c) 1997 - 2003 Kungliga Tekniska Högskolan
(Royal Institute of Technology, Stockholm, Sweden).
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the Institute nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
-----------------------------------------------------------------------------
Copyright (c) 1998 Doug Rabson
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
-----------------------------------------------------------------------------
Copyright ((c)) 2002, Rice University
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of Rice University (RICE) nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
This software is provided by RICE and the contributors on an "as is"
basis, without any representations or warranties of any kind, express
or implied including, but not limited to, representations or
warranties of non-infringement, merchantability or fitness for a
particular purpose. In no event shall RICE or contributors be liable
for any direct, indirect, incidental, special, exemplary, or
consequential damages (including, but not limited to, procurement of
substitute goods or services; loss of use, data, or profits; or
business interruption) however caused and on any theory of liability,
whether in contract, strict liability, or tort (including negligence
or otherwise) arising in any way out of the use of this software, even
if advised of the possibility of such damage.
-----------------------------------------------------------------------------
Copyright (c) 1993 by Digital Equipment Corporation.
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies, and that
the name of Digital Equipment Corporation not be used in advertising or
publicity pertaining to distribution of the document or software without
specific, written prior permission.
THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL DIGITAL EQUIPMENT
CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
-----------------------------------------------------------------------------
Copyright 2000 Aaron D. Gifford. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTOR(S) ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTOR(S) BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
-----------------------------------------------------------------------------
Copyright (c) 1998 Doug Rabson.
Copyright (c) 2001 Jake Burkholder.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
-----------------------------------------------------------------------------
Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the project nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
-----------------------------------------------------------------------------
Copyright (c) 1999-2000 by Nortel Networks Corporation
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND NORTEL NETWORKS DISCLAIMS
ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NORTEL NETWORKS
BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
-----------------------------------------------------------------------------
Copyright (c) 2000-2002 Japan Network Information Center. All rights reserved.
By using this file, you agree to the terms and conditions set forth bellow.
LICENSE TERMS AND CONDITIONS
The following License Terms and Conditions apply, unless a different
license is obtained from Japan Network Information Center ("JPNIC"),
a Japanese association, Kokusai-Kougyou-Kanda Bldg 6F, 2-3-4 Uchi-Kanda,
Chiyoda-ku, Tokyo 101-0047, Japan.
1. Use, Modification and Redistribution (including distribution of any
modified or derived work) in source and/or binary forms is permitted
under this License Terms and Conditions.
2. Redistribution of source code must retain the copyright notices as they
appear in each source code file, this License Terms and Conditions.
3. Redistribution in binary form must reproduce the Copyright Notice,
this License Terms and Conditions, in the documentation and/or other
materials provided with the distribution. For the purposes of binary
distribution the "Copyright Notice" refers to the following language:
"Copyright (c) 2000-2002 Japan Network Information Center. All rights
reserved."
4. The name of JPNIC may not be used to endorse or promote products
derived from this Software without specific prior written approval of
JPNIC.
5. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY JPNIC
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JPNIC BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-----------------------------------------------------------------------------
Copyright (C) 2004 Nominet, Ltd.
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND NOMINET DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
-----------------------------------------------------------------------------
Portions Copyright RSA Security Inc.
License to copy and use this software is granted provided that it is
identified as "RSA Security Inc. PKCS #11 Cryptographic Token Interface
(Cryptoki)" in all material mentioning or referencing this software.
License is also granted to make and use derivative works provided that
such works are identified as "derived from the RSA Security Inc. PKCS #11
Cryptographic Token Interface (Cryptoki)" in all material mentioning or
referencing the derived work.
RSA Security Inc. makes no representations concerning either the
merchantability of this software or the suitability of this software for
any particular purpose. It is provided "as is" without express or implied
warranty of any kind.
-----------------------------------------------------------------------------
Copyright (c) 1996, David Mazieres <dm@uun.org>
Copyright (c) 2008, Damien Miller <djm@openbsd.org>
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-----------------------------------------------------------------------------
Copyright (c) 2000-2001 The OpenSSL Project. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
3. All advertising materials mentioning features or use of this
software must display the following acknowledgment:
"This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)"
4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
endorse or promote products derived from this software without
prior written permission. For written permission, please contact
licensing@OpenSSL.org.
5. Products derived from this software may not be called "OpenSSL"
nor may "OpenSSL" appear in their names without prior written
permission of the OpenSSL Project.
6. Redistributions of any form whatsoever must retain the following
acknowledgment:
"This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)"
THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.

1037
EXCLUDED

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" []>
<!--
- Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2010, 2012 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -17,7 +17,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: FAQ.xml,v 1.46.56.9 2010/01/20 23:47:43 tbox Exp $ -->
<!-- $Id: FAQ.xml,v 1.54 2010/01/19 23:48:55 tbox Exp $ -->
<article class="faq">
<title>Frequently Asked Questions about BIND 9</title>
@@ -30,6 +30,7 @@
<year>2008</year>
<year>2009</year>
<year>2010</year>
<year>2012</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004-2009, 2011, 2012 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-2002 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.52.48.2 2009/02/20 23:47:23 tbox Exp $
# $Id$
srcdir = @srcdir@
VPATH = @srcdir@
@@ -21,7 +21,7 @@ top_srcdir = @top_srcdir@
@BIND9_VERSION@
SUBDIRS = make lib bin doc
SUBDIRS = make unit lib bin doc
TARGETS =
MANPAGES = isc-config.sh.1
@@ -63,7 +63,10 @@ tags:
check: test
test:
(cd bin/tests && ${MAKE} ${MAKEDEFS} test)
status=0; \
(cd bin/tests && ${MAKE} ${MAKEDEFS} test) || status=1; \
(test -f unit/unittest.sh && $(SHELL) unit/unittest.sh) || status=1; \
exit $$status
FAQ: FAQ.xml
${XSLTPROC} doc/xsl/isc-docbook-text.xsl FAQ.xml | \

39
README
View File

@@ -42,9 +42,41 @@ BIND 9
Stichting NLnet - NLnet Foundation
Nominum, Inc.
BIND 9.6.3
For a detailed list of user-visible changes from
previous releases, see the CHANGES file.
BIND 9.6.3 is a maintenance release, fixing bugs in 9.6.2.
For up-to-date release notes and errata, see
http://www.isc.org/software/bind9/releasenotes
BIND 9.6-ESV-R9 (Extended Support Version)
BIND 9.6-ESV-R9 is a maintenance release, fixing bugs in BIND
9.6-ESV-R8.
BIND 9.6-ESV-R8 (Extended Support Version)
BIND 9.6-ESV-R8 includes several bug fixes and patches security
flaws described in CVE-2012-1667, CVE-2012-3817 and CVE-2012-4244.
BIND 9.6-ESV-R7 (Extended Support Version)
BIND 9.6-ESV-R7 is a maintenance release, fixing bugs in BIND
9.6-ESV-R6.
BIND 9.6-ESV-R6 (Extended Support Version)
BIND 9.6-ESV-R6 includes a number of bug fixes and prevents a
security problem described in CVE-2011-4313
BIND 9.6-ESV-R5 (Extended Support Version)
BIND 9.6-ESV-R5 is a maintenance release, fixing bugs in BIND
9.6-ESV-R4.
BIND 9.6.3/BIND 9.6-ESV-R4
BIND 9.6.3/BIND 9.6-ESV-R4 is a maintenance release, fixing bugs
in 9.6.2.
BIND 9.6.2
@@ -401,9 +433,6 @@ BIND 9.2.0
transfers from a BIND 9 server to a W2K server to fail. For details,
see the "Zone Transfers" section in doc/misc/migration.
For a detailed list of user-visible changes from
previous releases, see the CHANGES file.
Building

View File

@@ -109,4 +109,4 @@ about idnkit and this patch.
Bug reports and comments on this kit should be sent to
mdnkit-bugs@nic.ad.jp and idn-cmt@nic.ad.jp, respectively.
; $Id: README.idnkit,v 1.2.762.1 2009/01/18 23:25:14 marka Exp $
; $Id$

View File

@@ -1,165 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title></title><link rel="stylesheet" href="release-notes.css" type="text/css" /><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /></head><body><div class="article"><div class="titlepage"><hr /></div>
<div class="section" title="Introduction"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id3026830"></a>Introduction</h2></div></div></div>
<p>
BIND 9.6.3 is the current release of BIND 9.6.
</p>
<p>
This document summarizes changes from BIND 9.6.2-P2 to BIND 9.6.3.
Please see the CHANGES file in the source code release for a
complete list of all changes.
</p>
</div>
<div class="section" title="Download"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id3893341"></a>Download</h2></div></div></div>
<p>
The latest development version of BIND 9 software can always be found
on our web site at
<a class="ulink" href="http://www.isc.org/downloads/development" target="_top">http://www.isc.org/downloads/development</a>.
There you will find additional information about each release,
source code, and some pre-compiled versions for certain operating
systems.
</p>
</div>
<div class="section" title="Support"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id3026768"></a>Support</h2></div></div></div>
<p>Product support information is available on
<a class="ulink" href="http://www.isc.org/services/support" target="_top">http://www.isc.org/services/support</a>
for paid support options. Free support is provided by our user
community via a mailing list. Information on all public email
lists is available at
<a class="ulink" href="https://lists.isc.org/mailman/listinfo" target="_top">https://lists.isc.org/mailman/listinfo</a>.
</p>
</div>
<div class="section" title="New Features"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id3893404"></a>New Features</h2></div></div></div>
<div class="section" title="9.6.3"><div class="titlepage"><div><div><h3 class="title"><a id="id3893409"></a>9.6.3</h3></div></div></div>
<p>None.</p>
</div>
</div>
<div class="section" title="Feature Changes"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id3893420"></a>Feature Changes</h2></div></div></div>
<div class="section" title="9.6.3"><div class="titlepage"><div><div><h3 class="title"><a id="id3893425"></a>9.6.3</h3></div></div></div>
<p>None.</p>
</div>
</div>
<div class="section" title="Security Fixes"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id3893436"></a>Security Fixes</h2></div></div></div>
<div class="section" title="9.6.2-P3"><div class="titlepage"><div><div><h3 class="title"><a id="id3893441"></a>9.6.2-P3</h3></div></div></div>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
Adding a NO DATA signed negative response to cache failed to clear
any matching RRSIG records already in cache. A subsequent lookup
of the cached NO DATA entry could crash named (INSIST) when the
unexpected RRSIG was also returned with the NO DATA cache entry.
[RT #22288] [CVE-2010-3613] [VU#706148]
</li><li class="listitem">
BIND, acting as a DNSSEC validator, was determining if the NS RRset
is insecure based on a value that could mean either that the RRset
is actually insecure or that there wasn't a matching key for the RRSIG
in the DNSKEY RRset when resuming from validating the DNSKEY RRset.
This can happen when in the middle of a DNSKEY algorithm rollover,
when two different algorithms were used to sign a zone but only the
new set of keys are in the zone DNSKEY RRset.
[RT #22309] [CVE-2010-3614] [VU#837744]
</li></ul></div>
</div>
</div>
<div class="section" title="Bug Fixes"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id3026756"></a>Bug Fixes</h2></div></div></div>
<div class="section" title="9.6.3"><div class="titlepage"><div><div><h3 class="title"><a id="id3026817"></a>9.6.3</h3></div></div></div>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
BIND now builds with threads disabled in versions of NetBSD earlier
than 5.0 and with pthreads enabled by default in NetBSD versions 5.0
and higher. Also removes support for unproven-pthreads, mit-pthreads
and ptl2. [RT #19203]
</li><li class="listitem">
HPUX now correctly defaults to using /dev/poll, which should
increase performance. [RT #21919]
</li><li class="listitem">
If named is running as a threaded application, after an "rndc stop"
command has been issued, other inbound TCP requests can cause named
to hang and never complete shutdown. [RT #22108]
</li><li class="listitem">
When performing a GSS-TSIG signed dynamic zone update, memory could be
leaked. This causes an unclean shutdown and may affect long-running
servers. [RT #22573]
</li><li class="listitem">
A bug in NetBSD and FreeBSD kernels with SO_ACCEPTFILTER enabled allows
for a TCP DoS attack. Until there is a kernel fix, ISC is disabling
SO_ACCEPTFILTER support in BIND. [RT #22589]
</li><li class="listitem">
Corrected a defect where a combination of dynamic updates and zone
transfers incorrectly locked the in-memory zone database, causing
named to freeze. [RT #22614]
</li><li class="listitem">
Don't run MX checks (check-mx) when the MX record points to ".".
[RT #22645]
</li><li class="listitem">
DST key reference counts can now be incremented via dst_key_attach.
[RT #22672]
</li><li class="listitem">
isc_mutex_init_errcheck() in phtreads/mutex.c failed to destroy attr. [RT #22766]
</li><li class="listitem">
The Kerberos realm was being truncated when being pulled from the
the host prinicipal, make krb5-self updates fail. [RT #22770]
</li><li class="listitem">
named failed to preserve the case of domain names in RDATA which is not compressible when writing master files. [RT #22863]
</li><li class="listitem">
There was a bug in how the clients-per-query code worked with some
query patterns. This could result, in rare circumstances, in having all
the client query slots filled with queries for the same DNS label,
essentially ignoring the max-clients-per-query setting.
[RT #22972]
</li></ul></div>
</div>
<div class="section" title="9.6.2-P3"><div class="titlepage"><div><div><h3 class="title"><a id="id3893557"></a>9.6.2-P3</h3></div></div></div>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
Worked around a race condition in the cache database memory
handling. Without this fix a DNS cache DB or ADB could
incorrectly stay in an over memory state, effectively refusing
further caching, which subsequently made a BIND 9 caching
server unworkable.
[RT #21818]
</li><li class="listitem">
Microsoft changed the behavior of sockets between NT/XP based
stacks vs Vista/windows7 stacks. Server 2003/2008 have the older
behavior, 2008r2 has the new behavior. With the change, different
error results are possible, so ISC adapted BIND to handle the new
error results.
This resolves an issue where sockets would shut down on
Windows servers causing named to stop responding to queries.
[RT #21906]
</li><li class="listitem">
Windows has non-POSIX compliant behavior in its rename() and unlink()
calls. This caused journal compaction to fail on Windows BIND servers
with the log error: "dns_journal_compact failed: failure".
[RT #22434]
</li></ul></div>
</div>
</div>
<div class="section" title="Thank You"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id3893594"></a>Thank You</h2></div></div></div>
<p>
Thank you to everyone who assisted us in making this release possible.
If you would like to contribute to ISC to assist us in continuing to make
quality open source software, please visit our donations page at
<a class="ulink" href="http://www.isc.org/supportisc" target="_top">http://www.isc.org/supportisc</a>.
</p>
</div>
</div></body></html>

Binary file not shown.

View File

@@ -1,118 +0,0 @@
__________________________________________________________________
Introduction
BIND 9.6.3 is the current release of BIND 9.6.
This document summarizes changes from BIND 9.6.2-P2 to BIND 9.6.3.
Please see the CHANGES file in the source code release for a complete
list of all changes.
Download
The latest development version of BIND 9 software can always be found
on our web site at http://www.isc.org/downloads/development. There you
will find additional information about each release, source code, and
some pre-compiled versions for certain operating systems.
Support
Product support information is available on
http://www.isc.org/services/support for paid support options. Free
support is provided by our user community via a mailing list.
Information on all public email lists is available at
https://lists.isc.org/mailman/listinfo.
New Features
9.6.3
None.
Feature Changes
9.6.3
None.
Security Fixes
9.6.2-P3
* Adding a NO DATA signed negative response to cache failed to clear
any matching RRSIG records already in cache. A subsequent lookup of
the cached NO DATA entry could crash named (INSIST) when the
unexpected RRSIG was also returned with the NO DATA cache entry.
[RT #22288] [CVE-2010-3613] [VU#706148]
* BIND, acting as a DNSSEC validator, was determining if the NS RRset
is insecure based on a value that could mean either that the RRset
is actually insecure or that there wasn't a matching key for the
RRSIG in the DNSKEY RRset when resuming from validating the DNSKEY
RRset. This can happen when in the middle of a DNSKEY algorithm
rollover, when two different algorithms were used to sign a zone
but only the new set of keys are in the zone DNSKEY RRset. [RT
#22309] [CVE-2010-3614] [VU#837744]
Bug Fixes
9.6.3
* BIND now builds with threads disabled in versions of NetBSD earlier
than 5.0 and with pthreads enabled by default in NetBSD versions
5.0 and higher. Also removes support for unproven-pthreads,
mit-pthreads and ptl2. [RT #19203]
* HPUX now correctly defaults to using /dev/poll, which should
increase performance. [RT #21919]
* If named is running as a threaded application, after an "rndc stop"
command has been issued, other inbound TCP requests can cause named
to hang and never complete shutdown. [RT #22108]
* When performing a GSS-TSIG signed dynamic zone update, memory could
be leaked. This causes an unclean shutdown and may affect
long-running servers. [RT #22573]
* A bug in NetBSD and FreeBSD kernels with SO_ACCEPTFILTER enabled
allows for a TCP DoS attack. Until there is a kernel fix, ISC is
disabling SO_ACCEPTFILTER support in BIND. [RT #22589]
* Corrected a defect where a combination of dynamic updates and zone
transfers incorrectly locked the in-memory zone database, causing
named to freeze. [RT #22614]
* Don't run MX checks (check-mx) when the MX record points to ".".
[RT #22645]
* DST key reference counts can now be incremented via dst_key_attach.
[RT #22672]
* isc_mutex_init_errcheck() in phtreads/mutex.c failed to destroy
attr. [RT #22766]
* The Kerberos realm was being truncated when being pulled from the
the host prinicipal, make krb5-self updates fail. [RT #22770]
* named failed to preserve the case of domain names in RDATA which is
not compressible when writing master files. [RT #22863]
* There was a bug in how the clients-per-query code worked with some
query patterns. This could result, in rare circumstances, in having
all the client query slots filled with queries for the same DNS
label, essentially ignoring the max-clients-per-query setting. [RT
#22972]
9.6.2-P3
* Worked around a race condition in the cache database memory
handling. Without this fix a DNS cache DB or ADB could incorrectly
stay in an over memory state, effectively refusing further caching,
which subsequently made a BIND 9 caching server unworkable. [RT
#21818]
* Microsoft changed the behavior of sockets between NT/XP based
stacks vs Vista/windows7 stacks. Server 2003/2008 have the older
behavior, 2008r2 has the new behavior. With the change, different
error results are possible, so ISC adapted BIND to handle the new
error results. This resolves an issue where sockets would shut down
on Windows servers causing named to stop responding to queries. [RT
#21906]
* Windows has non-POSIX compliant behavior in its rename() and
unlink() calls. This caused journal compaction to fail on Windows
BIND servers with the log error: "dns_journal_compact failed:
failure". [RT #22434]
Thank You
Thank you to everyone who assisted us in making this release possible.
If you would like to contribute to ISC to assist us in continuing to
make quality open source software, please visit our donations page at
http://www.isc.org/supportisc.

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2009, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: acconfig.h,v 1.51.334.2 2009/02/16 23:47:15 tbox Exp $ */
/* $Id$ */
/*! \file */

7
aclocal.m4 vendored
View File

@@ -1,2 +1,5 @@
sinclude(./libtool.m4)dnl
sinclude(libtool.m4/libtool.m4)dnl
sinclude(libtool.m4/ltoptions.m4)dnl
sinclude(libtool.m4/ltsugar.m4)dnl
sinclude(libtool.m4/ltversion.m4)dnl
sinclude(libtool.m4/lt~obsolete.m4)dnl

View File

@@ -1 +0,0 @@
Makefile

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004, 2007, 2012 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-2001 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.25 2007/06/19 23:46:59 tbox Exp $
# $Id$
srcdir = @srcdir@
VPATH = @srcdir@

View File

@@ -1,6 +1,3 @@
Makefile
.libs
*.la
*.lo
named-checkconf
named-checkzone

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004-2007, 2012 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000-2003 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.32 2007/06/19 23:46:59 tbox Exp $
# $Id$
srcdir = @srcdir@
VPATH = @srcdir@

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2010, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: check-tool.c,v 1.35.36.5 2010/09/07 23:46:05 tbox Exp $ */
/* $Id$ */
/*! \file */
@@ -196,6 +196,10 @@ checkns(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner,
a->type == dns_rdatatype_a);
REQUIRE(aaaa == NULL || !dns_rdataset_isassociated(aaaa) ||
aaaa->type == dns_rdatatype_aaaa);
if (a == NULL || aaaa == NULL)
return (answer);
memset(&hints, 0, sizeof(hints));
hints.ai_flags = AI_CANONNAME;
hints.ai_family = PF_UNSPEC;
@@ -258,8 +262,7 @@ checkns(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner,
}
return (ISC_TRUE);
}
if (a == NULL || aaaa == NULL)
return (answer);
/*
* Check that all glue records really exist.
*/
@@ -597,7 +600,7 @@ load_zone(isc_mem_t *mctx, const char *zonename, const char *filename,
dns_zone_settype(zone, dns_zone_master);
isc_buffer_init(&buffer, zonename, strlen(zonename));
isc_buffer_constinit(&buffer, zonename, strlen(zonename));
isc_buffer_add(&buffer, strlen(zonename));
dns_fixedname_init(&fixorigin);
origin = dns_fixedname_name(&fixorigin);
@@ -640,6 +643,9 @@ dump_zone(const char *zonename, dns_zone_t *zone, const char *filename,
{
isc_result_t result;
FILE *output = stdout;
const char *flags;
flags = (fileformat == dns_masterformat_text) ? "w+" : "wb+";
if (debug) {
if (filename != NULL && strcmp(filename, "-") != 0)
@@ -650,7 +656,7 @@ dump_zone(const char *zonename, dns_zone_t *zone, const char *filename,
}
if (filename != NULL && strcmp(filename, "-") != 0) {
result = isc_stdio_open(filename, "w+", &output);
result = isc_stdio_open(filename, flags, &output);
if (result != ISC_R_SUCCESS) {
fprintf(stderr, "could not open output "

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2005, 2007, 2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2010, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: check-tool.h,v 1.14.334.2 2010/09/07 23:46:05 tbox Exp $ */
/* $Id$ */
#ifndef CHECK_TOOL_H
#define CHECK_TOOL_H

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004, 2005, 2007, 2012 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2002 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: named-checkconf.8,v 1.30.334.1 2009/07/11 01:55:20 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
@@ -88,7 +88,7 @@ BIND 9 Administrator Reference Manual.
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004, 2005, 2007, 2012 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000\-2002 Internet Software Consortium.
.br

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2007, 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2009-2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: named-checkconf.c,v 1.46.222.4 2010/09/07 23:46:05 tbox Exp $ */
/* $Id$ */
/*! \file */
@@ -59,6 +59,9 @@ isc_log_t *logc = NULL;
} while (0)
/*% usage */
ISC_PLATFORM_NORETURN_PRE static void
usage(void) ISC_PLATFORM_NORETURN_POST;
static void
usage(void) {
fprintf(stderr, "usage: %s [-h] [-j] [-v] [-z] [-t directory] "
@@ -187,7 +190,7 @@ configure_zone(const char *vclass, const char *view,
if (obj != NULL)
maps[i++] = obj;
}
maps[i++] = NULL;
maps[i] = NULL;
cfg_map_get(zoptions, "type", &typeobj);
if (typeobj == NULL)
@@ -436,6 +439,7 @@ main(int argc, char **argv) {
if (isc_commandline_option != '?')
fprintf(stderr, "%s: invalid argument -%c\n",
program, isc_commandline_option);
/* FALLTHROUGH */
case 'h':
usage();

View File

@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007, 2012 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkconf.docbook,v 1.19 2007/06/19 06:58:03 marka Exp $ -->
<!-- $Id$ -->
<refentry id="man.named-checkconf">
<refentryinfo>
<date>June 14, 2000</date>
@@ -35,6 +35,7 @@
<year>2004</year>
<year>2005</year>
<year>2007</year>
<year>2012</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>

View File

@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007, 2012 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkconf.html,v 1.30.334.1 2009/07/11 01:55:20 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -32,14 +32,14 @@
<div class="cmdsynopsis"><p><code class="command">named-checkconf</code> [<code class="option">-h</code>] [<code class="option">-v</code>] [<code class="option">-j</code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] {filename} [<code class="option">-z</code>]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543387"></a><h2>DESCRIPTION</h2>
<a name="id2543390"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">named-checkconf</strong></span>
checks the syntax, but not the semantics, of a named
configuration file.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543399"></a><h2>OPTIONS</h2>
<a name="id2543402"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-h</span></dt>
<dd><p>
@@ -74,21 +74,21 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543507"></a><h2>RETURN VALUES</h2>
<a name="id2543510"></a><h2>RETURN VALUES</h2>
<p><span><strong class="command">named-checkconf</strong></span>
returns an exit status of 1 if
errors were detected and 0 otherwise.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543518"></a><h2>SEE ALSO</h2>
<a name="id2543522"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">named-checkzone</span>(8)</span>,
<em class="citetitle">BIND 9 Administrator Reference Manual</em>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543548"></a><h2>AUTHOR</h2>
<a name="id2543552"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004-2007, 2009, 2012 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2002 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: named-checkzone.8,v 1.42.334.3 2009/11/11 01:56:22 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
@@ -272,7 +272,7 @@ BIND 9 Administrator Reference Manual.
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2004\-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004\-2007, 2009, 2012 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000\-2002 Internet Software Consortium.
.br

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: named-checkzone.c,v 1.51.34.6 2010/09/07 23:46:06 tbox Exp $ */
/* $Id$ */
/*! \file */
@@ -70,6 +70,9 @@ static enum { progmode_check, progmode_compile } progmode;
} \
} while (0)
ISC_PLATFORM_NORETURN_PRE static void
usage(void) ISC_PLATFORM_NORETURN_POST;
static void
usage(void) {
fprintf(stderr,
@@ -108,6 +111,7 @@ main(int argc, char **argv) {
const char *outputformatstr = NULL;
dns_masterformat_t inputformat = dns_masterformat_text;
dns_masterformat_t outputformat = dns_masterformat_text;
isc_boolean_t logdump = ISC_FALSE;
FILE *errout = stdout;
outputstyle = &dns_master_style_full;
@@ -350,6 +354,7 @@ main(int argc, char **argv) {
if (isc_commandline_option != '?')
fprintf(stderr, "%s: invalid argument -%c\n",
prog_name, isc_commandline_option);
/* FALLTHROUGH */
case 'h':
usage();
@@ -395,6 +400,7 @@ main(int argc, char **argv) {
if (progmode == progmode_compile) {
dumpzone = 1; /* always dump */
logdump = !quiet;
if (output_filename == NULL) {
fprintf(stderr,
"output file required, but not specified\n");
@@ -413,8 +419,10 @@ main(int argc, char **argv) {
(output_filename == NULL ||
strcmp(output_filename, "-") == 0 ||
strcmp(output_filename, "/dev/fd/1") == 0 ||
strcmp(output_filename, "/dev/stdout") == 0))
strcmp(output_filename, "/dev/stdout") == 0)) {
errout = stderr;
logdump = ISC_FALSE;
}
if (isc_commandline_index + 2 != argc)
usage();
@@ -439,13 +447,13 @@ main(int argc, char **argv) {
&zone);
if (result == ISC_R_SUCCESS && dumpzone) {
if (!quiet && progmode == progmode_compile) {
if (logdump) {
fprintf(errout, "dump zone to %s...", output_filename);
fflush(errout);
}
result = dump_zone(origin, zone, output_filename,
outputformat, outputstyle);
if (!quiet && progmode == progmode_compile)
if (logdump)
fprintf(errout, "done\n");
}

View File

@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2007, 2009, 2012 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkzone.docbook,v 1.34.334.3 2009/11/10 20:01:41 each Exp $ -->
<!-- $Id$ -->
<refentry id="man.named-checkzone">
<refentryinfo>
<date>June 13, 2000</date>
@@ -37,6 +37,7 @@
<year>2006</year>
<year>2007</year>
<year>2009</year>
<year>2012</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>

View File

@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2007, 2009, 2012 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkzone.html,v 1.42.334.3 2009/11/11 01:56:22 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -33,7 +33,7 @@
<div class="cmdsynopsis"><p><code class="command">named-compilezone</code> [<code class="option">-d</code>] [<code class="option">-j</code>] [<code class="option">-q</code>] [<code class="option">-v</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-C <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-f <em class="replaceable"><code>format</code></em></code>] [<code class="option">-F <em class="replaceable"><code>format</code></em></code>] [<code class="option">-i <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-k <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-m <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-n <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-o <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-s <em class="replaceable"><code>style</code></em></code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-w <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-D</code>] [<code class="option">-W <em class="replaceable"><code>mode</code></em></code>] {<code class="option">-o <em class="replaceable"><code>filename</code></em></code>} {zonename} {filename}</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543674"></a><h2>DESCRIPTION</h2>
<a name="id2543677"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">named-checkzone</strong></span>
checks the syntax and integrity of a zone file. It performs the
same checks as <span><strong class="command">named</strong></span> does when loading a
@@ -53,7 +53,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543709"></a><h2>OPTIONS</h2>
<a name="id2543713"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-d</span></dt>
<dd><p>
@@ -239,14 +239,14 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2544330"></a><h2>RETURN VALUES</h2>
<a name="id2544333"></a><h2>RETURN VALUES</h2>
<p><span><strong class="command">named-checkzone</strong></span>
returns an exit status of 1 if
errors were detected and 0 otherwise.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544342"></a><h2>SEE ALSO</h2>
<a name="id2544345"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">named-checkconf</span>(8)</span>,
<em class="citetitle">RFC 1035</em>,
@@ -254,7 +254,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544375"></a><h2>AUTHOR</h2>
<a name="id2544446"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>

View File

@@ -1,6 +1,4 @@
Makefile
dig
host
nslookup
*.lo
.libs

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004, 2005, 2007, 2012 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000-2002 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.41 2007/06/19 23:46:59 tbox Exp $
# $Id$
srcdir = @srcdir@
VPATH = @srcdir@

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004-2009, 2012, 2013 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2003 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: dig.1,v 1.50.44.3 2009/07/11 01:55:20 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
@@ -57,7 +57,9 @@ allows multiple lookups to be issued from the command line.
Unless it is told to query a specific name server,
\fBdig\fR
will try each of the servers listed in
\fI/etc/resolv.conf\fR.
\fI/etc/resolv.conf\fR. If no usable server addreses are found,
\fBdig\fR
will send the query to the local host.
.PP
When no command line arguments or options are given,
\fBdig\fR
@@ -95,13 +97,20 @@ is the name or IP address of the name server to query. This can be an IPv4 addre
\fIserver\fR
argument is a hostname,
\fBdig\fR
resolves that name before querying that name server. If no
resolves that name before querying that name server.
.sp
If no
\fIserver\fR
argument is provided,
\fBdig\fR
consults
\fI/etc/resolv.conf\fR
and queries the name servers listed there. The reply from the name server that responds is displayed.
\fI/etc/resolv.conf\fR; if an address is found there, it queries the name server at that address. If either of the
\fB\-4\fR
or
\fB\-6\fR
options are in use, then only addresses for the corresponding transport will be tried. If no usable addresses are found,
\fBdig\fR
will send the query to the local host. The reply from the name server that responds is displayed.
.RE
.PP
\fBname\fR
@@ -562,7 +571,7 @@ RFC1035.
.PP
There are probably too many query options.
.SH "COPYRIGHT"
Copyright \(co 2004\-2009 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004\-2009, 2012, 2013 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000\-2003 Internet Software Consortium.
.br

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2013 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.c,v 1.225.26.7 2010/05/13 00:43:37 marka Exp $ */
/* $Id$ */
/*! \file */
@@ -44,8 +44,6 @@
#include <dns/result.h>
#include <dns/tsig.h>
#include <bind9/getaddresses.h>
#include <dig/dig.h>
#define ADD_STRING(b, s) { \
@@ -138,6 +136,9 @@ print_usage(FILE *fp) {
" [ host [@local-server] {local-d-opt} [...]]\n", fp);
}
ISC_PLATFORM_NORETURN_PRE static void
usage(void) ISC_PLATFORM_NORETURN_POST;
static void
usage(void) {
print_usage(stderr);
@@ -237,6 +238,8 @@ received(int bytes, isc_sockaddr_t *from, dig_query_t *query) {
isc_uint64_t diff;
isc_time_t now;
time_t tnow;
struct tm tmnow;
char time_str[100];
char fromtext[ISC_SOCKADDR_FORMATSIZE];
isc_sockaddr_format(from, fromtext, sizeof(fromtext));
@@ -248,7 +251,10 @@ received(int bytes, isc_sockaddr_t *from, dig_query_t *query) {
printf(";; Query time: %ld msec\n", (long int)diff/1000);
printf(";; SERVER: %s(%s)\n", fromtext, query->servname);
time(&tnow);
printf(";; WHEN: %s", ctime(&tnow));
tmnow = *localtime(&tnow);
if (strftime(time_str, sizeof(time_str),
"%a %b %d %H:%M:%S %Z %Y", &tmnow) > 0U)
printf(";; WHEN: %s\n", time_str);
if (query->lookup->doing_xfr) {
printf(";; XFR size: %u records (messages %u, "
"bytes %" ISC_PRINT_QUADFORMAT "u)\n",
@@ -256,7 +262,6 @@ received(int bytes, isc_sockaddr_t *from, dig_query_t *query) {
query->byte_count);
} else {
printf(";; MSG SIZE rcvd: %u\n", bytes);
}
if (key != NULL) {
if (!validated)
@@ -273,7 +278,7 @@ received(int bytes, isc_sockaddr_t *from, dig_query_t *query) {
"from %s(%s) in %d ms\n\n",
query->lookup->doing_xfr ?
query->byte_count : (isc_uint64_t)bytes,
fromtext, query->servname,
fromtext, query->userarg,
(int)diff/1000);
}
}
@@ -471,8 +476,6 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
if (!query->lookup->comments)
flags |= DNS_MESSAGETEXTFLAG_NOCOMMENTS;
result = ISC_R_SUCCESS;
result = isc_buffer_allocate(mctx, &buf, len);
check_result(result, "isc_buffer_allocate");
@@ -1458,30 +1461,6 @@ preparse_args(int argc, char **argv) {
}
}
static void
getaddresses(dig_lookup_t *lookup, const char *host) {
isc_result_t result;
isc_sockaddr_t sockaddrs[DIG_MAX_ADDRESSES];
isc_netaddr_t netaddr;
int count, i;
dig_server_t *srv;
char tmp[ISC_NETADDR_FORMATSIZE];
result = bind9_getaddresses(host, 0, sockaddrs,
DIG_MAX_ADDRESSES, &count);
if (result != ISC_R_SUCCESS)
fatal("couldn't get address for '%s': %s",
host, isc_result_totext(result));
for (i = 0; i < count; i++) {
isc_netaddr_fromsockaddr(&netaddr, &sockaddrs[i]);
isc_netaddr_format(&netaddr, tmp, sizeof(tmp));
srv = make_server(tmp, host);
ISC_LIST_APPEND(lookup->my_server_list, srv, link);
}
addresscount = count;
}
static void
parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
int argc, char **argv) {
@@ -1576,7 +1555,7 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
if (strncmp(rv[0], "%", 1) == 0)
break;
if (strncmp(rv[0], "@", 1) == 0) {
getaddresses(lookup, &rv[0][1]);
addresscount = getaddresses(lookup, &rv[0][1], NULL);
} else if (rv[0][0] == '+') {
plus_option(&rv[0][1], is_batchfile,
lookup);
@@ -1613,7 +1592,6 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
(isc_textregion_t *)&tr);
if (result == ISC_R_SUCCESS &&
rdtype == dns_rdatatype_ixfr) {
result = DNS_R_UNKNOWN;
fprintf(stderr, ";; Warning, "
"ixfr requires a "
"serial number\n");

View File

@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2009, 2012, 2013 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dig.docbook,v 1.42.44.3 2009/02/02 04:42:48 marka Exp $ -->
<!-- $Id$ -->
<refentry id="man.dig">
<refentryinfo>
@@ -44,6 +44,8 @@
<year>2007</year>
<year>2008</year>
<year>2009</year>
<year>2012</year>
<year>2013</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
@@ -115,9 +117,10 @@
<para>
Unless it is told to query a specific name server,
<command>dig</command> will try each of the servers listed
in
<filename>/etc/resolv.conf</filename>.
<command>dig</command> will try each of the servers listed in
<filename>/etc/resolv.conf</filename>. If no usable server addreses
are found, <command>dig</command> will send the query to the local
host.
</para>
<para>
@@ -156,20 +159,25 @@
<term><constant>server</constant></term>
<listitem>
<para>
is the name or IP address of the name server to query. This can
be an IPv4
address in dotted-decimal notation or an IPv6
is the name or IP address of the name server to query. This
can be an IPv4 address in dotted-decimal notation or an IPv6
address in colon-delimited notation. When the supplied
<parameter>server</parameter> argument is a
hostname,
<command>dig</command> resolves that name before
querying that name
server. If no <parameter>server</parameter>
argument is provided,
<command>dig</command> consults <filename>/etc/resolv.conf</filename>
and queries the name servers listed there. The reply from the
name
server that responds is displayed.
<parameter>server</parameter> argument is a hostname,
<command>dig</command> resolves that name before querying
that name server.
</para>
<para>
If no <parameter>server</parameter> argument is
provided, <command>dig</command> consults
<filename>/etc/resolv.conf</filename>; if an
address is found there, it queries the name server at
that address. If either of the <option>-4</option> or
<option>-6</option> options are in use, then
only addresses for the corresponding transport
will be tried. If no usable addresses are found,
<command>dig</command> will send the query to the
local host. The reply from the name server that
responds is displayed.
</para>
</listitem>
</varlistentry>

View File

@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2009, 2012, 2013 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dig.html,v 1.45.44.3 2009/07/11 01:55:20 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -34,7 +34,7 @@
<div class="cmdsynopsis"><p><code class="command">dig</code> [global-queryopt...] [query...]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543518"></a><h2>DESCRIPTION</h2>
<a name="id2543525"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">dig</strong></span>
(domain information groper) is a flexible tool
for interrogating DNS name servers. It performs DNS lookups and
@@ -57,9 +57,10 @@
</p>
<p>
Unless it is told to query a specific name server,
<span><strong class="command">dig</strong></span> will try each of the servers listed
in
<code class="filename">/etc/resolv.conf</code>.
<span><strong class="command">dig</strong></span> will try each of the servers listed in
<code class="filename">/etc/resolv.conf</code>. If no usable server addreses
are found, <span><strong class="command">dig</strong></span> will send the query to the local
host.
</p>
<p>
When no command line arguments or options are given,
@@ -80,7 +81,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543592"></a><h2>SIMPLE USAGE</h2>
<a name="id2543604"></a><h2>SIMPLE USAGE</h2>
<p>
A typical invocation of <span><strong class="command">dig</strong></span> looks like:
</p>
@@ -91,22 +92,29 @@
</p>
<div class="variablelist"><dl>
<dt><span class="term"><code class="constant">server</code></span></dt>
<dd><p>
is the name or IP address of the name server to query. This can
be an IPv4
address in dotted-decimal notation or an IPv6
<dd>
<p>
is the name or IP address of the name server to query. This
can be an IPv4 address in dotted-decimal notation or an IPv6
address in colon-delimited notation. When the supplied
<em class="parameter"><code>server</code></em> argument is a
hostname,
<span><strong class="command">dig</strong></span> resolves that name before
querying that name
server. If no <em class="parameter"><code>server</code></em>
argument is provided,
<span><strong class="command">dig</strong></span> consults <code class="filename">/etc/resolv.conf</code>
and queries the name servers listed there. The reply from the
name
server that responds is displayed.
</p></dd>
<em class="parameter"><code>server</code></em> argument is a hostname,
<span><strong class="command">dig</strong></span> resolves that name before querying
that name server.
</p>
<p>
If no <em class="parameter"><code>server</code></em> argument is
provided, <span><strong class="command">dig</strong></span> consults
<code class="filename">/etc/resolv.conf</code>; if an
address is found there, it queries the name server at
that address. If either of the <code class="option">-4</code> or
<code class="option">-6</code> options are in use, then
only addresses for the corresponding transport
will be tried. If no usable addresses are found,
<span><strong class="command">dig</strong></span> will send the query to the
local host. The reply from the name server that
responds is displayed.
</p>
</dd>
<dt><span class="term"><code class="constant">name</code></span></dt>
<dd><p>
is the name of the resource record that is to be looked up.
@@ -126,7 +134,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543683"></a><h2>OPTIONS</h2>
<a name="id2543707"></a><h2>OPTIONS</h2>
<p>
The <code class="option">-b</code> option sets the source IP address of the query
to <em class="parameter"><code>address</code></em>. This must be a valid
@@ -230,7 +238,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544032"></a><h2>QUERY OPTIONS</h2>
<a name="id2544056"></a><h2>QUERY OPTIONS</h2>
<p><span><strong class="command">dig</strong></span>
provides a number of query options which affect
the way in which lookups are made and the results displayed. Some of
@@ -555,7 +563,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545166"></a><h2>MULTIPLE QUERIES</h2>
<a name="id2545191"></a><h2>MULTIPLE QUERIES</h2>
<p>
The BIND 9 implementation of <span><strong class="command">dig </strong></span>
supports
@@ -601,7 +609,7 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545228"></a><h2>IDN SUPPORT</h2>
<a name="id2545253"></a><h2>IDN SUPPORT</h2>
<p>
If <span><strong class="command">dig</strong></span> has been built with IDN (internationalized
domain name) support, it can accept and display non-ASCII domain names.
@@ -615,14 +623,14 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545251"></a><h2>FILES</h2>
<a name="id2545344"></a><h2>FILES</h2>
<p><code class="filename">/etc/resolv.conf</code>
</p>
<p><code class="filename">${HOME}/.digrc</code>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545336"></a><h2>SEE ALSO</h2>
<a name="id2545361"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">host</span>(1)</span>,
<span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">dnssec-keygen</span>(8)</span>,
@@ -630,7 +638,7 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545373"></a><h2>BUGS</h2>
<a name="id2545398"></a><h2>BUGS</h2>
<p>
There are probably too many query options.
</p>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dighost.c,v 1.311.70.17 2010/12/09 01:12:54 marka Exp $ */
/* $Id$ */
/*! \file
* \note
@@ -65,6 +65,7 @@
#include <dns/tsig.h>
#include <dst/dst.h>
#include <dst/result.h>
#include <isc/app.h>
#include <isc/base64.h>
@@ -78,6 +79,7 @@
#include <isc/print.h>
#include <isc/random.h>
#include <isc/result.h>
#include <isc/serial.h>
#include <isc/string.h>
#include <isc/task.h>
#include <isc/timer.h>
@@ -542,10 +544,8 @@ make_server(const char *servname, const char *userarg) {
if (srv == NULL)
fatal("memory allocation failure in %s:%d",
__FILE__, __LINE__);
strncpy(srv->servername, servname, MXNAME);
strncpy(srv->userarg, userarg, MXNAME);
srv->servername[MXNAME-1] = 0;
srv->userarg[MXNAME-1] = 0;
strlcpy(srv->servername, servname, MXNAME);
strlcpy(srv->userarg, userarg, MXNAME);
ISC_LINK_INIT(srv, link);
return (srv);
}
@@ -720,7 +720,7 @@ make_empty_lookup(void) {
looknew->xfr_q = NULL;
looknew->current_query = NULL;
looknew->doing_xfr = ISC_FALSE;
looknew->ixfr_serial = ISC_FALSE;
looknew->ixfr_serial = 0;
looknew->trace = ISC_FALSE;
looknew->trace_root = ISC_FALSE;
looknew->identify = ISC_FALSE;
@@ -767,6 +767,7 @@ make_empty_lookup(void) {
looknew->need_search = ISC_FALSE;
ISC_LINK_INIT(looknew, link);
ISC_LIST_INIT(looknew->q);
ISC_LIST_INIT(looknew->connecting);
ISC_LIST_INIT(looknew->my_server_list);
return (looknew);
}
@@ -788,11 +789,11 @@ clone_lookup(dig_lookup_t *lookold, isc_boolean_t servers) {
looknew = make_empty_lookup();
INSIST(looknew != NULL);
strncpy(looknew->textname, lookold->textname, MXNAME);
strlcpy(looknew->textname, lookold->textname, MXNAME);
#if DIG_SIGCHASE_TD
strncpy(looknew->textnamesigchase, lookold->textnamesigchase, MXNAME);
strlcpy(looknew->textnamesigchase, lookold->textnamesigchase, MXNAME);
#endif
strncpy(looknew->cmdline, lookold->cmdline, MXNAME);
strlcpy(looknew->cmdline, lookold->cmdline, MXNAME);
looknew->textname[MXNAME-1] = 0;
looknew->rdtype = lookold->rdtype;
looknew->qrdtype = lookold->qrdtype;
@@ -903,8 +904,12 @@ setup_text_key(void) {
secretsize = isc_buffer_usedlength(&secretbuf);
result = dns_name_fromtext(&keyname, namebuf,
dns_rootname, ISC_FALSE,
if (hmacname == NULL) {
result = DST_R_UNSUPPORTEDALG;
goto failure;
}
result = dns_name_fromtext(&keyname, namebuf, dns_rootname, ISC_FALSE,
namebuf);
if (result != ISC_R_SUCCESS)
goto failure;
@@ -982,7 +987,7 @@ make_searchlist_entry(char *domain) {
if (search == NULL)
fatal("memory allocation failure in %s:%d",
__FILE__, __LINE__);
strncpy(search->origin, domain, MXNAME);
strlcpy(search->origin, domain, MXNAME);
search->origin[MXNAME-1] = 0;
ISC_LINK_INIT(search, link);
return (search);
@@ -1278,7 +1283,10 @@ clear_query(dig_query_t *query) {
if (lookup->current_query == query)
lookup->current_query = NULL;
ISC_LIST_UNLINK(lookup->q, query, link);
if (ISC_LINK_LINKED(query, link))
ISC_LIST_UNLINK(lookup->q, query, link);
if (ISC_LINK_LINKED(query, clink))
ISC_LIST_UNLINK(lookup->connecting, query, clink);
if (ISC_LINK_LINKED(&query->recvbuf, link))
ISC_LIST_DEQUEUE(query->recvlist, &query->recvbuf,
link);
@@ -1286,6 +1294,7 @@ clear_query(dig_query_t *query) {
ISC_LIST_DEQUEUE(query->lengthlist, &query->lengthbuf,
link);
INSIST(query->recvspace != NULL);
if (query->sock != NULL) {
isc_socket_detach(&query->sock);
sockcount--;
@@ -1313,13 +1322,22 @@ try_clear_lookup(dig_lookup_t *lookup) {
debug("try_clear_lookup(%p)", lookup);
if (ISC_LIST_HEAD(lookup->q) != NULL) {
if (ISC_LIST_HEAD(lookup->q) != NULL ||
ISC_LIST_HEAD(lookup->connecting) != NULL)
{
if (debugging) {
q = ISC_LIST_HEAD(lookup->q);
while (q != NULL) {
debug("query to %s still pending", q->servname);
q = ISC_LIST_NEXT(q, link);
}
q = ISC_LIST_HEAD(lookup->connecting);
while (q != NULL) {
debug("query to %s still connecting",
q->servname);
q = ISC_LIST_NEXT(q, clink);
}
}
return (ISC_FALSE);
}
@@ -1447,7 +1465,7 @@ start_lookup(void) {
= current_lookup->rdclassset;
current_lookup->rdclass = dns_rdataclass_in;
strncpy(current_lookup->textnamesigchase,
strlcpy(current_lookup->textnamesigchase,
current_lookup->textname, MXNAME);
current_lookup->trace_root_sigchase = ISC_TRUE;
@@ -1459,7 +1477,7 @@ start_lookup(void) {
check_result(result, "dns_name_totext");
isc_buffer_usedregion(b, &r);
r.base[r.length] = '\0';
strncpy(current_lookup->textname, (char*)r.base,
strlcpy(current_lookup->textname, (char*)r.base,
MXNAME);
isc_buffer_free(&b);
@@ -1515,6 +1533,9 @@ followup_lookup(dns_message_t *msg, dig_query_t *query, dns_section_t section)
isc_result_t result;
isc_boolean_t success = ISC_FALSE;
int numLookups = 0;
int num;
isc_result_t lresult, addresses_result;
char bad_namestr[DNS_NAME_FORMATSIZE];
dns_name_t *domain;
isc_boolean_t horizontal = ISC_FALSE, bad = ISC_FALSE;
@@ -1522,6 +1543,8 @@ followup_lookup(dns_message_t *msg, dig_query_t *query, dns_section_t section)
debug("following up %s", query->lookup->textname);
addresses_result = ISC_R_SUCCESS;
bad_namestr[0] = '\0';
for (result = dns_message_firstname(msg, section);
result == ISC_R_SUCCESS;
result = dns_message_nextname(msg, section)) {
@@ -1582,8 +1605,7 @@ followup_lookup(dns_message_t *msg, dig_query_t *query, dns_section_t section)
dns_rdata_freestruct(&ns);
/* Initialize lookup if we've not yet */
debug("found NS %d %s", numLookups, namestr);
numLookups++;
debug("found NS %s", namestr);
if (!success) {
success = ISC_TRUE;
lookup_counter++;
@@ -1605,12 +1627,24 @@ followup_lookup(dns_message_t *msg, dig_query_t *query, dns_section_t section)
domain = dns_fixedname_name(&lookup->fdomain);
dns_name_copy(name, domain, NULL);
}
srv = make_server(namestr, namestr);
debug("adding server %s", srv->servername);
ISC_LIST_APPEND(lookup->my_server_list, srv, link);
debug("adding server %s", namestr);
num = getaddresses(lookup, namestr, &lresult);
if (lresult != ISC_R_SUCCESS) {
debug("couldn't get address for '%s': %s",
namestr, isc_result_totext(lresult));
if (addresses_result == ISC_R_SUCCESS) {
addresses_result = lresult;
strcpy(bad_namestr, namestr);
}
}
numLookups += num;
dns_rdata_reset(&rdata);
}
}
if (numLookups == 0 && addresses_result != ISC_R_SUCCESS) {
fatal("couldn't get address for '%s': %s",
bad_namestr, isc_result_totext(result));
}
if (lookup == NULL &&
section == DNS_SECTION_ANSWER &&
@@ -1623,17 +1657,25 @@ followup_lookup(dns_message_t *msg, dig_query_t *query, dns_section_t section)
if (numLookups > 1) {
isc_uint32_t i, j;
dig_serverlist_t my_server_list;
dig_server_t *next;
ISC_LIST_INIT(my_server_list);
for (i = numLookups; i > 0; i--) {
i = numLookups;
for (srv = ISC_LIST_HEAD(lookup->my_server_list);
srv != NULL;
srv = ISC_LIST_HEAD(lookup->my_server_list)) {
INSIST(i > 0);
isc_random_get(&j);
j %= i;
srv = ISC_LIST_HEAD(lookup->my_server_list);
while (j-- > 0)
srv = ISC_LIST_NEXT(srv, link);
next = ISC_LIST_NEXT(srv, link);
while (j-- > 0 && next != NULL) {
srv = next;
next = ISC_LIST_NEXT(srv, link);
}
ISC_LIST_DEQUEUE(lookup->my_server_list, srv, link);
ISC_LIST_APPEND(my_server_list, srv, link);
i--;
}
ISC_LIST_APPENDLIST(lookup->my_server_list,
my_server_list, link);
@@ -2076,7 +2118,6 @@ setup_lookup(dig_lookup_t *lookup) {
query->rr_count = 0;
query->msg_count = 0;
query->byte_count = 0;
ISC_LINK_INIT(query, link);
ISC_LIST_INIT(query->recvlist);
ISC_LIST_INIT(query->lengthlist);
query->sock = NULL;
@@ -2089,6 +2130,7 @@ setup_lookup(dig_lookup_t *lookup) {
isc_buffer_init(&query->slbuf, query->slspace, 2);
query->sendbuf = lookup->renderbuf;
ISC_LINK_INIT(query, clink);
ISC_LINK_INIT(query, link);
ISC_LIST_ENQUEUE(lookup->q, query, link);
}
@@ -2131,7 +2173,7 @@ send_done(isc_task_t *_task, isc_event_t *event) {
query->waiting_senddone = ISC_FALSE;
l = query->lookup;
if (l->ns_search_only && !l->trace_root) {
if (l->ns_search_only && !l->trace_root && !l->tcp_mode) {
debug("sending next, since searching");
next = ISC_LIST_NEXT(query, link);
if (next != NULL)
@@ -2210,6 +2252,7 @@ static void
force_timeout(dig_lookup_t *l, dig_query_t *query) {
isc_event_t *event;
debug("force_timeout ()");
event = isc_event_allocate(mctx, query, ISC_TIMEREVENT_IDLE,
connect_timeout, l,
sizeof(isc_event_t));
@@ -2277,6 +2320,7 @@ send_tcp_connect(dig_query_t *query) {
send_tcp_connect(next);
return;
}
INSIST(query->sock == NULL);
result = isc_socket_create(socketmgr,
isc_sockaddr_pf(&query->sockaddr),
@@ -2307,6 +2351,9 @@ send_tcp_connect(dig_query_t *query) {
if (l->ns_search_only && !l->trace_root) {
debug("sending next, since searching");
next = ISC_LIST_NEXT(query, link);
if (ISC_LINK_LINKED(query, link))
ISC_LIST_DEQUEUE(l->q, query, link);
ISC_LIST_ENQUEUE(l->connecting, query, clink);
if (next != NULL)
send_tcp_connect(next);
}
@@ -2387,7 +2434,7 @@ send_udp(dig_query_t *query) {
static void
connect_timeout(isc_task_t *task, isc_event_t *event) {
dig_lookup_t *l = NULL;
dig_query_t *query = NULL, *cq;
dig_query_t *query = NULL, *next, *cq;
UNUSED(task);
REQUIRE(event->ev_type == ISC_TIMEREVENT_IDLE);
@@ -2411,7 +2458,9 @@ connect_timeout(isc_task_t *task, isc_event_t *event) {
if (query->sock != NULL)
isc_socket_cancel(query->sock, NULL,
ISC_SOCKCANCEL_ALL);
send_tcp_connect(ISC_LIST_NEXT(cq, link));
next = ISC_LIST_NEXT(cq, link);
if (next != NULL)
send_tcp_connect(next);
}
UNLOCK_LOOKUP;
return;
@@ -2654,9 +2703,8 @@ connect_done(isc_task_t *task, isc_event_t *event) {
if (next != NULL) {
bringup_timer(next, TCP_TIMEOUT);
send_tcp_connect(next);
} else {
} else
check_next_lookup(l);
}
UNLOCK_LOOKUP;
return;
}
@@ -2678,8 +2726,10 @@ check_for_more_data(dig_query_t *query, dns_message_t *msg,
dns_rdataset_t *rdataset = NULL;
dns_rdata_t rdata = DNS_RDATA_INIT;
dns_rdata_soa_t soa;
isc_uint32_t serial;
isc_uint32_t ixfr_serial = query->lookup->ixfr_serial, serial;
isc_result_t result;
isc_boolean_t ixfr = query->lookup->rdtype == dns_rdatatype_ixfr;
isc_boolean_t axfr = query->lookup->rdtype == dns_rdatatype_axfr;
debug("check_for_more_data()");
@@ -2729,6 +2779,7 @@ check_for_more_data(dig_query_t *query, dns_message_t *msg,
query->second_rr_rcvd = ISC_TRUE;
query->second_rr_serial = 0;
debug("got the second rr as nonsoa");
axfr = ISC_TRUE;
goto next_rdata;
}
@@ -2738,6 +2789,7 @@ check_for_more_data(dig_query_t *query, dns_message_t *msg,
*/
if (rdata.type != dns_rdatatype_soa)
goto next_rdata;
/* Now we have an SOA. Work with it. */
debug("got an SOA");
result = dns_rdata_tostruct(&rdata, &soa, NULL);
@@ -2747,15 +2799,17 @@ check_for_more_data(dig_query_t *query, dns_message_t *msg,
if (!query->first_soa_rcvd) {
query->first_soa_rcvd = ISC_TRUE;
query->first_rr_serial = serial;
debug("this is the first %d",
query->lookup->ixfr_serial);
if (query->lookup->ixfr_serial >=
serial)
debug("this is the first serial %u",
serial);
if (ixfr && isc_serial_ge(ixfr_serial,
serial)) {
debug("got up to date "
"response");
goto doexit;
}
goto next_rdata;
}
if (query->lookup->rdtype ==
dns_rdatatype_axfr) {
if (axfr) {
debug("doing axfr, got second SOA");
goto doexit;
}
@@ -2765,22 +2819,12 @@ check_for_more_data(dig_query_t *query, dns_message_t *msg,
"empty zone");
goto doexit;
}
debug("this is the second %d",
query->lookup->ixfr_serial);
debug("this is the second serial %u",
serial);
query->second_rr_rcvd = ISC_TRUE;
query->second_rr_serial = serial;
goto next_rdata;
}
if (query->second_rr_serial == 0) {
/*
* If the second RR was a non-SOA
* record, and we're getting any
* other SOA, then this is an
* AXFR, and we're done.
*/
debug("done, since axfr");
goto doexit;
}
/*
* If we get to this point, we're doing an
* IXFR and have to start really looking
@@ -2796,7 +2840,7 @@ check_for_more_data(dig_query_t *query, dns_message_t *msg,
debug("done with ixfr");
goto doexit;
}
debug("meaningless soa %d", serial);
debug("meaningless soa %u", serial);
next_rdata:
result = dns_rdataset_next(rdataset);
} while (result == ISC_R_SUCCESS);
@@ -3217,6 +3261,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
if (n == 0)
docancel = ISC_TRUE;
l->trace_root = ISC_FALSE;
usesearch = ISC_FALSE;
} else
#ifdef DIG_SIGCHASE
if (!do_sigchase)
@@ -3358,20 +3403,54 @@ get_address(char *host, in_port_t port, isc_sockaddr_t *sockaddr) {
return (ISC_R_SUCCESS);
}
int
getaddresses(dig_lookup_t *lookup, const char *host, isc_result_t *resultp) {
isc_result_t result;
isc_sockaddr_t sockaddrs[DIG_MAX_ADDRESSES];
isc_netaddr_t netaddr;
int count, i;
dig_server_t *srv;
char tmp[ISC_NETADDR_FORMATSIZE];
result = bind9_getaddresses(host, 0, sockaddrs,
DIG_MAX_ADDRESSES, &count);
if (resultp != NULL)
*resultp = result;
if (result != ISC_R_SUCCESS) {
if (resultp == NULL)
fatal("couldn't get address for '%s': %s",
host, isc_result_totext(result));
return 0;
}
for (i = 0; i < count; i++) {
isc_netaddr_fromsockaddr(&netaddr, &sockaddrs[i]);
isc_netaddr_format(&netaddr, tmp, sizeof(tmp));
srv = make_server(tmp, host);
ISC_LIST_APPEND(lookup->my_server_list, srv, link);
}
return count;
}
/*%
* Initiate either a TCP or UDP lookup
*/
void
do_lookup(dig_lookup_t *lookup) {
dig_query_t *query;
REQUIRE(lookup != NULL);
debug("do_lookup()");
lookup->pending = ISC_TRUE;
if (lookup->tcp_mode)
send_tcp_connect(ISC_LIST_HEAD(lookup->q));
else
send_udp(ISC_LIST_HEAD(lookup->q));
query = ISC_LIST_HEAD(lookup->q);
if (query != NULL) {
if (lookup->tcp_mode)
send_tcp_connect(query);
else
send_udp(query);
}
}
/*%
@@ -3841,7 +3920,7 @@ sigchase_scanname(dns_rdatatype_t type, dns_rdatatype_t covers,
check_result(result, "dns_name_totext");
isc_buffer_usedregion(b, &r);
r.base[r.length] = '\0';
strcpy(lookup->textname, (char*)r.base);
strlcpy(lookup->textname, (char*)r.base, sizeof(lookup->textname));
isc_buffer_free(&b);
if (type == dns_rdatatype_rrsig)
@@ -3966,7 +4045,7 @@ opentmpkey(isc_mem_t *mctx, const char *file, char **tempp, FILE **fp) {
return (ISC_R_NOMEMORY);
memset(tempnamekey, 0, tempnamekeylen);
strncpy(tempnamekey, tempname, tempnamelen);
strlcpy(tempnamekey, tempname, tempnamelen);
strcat(tempnamekey ,".key");
@@ -3994,7 +4073,6 @@ opentmpkey(isc_mem_t *mctx, const char *file, char **tempp, FILE **fp) {
return (result);
}
isc_result_t
get_trusted_key(isc_mem_t *mctx)
{
@@ -4056,6 +4134,7 @@ get_trusted_key(isc_mem_t *mctx)
if (key != NULL)
dst_key_free(&key);
}
fclose(fp);
return (ISC_R_SUCCESS);
}
@@ -4100,7 +4179,7 @@ prepare_lookup(dns_name_t *name)
lookup->new_search = ISC_TRUE;
lookup->trace_root_sigchase = ISC_FALSE;
strncpy(lookup->textname, lookup->textnamesigchase, MXNAME);
strlcpy(lookup->textname, lookup->textnamesigchase, MXNAME);
lookup->rdtype = lookup->rdtype_sigchase;
lookup->rdtypeset = ISC_TRUE;
@@ -4159,7 +4238,7 @@ prepare_lookup(dns_name_t *name)
dns_rdata_totext(&aaaa, &ns.name, b);
isc_buffer_usedregion(b, &r);
r.base[r.length] = '\0';
strncpy(namestr, (char*)r.base,
strlcpy(namestr, (char*)r.base,
DNS_NAME_FORMATSIZE);
isc_buffer_free(&b);
dns_rdata_reset(&aaaa);
@@ -4188,7 +4267,7 @@ prepare_lookup(dns_name_t *name)
dns_rdata_totext(&a, &ns.name, b);
isc_buffer_usedregion(b, &r);
r.base[r.length] = '\0';
strncpy(namestr, (char*)r.base,
strlcpy(namestr, (char*)r.base,
DNS_NAME_FORMATSIZE);
isc_buffer_free(&b);
dns_rdata_reset(&a);
@@ -4367,7 +4446,6 @@ contains_trusted_key(dns_name_t *name, dns_rdataset_t *rdataset,
{
isc_result_t result;
dns_rdata_t rdata = DNS_RDATA_INIT;
dst_key_t *trustedKey = NULL;
dst_key_t *dnsseckey = NULL;
int i;
@@ -4411,10 +4489,6 @@ contains_trusted_key(dns_name_t *name, dns_rdataset_t *rdataset,
dst_key_free(&dnsseckey);
} while (dns_rdataset_next(rdataset) == ISC_R_SUCCESS);
if (trustedKey != NULL)
dst_key_free(&trustedKey);
trustedKey = NULL;
return (ISC_R_NOTFOUND);
}

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004, 2005, 2007-2009, 2012 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2002 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: host.1,v 1.29.114.2 2009/07/11 01:55:20 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
@@ -213,7 +213,7 @@ runs.
\fBdig\fR(1),
\fBnamed\fR(8).
.SH "COPYRIGHT"
Copyright \(co 2004, 2005, 2007\-2009 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004, 2005, 2007\-2009, 2012 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000\-2002 Internet Software Consortium.
.br

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2007, 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2009-2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: host.c,v 1.116.216.5 2010/10/19 23:45:58 tbox Exp $ */
/* $Id$ */
/*! \file */
@@ -141,6 +141,9 @@ rcode_totext(dns_rcode_t rcode)
return totext.deconsttext;
}
ISC_PLATFORM_NORETURN_PRE static void
show_usage(void) ISC_PLATFORM_NORETURN_POST;
static void
show_usage(void) {
fputs(
@@ -443,10 +446,18 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
if (msg->rcode != 0) {
char namestr[DNS_NAME_FORMATSIZE];
dns_name_format(query->lookup->name, namestr, sizeof(namestr));
printf("Host %s not found: %d(%s)\n",
(msg->rcode != dns_rcode_nxdomain) ? namestr :
query->lookup->textname, msg->rcode,
rcode_totext(msg->rcode));
if (query->lookup->identify_previous_line)
printf("Nameserver %s:\n\t%s not found: %d(%s)\n",
query->servname,
(msg->rcode != dns_rcode_nxdomain) ? namestr :
query->lookup->textname, msg->rcode,
rcode_totext(msg->rcode));
else
printf("Host %s not found: %d(%s)\n",
(msg->rcode != dns_rcode_nxdomain) ? namestr :
query->lookup->textname, msg->rcode,
rcode_totext(msg->rcode));
return (ISC_R_SUCCESS);
}
@@ -518,6 +529,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
if ((msg->flags & DNS_MESSAGEFLAG_CD) != 0) {
printf("%scd", did_flag ? " " : "");
did_flag = ISC_TRUE;
POST(did_flag);
}
printf("; QUERY: %u, ANSWER: %u, "
"AUTHORITY: %u, ADDITIONAL: %u\n",
@@ -821,8 +833,8 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) {
if (isc_commandline_index >= argc)
show_usage();
strncpy(hostname, argv[isc_commandline_index], sizeof(hostname));
hostname[sizeof(hostname)-1]=0;
strlcpy(hostname, argv[isc_commandline_index], sizeof(hostname));
if (argc > isc_commandline_index + 1) {
set_nameserver(argv[isc_commandline_index+1]);
debug("server is %s", argv[isc_commandline_index+1]);

View File

@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007-2009, 2012 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: host.docbook,v 1.18.114.2 2009/01/22 23:47:05 tbox Exp $ -->
<!-- $Id$ -->
<refentry id="man.host">
<refentryinfo>
@@ -43,6 +43,7 @@
<year>2007</year>
<year>2008</year>
<year>2009</year>
<year>2012</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>

View File

@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007-2009, 2012 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: host.html,v 1.28.114.2 2009/07/11 01:55:20 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -32,7 +32,7 @@
<div class="cmdsynopsis"><p><code class="command">host</code> [<code class="option">-aCdlnrsTwv</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-N <em class="replaceable"><code>ndots</code></em></code>] [<code class="option">-R <em class="replaceable"><code>number</code></em></code>] [<code class="option">-t <em class="replaceable"><code>type</code></em></code>] [<code class="option">-W <em class="replaceable"><code>wait</code></em></code>] [<code class="option">-m <em class="replaceable"><code>flag</code></em></code>] [<code class="option">-4</code>] [<code class="option">-6</code>] {name} [server]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543434"></a><h2>DESCRIPTION</h2>
<a name="id2543437"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">host</strong></span>
is a simple utility for performing DNS lookups.
It is normally used to convert names to IP addresses and vice versa.
@@ -184,7 +184,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543800"></a><h2>IDN SUPPORT</h2>
<a name="id2543803"></a><h2>IDN SUPPORT</h2>
<p>
If <span><strong class="command">host</strong></span> has been built with IDN (internationalized
domain name) support, it can accept and display non-ASCII domain names.
@@ -198,12 +198,12 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543822"></a><h2>FILES</h2>
<a name="id2543826"></a><h2>FILES</h2>
<p><code class="filename">/etc/resolv.conf</code>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543834"></a><h2>SEE ALSO</h2>
<a name="id2543837"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">dig</span>(1)</span>,
<span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>.
</p>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2009, 2011, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.h,v 1.107.120.2 2009/01/06 23:47:26 tbox Exp $ */
/* $Id$ */
#ifndef DIG_H
#define DIG_H
@@ -168,6 +168,7 @@ isc_boolean_t sigchase;
dns_name_t *oname;
ISC_LINK(dig_lookup_t) link;
ISC_LIST(dig_query_t) q;
ISC_LIST(dig_query_t) connecting;
dig_query_t *current_query;
dig_serverlist_t my_server_list;
dig_searchlist_t *origin;
@@ -214,6 +215,7 @@ struct dig_query {
slspace[4];
isc_socket_t *sock;
ISC_LINK(dig_query_t) link;
ISC_LINK(dig_query_t) clink;
isc_sockaddr_t sockaddr;
isc_time_t time_sent;
isc_uint64_t byte_count;
@@ -288,12 +290,16 @@ extern int idnoptions;
isc_result_t
get_address(char *host, in_port_t port, isc_sockaddr_t *sockaddr);
int
getaddresses(dig_lookup_t *lookup, const char *host, isc_result_t *resultp);
isc_result_t
get_reverse(char *reverse, size_t len, char *value, isc_boolean_t ip6_int,
isc_boolean_t strict);
void
fatal(const char *format, ...) ISC_FORMAT_PRINTF(1, 2);
ISC_PLATFORM_NORETURN_PRE void
fatal(const char *format, ...)
ISC_FORMAT_PRINTF(1, 2) ISC_PLATFORM_NORETURN_POST;
void
debug(const char *format, ...) ISC_FORMAT_PRINTF(1, 2);

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2004-2007, 2010 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004-2007, 2010, 2012 Internet Systems Consortium, Inc. ("ISC")
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
@@ -12,7 +12,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: nslookup.1,v 1.14.354.2 2010/02/23 01:56:02 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
@@ -254,5 +254,5 @@ Try the next nameserver if a nameserver responds with SERVFAIL or a referral (no
.PP
Andrew Cherenson
.SH "COPYRIGHT"
Copyright \(co 2004\-2007, 2010 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004\-2007, 2010, 2012 Internet Systems Consortium, Inc. ("ISC")
.br

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2009, 2011, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: nslookup.c,v 1.117.334.5 2009/10/20 01:11:22 marka Exp $ */
/* $Id$ */
#include <config.h>
@@ -57,6 +57,7 @@ static isc_boolean_t in_use = ISC_FALSE;
static char defclass[MXRD] = "IN";
static char deftype[MXRD] = "A";
static isc_event_t *global_event = NULL;
static int query_error = 1, print_error = 0;
static char domainopt[DNS_NAME_MAXTEXT];
@@ -406,6 +407,9 @@ isc_result_t
printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
char servtext[ISC_SOCKADDR_FORMATSIZE];
/* I've we've gotten this far, we've reached a server. */
query_error = 0;
debug("printmessage()");
isc_sockaddr_format(&query->sockaddr, servtext, sizeof(servtext));
@@ -433,6 +437,9 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
(msg->rcode != dns_rcode_nxdomain) ? nametext :
query->lookup->textname, rcode_totext(msg->rcode));
debug("returning with rcode == 0");
/* the lookup failed */
print_error |= 1;
return (ISC_R_SUCCESS);
}
@@ -535,12 +542,6 @@ testclass(char *typetext) {
}
}
static void
safecpy(char *dest, char *src, int size) {
strncpy(dest, src, size);
dest[size-1] = 0;
}
static isc_result_t
parse_uint(isc_uint32_t *uip, const char *value, isc_uint32_t max,
const char *desc) {
@@ -587,34 +588,34 @@ setoption(char *opt) {
show_settings(ISC_TRUE, ISC_FALSE);
} else if (strncasecmp(opt, "class=", 6) == 0) {
if (testclass(&opt[6]))
safecpy(defclass, &opt[6], sizeof(defclass));
strlcpy(defclass, &opt[6], sizeof(defclass));
} else if (strncasecmp(opt, "cl=", 3) == 0) {
if (testclass(&opt[3]))
safecpy(defclass, &opt[3], sizeof(defclass));
strlcpy(defclass, &opt[3], sizeof(defclass));
} else if (strncasecmp(opt, "type=", 5) == 0) {
if (testtype(&opt[5]))
safecpy(deftype, &opt[5], sizeof(deftype));
strlcpy(deftype, &opt[5], sizeof(deftype));
} else if (strncasecmp(opt, "ty=", 3) == 0) {
if (testtype(&opt[3]))
safecpy(deftype, &opt[3], sizeof(deftype));
strlcpy(deftype, &opt[3], sizeof(deftype));
} else if (strncasecmp(opt, "querytype=", 10) == 0) {
if (testtype(&opt[10]))
safecpy(deftype, &opt[10], sizeof(deftype));
strlcpy(deftype, &opt[10], sizeof(deftype));
} else if (strncasecmp(opt, "query=", 6) == 0) {
if (testtype(&opt[6]))
safecpy(deftype, &opt[6], sizeof(deftype));
strlcpy(deftype, &opt[6], sizeof(deftype));
} else if (strncasecmp(opt, "qu=", 3) == 0) {
if (testtype(&opt[3]))
safecpy(deftype, &opt[3], sizeof(deftype));
strlcpy(deftype, &opt[3], sizeof(deftype));
} else if (strncasecmp(opt, "q=", 2) == 0) {
if (testtype(&opt[2]))
safecpy(deftype, &opt[2], sizeof(deftype));
strlcpy(deftype, &opt[2], sizeof(deftype));
} else if (strncasecmp(opt, "domain=", 7) == 0) {
safecpy(domainopt, &opt[7], sizeof(domainopt));
strlcpy(domainopt, &opt[7], sizeof(domainopt));
set_search_domain(domainopt);
usesearch = ISC_TRUE;
} else if (strncasecmp(opt, "do=", 3) == 0) {
safecpy(domainopt, &opt[3], sizeof(domainopt));
strlcpy(domainopt, &opt[3], sizeof(domainopt));
set_search_domain(domainopt);
usesearch = ISC_TRUE;
} else if (strncasecmp(opt, "port=", 5) == 0) {
@@ -693,11 +694,11 @@ addlookup(char *opt) {
lookup = make_empty_lookup();
if (get_reverse(store, sizeof(store), opt, lookup->ip6_int, ISC_TRUE)
== ISC_R_SUCCESS) {
safecpy(lookup->textname, store, sizeof(lookup->textname));
strlcpy(lookup->textname, store, sizeof(lookup->textname));
lookup->rdtype = dns_rdatatype_ptr;
lookup->rdtypeset = ISC_TRUE;
} else {
safecpy(lookup->textname, opt, sizeof(lookup->textname));
strlcpy(lookup->textname, opt, sizeof(lookup->textname));
lookup->rdtype = rdtype;
lookup->rdtypeset = ISC_TRUE;
}
@@ -909,5 +910,5 @@ main(int argc, char **argv) {
destroy_libs();
isc_app_finish();
return (0);
return (query_error | print_error);
}

View File

@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004-2007, 2010 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2007, 2010, 2012 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
@@ -17,7 +17,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: nslookup.docbook,v 1.16.334.2 2010/02/22 23:47:53 tbox Exp $ -->
<!-- $Id$ -->
<!--
- Copyright (c) 1985, 1989
- The Regents of the University of California. All rights reserved.
@@ -74,6 +74,7 @@
<year>2006</year>
<year>2007</year>
<year>2010</year>
<year>2012</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
</docinfo>

View File

@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004-2007, 2010 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2007, 2010, 2012 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
@@ -13,7 +13,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: nslookup.html,v 1.21.354.2 2010/02/23 01:56:02 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -31,7 +31,7 @@
<div class="cmdsynopsis"><p><code class="command">nslookup</code> [<code class="option">-option</code>] [name | -] [server]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543358"></a><h2>DESCRIPTION</h2>
<a name="id2543362"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">Nslookup</strong></span>
is a program to query Internet domain name servers. <span><strong class="command">Nslookup</strong></span>
has two modes: interactive and non-interactive. Interactive mode allows
@@ -43,7 +43,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543374"></a><h2>ARGUMENTS</h2>
<a name="id2543378"></a><h2>ARGUMENTS</h2>
<p>
Interactive mode is entered in the following cases:
</p>
@@ -78,7 +78,7 @@ nslookup -query=hinfo -timeout=10
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543418"></a><h2>INTERACTIVE COMMANDS</h2>
<a name="id2543421"></a><h2>INTERACTIVE COMMANDS</h2>
<div class="variablelist"><dl>
<dt><span class="term"><code class="constant">host</code> [<span class="optional">server</span>]</span></dt>
<dd>
@@ -288,19 +288,19 @@ nslookup -query=hinfo -timeout=10
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2546284"></a><h2>FILES</h2>
<a name="id2546288"></a><h2>FILES</h2>
<p><code class="filename">/etc/resolv.conf</code>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2546296"></a><h2>SEE ALSO</h2>
<a name="id2546299"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">dig</span>(1)</span>,
<span class="citerefentry"><span class="refentrytitle">host</span>(1)</span>,
<span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2546330"></a><h2>Author</h2>
<a name="id2546333"></a><h2>Author</h2>
<p>
Andrew Cherenson
</p>

View File

@@ -1,9 +1,9 @@
Makefile
dnssec-dsfromkey
dnssec-keyfromlabel
dnssec-keygen
dnssec-makekeyset
dnssec-revoke
dnssec-settime
dnssec-signkey
dnssec-signzone
*.lo
.libs

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004, 2005, 2007, 2008, 2012 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000-2002 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.35 2008/11/07 02:28:49 marka Exp $
# $Id$
srcdir = @srcdir@
VPATH = @srcdir@

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2008 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2008, 2012 Internet Systems Consortium, Inc. ("ISC")
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
@@ -12,7 +12,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: dnssec-dsfromkey.8,v 1.5.14.1 2010/05/19 02:06:11 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
@@ -120,5 +120,5 @@ RFC 4509.
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2008 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2008, 2012 Internet Systems Consortium, Inc. ("ISC")
.br

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2008-2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2008-2012 Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssec-dsfromkey.c,v 1.2.14.6 2010/01/11 23:47:22 tbox Exp $ */
/* $Id$ */
/*! \file */
@@ -215,18 +215,16 @@ emitds(unsigned int dtype, dns_rdata_t *rdata)
if (result != ISC_R_SUCCESS)
fatal("can't print DS name");
putchar(' ');
isc_buffer_usedregion(&classb, &r);
isc_util_fwrite(r.base, 1, r.length, stdout);
printf(" DS ");
printf(" %.*s", (int)r.length, r.base);
isc_buffer_usedregion(&textb, &r);
isc_util_fwrite(r.base, 1, r.length, stdout);
putchar('\n');
printf(" DS %.*s\n", (int)r.length, r.base);
}
ISC_PLATFORM_NORETURN_PRE static void
usage(void) ISC_PLATFORM_NORETURN_POST;
static void
usage(void) {
fprintf(stderr, "Usage:\n");

View File

@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2008 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2008, 2012 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
@@ -17,7 +17,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-dsfromkey.docbook,v 1.6 2008/11/07 13:54:11 jreed Exp $ -->
<!-- $Id$ -->
<refentry id="man.dnssec-dsfromkey">
<refentryinfo>
<date>November 29, 2008</date>
@@ -37,6 +37,7 @@
<docinfo>
<copyright>
<year>2008</year>
<year>2012</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
</docinfo>

View File

@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2008 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2008, 2012 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
@@ -13,7 +13,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-dsfromkey.html,v 1.5.14.1 2010/05/19 02:06:11 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -32,14 +32,14 @@
<div class="cmdsynopsis"><p><code class="command">dnssec-dsfromkey</code> {-s} [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] [<code class="option">-1</code>] [<code class="option">-2</code>] [<code class="option">-a <em class="replaceable"><code>alg</code></em></code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-d <em class="replaceable"><code>dir</code></em></code>] {dnsname}</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543424"></a><h2>DESCRIPTION</h2>
<a name="id2543427"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">dnssec-dsfromkey</strong></span>
outputs the Delegation Signer (DS) resource record (RR), as defined in
RFC 3658 and RFC 4509, for the given key(s).
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543435"></a><h2>OPTIONS</h2>
<a name="id2543438"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-1</span></dt>
<dd><p>
@@ -80,7 +80,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543563"></a><h2>EXAMPLE</h2>
<a name="id2543566"></a><h2>EXAMPLE</h2>
<p>
To build the SHA-256 DS RR from the
<strong class="userinput"><code>Kexample.com.+003+26160</code></strong>
@@ -95,7 +95,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543593"></a><h2>FILES</h2>
<a name="id2543596"></a><h2>FILES</h2>
<p>
The keyfile can be designed by the key identification
<code class="filename">Knnnn.+aaa+iiiii</code> or the full file name
@@ -109,13 +109,13 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543628"></a><h2>CAVEAT</h2>
<a name="id2543632"></a><h2>CAVEAT</h2>
<p>
A keyfile error can give a "file not found" even if the file exists.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543638"></a><h2>SEE ALSO</h2>
<a name="id2543641"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">dnssec-keygen</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">dnssec-signzone</span>(8)</span>,
<em class="citetitle">BIND 9 Administrator Reference Manual</em>,
@@ -124,7 +124,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543674"></a><h2>AUTHOR</h2>
<a name="id2543677"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2008, 2010 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2008, 2010, 2012 Internet Systems Consortium, Inc. ("ISC")
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
@@ -12,7 +12,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: dnssec-keyfromlabel.8,v 1.6.14.3 2010/01/16 01:55:32 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
@@ -149,5 +149,5 @@ RFC 4034.
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2008, 2010 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2008, 2010, 2012 Internet Systems Consortium, Inc. ("ISC")
.br

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2007, 2008, 2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2007, 2008, 2010-2012 Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssec-keyfromlabel.c,v 1.4.50.2 2010/01/15 23:47:31 tbox Exp $ */
/* $Id$ */
/*! \file */
@@ -51,6 +51,9 @@ static const char *algs = "RSA | RSAMD5 | DH | DSA | RSASHA1 |"
" NSEC3DSA | NSEC3RSASHA1 |"
" RSASHA256 | RSASHA512";
ISC_PLATFORM_NORETURN_PRE static void
usage(void) ISC_PLATFORM_NORETURN_POST;
static void
usage(void) {
fprintf(stderr, "Usage:\n");
@@ -90,7 +93,6 @@ main(int argc, char **argv) {
dns_name_t *name;
isc_uint16_t flags = 0, ksk = 0;
dns_secalg_t alg;
isc_boolean_t null_key = ISC_FALSE;
isc_mem_t *mctx = NULL;
int ch;
int protocol = -1, signatory = 0;
@@ -265,9 +267,6 @@ main(int argc, char **argv) {
fatal("invalid key name %s: %s", argv[isc_commandline_index],
isc_result_totext(ret));
if ((flags & DNS_KEYFLAG_TYPEMASK) == DNS_KEYTYPE_NOKEY)
null_key = ISC_TRUE;
isc_buffer_init(&buf, filename, sizeof(filename) - 1);
/* associate the key */
@@ -297,6 +296,9 @@ main(int argc, char **argv) {
if (ret == ISC_R_SUCCESS) {
isc_buffer_clear(&buf);
ret = dst_key_buildfilename(key, 0, NULL, &buf);
if (ret != ISC_R_SUCCESS)
fatal("dst_key_buildfilename returned: %s\n",
isc_result_totext(ret));
fprintf(stderr, "%s: %s already exists\n",
program, filename);
dst_key_free(&key);
@@ -313,6 +315,9 @@ main(int argc, char **argv) {
isc_buffer_clear(&buf);
ret = dst_key_buildfilename(key, 0, NULL, &buf);
if (ret != ISC_R_SUCCESS)
fatal("dst_key_buildfilename returned: %s\n",
isc_result_totext(ret));
printf("%s\n", filename);
dst_key_free(&key);

View File

@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2008, 2010 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2008, 2010, 2012 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
@@ -17,7 +17,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-keyfromlabel.docbook,v 1.6.14.2 2010/01/15 23:47:31 tbox Exp $ -->
<!-- $Id$ -->
<refentry id="man.dnssec-keyfromlabel">
<refentryinfo>
<date>February 8, 2008</date>
@@ -38,6 +38,7 @@
<copyright>
<year>2008</year>
<year>2010</year>
<year>2012</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
</docinfo>

View File

@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2008, 2010 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2008, 2010, 2012 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
@@ -13,7 +13,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-keyfromlabel.html,v 1.5.44.3 2010/01/16 01:55:32 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -31,7 +31,7 @@
<div class="cmdsynopsis"><p><code class="command">dnssec-keyfromlabel</code> {-a <em class="replaceable"><code>algorithm</code></em>} {-l <em class="replaceable"><code>label</code></em>} [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-f <em class="replaceable"><code>flag</code></em></code>] [<code class="option">-k</code>] [<code class="option">-n <em class="replaceable"><code>nametype</code></em></code>] [<code class="option">-p <em class="replaceable"><code>protocol</code></em></code>] [<code class="option">-t <em class="replaceable"><code>type</code></em></code>] [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] {name}</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543416"></a><h2>DESCRIPTION</h2>
<a name="id2543419"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">dnssec-keyfromlabel</strong></span>
gets keys with the given label from a crypto hardware and builds
key files for DNSSEC (Secure DNS), as defined in RFC 2535
@@ -39,7 +39,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543428"></a><h2>OPTIONS</h2>
<a name="id2543431"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-a <em class="replaceable"><code>algorithm</code></em></span></dt>
<dd>
@@ -120,7 +120,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543632"></a><h2>GENERATED KEY FILES</h2>
<a name="id2543635"></a><h2>GENERATED KEY FILES</h2>
<p>
When <span><strong class="command">dnssec-keyfromlabel</strong></span> completes
successfully,
@@ -161,7 +161,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543704"></a><h2>SEE ALSO</h2>
<a name="id2543707"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">dnssec-keygen</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">dnssec-signzone</span>(8)</span>,
<em class="citetitle">BIND 9 Administrator Reference Manual</em>,
@@ -169,7 +169,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543737"></a><h2>AUTHOR</h2>
<a name="id2543740"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2004, 2005, 2007-2010 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004, 2005, 2007-2010, 2012 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2003 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: dnssec-keygen.8,v 1.40.44.4 2010/01/16 01:55:32 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
@@ -198,7 +198,7 @@ RFC 4034.
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2004, 2005, 2007\-2010 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004, 2005, 2007\-2010, 2012 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000\-2003 Internet Software Consortium.
.br

View File

@@ -1,5 +1,5 @@
/*
* Portions Copyright (C) 2004-2008, 2010 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 2004-2008, 2010-2012 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -29,7 +29,7 @@
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssec-keygen.c,v 1.81.48.2 2010/01/15 23:47:31 tbox Exp $ */
/* $Id$ */
/*! \file */
@@ -72,6 +72,9 @@ dsa_size_ok(int size) {
return (ISC_TF(size >= 512 && size <= 1024 && size % 64 == 0));
}
ISC_PLATFORM_NORETURN_PRE static void
usage(void) ISC_PLATFORM_NORETURN_POST;
static void
usage(void) {
fprintf(stderr, "Usage:\n");
@@ -124,7 +127,8 @@ usage(void) {
int
main(int argc, char **argv) {
char *algname = NULL, *nametype = NULL, *type = NULL;
char *algname = NULL, *freeit = NULL;
char *nametype = NULL, *type = NULL;
char *classname = NULL;
char *endp;
dst_key_t *key = NULL, *oldkey;
@@ -513,10 +517,11 @@ main(int argc, char **argv) {
if (verbose > 0) {
isc_buffer_clear(&buf);
ret = dst_key_buildfilename(key, 0, NULL, &buf);
fprintf(stderr,
"%s: %s already exists, "
"generating a new key\n",
program, filename);
if (ret == ISC_R_SUCCESS)
fprintf(stderr,
"%s: %s already exists, "
"generating a new key\n",
program, filename);
}
dst_key_free(&key);
}
@@ -537,6 +542,9 @@ main(int argc, char **argv) {
isc_buffer_clear(&buf);
ret = dst_key_buildfilename(key, 0, NULL, &buf);
if (ret != ISC_R_SUCCESS)
fatal("dst_key_buildfilename returned: %s\n",
isc_result_totext(ret));
printf("%s\n", filename);
dst_key_free(&key);
@@ -548,5 +556,8 @@ main(int argc, char **argv) {
isc_mem_stats(mctx, stdout);
isc_mem_destroy(&mctx);
if (freeit != NULL)
free(freeit);
return (0);
}

View File

@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004, 2005, 2007-2010 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007-2010, 2012 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-keygen.docbook,v 1.22.44.4 2010/01/15 23:47:33 tbox Exp $ -->
<!-- $Id$ -->
<refentry id="man.dnssec-keygen">
<refentryinfo>
<date>June 30, 2000</date>
@@ -43,6 +43,7 @@
<year>2008</year>
<year>2009</year>
<year>2010</year>
<year>2012</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>

View File

@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004, 2005, 2007-2010 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007-2010, 2012 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-keygen.html,v 1.32.44.4 2010/01/16 01:55:32 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -32,7 +32,7 @@
<div class="cmdsynopsis"><p><code class="command">dnssec-keygen</code> {-a <em class="replaceable"><code>algorithm</code></em>} {-b <em class="replaceable"><code>keysize</code></em>} {-n <em class="replaceable"><code>nametype</code></em>} [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-e</code>] [<code class="option">-f <em class="replaceable"><code>flag</code></em></code>] [<code class="option">-g <em class="replaceable"><code>generator</code></em></code>] [<code class="option">-h</code>] [<code class="option">-k</code>] [<code class="option">-p <em class="replaceable"><code>protocol</code></em></code>] [<code class="option">-r <em class="replaceable"><code>randomdev</code></em></code>] [<code class="option">-s <em class="replaceable"><code>strength</code></em></code>] [<code class="option">-t <em class="replaceable"><code>type</code></em></code>] [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] {name}</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543483"></a><h2>DESCRIPTION</h2>
<a name="id2543486"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">dnssec-keygen</strong></span>
generates keys for DNSSEC (Secure DNS), as defined in RFC 2535
and RFC 4034. It can also generate keys for use with
@@ -45,7 +45,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543501"></a><h2>OPTIONS</h2>
<a name="id2543505"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-a <em class="replaceable"><code>algorithm</code></em></span></dt>
<dd>
@@ -155,7 +155,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543836"></a><h2>GENERATED KEYS</h2>
<a name="id2543840"></a><h2>GENERATED KEYS</h2>
<p>
When <span><strong class="command">dnssec-keygen</strong></span> completes
successfully,
@@ -201,7 +201,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543918"></a><h2>EXAMPLE</h2>
<a name="id2543922"></a><h2>EXAMPLE</h2>
<p>
To generate a 768-bit DSA key for the domain
<strong class="userinput"><code>example.com</code></strong>, the following command would be
@@ -222,7 +222,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544030"></a><h2>SEE ALSO</h2>
<a name="id2544034"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">dnssec-signzone</span>(8)</span>,
<em class="citetitle">BIND 9 Administrator Reference Manual</em>,
<em class="citetitle">RFC 2539</em>,
@@ -231,7 +231,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544061"></a><h2>AUTHOR</h2>
<a name="id2544065"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004-2009, 2012 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2003 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: dnssec-signzone.8,v 1.47.44.8 2009/11/07 01:56:11 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
@@ -304,7 +304,7 @@ RFC 4033.
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2004\-2009 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004\-2009, 2012 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000\-2003 Internet Software Consortium.
.br

View File

@@ -1,5 +1,5 @@
/*
* Portions Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 2004-2012 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -29,7 +29,7 @@
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssec-signzone.c,v 1.209.12.20 2010/06/03 23:47:48 tbox Exp $ */
/* $Id$ */
/*! \file */
@@ -495,8 +495,8 @@ signset(dns_diff_t *del, dns_diff_t *add, dns_dbnode_t *node, dns_name_t *name,
if (!expired)
keep = ISC_TRUE;
} else if (issigningkey(key)) {
if (!expired && setverifies(name, set, key, &sigrdata))
{
if (!expired && rrsig.originalttl == set->ttl &&
setverifies(name, set, key, &sigrdata)) {
vbprintf(2, "\trrsig by %s retained\n", sigstr);
keep = ISC_TRUE;
wassignedby[key->position] = ISC_TRUE;
@@ -504,15 +504,15 @@ signset(dns_diff_t *del, dns_diff_t *add, dns_dbnode_t *node, dns_name_t *name,
key->wasused = ISC_TRUE;
} else {
vbprintf(2, "\trrsig by %s dropped - %s\n",
sigstr,
expired ? "expired" :
"failed to verify");
sigstr, expired ? "expired" :
rrsig.originalttl != set->ttl ?
"ttl change" : "failed to verify");
wassignedby[key->position] = ISC_TRUE;
resign = ISC_TRUE;
}
} else if (iszonekey(key)) {
if (!expired && setverifies(name, set, key, &sigrdata))
{
if (!expired && rrsig.originalttl == set->ttl &&
setverifies(name, set, key, &sigrdata)) {
vbprintf(2, "\trrsig by %s retained\n", sigstr);
keep = ISC_TRUE;
wassignedby[key->position] = ISC_TRUE;
@@ -520,9 +520,9 @@ signset(dns_diff_t *del, dns_diff_t *add, dns_dbnode_t *node, dns_name_t *name,
key->wasused = ISC_TRUE;
} else {
vbprintf(2, "\trrsig by %s dropped - %s\n",
sigstr,
expired ? "expired" :
"failed to verify");
sigstr, expired ? "expired" :
rrsig.originalttl != set->ttl ?
"ttl change" : "failed to verify");
wassignedby[key->position] = ISC_TRUE;
}
} else if (!expired) {
@@ -533,7 +533,8 @@ signset(dns_diff_t *del, dns_diff_t *add, dns_dbnode_t *node, dns_name_t *name,
}
if (keep) {
nowsignedby[key->position] = ISC_TRUE;
if (key != NULL)
nowsignedby[key->position] = ISC_TRUE;
INCSTAT(nretained);
if (sigset.ttl != ttl) {
vbprintf(2, "\tfixing ttl %s\n", sigstr);
@@ -640,6 +641,8 @@ hashlist_add(hashlist_t *l, const unsigned char *hash, size_t len)
if (l->entries == l->size) {
l->size = l->size * 2 + 100;
l->hashbuf = realloc(l->hashbuf, l->size * l->length);
if (l->hashbuf == NULL)
fatal("unable to grow hashlist: out of memory");
}
memset(l->hashbuf + l->entries * l->length, 0, l->length);
memcpy(l->hashbuf + l->entries * l->length, hash, len);
@@ -1358,6 +1361,13 @@ verifyset(dns_rdataset_t *rdataset, dns_name_t *name, dns_dbnode_t *node,
dns_rdataset_current(&sigrdataset, &rdata);
dns_rdata_tostruct(&rdata, &sig, NULL);
if (rdataset->ttl != sig.originalttl) {
dns_name_format(name, namebuf, sizeof(namebuf));
type_format(rdataset->type, typebuf, sizeof(typebuf));
fprintf(stderr, "TTL mismatch for %s %s keytag %u\n",
namebuf, typebuf, sig.keyid);
continue;
}
if ((set_algorithms[sig.algorithm] != 0) ||
(ksk_algorithms[sig.algorithm] == 0))
continue;
@@ -1438,7 +1448,6 @@ verifyzone(void) {
isc_boolean_t done = ISC_FALSE;
isc_boolean_t first = ISC_TRUE;
isc_boolean_t goodksk = ISC_FALSE;
isc_boolean_t goodzsk = ISC_FALSE;
isc_result_t result;
unsigned char revoked[256];
unsigned char standby[256];
@@ -1532,7 +1541,6 @@ verifyzone(void) {
#endif
if (zsk_algorithms[dnskey.algorithm] != 255)
zsk_algorithms[dnskey.algorithm]++;
goodzsk = ISC_TRUE;
} else {
if (zsk_algorithms[dnskey.algorithm] != 255)
zsk_algorithms[dnskey.algorithm]++;
@@ -1974,6 +1982,39 @@ remove_records(dns_dbnode_t *node, dns_rdatatype_t which) {
dns_rdatasetiter_destroy(&rdsiter);
}
/*
* Remove signatures covering the given type (0 == all signatures).
*/
static void
remove_sigs(dns_dbnode_t *node, dns_rdatatype_t which) {
isc_result_t result;
dns_rdatatype_t type, covers;
dns_rdatasetiter_t *rdsiter = NULL;
dns_rdataset_t rdataset;
dns_rdataset_init(&rdataset);
result = dns_db_allrdatasets(gdb, node, gversion, 0, &rdsiter);
check_result(result, "dns_db_allrdatasets()");
for (result = dns_rdatasetiter_first(rdsiter);
result == ISC_R_SUCCESS;
result = dns_rdatasetiter_next(rdsiter)) {
dns_rdatasetiter_current(rdsiter, &rdataset);
type = rdataset.type;
covers = rdataset.covers;
dns_rdataset_disassociate(&rdataset);
if (type == dns_rdatatype_rrsig &&
(covers == which || which == 0))
{
result = dns_db_deleterdataset(gdb, node, gversion,
type, covers);
check_result(result, "dns_db_deleterdataset()");
continue;
}
}
dns_rdatasetiter_destroy(&rdsiter);
}
/*%
* Generate NSEC records for the zone and remove NSEC3/NSEC3PARAM records.
*/
@@ -2055,9 +2096,11 @@ nsecify(void) {
if (delegation(name, node, &nsttl)) {
zonecut = dns_fixedname_name(&fzonecut);
dns_name_copy(name, zonecut, NULL);
remove_sigs(node, 0);
if (generateds)
add_ds(name, node, nsttl);
}
result = dns_dbiterator_next(dbiter);
nextnode = NULL;
while (result == ISC_R_SUCCESS) {
@@ -2075,6 +2118,8 @@ nsecify(void) {
(zonecut != NULL &&
dns_name_issubdomain(nextname, zonecut)))
{
remove_sigs(nextnode, 0);
remove_records(nextnode, dns_rdatatype_nsec);
dns_db_detachnode(gdb, &nextnode);
result = dns_dbiterator_next(dbiter);
continue;
@@ -2126,6 +2171,7 @@ addnsec3param(const unsigned char *salt, size_t salt_length,
result = dns_rdata_fromstruct(&rdata, gclass,
dns_rdatatype_nsec3param,
&nsec3param, &b);
check_result(result, "dns_rdata_fromstruct()");
rdatalist.rdclass = rdata.rdclass;
rdatalist.type = rdata.type;
rdatalist.covers = 0;
@@ -2390,6 +2436,7 @@ nsec3ify(unsigned int hashalg, unsigned int iterations,
if (!dns_name_issubdomain(nextname, gorigin) ||
(zonecut != NULL &&
dns_name_issubdomain(nextname, zonecut))) {
remove_sigs(nextnode, 0);
dns_db_detachnode(gdb, &nextnode);
result = dns_dbiterator_next(dbiter);
continue;
@@ -2397,6 +2444,7 @@ nsec3ify(unsigned int hashalg, unsigned int iterations,
if (delegation(nextname, nextnode, &nsttl)) {
zonecut = dns_fixedname_name(&fzonecut);
dns_name_copy(nextname, zonecut, NULL);
remove_sigs(nextnode, 0);
if (generateds)
add_ds(nextname, nextnode, nsttl);
if (OPTOUT(nsec3flags) &&
@@ -2733,8 +2781,8 @@ warnifallksk(dns_db_t *db) {
"Supply non-KSK dnskey or use '-z'.\n",
program);
else
fatal("No non-KSK dnskey found. "
"Supply non-KSK dnskey or use '-z'.");
fatal("No non-KSK DNSKEY found; "
"supply a ZSK or use '-z'.");
}
}
@@ -2893,6 +2941,9 @@ print_version(FILE *fp) {
fprintf(fp, "; dnssec_signzone version " VERSION "\n");
}
ISC_PLATFORM_NORETURN_PRE static void
usage(void) ISC_PLATFORM_NORETURN_POST;
static void
usage(void) {
fprintf(stderr, "Usage:\n");
@@ -2966,28 +3017,36 @@ removetempfile(void) {
}
static void
print_stats(isc_time_t *timer_start, isc_time_t *timer_finish) {
isc_uint64_t runtime_us; /* Runtime in microseconds */
isc_uint64_t runtime_ms; /* Runtime in milliseconds */
print_stats(isc_time_t *timer_start, isc_time_t *timer_finish,
isc_time_t *sign_start, isc_time_t *sign_finish)
{
isc_uint64_t time_us; /* Time in microseconds */
isc_uint64_t time_ms; /* Time in milliseconds */
isc_uint64_t sig_ms; /* Signatures per millisecond */
runtime_us = isc_time_microdiff(timer_finish, timer_start);
printf("Signatures generated: %10d\n", nsigned);
printf("Signatures retained: %10d\n", nretained);
printf("Signatures dropped: %10d\n", ndropped);
printf("Signatures successfully verified: %10d\n", nverified);
printf("Signatures unsuccessfully verified: %10d\n", nverifyfailed);
runtime_ms = runtime_us / 1000;
printf("Runtime in seconds: %7u.%03u\n",
(unsigned int) (runtime_ms / 1000),
(unsigned int) (runtime_ms % 1000));
if (runtime_us > 0) {
sig_ms = ((isc_uint64_t)nsigned * 1000000000) / runtime_us;
time_us = isc_time_microdiff(sign_finish, sign_start);
time_ms = time_us / 1000;
printf("Signing time in seconds: %7u.%03u\n",
(unsigned int) (time_ms / 1000),
(unsigned int) (time_ms % 1000));
if (time_us > 0) {
sig_ms = ((isc_uint64_t)nsigned * 1000000000) / time_us;
printf("Signatures per second: %7u.%03u\n",
(unsigned int) sig_ms / 1000,
(unsigned int) sig_ms % 1000);
}
time_us = isc_time_microdiff(timer_finish, timer_start);
time_ms = time_us / 1000;
printf("Runtime in seconds: %7u.%03u\n",
(unsigned int) (time_ms / 1000),
(unsigned int) (time_ms % 1000));
}
int
@@ -3001,6 +3060,7 @@ main(int argc, char *argv[]) {
int ndskeys = 0;
char *endp;
isc_time_t timer_start, timer_finish;
isc_time_t sign_start, sign_finish;
signer_key_t *key;
isc_result_t result;
isc_log_t *log = NULL;
@@ -3450,6 +3510,8 @@ main(int argc, char *argv[]) {
nokeys = ISC_TRUE;
}
warnifallksk(gdb);
if (IS_NSEC3) {
unsigned int max;
result = dns_nsec3_maxiterations(gdb, NULL, mctx, &max);
@@ -3459,8 +3521,6 @@ main(int argc, char *argv[]) {
"strength. Maximum iterations allowed %u.", max);
}
warnifallksk(gdb);
gversion = NULL;
result = dns_db_newversion(gdb, &gversion);
check_result(result, "dns_db_newversion()");
@@ -3501,7 +3561,10 @@ main(int argc, char *argv[]) {
check_result(result, "isc_file_mktemplate");
fp = NULL;
result = isc_file_openunique(tempfile, &fp);
if (outputformat == dns_masterformat_text)
result = isc_file_openunique(tempfile, &fp);
else
result = isc_file_bopenunique(tempfile, &fp);
if (result != ISC_R_SUCCESS)
fatal("failed to open temporary output file: %s",
isc_result_totext(result));
@@ -3537,6 +3600,7 @@ main(int argc, char *argv[]) {
RUNTIME_CHECK(isc_mutex_init(&statslock) == ISC_R_SUCCESS);
presign();
TIME_NOW(&sign_start);
signapex();
if (!finished) {
/*
@@ -3561,6 +3625,7 @@ main(int argc, char *argv[]) {
isc_taskmgr_destroy(&taskmgr);
isc_mem_put(mctx, tasks, ntasks * sizeof(isc_task_t *));
postsign();
TIME_NOW(&sign_finish);
verifyzone();
if (outputformat != dns_masterformat_text) {
@@ -3615,7 +3680,8 @@ main(int argc, char *argv[]) {
if (printstats) {
TIME_NOW(&timer_finish);
print_stats(&timer_start, &timer_finish);
print_stats(&timer_start, &timer_finish,
&sign_start, &sign_finish);
}
return (0);

View File

@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2009, 2012 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-signzone.docbook,v 1.31.44.8 2009/11/06 21:36:22 each Exp $ -->
<!-- $Id$ -->
<refentry id="man.dnssec-signzone">
<refentryinfo>
<date>June 08, 2009</date>
@@ -43,6 +43,7 @@
<year>2007</year>
<year>2008</year>
<year>2009</year>
<year>2012</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>

View File

@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2009, 2012 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-signzone.html,v 1.33.44.8 2009/11/07 01:56:11 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -32,7 +32,7 @@
<div class="cmdsynopsis"><p><code class="command">dnssec-signzone</code> [<code class="option">-a</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-d <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-e <em class="replaceable"><code>end-time</code></em></code>] [<code class="option">-f <em class="replaceable"><code>output-file</code></em></code>] [<code class="option">-g</code>] [<code class="option">-h</code>] [<code class="option">-k <em class="replaceable"><code>key</code></em></code>] [<code class="option">-l <em class="replaceable"><code>domain</code></em></code>] [<code class="option">-i <em class="replaceable"><code>interval</code></em></code>] [<code class="option">-I <em class="replaceable"><code>input-format</code></em></code>] [<code class="option">-j <em class="replaceable"><code>jitter</code></em></code>] [<code class="option">-N <em class="replaceable"><code>soa-serial-format</code></em></code>] [<code class="option">-o <em class="replaceable"><code>origin</code></em></code>] [<code class="option">-O <em class="replaceable"><code>output-format</code></em></code>] [<code class="option">-p</code>] [<code class="option">-P</code>] [<code class="option">-r <em class="replaceable"><code>randomdev</code></em></code>] [<code class="option">-s <em class="replaceable"><code>start-time</code></em></code>] [<code class="option">-t</code>] [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] [<code class="option">-z</code>] [<code class="option">-3 <em class="replaceable"><code>salt</code></em></code>] [<code class="option">-H <em class="replaceable"><code>iterations</code></em></code>] [<code class="option">-A</code>] {zonefile} [key...]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543558"></a><h2>DESCRIPTION</h2>
<a name="id2543561"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">dnssec-signzone</strong></span>
signs a zone. It generates
NSEC and RRSIG records and produces a signed version of the
@@ -43,7 +43,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543576"></a><h2>OPTIONS</h2>
<a name="id2543579"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-a</span></dt>
<dd><p>
@@ -273,7 +273,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2544503"></a><h2>EXAMPLE</h2>
<a name="id2544506"></a><h2>EXAMPLE</h2>
<p>
The following command signs the <strong class="userinput"><code>example.com</code></strong>
zone with the DSA key generated by <span><strong class="command">dnssec-keygen</strong></span>
@@ -302,7 +302,7 @@ db.example.com.signed
%</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2544554"></a><h2>KNOWN BUGS</h2>
<a name="id2544557"></a><h2>KNOWN BUGS</h2>
<p>
<span><strong class="command">dnssec-signzone</strong></span> was designed so that it could
sign a zone partially, using only a subset of the DNSSEC keys
@@ -327,14 +327,14 @@ db.example.com.signed
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544716"></a><h2>SEE ALSO</h2>
<a name="id2544720"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">dnssec-keygen</span>(8)</span>,
<em class="citetitle">BIND 9 Administrator Reference Manual</em>,
<em class="citetitle">RFC 4033</em>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544741"></a><h2>AUTHOR</h2>
<a name="id2544744"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2009, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001, 2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssectool.c,v 1.45.334.5 2009/06/22 05:05:00 marka Exp $ */
/* $Id$ */
/*! \file */

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2007-2009, 2011, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001, 2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssectool.h,v 1.22.48.2 2009/09/04 23:46:58 tbox Exp $ */
/* $Id$ */
#ifndef DNSSECTOOL_H
#define DNSSECTOOL_H 1
@@ -27,8 +27,9 @@
typedef void (fatalcallback_t)(void);
void
fatal(const char *format, ...) ISC_FORMAT_PRINTF(1, 2);
ISC_PLATFORM_NORETURN_PRE void
fatal(const char *format, ...)
ISC_FORMAT_PRINTF(1, 2) ISC_PLATFORM_NORETURN_POST;
void
setfatalcallback(fatalcallback_t *callback);

View File

@@ -1,6 +1,4 @@
Makefile
.libs
*.la
*.lo
named
named-symtbl.c
lwresd

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004-2008, 2012, 2013 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-2002 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.101 2008/09/23 17:25:47 jinmei Exp $
# $Id$
srcdir = @srcdir@
VPATH = @srcdir@
@@ -21,6 +21,10 @@ top_srcdir = @top_srcdir@
@BIND9_VERSION@
@BIND9_PRODUCT@
@BIND9_SRCID@
@BIND9_CONFIGARGS@
@BIND9_MAKE_INCLUDES@
@@ -107,6 +111,8 @@ MANOBJS = ${MANPAGES} ${HTMLPAGES}
main.@O@: main.c
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
-DVERSION=\"${VERSION}\" \
-DPRODUCT=\"${PRODUCT}\" \
-DSRCID=\"${SRCID}\" \
-DCONFIGARGS="\"${CONFIGARGS}\"" \
-DNS_LOCALSTATEDIR=\"${localstatedir}\" \
-DNS_SYSCONFDIR=\"${sysconfdir}\" -c ${srcdir}/main.c
@@ -114,6 +120,7 @@ main.@O@: main.c
config.@O@: config.c
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
-DVERSION=\"${VERSION}\" \
-DSRCID=\"${SRCID}\" \
-DNS_LOCALSTATEDIR=\"${localstatedir}\" \
-c ${srcdir}/config.c

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (C) 2006-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2006-2009, 2012 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
@@ -15,7 +15,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: bind9.xsl,v 1.19.82.2 2009/01/29 23:47:43 tbox Exp $ -->
<!-- $Id$ -->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

View File

@@ -1,11 +1,11 @@
/*
* Generated by convertxsl.pl 1.14 2008/07/17 23:43:26 jinmei Exp
* From bind9.xsl 1.19.82.2 2009/01/29 23:47:43 tbox Exp
* From unknown
*/
static char xslmsg[] =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<!--\n"
" - Copyright (C) 2006-2009 Internet Systems Consortium, Inc. (\"ISC\")\n"
" - Copyright (C) 2006-2009, 2012 Internet Systems Consortium, Inc. (\"ISC\")\n"
" -\n"
" - Permission to use, copy, modify, and/or distribute this software for any\n"
" - purpose with or without fee is hereby granted, provided that the above\n"
@@ -20,7 +20,7 @@ static char xslmsg[] =
" - PERFORMANCE OF THIS SOFTWARE.\n"
"-->\n"
"\n"
"<!-- \045Id: bind9.xsl,v 1.19.82.2 2009/01/29 23:47:43 tbox Exp \045 -->\n"
"<!-- $Id$ -->\n"
"\n"
"<xsl:stylesheet version=\"1.0\"\n"
" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"\n"

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2005, 2007, 2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2010, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: builtin.c,v 1.12.334.3 2010/08/03 23:45:47 tbox Exp $ */
/* $Id$ */
/*! \file
* \brief
@@ -127,13 +127,16 @@ do_authors_lookup(dns_sdblookup_t *lookup) {
const char **p;
static const char *authors[] = {
"Mark Andrews",
"Curtis Blackburn",
"James Brister",
"Ben Cottrell",
"Michael Graff",
"Andreas Gustafsson",
"Bob Halley",
"Evan Hunt",
"JINMEI Tatuya",
"David Lawrence",
"Scott Mann",
"Danny Mayer",
"Damien Neil",
"Matt Nelson",

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: client.c,v 1.259.12.5 2010/09/24 08:30:27 tbox Exp $ */
/* $Id$ */
#include <config.h>
@@ -633,6 +633,7 @@ ns_client_endrequest(ns_client_t *client) {
dns_message_puttemprdataset(client->message, &client->opt);
}
client->signer = NULL;
client->udpsize = 512;
client->extflags = 0;
client->ednsversion = -1;
@@ -1301,6 +1302,12 @@ ns_client_isself(dns_view_t *myview, dns_tsigkey_t *mykey,
UNUSED(arg);
/*
* ns_g_server->interfacemgr is task exclusive locked.
*/
if (ns_g_server->interfacemgr == NULL)
return (ISC_TRUE);
if (!ns_interfacemgr_listeningon(ns_g_server->interfacemgr, dstaddr))
return (ISC_FALSE);
@@ -1370,10 +1377,9 @@ client_request(isc_task_t *task, isc_event_t *event) {
INSIST(client->recursionquota == NULL);
INSIST(client->state ==
TCP_CLIENT(client) ?
NS_CLIENTSTATE_READING :
NS_CLIENTSTATE_READY);
INSIST(client->state == (TCP_CLIENT(client) ?
NS_CLIENTSTATE_READING :
NS_CLIENTSTATE_READY));
ns_client_requests++;
@@ -2087,6 +2093,7 @@ client_create(ns_clientmgr_t *manager, ns_client_t **clientp) {
client->next = NULL;
client->shutdown = NULL;
client->shutdown_arg = NULL;
client->signer = NULL;
dns_name_init(&client->signername, NULL);
client->mortal = ISC_FALSE;
client->tcpquota = NULL;
@@ -2382,6 +2389,9 @@ ns_client_replace(ns_client_t *client) {
CTRACE("replace");
REQUIRE(client != NULL);
REQUIRE(client->manager != NULL);
result = ns_clientmgr_createclients(client->manager,
1, client->interface,
(TCP_CLIENT(client) ?

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2009, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: config.c,v 1.93.14.2 2009/03/17 23:47:28 tbox Exp $ */
/* $Id$ */
/*! \file */
@@ -601,17 +601,16 @@ ns_config_getipandkeylist(const cfg_obj_t *config, const cfg_obj_t *list,
if (isc_sockaddr_getport(&addrs[i]) == 0)
isc_sockaddr_setport(&addrs[i], port);
keys[i] = NULL;
if (!cfg_obj_isstring(key)) {
i++;
i++; /* Increment here so that cleanup on error works. */
if (!cfg_obj_isstring(key))
continue;
}
keys[i] = isc_mem_get(mctx, sizeof(dns_name_t));
if (keys[i] == NULL)
keys[i - 1] = isc_mem_get(mctx, sizeof(dns_name_t));
if (keys[i - 1] == NULL)
goto cleanup;
dns_name_init(keys[i], NULL);
dns_name_init(keys[i - 1], NULL);
keystr = cfg_obj_asstring(key);
isc_buffer_init(&b, keystr, strlen(keystr));
isc_buffer_constinit(&b, keystr, strlen(keystr));
isc_buffer_add(&b, strlen(keystr));
dns_fixedname_init(&fname);
result = dns_name_fromtext(dns_fixedname_name(&fname), &b,
@@ -619,10 +618,9 @@ ns_config_getipandkeylist(const cfg_obj_t *config, const cfg_obj_t *list,
if (result != ISC_R_SUCCESS)
goto cleanup;
result = dns_name_dup(dns_fixedname_name(&fname), mctx,
keys[i]);
keys[i - 1]);
if (result != ISC_R_SUCCESS)
goto cleanup;
i++;
}
if (pushed != 0) {
pushed--;
@@ -678,7 +676,7 @@ ns_config_getipandkeylist(const cfg_obj_t *config, const cfg_obj_t *list,
if (addrs != NULL)
isc_mem_put(mctx, addrs, addrcount * sizeof(isc_sockaddr_t));
if (keys != NULL) {
for (j = 0; j <= i; j++) {
for (j = 0; j < i; j++) {
if (keys[j] == NULL)
continue;
if (dns_name_dynamic(keys[j]))

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2007, 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2009, 2010, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: control.c,v 1.33.266.4 2010/12/03 23:45:46 tbox Exp $ */
/* $Id$ */
/*! \file */
@@ -61,7 +61,7 @@ command_compare(const char *text, const char *command) {
isc_result_t
ns_control_docommand(isccc_sexpr_t *message, isc_buffer_t *text) {
isccc_sexpr_t *data;
char *command;
char *command = NULL;
isc_result_t result;
int log_level;
#ifdef HAVE_LIBSCF

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2008, 2011, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: controlconf.c,v 1.60 2008/07/23 23:27:54 marka Exp $ */
/* $Id$ */
/*! \file */
@@ -373,14 +373,7 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
if (result == ISC_R_SUCCESS)
break;
isc_mem_put(listener->mctx, secret.rstart, REGION_SIZE(secret));
if (result == ISCCC_R_BADAUTH) {
/*
* For some reason, request is non-NULL when
* isccc_cc_fromwire returns ISCCC_R_BADAUTH.
*/
if (request != NULL)
isccc_sexpr_free(&request);
} else {
if (result != ISCCC_R_BADAUTH) {
log_invalid(&conn->ccmsg, result);
goto cleanup;
}
@@ -859,7 +852,7 @@ get_rndckey(isc_mem_t *mctx, controlkeylist_t *keyids) {
cfg_obj_log(key, ns_g_lctx, ISC_LOG_WARNING,
"secret for key '%s' on command channel: %s",
keyid->keyname, isc_result_totext(result));
CHECK(result);
goto cleanup;
}
keyid->secret.length = isc_buffer_usedlength(&b);
@@ -1148,6 +1141,11 @@ add_listener(ns_controls_t *cp, controllistener_t **listenerp,
if (result == ISC_R_SUCCESS)
isc_socket_setname(listener->sock, "control", NULL);
#ifndef ISC_ALLOW_MAPPED
if (result == ISC_R_SUCCESS)
isc_socket_ipv6only(listener->sock, ISC_TRUE);
#endif
if (result == ISC_R_SUCCESS)
result = isc_socket_bind(listener->sock, &listener->address,
ISC_SOCKET_REUSEADDRESS);

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env perl
#
# Copyright (C) 2006-2008 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2006-2008, 2012 Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above

1
bin/named/include/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
!named

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2009, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: client.h,v 1.86.120.2 2009/01/18 23:47:34 tbox Exp $ */
/* $Id$ */
#ifndef NAMED_CLIENT_H
#define NAMED_CLIENT_H 1
@@ -161,12 +161,13 @@ struct ns_client {
#define NS_CLIENT_MAGIC ISC_MAGIC('N','S','C','c')
#define NS_CLIENT_VALID(c) ISC_MAGIC_VALID(c, NS_CLIENT_MAGIC)
#define NS_CLIENTATTR_TCP 0x01
#define NS_CLIENTATTR_RA 0x02 /*%< Client gets recursive service */
#define NS_CLIENTATTR_PKTINFO 0x04 /*%< pktinfo is valid */
#define NS_CLIENTATTR_MULTICAST 0x08 /*%< recv'd from multicast */
#define NS_CLIENTATTR_WANTDNSSEC 0x10 /*%< include dnssec records */
#define NS_CLIENTATTR_WANTNSID 0x20 /*%< include nameserver ID */
#define NS_CLIENTATTR_TCP 0x001
#define NS_CLIENTATTR_RA 0x002 /*%< Client gets recursive service */
#define NS_CLIENTATTR_PKTINFO 0x004 /*%< pktinfo is valid */
#define NS_CLIENTATTR_MULTICAST 0x008 /*%< recv'd from multicast */
#define NS_CLIENTATTR_WANTDNSSEC 0x010 /*%< include dnssec records */
#define NS_CLIENTATTR_WANTNSID 0x020 /*%< include nameserver ID */
#define NS_CLIENTATTR_WANTAD 0x100 /*%< want AD in response if possible */
extern unsigned int ns_client_requests;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001, 2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: config.h,v 1.14 2007/06/19 23:46:59 tbox Exp $ */
/* $Id$ */
#ifndef NAMED_CONFIG_H
#define NAMED_CONFIG_H 1

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: control.h,v 1.25 2007/06/19 23:46:59 tbox Exp $ */
/* $Id$ */
#ifndef NAMED_CONTROL_H
#define NAMED_CONTROL_H 1

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2008, 2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2008, 2010, 2012, 2013 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: globals.h,v 1.80.12.3 2010/09/15 12:16:50 marka Exp $ */
/* $Id$ */
#ifndef NAMED_GLOBALS_H
#define NAMED_GLOBALS_H 1
@@ -63,6 +63,8 @@ EXTERN isc_timermgr_t * ns_g_timermgr INIT(NULL);
EXTERN isc_socketmgr_t * ns_g_socketmgr INIT(NULL);
EXTERN cfg_parser_t * ns_g_parser INIT(NULL);
EXTERN const char * ns_g_version INIT(VERSION);
EXTERN const char * ns_g_product INIT(PRODUCT);
EXTERN const char * ns_g_srcid INIT(SRCID);
EXTERN const char * ns_g_configargs INIT(CONFIGARGS);
EXTERN in_port_t ns_g_port INIT(0);
EXTERN in_port_t lwresd_g_listenport INIT(0);
@@ -111,6 +113,7 @@ EXTERN isc_boolean_t ns_g_coreok INIT(ISC_TRUE);
EXTERN const char * ns_g_chrootdir INIT(NULL);
EXTERN isc_boolean_t ns_g_foreground INIT(ISC_FALSE);
EXTERN isc_boolean_t ns_g_logstderr INIT(ISC_FALSE);
EXTERN isc_boolean_t ns_g_nosyslog INIT(ISC_FALSE);
#if NS_RUN_PID_DIR
EXTERN const char * ns_g_defaultpidfile INIT(NS_LOCALSTATEDIR
@@ -134,6 +137,7 @@ EXTERN isc_boolean_t ns_g_memstatistics INIT(ISC_FALSE);
EXTERN isc_boolean_t ns_g_clienttest INIT(ISC_FALSE);
EXTERN isc_boolean_t ns_g_nosoa INIT(ISC_FALSE);
EXTERN isc_boolean_t ns_g_noaa INIT(ISC_FALSE);
EXTERN isc_boolean_t ns_g_nonearest INIT(ISC_FALSE);
#undef EXTERN
#undef INIT

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2009, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: log.h,v 1.25.332.2 2009/01/07 23:47:16 tbox Exp $ */
/* $Id$ */
#ifndef NAMED_LOG_H
#define NAMED_LOG_H 1

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2009, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwdclient.h,v 1.18.332.2 2009/01/18 23:47:34 tbox Exp $ */
/* $Id$ */
#ifndef NAMED_LWDCLIENT_H
#define NAMED_LWDCLIENT_H 1

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2011, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,15 +15,16 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: main.h,v 1.15 2007/06/19 23:46:59 tbox Exp $ */
/* $Id$ */
#ifndef NAMED_MAIN_H
#define NAMED_MAIN_H 1
/*! \file */
void
ns_main_earlyfatal(const char *format, ...) ISC_FORMAT_PRINTF(1, 2);
ISC_PLATFORM_NORETURN_PRE void
ns_main_earlyfatal(const char *format, ...)
ISC_FORMAT_PRINTF(1, 2) ISC_PLATFORM_NORETURN_POST;
void
ns_main_earlywarning(const char *format, ...) ISC_FORMAT_PRINTF(1, 2);

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2009, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: notify.h,v 1.14.332.2 2009/01/18 23:47:34 tbox Exp $ */
/* $Id$ */
#ifndef NAMED_NOTIFY_H
#define NAMED_NOTIFY_H 1

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2005, 2007, 2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2010, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: query.h,v 1.40.332.2 2010/09/24 08:30:28 tbox Exp $ */
/* $Id$ */
#ifndef NAMED_QUERY_H
#define NAMED_QUERY_H 1

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2009, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: server.h,v 1.93.120.3 2009/07/11 04:23:53 marka Exp $ */
/* $Id$ */
#ifndef NAMED_SERVER_H
#define NAMED_SERVER_H 1

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: tsigconf.h,v 1.16 2007/06/19 23:46:59 tbox Exp $ */
/* $Id$ */
#ifndef NS_TSIGCONF_H
#define NS_TSIGCONF_H 1

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2008, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: types.h,v 1.29 2008/01/17 23:46:59 tbox Exp $ */
/* $Id$ */
#ifndef NAMED_TYPES_H
#define NAMED_TYPES_H 1

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2009, 2011, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: interfacemgr.c,v 1.93.70.2 2009/01/18 23:47:34 tbox Exp $ */
/* $Id$ */
/*! \file */
@@ -379,7 +379,7 @@ ns_interface_setup(ns_interfacemgr_t *mgr, isc_sockaddr_t *addr,
}
}
*ifpret = ifp;
return (ISC_R_SUCCESS);
return (result);
cleanup_interface:
ISC_LIST_UNLINK(ifp->mgr->interfaces, ifp, link);
@@ -964,7 +964,6 @@ isc_boolean_t
ns_interfacemgr_listeningon(ns_interfacemgr_t *mgr, isc_sockaddr_t *addr) {
isc_sockaddr_t *old;
old = ISC_LIST_HEAD(mgr->listenon);
for (old = ISC_LIST_HEAD(mgr->listenon);
old != NULL;
old = ISC_LIST_NEXT(old, link))

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2009, 2012, 2013 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: log.c,v 1.46.334.3 2009/01/07 01:50:14 jinmei Exp $ */
/* $Id$ */
/*! \file */
@@ -201,7 +201,7 @@ isc_result_t
ns_log_setdefaultcategory(isc_logconfig_t *lcfg) {
isc_result_t result;
if (! ns_g_logstderr) {
if (! ns_g_logstderr && ! ns_g_nosyslog) {
result = isc_log_usechannel(lcfg, "default_syslog",
ISC_LOGCATEGORY_DEFAULT, NULL);
if (result != ISC_R_SUCCESS)

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2011-2013 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,12 +15,13 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: logconf.c,v 1.42 2007/06/19 23:46:59 tbox Exp $ */
/* $Id$ */
/*! \file */
#include <config.h>
#include <isc/file.h>
#include <isc/offset.h>
#include <isc/result.h>
#include <isc/stdio.h>
@@ -130,7 +131,7 @@ channel_fromconf(const cfg_obj_t *channel, isc_logconfig_t *lctx) {
}
type = ISC_LOG_TONULL;
if (fileobj != NULL) {
const cfg_obj_t *pathobj = cfg_tuple_get(fileobj, "file");
const cfg_obj_t *sizeobj = cfg_tuple_get(fileobj, "size");
@@ -140,7 +141,7 @@ channel_fromconf(const cfg_obj_t *channel, isc_logconfig_t *lctx) {
isc_offset_t size = 0;
type = ISC_LOG_TOFILE;
if (versionsobj != NULL && cfg_obj_isuint32(versionsobj))
versions = cfg_obj_asuint32(versionsobj);
if (versionsobj != NULL && cfg_obj_isstring(versionsobj) &&
@@ -219,28 +220,42 @@ channel_fromconf(const cfg_obj_t *channel, isc_logconfig_t *lctx) {
if (result == ISC_R_SUCCESS && type == ISC_LOG_TOFILE) {
FILE *fp;
/*
* Test that the file can be opened, since isc_log_open()
* can't effectively report failures when called in
* isc_log_doit().
*/
result = isc_stdio_open(dest.file.name, "a", &fp);
if (result != ISC_R_SUCCESS)
isc_log_write(ns_g_lctx, CFG_LOGCATEGORY_CONFIG,
NS_LOGMODULE_SERVER, ISC_LOG_ERROR,
"logging channel '%s' file '%s': %s",
channelname, dest.file.name,
isc_result_totext(result));
else
(void)isc_stdio_close(fp);
/*
* Allow named to continue by returning success.
*/
result = ISC_R_SUCCESS;
* Test to make sure that file is a plain file.
* Fix defect #22771
*/
result = isc_file_isplainfile(dest.file.name);
if (result == ISC_R_SUCCESS ||
result == ISC_R_FILENOTFOUND) {
/*
* Test that the file can be opened, since
* isc_log_open() can't effectively report
* failures when called in
* isc_log_doit().
*/
result = isc_stdio_open(dest.file.name, "a", &fp);
if (result != ISC_R_SUCCESS) {
syslog(LOG_ERR,
"isc_stdio_open '%s' failed: %s",
dest.file.name,
isc_result_totext(result));
fprintf(stderr,
"isc_stdio_open '%s' failed: %s",
dest.file.name,
isc_result_totext(result));
} else
(void)isc_stdio_close(fp);
goto done;
}
if (!ns_g_nosyslog)
syslog(LOG_ERR, "isc_file_isplainfile '%s' failed: %s",
dest.file.name, isc_result_totext(result));
fprintf(stderr, "isc_file_isplainfile '%s' failed: %s",
dest.file.name, isc_result_totext(result));
}
done:
return (result);
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwdgabn.c,v 1.22 2007/06/19 23:46:59 tbox Exp $ */
/* $Id$ */
/*! \file */

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001, 2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwdgrbn.c,v 1.20 2007/06/19 23:46:59 tbox Exp $ */
/* $Id$ */
/*! \file */

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004, 2005, 2007-2009, 2012 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000, 2001 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: lwresd.8,v 1.29.14.2 2009/07/11 01:55:21 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
@@ -217,7 +217,7 @@ The default process\-id file.
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2004, 2005, 2007\-2009 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004, 2005, 2007\-2009, 2012 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000, 2001 Internet Software Consortium.
.br

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2008, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwresd.c,v 1.58 2008/07/23 23:27:54 marka Exp $ */
/* $Id$ */
/*! \file
* \brief
@@ -368,7 +368,7 @@ ns_lwdmanager_create(isc_mem_t *mctx, const cfg_obj_t *lwres,
dns_fixedname_init(&fname);
name = dns_fixedname_name(&fname);
isc_buffer_init(&namebuf, searchstr,
isc_buffer_constinit(&namebuf, searchstr,
strlen(searchstr));
isc_buffer_add(&namebuf, strlen(searchstr));
result = dns_name_fromtext(name, &namebuf,

View File

@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007-2009, 2012 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000, 2001 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: lwresd.docbook,v 1.18.14.2 2009/01/22 23:47:05 tbox Exp $ -->
<!-- $Id$ -->
<refentry>
<refentryinfo>
<date>June 30, 2000</date>
@@ -42,6 +42,7 @@
<year>2007</year>
<year>2008</year>
<year>2009</year>
<year>2012</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>

View File

@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007-2009, 2012 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000, 2001 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: lwresd.html,v 1.25.14.2 2009/07/11 01:55:21 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -32,7 +32,7 @@
<div class="cmdsynopsis"><p><code class="command">lwresd</code> [<code class="option">-c <em class="replaceable"><code>config-file</code></em></code>] [<code class="option">-C <em class="replaceable"><code>config-file</code></em></code>] [<code class="option">-d <em class="replaceable"><code>debug-level</code></em></code>] [<code class="option">-f</code>] [<code class="option">-g</code>] [<code class="option">-i <em class="replaceable"><code>pid-file</code></em></code>] [<code class="option">-m <em class="replaceable"><code>flag</code></em></code>] [<code class="option">-n <em class="replaceable"><code>#cpus</code></em></code>] [<code class="option">-P <em class="replaceable"><code>port</code></em></code>] [<code class="option">-p <em class="replaceable"><code>port</code></em></code>] [<code class="option">-s</code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-u <em class="replaceable"><code>user</code></em></code>] [<code class="option">-v</code>] [<code class="option">-4</code>] [<code class="option">-6</code>]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543467"></a><h2>DESCRIPTION</h2>
<a name="id2543470"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">lwresd</strong></span>
is the daemon providing name lookup
services to clients that use the BIND 9 lightweight resolver
@@ -67,7 +67,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543514"></a><h2>OPTIONS</h2>
<a name="id2543517"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-4</span></dt>
<dd><p>
@@ -197,7 +197,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543931"></a><h2>FILES</h2>
<a name="id2543934"></a><h2>FILES</h2>
<div class="variablelist"><dl>
<dt><span class="term"><code class="filename">/etc/resolv.conf</code></span></dt>
<dd><p>
@@ -210,14 +210,14 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543971"></a><h2>SEE ALSO</h2>
<a name="id2543974"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">lwres</span>(3)</span>,
<span class="citerefentry"><span class="refentrytitle">resolver</span>(5)</span>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544005"></a><h2>AUTHOR</h2>
<a name="id2544008"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2013 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: main.c,v 1.166.34.7 2010/09/15 12:16:49 marka Exp $ */
/* $Id$ */
/*! \file */
@@ -129,6 +129,10 @@ ns_main_earlyfatal(const char *format, ...) {
exit(1);
}
ISC_PLATFORM_NORETURN_PRE static void
assertion_failed(const char *file, int line, isc_assertiontype_t type,
const char *cond) ISC_PLATFORM_NORETURN_POST;
static void
assertion_failed(const char *file, int line, isc_assertiontype_t type,
const char *cond)
@@ -162,9 +166,10 @@ assertion_failed(const char *file, int line, isc_assertiontype_t type,
exit(1);
}
static void
ISC_PLATFORM_NORETURN_PRE static void
library_fatal_error(const char *file, int line, const char *format,
va_list args) ISC_FORMAT_PRINTF(3, 0);
va_list args)
ISC_FORMAT_PRINTF(3, 0) ISC_PLATFORM_NORETURN_POST;
static void
library_fatal_error(const char *file, int line, const char *format,
@@ -457,6 +462,10 @@ parse_command_line(int argc, char *argv[]) {
ns_g_nosoa = ISC_TRUE;
else if (!strcmp(isc_commandline_argument, "noaa"))
ns_g_noaa = ISC_TRUE;
else if (!strcmp(isc_commandline_argument, "nosyslog"))
ns_g_nosyslog = ISC_TRUE;
else if (!strcmp(isc_commandline_argument, "nonearest"))
ns_g_nonearest = ISC_TRUE;
else
fprintf(stderr, "unknown -T flag '%s\n",
isc_commandline_argument);
@@ -465,11 +474,11 @@ parse_command_line(int argc, char *argv[]) {
ns_g_username = isc_commandline_argument;
break;
case 'v':
printf("BIND %s\n", ns_g_version);
printf("%s %s\n", ns_g_product, ns_g_version);
exit(0);
case 'V':
printf("BIND %s built with %s\n", ns_g_version,
ns_g_configargs);
printf("%s %s <id:%s> built with %s\n", ns_g_product,
ns_g_version, ns_g_srcid, ns_g_configargs);
exit(0);
case '?':
usage();
@@ -484,6 +493,7 @@ parse_command_line(int argc, char *argv[]) {
argc -= isc_commandline_index;
argv += isc_commandline_index;
POST(argv);
if (argc > 0) {
usage();
@@ -679,12 +689,31 @@ setup(void) {
isc_result_totext(result));
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
ISC_LOG_NOTICE, "starting BIND %s%s", ns_g_version,
saved_command_line);
ISC_LOG_NOTICE, "starting %s %s%s", ns_g_product,
ns_g_version, saved_command_line);
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
ISC_LOG_NOTICE, "built with %s", ns_g_configargs);
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
ISC_LOG_NOTICE,
"----------------------------------------------------");
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
ISC_LOG_NOTICE,
"BIND 9 is maintained by Internet Systems Consortium,");
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
ISC_LOG_NOTICE,
"Inc. (ISC), a non-profit 501(c)(3) public-benefit ");
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
ISC_LOG_NOTICE,
"corporation. Support and training for BIND 9 are ");
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
ISC_LOG_NOTICE,
"available at https://www.isc.org/support");
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
ISC_LOG_NOTICE,
"----------------------------------------------------");
/*
* Get the initial resource limits.
*/
@@ -884,9 +913,9 @@ main(int argc, char *argv[]) {
*/
strlcat(version,
#if defined(NO_VERSION_DATE) || !defined(__DATE__)
"named version: BIND " VERSION,
"named version: BIND " VERSION " <" SRCID ">",
#else
"named version: BIND " VERSION " (" __DATE__ ")",
"named version: BIND " VERSION " <" SRCID "> (" __DATE__ ")",
#endif
sizeof(version));
result = isc_file_progname(*argv, program_name, sizeof(program_name));

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004-2009, 2012 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000, 2001, 2003 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: named.8,v 1.38.14.2 2009/12/03 05:06:38 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
@@ -260,7 +260,7 @@ BIND 9 Administrator Reference Manual.
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2004\-2009 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004\-2009, 2012 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000, 2001, 2003 Internet Software Consortium.
.br

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004-2008, 2012 Internet Systems Consortium, Inc. ("ISC")
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
@@ -12,7 +12,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: named.conf.5,v 1.36.48.1 2009/07/11 01:55:21 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
@@ -544,5 +544,5 @@ zone \fIstring\fR \fIoptional_class\fR {
\fBrndc\fR(8),
BIND 9 Administrator Reference Manual.
.SH "COPYRIGHT"
Copyright \(co 2004\-2008 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004\-2008, 2012 Internet Systems Consortium, Inc. ("ISC")
.br

Some files were not shown because too many files have changed in this diff Show More