Compare commits

..

4757 Commits

Author SHA1 Message Date
Mark Andrews
abbade6bd1 missing include path elements 2014-12-30 14:15:26 +11:00
Tinderbox User
3743cbeb3c regenerate 2014-12-29 23:43:37 +00:00
Tinderbox User
7ec11a9c69 newcopyrights 2014-12-29 23:30:09 +00:00
Evan Hunt
e9d075681d [v9_9] further win32 fixes 2014-12-29 15:15:51 -08:00
Evan Hunt
5414749e8a [v9_9] comment out some function names 2014-12-29 13:14:45 -08:00
Evan Hunt
e468fb0bfd [v9_9] bump release tag 2014-12-29 10:46:28 -08:00
Evan Hunt
aa5da55e2c [v9_9] Fix typo (callback function name passed to dlz_create()) 2014-12-29 09:57:06 -08:00
Mark Andrews
a777df2ff6 4027. [port] Net::DNS 0.81 compatibility. [RT #38165
(cherry picked from commit 511ec77fca)
2014-12-23 08:38:21 +11:00
Mark Andrews
a9eee2f2c3 4026. [bug] Fix RFC 3658 reference in dig +sigchase. [RT #38173]
(cherry picked from commit 44032d3918)
2014-12-22 09:40:47 +11:00
Tinderbox User
b644f1cdb8 update copyright notice / whitespace 2014-12-19 23:46:10 +00:00
Tinderbox User
17e05ed279 newcopyrights 2014-12-19 23:30:09 +00:00
Evan Hunt
93c472c9f8 [v9_9] typo 2014-12-18 17:25:27 -08:00
Tinderbox User
a81f6a3205 regen v9_9 2014-12-19 01:12:09 +00:00
Mark Andrews
6e140f9d04 4025. [port] bsdi: failed to build. [RT #38047]
(cherry picked from commit 00bb9b88cecf7e2c365c9f008c049da3802ac415)
2014-12-19 12:04:41 +11:00
Mark Andrews
2bd43c15df 4024. [bug] dns_rdata_opt_first, dns_rdata_opt_next,
dns_rdata_opt_current, dns_rdata_txt_first,
                        dns_rdata_txt_next and dns_rdata_txt_current were
                        documented but not implemented.  These have now been
                        implemented.

                        dns_rdata_spf_first, dns_rdata_spf_next and
                        dns_rdata_spf_current were document but not
                        implemented.  The prototypes for these
                        functions have been removed. [RT #38068]

4023.   [bug]           win32: socket handling with explict ports and
                        invoking named with -4 was broken for some
                        configurations. [RT #38068]

(cherry picked from commit 1e0ed0c6f5)
(cherry picked from commit 14c7ef12e0)
2014-12-19 11:43:40 +11:00
Evan Hunt
fee6ad726f [v9_9] prep 9.9.7b1 2014-12-18 13:50:42 -08:00
Evan Hunt
0b5ddf813b [v9_9] Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2014-12-17 14:20:24 -08:00
Evan Hunt
a988b5892f [v9_9] fix a problem with autoheader 2.69 2014-12-17 14:20:04 -08:00
Tinderbox User
e7a4741b79 regen v9_9 2014-12-17 01:11:58 +00:00
Tinderbox User
faeb84284a update copyright notice / whitespace 2014-12-16 23:46:09 +00:00
Tinderbox User
c0b16dedb6 newcopyrights 2014-12-16 23:30:11 +00:00
Evan Hunt
2cf8236528 [v9_9] more missing entry points 2014-12-16 14:42:41 -08:00
Evan Hunt
d3ee1c6d57 [v9_9] add more missing entry points 2014-12-16 13:36:03 -08:00
Mark Andrews
632befd3de add missing entry points
(cherry picked from commit eb690e00e7)
2014-12-17 00:29:52 +11:00
Mark Andrews
de6522d653 add missing entry points 2014-12-16 23:52:19 +11:00
Evan Hunt
cc1c362e0f [v9_9] adjust max-recursion-queries
4021.	[bug]		Adjust max-recursion-queries to accommodate
			the need for more queries when the cache is
			empty. [RT #38104]

(cherry picked from commit be7fba8019)
(cherry picked from commit b0e9108311)
2014-12-15 22:38:02 -08:00
Mark Andrews
8f3da05d81 add/sort 2014-12-16 14:45:51 +11:00
Mark Andrews
b564e1b737 add missing entries
(cherry picked from commit 7799a5edea)
2014-12-16 14:42:26 +11:00
Mark Andrews
d7b10837af remove non null check
(cherry picked from commit 2e98ab2c9d)
2014-12-09 19:52:24 +11:00
Mark Andrews
418da71422 adjust comment
(cherry picked from commit 8ee3233acd)
2014-12-09 07:41:44 +11:00
Evan Hunt
398036fa13 [v9_9] Clean up after reclimit system test 2014-12-08 08:52:57 -08:00
Tinderbox User
5b27fbc99d regen v9_9 2014-12-06 01:12:34 +00:00
Mark Andrews
61baa13eee remove legacy/ns1/named.conf 2014-12-06 10:53:50 +11:00
Mark Andrews
d13f2ae220 merge copyrights 2014-12-06 10:50:16 +11:00
Tinderbox User
d978cdbc71 update copyright notice / whitespace 2014-12-05 23:46:08 +00:00
Mark Andrews
dba49da2f2 skip subtest if cryptography not compiled in 2014-12-06 00:49:16 +11:00
Mark Andrews
ba65e27124 4020. [bug] Change 3736 broke nsupdate's SOA MNAME discovery
resulting in updates being sent to the wrong server.
                        [RT #37925]

(cherry picked from commit 03fd9cb81c)
2014-12-05 18:27:14 +11:00
Mark Andrews
404f3152fa 4019. [func] If named is not configured to validate the answer
then allow fallback to plain DNS on timeout even
                        when we know the server supports EDNS. [RT #37978]
2014-12-05 18:12:56 +11:00
Mark Andrews
bcacc62a5b merge copyrights 2014-12-05 10:35:22 +11:00
Mark Andrews
05f9fa90dd clean up intermediates 2014-12-05 08:27:09 +11:00
Mark Andrews
4c2867ce16 pre-sign the zones 2014-12-05 07:29:39 +11:00
Tinderbox User
7f05d5cf5d regen v9_9 2014-12-04 01:12:07 +00:00
Tinderbox User
19c3ef455b update copyright notice / whitespace 2014-12-03 23:46:11 +00:00
Tinderbox User
f987ab6e83 newcopyrights 2014-12-03 23:31:49 +00:00
Evan Hunt
a6e3839464 [v9_9] correct [test] tag 2014-12-03 13:01:46 -08:00
Mark Andrews
f6f0878e11 4018. [bug] Fall back to plain DNS when EDNS queries are being
dropped was failing. [RT #37965]

4017.   [testing]       Add system test to check lookups to legacy servers
                        with broken DNS behaviour. [RT #37965]
2014-12-04 07:07:09 +11:00
Mukund Sivaraman
dde0acf74a Fix a dig segfault due to bad linked list usage [RT #37591]
The crash (#37591) seems to happen because the query is taken out of
lookup->q(query->link), and put on lookup->connecting(query->clink).
The code checks query->link where it is detached (-1 in next pointer).
However, there's no need to call send_tcp_connect() there as the queries
are already connecting at that point.

(cherry picked from commit c5e9423340)
(cherry picked from commit 2d33a22970)
2014-12-03 16:47:56 +05:30
Tinderbox User
dd51580d17 regen v9_9 2014-12-03 01:12:14 +00:00
Mark Andrews
bbc8cca27d 4015. [bug] Nameservers that are skipped due to them being
CNAMEs were not being logged. They are now logged
                        to category 'cname' as per BIND 8. [RT #37935]

(cherry picked from commit ea3aa401bc)
2014-12-03 11:47:10 +11:00
Mark Andrews
a93397ba03 cleanup after removal of relay system test 2014-12-03 11:06:59 +11:00
Tinderbox User
93d2a8ec28 update copyright notice / whitespace 2014-12-02 23:46:08 +00:00
Tinderbox User
4c6f2882f9 newcopyrights 2014-12-02 23:30:26 +00:00
Mark Andrews
301160944f 4014. [bug] When including a master file origin_changed was
not being properly set leading to a potentially
                        spurious 'inherited owner' warning. [RT #37919]

(cherry picked from commit 6444de08d1)
2014-12-03 09:46:28 +11:00
Evan Hunt
f1c0eff9e6 [v9_9] remove obsolete 'relay' test 2014-12-02 13:58:07 -08:00
Francis Dupont
cb5b973a9e Hardened OpenSSL digest/HMAC calls [RT #37944] 2014-12-02 12:58:05 +01:00
Mark Andrews
2d21161222 unchecked putnull 2014-11-25 15:24:45 +11:00
Tinderbox User
395b2849e9 update copyright notice / whitespace 2014-11-24 23:53:31 +00:00
Tinderbox User
b07a9cefc6 newcopyrights 2014-11-24 23:52:56 +00:00
Mark Andrews
cf4bf73501 add named.port
(cherry picked from commit f10370fd44)
2014-11-25 10:47:25 +11:00
Tinderbox User
0032bc33a5 update copyright notice / whitespace 2014-11-24 23:46:07 +00:00
Mark Andrews
b7397773f5 4011. [bug] master's list port inheritance was not properly
implemented. [RT #37792]

(cherry picked from commit d040fa2f1c)
2014-11-24 11:59:16 +11:00
Tinderbox User
541f7dfbc6 regen v9_9 2014-11-22 01:12:54 +00:00
Tinderbox User
29447bae06 newcopyrights 2014-11-21 23:34:18 +00:00
Mark Andrews
8b56a6be07 4007. [doc] Remove acl forward reference restriction. [RT #37772]
(cherry picked from commit 64d715c22a)
2014-11-21 15:27:34 +11:00
Tinderbox User
049129f1f6 regen v9_9 2014-11-21 01:11:40 +00:00
Evan Hunt
03d0fb5be2 [v9_9] win32 build fix 2014-11-20 15:57:17 -08:00
Tinderbox User
b2bcacdf36 update copyright notice / whitespace 2014-11-20 23:46:15 +00:00
Evan Hunt
9d120bd4d0 [v9_9] add missing grammar 2014-11-20 15:37:22 -08:00
Tinderbox User
6e4ec32d63 newcopyrights 2014-11-20 23:30:26 +00:00
Evan Hunt
930f96cfca [v9_9] Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2014-11-20 13:21:10 -08:00
Evan Hunt
9f00ce4df0 [v9_9] add notes 2014-11-20 13:20:40 -08:00
Mark Andrews
6bdbb45dcc the many system test is no more 2014-11-21 08:07:56 +11:00
Evan Hunt
e2ed17e190 [v9_9] remove inadvertently-retained content from quota.h 2014-11-20 12:55:39 -08:00
Evan Hunt
1d47cb124d [v9_9] refactor max-recursion-queries
- the counters weren't set correctly when fetches timed out.
  instead we now pass down a counter object.

(cherry picked from commit 05e448935c)
(cherry picked from commit 6c049c57d9)
2014-11-19 18:38:52 -08:00
Tinderbox User
cc5b3627b1 regen v9_9 2014-11-20 01:12:30 +00:00
Tinderbox User
e211a7b798 update copyright notice / whitespace 2014-11-19 23:46:07 +00:00
Tinderbox User
587736a092 newcopyrights 2014-11-19 23:30:49 +00:00
Evan Hunt
b6ab355aef [v9_9] fix reclimit test (remove servfail-ttl) 2014-11-19 00:15:22 -08:00
Evan Hunt
711e833921 [v9_9] add max-recursion-queries
also fixes and documentation for max-recursion-depth

(cherry picked from commit c4f54e5bd1)
(cherry picked from commit b3aa528d7e)
2014-11-18 22:14:55 -08:00
Tinderbox User
7af443fd19 regen v9_9 2014-11-19 01:12:51 +00:00
Tinderbox User
dd461ee35b update copyright notice / whitespace 2014-11-18 23:46:09 +00:00
Tinderbox User
aa96888c33 newcopyrights 2014-11-18 23:30:45 +00:00
Evan Hunt
776155aeea [v9_9] fix RT number 2014-11-18 08:59:12 -08:00
Evan Hunt
603a0e2637 [v9_9] limit recursion depth and iterative queries
4006.	[security]	A flaw in delegation handling could be exploited
			to put named into an infinite loop.  This has
			been addressed by placing limits on the number
			of levels of recursion named will allow (default 7),
			and the number of iterative queries that it will
			send (default 50) before terminating a recursive
			query (CVE-2014-8500).

			The recursion depth limit is configured via the
			"max-recursion-depth" option.  [RT #35780]
2014-11-17 23:49:07 -08:00
Mark Andrews
16adeb3661 check returns from putstr and putnull
(cherry picked from commit 18fa89b01e)
2014-11-18 13:03:20 +11:00
Evan Hunt
922588e83e [v9_9] fix false positive compiler warning
a "pointer always evaluates to true" warning was blocking
compilation of the radix ATF test when using --enable-developer
with gcc 4.8.2.
2014-11-15 00:55:20 -08:00
Tinderbox User
1c5c7b86fe regen v9_9 2014-11-15 01:14:17 +00:00
Evan Hunt
f6e2e95a7d [v9_9] reference leak with AAAA glue but not A
4004.	[bug]		When delegations had AAAA glue but not A, a
			reference could be leaked causing an assertion
			failure on shutdown. [RT #37796]

(cherry picked from commit c4abb19716)
(cherry picked from commit 96b6923a25)
2014-11-14 09:04:52 -08:00
Tinderbox User
9b48b3dc34 regen v9_9 2014-11-06 01:12:47 +00:00
Tinderbox User
8cf35615f6 update copyright notice 2014-11-05 23:46:03 +00:00
Tinderbox User
fbcb21acc6 newcopyrights 2014-11-05 23:30:15 +00:00
Evan Hunt
b2630b7363 [v9_9] fix nxrrset in nxdomain redirection
4000.	[bug]		NXDOMAIN redirection incorrectly handled NXRRSET
			from the redirect zone. [RT #37722]

(cherry picked from commit 3cc8c7d630)
(cherry picked from commit 56293cd148)
2014-11-04 23:54:25 -08:00
Tinderbox User
8c6b1eae84 regen v9_9 2014-11-05 01:12:39 +00:00
Tinderbox User
ea276ca5fa update copyright notice 2014-11-04 23:46:04 +00:00
Tinderbox User
de728ec091 newcopyrights 2014-11-04 23:30:21 +00:00
Mark Andrews
7e43c092d4 add missing opening bracket
(cherry picked from commit a31d0513c3)
2014-11-04 17:14:08 +11:00
Mark Andrews
c75e6e9756 DNS_STYLEFLAG_NOCRYPTO not supported in 9.9.x 2014-11-04 14:02:42 +11:00
Evan Hunt
1ca411f1c2 [v9_9] spelling 2014-11-03 17:44:24 -08:00
Mark Andrews
4cc275ad08 3998. [bug] isc_radix_search was returning matches that were
to precise. [RT #37680]

(cherry picked from commit b976c39c07)
2014-11-04 12:41:07 +11:00
Mark Andrews
9cce4721d1 3997. [protocol] Add OPENGPGKEY record. [RT# 37671] 2014-11-04 12:29:05 +11:00
Mark Andrews
bb4ef32432 3997. [protocol] Add OPENGPGKEY record. [RT# 37671] 2014-11-04 12:25:38 +11:00
Tinderbox User
1f187fbd99 regen v9_9 2014-11-01 01:12:50 +00:00
Tinderbox User
2c0599bc2b update copyright notice 2014-10-31 23:46:07 +00:00
Mark Andrews
8230887cc6 add end of life statement 2014-10-31 13:07:11 +11:00
Tinderbox User
93aad46789 regen v9_9 2014-10-31 01:12:42 +00:00
Mark Andrews
14a1fe655c 3996. [bug] Address use after free on out of memory error in
keyring_add. [RT #37639]

(cherry picked from commit c2f8108123)
2014-10-31 11:45:01 +11:00
Mark Andrews
241cf99bf5 3995. [bug] receive_secure_serial holds the zone lock for too
long. [RT #37626]

(cherry picked from commit 4e59131f18)
(cherry picked from commit 1083f358ae)
2014-10-31 11:40:05 +11:00
Tinderbox User
746988f77e newcopyrights 2014-10-30 23:30:21 +00:00
Evan Hunt
49229ccd13 [v9_9] document that serial-query-rate has a floor of 1/second 2014-10-30 14:34:14 -07:00
Mark Andrews
bfef33cbe3 3990. [testing] Add tests for unknown DNSSEC algorithm handling.
[RT #37541]

(cherry picked from commit a5c7cfbac4)
2014-10-30 11:22:17 +11:00
Mark Andrews
b73923f773 3989. [cleanup] Remove redundent dns_db_resigned calls. [RT #35748]
(cherry picked from commit eb5243365c)
2014-10-30 10:55:10 +11:00
Tinderbox User
9ee669c4e9 regen v9_9 2014-10-23 01:12:23 +00:00
Evan Hunt
6feaa8f8ce [v9_9] [rt36892] relnote 2014-10-22 10:41:07 -07:00
Evan Hunt
4c51565533 [v9_9] [rt37138] relnote 2014-10-22 10:33:54 -07:00
Evan Hunt
16509a7653 [v9_9] [rt37159] relnote 2014-10-22 10:24:38 -07:00
Evan Hunt
5a0ca17eb1 [v9_9] [rt37172] relnote 2014-10-22 10:20:32 -07:00
Evan Hunt
dd48ddde16 [v9_9] [rt37506] relnote 2014-10-22 10:02:35 -07:00
Evan Hunt
7e81b22be6 [v9_9] more relnotes backfill 2014-10-21 22:59:06 -07:00
Tinderbox User
c64d8daa09 update copyright notice 2014-10-21 23:46:11 +00:00
Tinderbox User
8b8a1aecea newcopyrights 2014-10-21 23:30:10 +00:00
Evan Hunt
1dd21a4900 [v9_9] fix typo misspellings
(cherry picked from commit 7caeff39c2)
(cherry picked from commit 0e9950f9df)
2014-10-21 16:10:10 -07:00
Francis Dupont
88f53e412b Handle VS14 incompatible changes [RT #37380] 2014-10-21 09:36:43 +02:00
Tinderbox User
428d860f9b regenerate 2014-10-21 06:53:08 +00:00
Tinderbox User
e00da9b8bc regen v9_9 2014-10-21 06:49:41 +00:00
Evan Hunt
26ab7458b5 [v9_9] [rt37398] version string in ARM page footers
3986.	[doc]		Add the BIND version number to page footers
			in the ARM. [RT #37398]

(cherry picked from commit dd66b77417)
2014-10-20 23:35:35 -07:00
Tinderbox User
6ec35cff80 regen v9_9 2014-10-21 01:12:23 +00:00
Mark Andrews
403f5b4052 update 2014-10-21 11:18:05 +11:00
Tinderbox User
bf2b88607b update copyright notice 2014-10-20 23:46:18 +00:00
Mark Andrews
ca46ee6d2b 3985. [doc] Describe how +ndots and +search interact in dig.
[RT #37529]

(cherry picked from commit 40b28f5402)
2014-10-21 08:07:24 +11:00
Tinderbox User
f22001b2ac regenerate 2014-10-20 20:05:15 +00:00
Tinderbox User
449c38d4d4 [v9_9] Add generated notes.html and notes.pdf to git repository 2014-10-20 20:05:07 +00:00
Tinderbox User
840bfe32d0 regen v9_9 2014-10-20 20:03:10 +00:00
Evan Hunt
2e64bae120 [v9_9] include relnotes in doc
3982.	[doc]		Include release notes in product documentation.
			[RT #37272]

(cherry picked from commit 90e0af6bc6)
2014-10-20 12:50:58 -07:00
Mark Andrews
46f9ea1c18 merge copyrights 2014-10-20 14:29:48 +11:00
Mark Andrews
f2b44f6586 3981. [bug] Cache DS/NXDOMAIN independently of other query types.
[RT #37467]

(cherry picked from commit 72775a79fe)
2014-10-18 13:10:16 +11:00
Evan Hunt
7b4063bd24 [v9_9] add diffie-hellman key unit test
3978.	[test]		Added a unit test for Diffie-Hellman key
			computation, completing change #3974. [RT #37477]

(cherry picked from commit 188690149b)
(cherry picked from commit bc59dcd76e)
2014-10-17 15:58:29 -07:00
Evan Hunt
d1d6b9c1b3 [v9_9] correctly validate 5011 trust anchors
3976.	[bug]		When refreshing managed-key trust anchors, clear
			any cached trust so that they will always be
			revalidated with the current set of secure
			roots. [RT #37506]

(cherry picked from commit eb6d61d5e0)
(cherry picked from commit 5c409ba290)
2014-10-17 15:42:02 -07:00
Tinderbox User
bff9e4ff82 update copyright notice 2014-10-16 23:46:04 +00:00
Tinderbox User
cc06933130 newcopyrights 2014-10-16 23:30:15 +00:00
Mark Andrews
8b5f53534c allow for the set of ttls to be empty
(cherry picked from commit 44ef2206d7)
2014-10-16 14:47:11 +11:00
Mark Andrews
7d00852591 make test more robust in the face of server failures 2014-10-16 12:34:36 +11:00
Mark Andrews
a83faea899 initialize rdataset->private7
(cherry picked from commit ca77632f65)
2014-10-16 11:25:11 +11:00
Tinderbox User
9c4c75ddbf update copyright notice 2014-10-13 23:46:06 +00:00
Tinderbox User
d869044416 newcopyrights 2014-10-13 23:30:10 +00:00
Mark Andrews
8b85186a3f 3974. [bug] handle DH_compute_key() failure correctly in
openssldh_link.c. [RT #37477]

(cherry picked from commit 58a1051e92)
2014-10-13 23:42:43 +11:00
Mark Andrews
db7f16f51c silence compiler warning
(cherry picked from commit bbec761a67)
2014-10-08 17:47:59 +11:00
Mark Andrews
8f355bec12 3972. [bug] Fix host's usage statement. [RT #37397]
(cherry picked from commit c12c746e3a)
2014-10-07 01:10:10 +11:00
Tinderbox User
027014d649 update copyright notice 2014-10-04 23:46:05 +00:00
Tinderbox User
b6dd7b0106 newcopyrights 2014-10-04 23:30:17 +00:00
Mark Andrews
53373a6929 3971. [bug] Reduce the cascasding failures due to a bad $TTL line
in named-checkconf / named-checkzone. [RT #37138]

(cherry picked from commit c81d56c03e)
2014-10-05 08:30:37 +11:00
Mark Andrews
cbe35320bf verifying inline zones work with views requires crypto to be configured 2014-10-04 18:08:53 +10:00
Tinderbox User
5851c12283 update copyright notice 2014-10-03 23:46:07 +00:00
Evan Hunt
d1beb33058 [v9_9] remove clone tests from the views system test: inapplicable in 9.9 2014-10-03 07:22:55 -07:00
Evan Hunt
f9bfeba0a0 [v9_9] fix SDB bug
3970.   [contrib]       Fixed a use after free bug in the SDB LDAP driver.
                        [RT #37237]
2014-10-02 23:24:53 -07:00
Tinderbox User
3c516868aa update copyright notice 2014-10-02 23:46:10 +00:00
Tinderbox User
221b11c324 newcopyrights 2014-10-02 23:30:22 +00:00
Mark Andrews
c4c43e7359 3968. [bug] Silence spurious log messages when using 'named -[46]'.
[RT #37308]

(cherry picked from commit 6979ebf549)
2014-10-03 08:06:31 +10:00
Mark Andrews
e232d15075 3967. [test] Add test for inlined signed zone in multiple views
with different DNSKEY sets. [RT #35759]

(cherry picked from commit b24061719c)
2014-10-03 08:01:54 +10:00
Mark Andrews
aaf8ae4297 3966. [bug] Missing dns_db_closeversion call in receive_secure_db.
[RT #35746]

(cherry picked from commit 9c0589bc8b)
2014-10-03 07:52:17 +10:00
Tinderbox User
235e3b4b7f regen v9_9 2014-10-02 01:14:47 +00:00
Mark Andrews
302455db78 SIG(0) update forwarding testing requires crypto be configured
(cherry picked from commit a837c939c4)
2014-10-02 11:08:02 +10:00
Tinderbox User
c039cd1603 update copyright notice 2014-10-01 23:46:05 +00:00
Tinderbox User
a9b5615879 newcopyrights 2014-10-01 23:30:15 +00:00
Evan Hunt
999aef1a5b [v9_9] backport grammar fixes 2014-10-01 10:33:53 -07:00
Mark Andrews
c433c3b9dd 3962. [bug] 'dig +topdown +trace +sigchase' address unhandled error conditions. [RT #34663]
(cherry picked from commit 7d891eaf91)
2014-10-01 10:02:21 +10:00
Tinderbox User
aaa24cf075 update copyright notice 2014-09-30 23:47:13 +00:00
Tinderbox User
1abe44e189 newcopyrights 2014-09-30 23:30:18 +00:00
Mark Andrews
650404030c 3961. [bug] Forwarding of SIG(0) signed UPDATE messages failed with
BADSIG.  [RT #37216]

(cherry picked from commit a6869655d6)
2014-10-01 07:43:17 +10:00
Mark Andrews
57acbfc9c7 3960. [bug] 'dig +sigchase' could loop forever. [RT #37220]
(cherry picked from commit c83b91fb63)
2014-10-01 07:18:49 +10:00
Mark Andrews
a962ff7d5e 3959. [bug] Updates could be lost if they arrived immediately
after a rndc thaw. [RT #37233]

(cherry picked from commit fa827173df)
2014-10-01 07:00:02 +10:00
Tinderbox User
141adfd898 update copyright notice 2014-09-29 23:46:13 +00:00
Tinderbox User
48f1a35d17 newcopyrights 2014-09-29 23:30:25 +00:00
Mark Andrews
8f050179ef use RANDFILE rather than /dev/urandom
(cherry picked from commit 4bc581ca31)
2014-09-29 23:39:30 +10:00
Mark Andrews
332652409f 3958. [bug] Detect when writeable files have multiple references
in named.conf. [RT #37172]

(cherry picked from commit 386d6c08167bc048dfd20e3bba051a5f9d3cc545)
2014-09-29 11:32:52 +10:00
Mark Andrews
0ae15932ae 3957. [bug] "dnssec-keygen -S" failed for ECCGOST, ECDSAP256SHA256
and ECDSAP384SHA384. [RT #37183]

(cherry picked from commit 80169c379d)
2014-09-29 10:27:24 +10:00
Tinderbox User
911e552d6c update copyright notice 2014-09-28 23:46:05 +00:00
Mark Andrews
c41a438d4d 3955. [bug] Notify messages due to changes are no longer queued
behind startup notify messages. [RT #24454]

(cherry picked from commit 319659fc23)
2014-09-29 09:35:15 +10:00
Tinderbox User
9dca2871b7 update copyright notice 2014-09-27 23:46:06 +00:00
Tinderbox User
14becca354 newcopyrights 2014-09-27 23:30:24 +00:00
Mark Andrews
0ab4fe276e 3954. [bug] Unchecked mutex init in dlz_dlopen_driver.c [RT #37112]
(cherry picked from commit 6b6d6509f6)
2014-09-27 12:30:39 +10:00
Mark Andrews
bb2451e0e1 3953. [bug] Don't escape semi-colon in TXT fields. [RT #37159]
(cherry picked from commit 9a36fb86f5)
2014-09-27 12:14:57 +10:00
Mark Andrews
6c34e1c183 3952. [bug] dns_name_fullcompare failed to set *nlabelsp when the
two name pointers were the same. [RT #37176]

(cherry picked from commit a266ab205b)
2014-09-27 11:47:17 +10:00
Mark Andrews
288be32d30 give the nameserver a little longer to response
(cherry picked from commit 06e28e50bd)
2014-09-18 10:10:05 +10:00
Evan Hunt
ea4e9ef83b [v9_9] update contact info in README and confiure --help 2014-09-16 12:27:20 -07:00
Tinderbox User
e3a3b2fce3 regenerate 2014-09-16 17:45:08 +00:00
Tinderbox User
4761380c7a regen v9_9 2014-09-16 16:51:10 +00:00
Evan Hunt
9ce5221877 [v9_9] prep 9.9.6 2014-09-16 09:35:23 -07:00
Tinderbox User
22d9cb3a87 regenerate 2014-09-16 16:34:56 +00:00
Evan Hunt
17c9e5f31d [v9_9] spelling 2014-09-15 18:19:39 -07:00
Mark Andrews
d7baef56d7 make depend fails in bin/python 2014-09-15 14:11:01 +10:00
Tinderbox User
0bc7a16fe3 regen v9_9 2014-09-13 01:13:48 +00:00
Evan Hunt
9385828b30 [v9_9] [rt36993] work around a bmake bug in BSD
3950.	[port]		Changed the bin/python Makefile to work around a
			bmake bug in FreeBSD 10 and NetBSD 6. [RT #36993]

(cherry picked from commit 8dba0e7d87)
(cherry picked from commit 357cce8964)
2014-09-12 15:22:42 -07:00
Mark Andrews
c0416dd92b update named-checkzone manpage for SPF changes 2014-09-13 07:56:19 +10:00
Mark Andrews
54fac545ba spelling 2014-09-08 12:13:15 +10:00
Tinderbox User
e438b6de1e update copyright notice 2014-09-05 23:46:22 +00:00
Mark Andrews
4058488c52 README gets TXT.BRIEF 2014-09-06 09:44:09 +10:00
Tinderbox User
03c755ea89 newcopyrights 2014-09-05 23:30:46 +00:00
Tinderbox User
e025ff45dc regenerate 2014-09-05 21:42:26 +00:00
Tinderbox User
586041d248 regen v9_9 2014-09-05 19:34:55 +00:00
Evan Hunt
9002937bf4 [v9_9] add package version to scope statement 2014-09-05 12:18:45 -07:00
Evan Hunt
0ad93b79ee [v9_9] retain release info when updating copyright 2014-09-05 11:29:18 -07:00
Tinderbox User
2d42321cea regenerate 2014-09-05 18:04:47 +00:00
Evan Hunt
40d8a124e5 [v9_9] prep 9.9.6rc2 2014-09-05 10:36:29 -07:00
Evan Hunt
38398c590a [v9_9] [rt36786] use INSTALL_PROGRAM for shared libs
3947.	[cleanup]	Set the executable bit on libraries when using
			libtool. [RT #36786]

(cherry picked from commit f687e639f0)
2014-09-05 10:28:57 -07:00
Evan Hunt
be52ed7a85 [v9_9] improve python probing
3946.	[cleanup]	Improved "configure" search for a python interpreter.
			[RT #36992]

(cherry picked from commit 523f3d6302)
2014-09-05 10:20:58 -07:00
Evan Hunt
039e58e905 [v9_9] [rt37057] server-id tests
3944.	[test]		Added a regression test for "server-id". [RT #37057]

(cherry picked from commit c9e976dc43)
(cherry picked from commit 9f6a6d24dc)
2014-09-05 10:12:28 -07:00
Mark Andrews
0ef83e5b5d 3945. [bug] Invalid wildcard expansions could be incorrectly
accepted by the validator. [RT #37093]

(cherry picked from commit 2fa1fc5332)
2014-09-05 12:12:08 +10:00
Tinderbox User
d575f45931 regen v9_9 2014-09-05 01:14:12 +00:00
Tinderbox User
a47e3bc876 update copyright notice 2014-09-04 23:46:13 +00:00
Tinderbox User
ce8cd477c5 newcopyrights 2014-09-04 23:30:30 +00:00
Mark Andrews
d2ac59302c 3942. [bug] Wildcard responses from a optout range should be
marked as insecure. [RT #37072]
2014-09-04 13:59:50 +10:00
Evan Hunt
d0c4884c86 [v9_9] add version number to ARM
3941.	[doc]		Include the BIND version number in the ARM. [RT #37067]

(cherry picked from commit 7ae9399897)
(cherry picked from commit 8cd1082584)
2014-09-03 20:30:27 -07:00
Evan Hunt
17d84b0ec9 [v9_9] check correctly for duplicate zone error message 2014-09-03 12:58:43 -07:00
Evan Hunt
95ac626e8d [v9_9] missed an api change 2014-08-29 18:38:35 -07:00
Evan Hunt
ff21403ec5 [v9_9] prep 9.9.6rc1 2014-08-29 18:36:49 -07:00
Tinderbox User
bfee70fa25 regenerate 2014-08-29 22:08:41 +00:00
Mark Andrews
42b68f99bc update-copyrights 2014-08-29 10:18:38 +10:00
Evan Hunt
d5669ee77c [v9_9] fixes to checkconf test, HIP casecompare
3933.	[bug]		Corrected the implementation of dns_rdata_casecompare()
			for the HIP rdata type.  [RT #36911]

3932.	[test]		Improved named-checkconf tests. [RT #36911]

(cherry picked from commit 0c2313eb36)
2014-08-27 21:37:40 -07:00
Mark Andrews
ddf4e45cad 3931. [cleanup] Cleanup how dlz grammer is defined. [RT #36879]
(cherry picked from commit 1164997311)
2014-08-26 15:26:05 +10:00
Tinderbox User
0c63629a58 regen v9_9 2014-08-26 01:14:24 +00:00
Mark Andrews
28f24102e2 3929. [bug] 'host -a' needed to clear idnoptions. [RT #36963]
(cherry picked from commit 905ba39e10)
2014-08-26 08:28:00 +10:00
Mark Andrews
71eb09764a dlz clauses are not inheritable
(cherry picked from commit be5d42f255)
2014-08-25 14:53:00 +10:00
Mark Andrews
f5f0ec4b1f silence unused variable warning
(cherry picked from commit 179f515691)
2014-08-25 07:27:31 +10:00
Tinderbox User
d840bfefa8 update copyright notice 2014-08-23 23:46:05 +00:00
Tinderbox User
1fcaa11800 newcopyrights 2014-08-23 23:30:11 +00:00
Tinderbox User
999de1f94a regen v9_9 2014-08-23 01:15:32 +00:00
Tinderbox User
9b86fb9fda update copyright notice 2014-08-22 23:46:15 +00:00
Evan Hunt
2df405f519 [v9_9] add to rndc test
3928.	[test]		Improve rndc system test. [RT #36898]

(cherry picked from commit 2401ee51d83a4cd9101398f30679fa4e6046c582)
(cherry picked from commit 06677f0b08e789ca91e59a5eed42605c16f28531)
2014-08-22 16:40:59 -07:00
Tinderbox User
ff867afd30 newcopyrights 2014-08-22 23:30:17 +00:00
Evan Hunt
9ff9b9f71b [v9_9] complete change #3925
- don't use fwdname in dns_view_findzonecut()

(cherry picked from commit 27d6642e8b)
2014-08-22 14:58:28 -07:00
Mark Andrews
007ef6f18e 3925. [bug] DS lookup of RFC 1918 empty zones failed. [RT #36917
(cherry picked from commit 840d6a4614)
2014-08-22 16:33:11 +10:00
Mark Andrews
c5b8fa83d7 add [ 2014-08-22 16:29:27 +10:00
Mark Andrews
9f23fea978 3924. [bug] Improve 'rndc addzone' error reporting. RT #35187
(cherry picked from commit d4859b0b2a)
2014-08-22 16:26:19 +10:00
Mark Andrews
4014adc78b 3923. [bug] Sanity check the xml2-config output. [RT #22246]
(cherry picked from commit 53f91cbd80)
2014-08-22 16:11:55 +10:00
Evan Hunt
f7f3bd0c6e [v9_9] don't clear signatures from zone cuts
3922.	[bug]		When resigning, dnssec-signzone was removing
			all signatures from delegation nodes. It now
			retains	DS and (if applicable) NSEC signatures.
			[RT #36946]

(cherry picked from commit eeb13c7cd2)
2014-08-21 22:57:31 -07:00
Mark Andrews
fb7f157cd8 3921. [bug] AD was inappopriately set on RPZ responses. [RT #36833]
(cherry picked from commit cef76ee5bd)
(cherry picked from commit 0597c5fd5e)
2014-08-22 15:46:54 +10:00
Mark Andrews
2e0bf5cddf 3919. [bug] dig: continue to next line if a address lookup fails
in batch mode. [RT #36755]

(cherry picked from commit adb503242bc427972afb9bf012e8e2af30852b5a)
2014-08-22 15:35:43 +10:00
Mark Andrews
4c122c77c8 3918. [doc] Update check-spf documentation. [RT #36910] 2014-08-22 11:50:17 +10:00
Tinderbox User
7c39d7ea4c update copyright notice 2014-08-21 23:46:04 +00:00
Tinderbox User
7a82592cb1 newcopyrights 2014-08-21 23:30:27 +00:00
Mark Andrews
966b901a67 3917. [bug] dig, nslookup and host now continue on names that are
too long after applying a search list elements.
                        [RT #36892]
2014-08-21 18:09:27 +10:00
Tinderbox User
4c19f7c6b2 update copyright notice 2014-08-20 23:46:02 +00:00
Tinderbox User
7761e0c095 newcopyrights 2014-08-20 23:30:12 +00:00
Mark Andrews
b527580258 3916. [contrib] zone2sqlite checked wrong result code. Address
compiler warnings. [RT #36931]

(cherry picked from commit 58f1ac8dad)
2014-08-20 23:15:20 +10:00
Tinderbox User
b607733b23 regen v9_9 2014-08-19 01:14:52 +00:00
Tinderbox User
3bb7a8aeb0 update copyright notice 2014-08-18 23:46:05 +00:00
Tinderbox User
ef8964bc30 newcopyrights 2014-08-18 23:30:10 +00:00
Evan Hunt
c1989110d4 [v9_9] backport doc fixes from master 2014-08-18 14:08:19 -07:00
Evan Hunt
c4a8cecd96 [v9_9] standardize [RT #<number>] formatting 2014-08-14 14:14:53 -07:00
Tinderbox User
3da21f5bfa newcopyrights 2014-08-08 23:30:06 +00:00
Mark Andrews
8e22b517fd sycn with master 2014-08-08 15:46:36 +10:00
Mark Andrews
520ce21755 add importkey 2014-08-08 15:41:30 +10:00
Tinderbox User
d0e76c0f42 update copyright notice 2014-08-07 23:46:01 +00:00
Tinderbox User
03661be627 newcopyrights 2014-08-07 23:30:11 +00:00
Evan Hunt
4cdc56f375 [v9_9] files missing for win32 build 2014-08-06 20:51:46 -07:00
Evan Hunt
783095a208 [v9_9] need local strlcpy() in VS2005 2014-08-06 19:57:31 -07:00
Tinderbox User
90719a230f update copyright notice 2014-08-07 01:14:39 +00:00
Evan Hunt
a09795132f [v9_9] copyrights 2014-08-06 18:13:28 -07:00
Evan Hunt
09c788d707 [v9_9] [36737] allow zero-length URI and CAA fields
3914.	[bug]		Allow the URI target and CAA value fields to
			be zero length. [RT #36737]

(cherry picked from commit cfe32752a6)
(cherry picked from commit a766d4c1d2)
2014-08-06 17:41:33 -07:00
Tinderbox User
3e06445503 update copyright notice 2014-08-06 23:46:09 +00:00
Tinderbox User
fa2a8f816f newcopyrights 2014-08-06 23:30:16 +00:00
Mark Andrews
a369b29fa3 3913. [bug] Address race issue in dispatch. [RT #36731]
(cherry picked from commit 493f3eb297)
2014-08-06 18:51:16 +10:00
Tinderbox User
74da561369 regenerate 2014-08-06 05:34:30 +00:00
Evan Hunt
39502f01f8 [v9_9] install new include file 2014-08-05 22:11:30 -07:00
Evan Hunt
c0f5302894 [v9_9] prep 9.9.6b2 2014-08-05 22:07:37 -07:00
Evan Hunt
114b5d99b5 [v9_9] make lwres/stdlib.h and lwres/string.h instead of compat.h 2014-08-05 22:01:40 -07:00
Mark Andrews
81a09f0df7 silence signed/unsigned comparision warning
(cherry picked from commit f38a398033)
2014-08-06 12:25:36 +10:00
Mark Andrews
b065c4f75b alphabetize zone_clauses 2014-08-06 11:56:08 +10:00
Mukund Sivaraman
37cfebcaee [36720] Free event early (fixes race to free)
Patch contributed by yhu2 <yadi.hu@windriver.com>.

(cherry picked from commit a338c2d947)
2014-08-05 17:09:58 +05:30
Evan Hunt
fe5e0de485 [v9_9] fix CHANGES number 2014-08-02 21:11:01 -07:00
Mark Andrews
e3876830c6 3910. [bug] When computing the number of elements required for a
acl count_acl_elements could have a short count leading
                        to a assertion failure.  Also zero out new acl elements
                        in dns_acl_merge.  [RT #36675]

(cherry picked from commit 3e90f6c373)
2014-08-03 10:07:40 +10:00
Tinderbox User
e009a733fa update copyright notice 2014-08-02 23:46:02 +00:00
Tinderbox User
1273d59c53 newcopyrights 2014-08-02 23:30:22 +00:00
Mark Andrews
13ffd78910 3908. [bug] rndc now differentiates between a zone in multiple
views and a zone that doesn't exist at all. [RT #36691]

(cherry picked from commit c38341ec43)
2014-08-02 15:09:03 +10:00
Mark Andrews
50a77aefec 3907. [cleanup] Alphabetise rndc help. [RT#36683] 2014-08-01 10:32:18 +10:00
Tinderbox User
3a1808bb0c update copyright notice 2014-07-31 23:46:06 +00:00
Mark Andrews
f4168d27df remove trailing whitespace 2014-08-01 00:30:31 +10:00
Mark Andrews
752a82533e adjust stats numbers
(cherry picked from commit efab32b289)
2014-07-31 14:45:36 +10:00
Evan Hunt
f1b4e7c31a [v9_9] [rt36642] fix URI RR format
3906.	[protocol]	Update URI record format to comply with
			draft-faltstrom-uri-08. [RT #36642]

(cherry picked from commit 7712d1660a)
2014-07-30 20:43:46 -07:00
Mark Andrews
5e746ab61e [rt36341]
3905.   [bug]           Address deadlock between view.c and adb.c. [RT #36341]
2014-07-31 11:39:17 +10:00
Mark Andrews
570effe386 3904. [func] Add the RPZ SOA to the additional section. [RT36507]
(cherry picked from commit 3a55d43527)
2014-07-31 10:53:33 +10:00
Mark Andrews
7aaba3a7e0 update copyrights 2014-07-31 09:57:21 +10:00
Mark Andrews
8d3e18713e [rt36611]
3903.   [bug]           Improve the accuracy of DiG's reported round trip
                        time. [RT 36611]

(cherry picked from commit bc5db10d72)
2014-07-31 07:46:01 +10:00
Evan Hunt
f7b865ef55 [v9_9] typo in CHANGES 2014-07-30 12:02:27 -07:00
Mark Andrews
8dc8b723e0 #include print_p.h
(cherry picked from commit 1e5fd07d16)
2014-07-31 00:26:46 +10:00
Mark Andrews
91ae28a075 [rt36039]
3902.   bug]            liblwres wasn't handling link-local addresses in
                        nameserver clauses in resolv.conf. [RT #36039]

(cherry picked from commit 70be388974)
2014-07-30 23:33:58 +10:00
Tinderbox User
ea2a029ec8 update copyright notice 2014-07-29 23:46:00 +00:00
Tinderbox User
b35b271afc newcopyrights 2014-07-29 23:30:19 +00:00
Evan Hunt
eed75b89a1 [v9_9] use correct length 2014-07-29 15:24:20 -07:00
Evan Hunt
ef6688fb24 [v9_9] copypaste error in change number 2014-07-29 08:44:23 -07:00
Evan Hunt
001e08f10d [v9_9] add CAA rdata support
3056.	[protocol]	Added support for CAA record type (RFC 6844).
			[RT #36625]

(cherry picked from commit eb898fa698)
2014-07-29 08:41:23 -07:00
Mukund Sivaraman
67ce49d3ab 3900. [bug] Fix a crash in PostgreSQL DLZ driver. [RT #36637]
Squashed commit of the following:

commit ebdade4dfe59fc11d3c4ad8111729f722aab2008
Author: Mukund Sivaraman <muks@isc.org>
Date:   Thu Jul 24 22:52:54 2014 +0530

    Move statement to be after comment

commit 4b5d6a33350a469afb8e273bc552055824a32570
Author: Mukund Sivaraman <muks@isc.org>
Date:   Thu Jul 24 21:42:52 2014 +0530

    Return NULL in *rs so that caller doesn't PQclear() it again

(cherry picked from commit 586db4a3e4)
2014-07-28 08:46:00 +05:30
Tinderbox User
4e54aa4806 newcopyrights 2014-07-25 23:30:18 +00:00
Mark Andrews
2e921e858e 3899. [bug] "request-ixfr" is only applicable to slave and redirect
zones. [RT #36608]

(cherry picked from commit 275a8affe7)
2014-07-25 14:25:46 +10:00
Evan Hunt
084c6035ba [v9_9] spelling 2014-07-22 12:20:40 -07:00
Mark Andrews
d2fc38f1b9 alphabetize optionstable 2014-07-22 14:17:02 +10:00
Mark Andrews
6c4da2c68b alphabetize server_clauses 2014-07-22 14:01:57 +10:00
Mark Andrews
90e563bb16 3898. [bug] To small a buffer in tohexstr() calls in test code.
[RT #36598]

(cherry picked from commit 6a6838f973)
2014-07-22 11:27:43 +10:00
Mark Andrews
ae777149d1 7314:Extension Mechanisms for DNS (EDNS) EXPIRE Option
(cherry picked from commit bc98d5a4c6)
2014-07-18 10:25:51 +10:00
Mark Andrews
dcb7b3ce31 silence "Value stored to 'length' is never read" by removing assignment
(cherry picked from commit 2e6d7a724a)
2014-07-17 09:45:32 +10:00
Tinderbox User
3f05845322 update copyright notice 2014-07-15 23:46:00 +00:00
Tinderbox User
96d1bfb7ab newcopyrights 2014-07-15 23:30:21 +00:00
Mark Andrews
d85255bdc3 3894. [bug] Buffers in isc_print_vsnprintf were not properly
initialized leading to potential overflows when
                        printing out quad values. [RT #36505]

(cherry picked from commit 71ec6d0940)
2014-07-15 22:57:57 +10:00
Tinderbox User
8525155ecc update copyright notice 2014-07-10 23:45:57 +00:00
Tinderbox User
9cd93a1875 newcopyrights 2014-07-10 23:30:16 +00:00
Mark Andrews
514b23e6f3 update description to match code; doxygen fixes 2014-07-10 10:38:32 +10:00
Mark Andrews
738cf8c80c Revert "update description to match code; doxygen fixes"
This reverts commit 3f187abcc2.
2014-07-10 10:38:28 +10:00
Mark Andrews
3f187abcc2 update description to match code; doxygen fixes 2014-07-10 10:33:31 +10:00
Evan Hunt
db5cf52adf [v9_9] correct syntax for addzone/delzone in rndc -h 2014-07-08 09:10:30 -07:00
Mark Andrews
d4616282ad error -> warn_error 2014-07-08 16:00:40 +10:00
Mark Andrews
8506cbe54d allow -Werror to be enabled; turn on -Werror by default with --enable-developer
(cherry picked from commit 2be0f12aaf)
2014-07-08 15:51:58 +10:00
Mark Andrews
e9ddca0df0 update copyrights 2014-07-08 12:42:19 +10:00
Mark Andrews
e8cdd87363 rename dnssec/ns7/split-rrsig.in 2014-07-08 11:13:06 +10:00
Tinderbox User
8adb0a202a update copyright notice 2014-07-07 23:46:02 +00:00
Mark Andrews
1df30622d6 3892. [bug] Setting '-t aaaa' in .digrc had unintended side
effects. [RT #36452]
2014-07-08 02:01:44 +10:00
Francis Dupont
f1556921a9 update OpenSSL bases (#36447) 2014-07-07 14:55:19 +02:00
Mark Andrews
f76fa30e8a 3891. [bug] Use ${INSTALL_SCRIPT} rather than ${INSTALL_PROGRAM}
to install python programs.

(cherry picked from commit d734818278)
2014-07-07 16:06:23 +10:00
Mark Andrews
025efe0cd5 3890. [bug] RRSIG sets that were not loaded in a single transaction
at start up where not being correctly added to
                        re-signing heaps.  [RT #36302]

(cherry picked from commit 63e1ac1e09)
2014-07-07 12:18:29 +10:00
Mark Andrews
45a48c5338 state fw_copy is never used; n only needs to be set for fw_ordinary;
(cherry picked from commit d956d9689c13b093fff5faf6b10f06338354dcfc)
2014-07-04 08:52:33 +10:00
Mark Andrews
1d828183c8 silence coverity warnings
(cherry picked from commit e58154a6ec)
2014-07-02 15:28:29 +10:00
Mark Andrews
7856e63cd4 silence coverity - reviewed by Evan over jabber
(cherry picked from commit e31a37787b)
2014-07-01 09:53:07 +10:00
Mark Andrews
a4e8344569 make test for nsec3param more robust
(cherry picked from commit 62275d5306)
2014-06-27 15:51:36 +10:00
Mark Andrews
72397ede08 3889. [port] hurd: configure fixes as per:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746540

(cherry picked from commit 89119e3caf)
2014-06-26 11:48:05 +10:00
Mark Andrews
539d13af30 rename closesocket to socketclose to avoid coverity model for window's closesocket 2014-06-26 10:55:54 +10:00
Mark Andrews
310b5b5d6a cleanup nsupdate.out 2014-06-25 16:17:00 +10:00
Mark Andrews
d6aabf7e03 dump unexpected update failures 2014-06-25 16:17:00 +10:00
Mark Andrews
9a0f6d0772 add init_count 2014-06-25 12:43:09 +10:00
Mark Andrews
8e046deca5 more statics that were optimised out 2014-06-25 11:23:07 +10:00
Mark Andrews
60079a5c0a add is a structure element name
(cherry picked from commit c21e9f1a92)
2014-06-25 09:47:38 +10:00
Mark Andrews
242cb88843 3887. [cleanup] Make all static symbols in rbtdb64 end in "64" so
they are easier to use in a debugger. [RT #36373]
2014-06-25 08:20:18 +10:00
Mark Andrews
92483774d9 Net::DNS 0.78 should work when it is released as it contains:
Fix rt.cpan.org #96439

		Uninitialised decoding object when printing packet

(cherry picked from commit 70ee770c69)
2014-06-25 01:04:29 +10:00
Mark Andrews
da5e13af84 use $PERL
(cherry picked from commit 1c95f67232)
2014-06-24 13:51:46 +10:00
Mark Andrews
27897e9d38 3885. [port] Use 'open()' rather than 'file()' to open files in
python.

(cherry picked from commit bf59efcf0e)
2014-06-23 14:49:05 +10:00
Mark Andrews
b759198fa6 silence win64 possible loss of data 2014-06-23 14:18:32 +10:00
Mark Andrews
ff74829d81 silence win64 possible loss of data 2014-06-23 14:07:24 +10:00
Mark Andrews
9ef09403b0 silence win64 possible loss of data 2014-06-23 14:01:29 +10:00
Mark Andrews
14b59c9929 silence win64 possible loss of data 2014-06-23 14:00:15 +10:00
Mark Andrews
363107b2b0 install bitstring.h and namespace.h 2014-06-23 13:44:19 +10:00
Evan Hunt
885aadc12e [v9_9] silence win32 warnings 2014-06-20 14:15:37 -07:00
Evan Hunt
ed87392e88 [v9_9] unresolved externals 2014-06-20 13:52:13 -07:00
Tinderbox User
7f3f763739 update copyright notice 2014-06-19 23:46:13 +00:00
Tinderbox User
f2a269353c newcopyrights 2014-06-19 23:30:28 +00:00
Evan Hunt
ac84f931bc [v9_9] release tag 2014-06-19 01:07:53 -07:00
Evan Hunt
6ddc420cec [v9_9] Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2014-06-19 01:06:55 -07:00
Evan Hunt
6151486775 [v9_9] CDS/CDNSKEY rrtypes
3884.	[protocol]	Add CDS and CDNSKEY record types. [RT #36333]

(cherry picked from commit cac2181160)
(cherry picked from commit 716453f37d)
2014-06-19 00:57:40 -07:00
Tinderbox User
6c04022cca regenerate 2014-06-19 07:26:48 +00:00
Evan Hunt
08f092cc6f [v9_9] prep 9.9.6b1 2014-06-18 23:59:48 -07:00
Mark Andrews
a52b7860ff silence coverity 2014-06-19 11:18:00 +10:00
Mark Andrews
2ea91c4c5b silence coverity - add nul termination
(cherry picked from commit 8eb2d262dc)
2014-06-18 20:04:53 +10:00
Mark Andrews
4f1dedb68e 3881. [bug] Address memory leak with UPDATE error handling.
[RT #36303]

(cherry picked from commit f5bb5eb7f6)
2014-06-18 11:25:27 +10:00
Mark Andrews
e31c445edd cleanup remove .gitignore entries 2014-06-18 09:59:45 +10:00
Tinderbox User
c43163d83d update copyright notice 2014-06-17 23:46:00 +00:00
Tinderbox User
2f7d485a68 newcopyrights 2014-06-17 23:30:49 +00:00
Evan Hunt
8e1242e852 [v9_9] update gitignore files; use rev-parse to get srcid
(cherry picked from commit a4e76a630e)
(cherry picked from commit a71b8efb04)
2014-06-17 14:02:05 -07:00
Tinderbox User
5acd698854 regen v9_9 2014-06-17 01:13:04 +00:00
Mark Andrews
958297d405 3880. [test] Update ans.pl to work with new TSIG support in
Net::DNS; add additional Net::DNS version prerequisite
                        checks. [RT #36327]

(cherry picked from commit a0d411c05f)
2014-06-17 10:36:20 +10:00
Mark Andrews
eb6cdc3750 add EAI_OVERFLOW to lwres
(cherry picked from commit e177c7b814)
2014-06-17 10:22:26 +10:00
Tinderbox User
7e8225dd09 update copyright notice 2014-06-16 23:46:02 +00:00
Tinderbox User
57823ac525 newcopyrights 2014-06-16 23:30:09 +00:00
Evan Hunt
1f3ac11cb4 [v9_9] null terminate strings for coverity 2014-06-16 15:31:04 -07:00
Mukund Sivaraman
2d2897f476 [10686] Add version printing option to various BIND utilites
Squashed commit of the following:

commit 95effe9b2582a7eb878ccb8cb9ef51dfc5bbfde7
Author: Evan Hunt <each@isc.org>
Date:   Tue Jun 10 16:52:45 2014 -0700

    [rt10686] move version() to dnssectool.c

commit df205b541d1572ea5306a5f671af8b54b9c5c770
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 21:38:31 2014 +0530

    Rearrange order of cases

commit cfd30893f2540bf9d607e1fd37545ea7b441e0d0
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 21:38:08 2014 +0530

    Add version printer to dnssec-verify

commit a625ea338c74ab5e21634033ef87f170ba37fdbe
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 21:32:19 2014 +0530

    Add version printer to dnssec-signzone

commit d91e1c0f0697b3304ffa46fccc66af65591040d9
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 21:26:01 2014 +0530

    Add version printer to dnssec-settime

commit 46fc8775da3e13725c31d13e090b406d69b8694f
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 21:25:48 2014 +0530

    Fix docbook

commit 8123d2efbd84cdfcbc70403aa9bb27b96921bab2
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 21:20:17 2014 +0530

    Add version printer to dnssec-revoke

commit d0916420317d3e8c69cf1b37d2209ea2d072b913
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 21:17:54 2014 +0530

    Add version printer to dnssec-keygen

commit 93b0bd5ebc043298dc7d8f446ea543cb40eaecf8
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 21:14:11 2014 +0530

    Add version printer to dnssec-keyfromlabel

commit 07001bcd9ae2d7b09dd9e243b0ab35307290d05d
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 21:13:39 2014 +0530

    Update usage help output, docbook

commit 85cdd702f41c96fbc767fc689d1ed97fe1f3a926
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 21:07:18 2014 +0530

    Add version printer to dnssec-importkey

commit 9274fc61e38205aad561edf445940b4e73d788dc
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 21:01:53 2014 +0530

    Add version printer to dnssec-dsfromkey

commit bf4605ea2d7282e751fd73489627cc8a99f45a90
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 20:49:22 2014 +0530

    Add -V to nsupdate usage output

(cherry picked from commit 4278293107)
(cherry picked from commit ccba3c9ffd)
2014-06-16 12:28:33 +05:30
Mark Andrews
d5fe9da726 Net::DNS 0.76 broke the handling of some packets
(cherry picked from commit f9e47cfe4f)
2014-06-14 10:12:07 +10:00
Evan Hunt
b04088636a [v9_9] wrong dlopen filename caused segfault
3878.	[bug]		Using the incorrect filename for a DLZ module
			caused a segmentation fault on startup. [RT #36286]

(cherry picked from commit c1d33c159b)
2014-06-12 19:34:20 -07:00
Mark Andrews
e530bc13dc fix test to see if $PERL is set
(cherry picked from commit 44f0f310d41acc5c772d38353fe35ddacb3fee80)
2014-06-13 11:47:44 +10:00
Mark Andrews
157bb6945d die if $Net::DNS::VERSION >= 0.73 2014-06-13 11:25:20 +10:00
Tinderbox User
b819c00ca5 update copyright notice 2014-06-12 23:46:01 +00:00
Tinderbox User
afae68fa64 newcopyrights 2014-06-12 23:30:16 +00:00
Mark Andrews
032ddd08f1 make lhs unsigned
(cherry picked from commit 1208790272)
2014-06-12 11:13:54 +10:00
Mark Andrews
0a3910db59 add INSISTs to silence tainted data false positive in Coverity
(cherry picked from commit 83a5c670b8)
2014-06-12 10:50:14 +10:00
Mark Andrews
edc1ac4e76 add INSISTs to silence tainted data false positive in Coverity
(cherry picked from commit 8a2ff13c3d)
2014-06-12 10:46:32 +10:00
Mark Andrews
504bb97afd update copyrights 2014-06-11 10:29:21 +10:00
Mark Andrews
da9e8ec663 4. [test] Check that only "check-names master" is needed for
updates to be accepted.
2014-06-10 13:49:23 +10:00
Mark Andrews
b2d3df5efd update spf check
(cherry picked from commit 32a1fd3dd2)
2014-06-10 12:29:03 +10:00
Mark Andrews
c5b99bd813 3873. [protocol] Only warn for SPF without TXT spf record. [RT #36210]
(cherry picked from commit 634f66c659dade56502b55b1bbd514e5cfcae185)
2014-06-10 09:30:10 +10:00
Mark Andrews
b41598a203 3872. [bug] Address issues found by static analysis. [RT #36209]
(cherry picked from commit b16d99bac1)
2014-06-10 09:23:12 +10:00
Mukund Sivaraman
e8be9e900c [35063] Don't publish an activated key automatically before its publish time
(cherry picked from commit 79d27f505a)
(cherry picked from commit 2a7ecad81b)
2014-06-04 15:26:00 +05:30
Mark Andrews
5845da71b0 attempt to silence leaked lock false positive 2014-06-04 15:22:49 +10:00
Mark Andrews
9bb442dfcc place a upper bound on rdcount 2014-06-04 13:20:51 +10:00
Mark Andrews
37fce6945d use ' {8}' instead of 8 literal spaces 2014-06-03 13:23:06 +10:00
Mark Andrews
9870df8033 3868. [bug] isc_mem_setwater incorrectly cleared hi_called
potentially leaving over memory cleaner running.
                        [RT #35270]
2014-06-02 16:38:20 +10:00
Mark Andrews
df2396b4f9 3866. [bug] Named could die on disk full in generate_session_key.
[RT #36119]

(cherry picked from commit fa6308bd57)
2014-05-30 14:39:33 +10:00
Mark Andrews
7af84ff577 update copyrights 2014-05-30 09:43:37 +10:00
Mark Andrews
6ef30e2430 update copyrights 2014-05-30 09:43:15 +10:00
Mark Andrews
c1c8bd9171 More changes for:
3864.   [bug]           RPZ didn't work well when being used as forwarder.
                        [RT #36060]
2014-05-30 08:53:42 +10:00
Mark Andrews
e10c6afa15 3864. [bug] RPZ didn't work well when being used as forwarder.
[RT #36060]
2014-05-29 17:35:14 +10:00
Evan Hunt
d44586e6b5 [v9_9] fix typo/misspellings in CHANGES
Not reviewed

(cherry picked from commit a6d48ae493)
(cherry picked from commit 3b5fc5809b)
2014-05-28 14:11:53 -07:00
Mark Andrews
b308d44a9c address typo
(cherry picked from commit 358cc47a25)
2014-05-27 14:10:39 +10:00
Mark Andrews
7851096a62 Revert "add CVE-2014-3859"
This reverts commit fb4d84ce2b.
2014-05-27 12:30:01 +10:00
Mark Andrews
3054b7aa3b down grade change 3861 in 9.9 and 9.8 to a plain bug 2014-05-27 12:26:07 +10:00
Mark Andrews
846f608d29 3862. [cleanup] Return immediately if we are not going to log the
message in ns_client_dumpmessage.

(cherry picked from commit 9b819daddf)
2014-05-27 12:22:48 +10:00
Mark Andrews
fb4d84ce2b add CVE-2014-3859 2014-05-26 13:14:08 +10:00
Mark Andrews
22c7cf0538 add CVE-2014-3859 2014-05-26 09:43:34 +10:00
Mark Andrews
1e0e2198be 3861. [security] Missing isc_buffer_availablelength check results
in a REQUIRE assertion when printing out a packet.
                        [RT #36078]
2014-05-25 12:50:36 +10:00
Mark Andrews
10547ab2ea fix typo == -> = 2014-05-24 23:24:50 +10:00
Mark Andrews
50daea96ed 9.9.6 2014-05-24 11:14:41 +10:00
Mark Andrews
8cc4214818 add safe.[ch] 2014-05-23 23:43:36 +10:00
Mark Andrews
ccf2bb9626 remove bind9.c 2014-05-23 23:14:48 +10:00
Mark Andrews
ec1f5e6122 crc64.c and bind9.c are not part of 9.9.5
(cherry picked from commit 194c5f3acd)
2014-05-23 22:37:25 +10:00
Mark Andrews
6eff02f3bf 3860. [bug] ioctl(DP_POLL) array size needs to be determined
at run time as it is limited to {OPEN_MAX}.
                        [RT #35878]

(cherry picked from commit a569e1b321)
2014-05-23 13:06:51 +10:00
Mark Andrews
f15c252583 3858. [bug] Disable GCC 4.9 "delete null pointer check".
[RT #35968]

(cherry picked from commit 603a787083)
2014-05-23 11:26:36 +10:00
Mark Andrews
466260b953 3857. [bug] Make it harder for a incorrect NOEDNS classification
to be made. [RT #36020]
2014-05-22 23:46:28 +10:00
Tinderbox User
18ae2b1347 update copyright notice 2014-05-21 23:46:07 +00:00
Tinderbox User
281ab9a796 newcopyrights 2014-05-21 23:30:14 +00:00
Mark Andrews
f1aa50ef44 remove unused assignment
(cherry picked from commit a771e8c154d85dea18c2ae77dbc082d197ba433a)
2014-05-22 00:57:35 +10:00
Mark Andrews
a86bb63d99 3855. [bug] Limit smoothed round trip time aging to no more than
once a second. [RT #32909]

(cherry picked from commit 0fe0789181)
2014-05-21 11:09:56 +10:00
Tinderbox User
7b9ed63213 update copyright notice 2014-05-20 23:46:08 +00:00
Evan Hunt
216efa25a3 [v9_9] report unrecognized configure options
3854.	[cleanup]	Report unrecognized options, if any, in the final
                        configure summary. [RT #36014]
2014-05-20 15:31:42 -07:00
Mark Andrews
f0733857ce 3853. [cleanup] Refactor dns_rdataslab_fromrdataset to seperate out
the handling of a rdataset with no records. [RT #35968]

(cherry picked from commit 27b09ceb12)
2014-05-20 11:38:29 +10:00
Tinderbox User
3ed07f8a16 newcopyrights 2014-05-15 23:30:18 +00:00
Tinderbox User
bf30566310 regen v9_9 2014-05-15 04:54:32 +00:00
Mark Andrews
e6847661b4 move +sigchase 2014-05-15 14:35:32 +10:00
Mark Andrews
b7fef50f42 white space 2014-05-15 14:29:52 +10:00
Tinderbox User
4c90ae1e3d regen v9_9 2014-05-15 04:05:36 +00:00
Mark Andrews
2bd3efa560 whitespace 2014-05-15 13:43:25 +10:00
Mark Andrews
ad50e49910 fix typo 2014-05-15 13:02:59 +10:00
Mark Andrews
1b9b652d2e whitespace 2014-05-15 12:59:47 +10:00
Mark Andrews
9c3c0a07c9 3849. [doc] Alphabetized dig's +options. [RT #35992] 2014-05-15 12:16:57 +10:00
Mark Andrews
5490c6d2da ignore dig-symtbl.c, host-symtbl.c and nslookup-symtbl.c 2014-05-15 12:12:37 +10:00
Mark Andrews
6e21ec99ae use portable awk
(cherry picked from commit 69530009f1)
2014-05-15 00:34:57 +10:00
Mark Andrews
6fc2166a29 3847. [bug] 'configure --with-dlz-postgres' failed to fail when
there is not support available.

(cherry picked from commit 61fbd791fbd817301dcac27c05e1e742c37b10ab)
2014-05-14 17:17:49 +10:00
Tinderbox User
7af5e7aba5 regen v9_9 2014-05-14 01:12:53 +00:00
Mark Andrews
b3424744c3 remove reporter 2014-05-14 10:02:02 +10:00
Mark Andrews
5339a66996 3846. [bug] "dig +notcp ixfr=<serial>" should result in a UDP
ixfr query. [RT #35980]

(cherry picked from commit 05816676bb)
2014-05-14 10:00:50 +10:00
Francis Dupont
03262bb77f use vcredist_x64.exe for 64 bit Windows [#35973] 2014-05-13 12:36:44 +02:00
Mark Andrews
168ec78c63 3843. [protocol] Check EDNS EXPIRE option in dns_rdata_fromwire.
[RT #35969]

(cherry picked from commit ae5335dcd9d750312a4fa455495080fcb314b9d8)
2014-05-13 12:48:14 +10:00
Mark Andrews
1f03f95c2a 3842. [bug] Adjust RRL log-only logging category. [RT #35945]
(cherry picked from commit 2c172a42b3)
2014-05-11 11:00:26 +10:00
Mark Andrews
116b26c9cc suppress clang static analysis warning
(cherry picked from commit e188b84bc4)
2014-05-11 10:48:35 +10:00
Mark Andrews
28f0e82bea 3838. [protocol] EDNS EXPIRE as been assigned a code point of 9. 2014-05-09 12:09:54 +10:00
Tinderbox User
853c451dc5 update copyright notice 2014-05-08 23:46:02 +00:00
Tinderbox User
79c1914ea6 newcopyrights 2014-05-08 23:30:14 +00:00
Mark Andrews
2fd5f9a326 s/DNS_EDNSOPTIONS/DNS_EDNSOPTIONS/
(cherry picked from commit 801b958a5c)
2014-05-08 11:43:45 +10:00
Mark Andrews
375dac22e4 define DNS_OPT_EDNSOPTIONS
(cherry picked from commit 72ba6ba736)
2014-05-08 11:39:56 +10:00
Tinderbox User
f74c892d50 update copyright notice 2014-05-07 23:46:06 +00:00
Mark Andrews
9c9775353e 3841. [cleanup] Refactor zone.c:add_opt to use dns_message_buildopt.
[RT #35924]

(cherry picked from commit faa01edd13)
2014-05-08 09:39:28 +10:00
Tinderbox User
aedff73633 newcopyrights 2014-05-07 23:30:18 +00:00
Evan Hunt
a3b3557f6f [v9_9] check for arc4random_addrandom()
3840.	[port]		Check for arc4random_addrandom() before using it;
			it's been removed from OpenBSD 5.5. [RT #35907]

(cherry picked from commit 1ea6e09c37)
2014-05-07 08:58:54 -07:00
Evan Hunt
292d594e97 [v9_9] missed sourcing conf.sh 2014-05-06 22:47:18 -07:00
Evan Hunt
5409faef5e [v9_9] use posix-compatible shell in system tests
3839.	[test]		Use only posix-compatible shell in system tests.
			[RT #35625]

(cherry picked from commit 60988462e5)
(cherry picked from commit 812cf443bb)
2014-05-06 22:18:08 -07:00
Mark Andrews
165a57c9fd remove resource leak
(cherry picked from commit 215f02a137)
2014-05-06 20:52:52 +10:00
Tinderbox User
ed32138fe7 update copyright notice 2014-05-02 23:46:00 +00:00
Tinderbox User
ab0898a383 newcopyrights 2014-05-02 23:30:21 +00:00
Mark Andrews
b9d7857d16 3836. [bug] Address C++ keyword usage in header file.
(cherry picked from commit dd820d8fd2)
2014-05-02 11:36:12 +10:00
Mark Andrews
daf8905bc3 add keyboard.h [RT #35887]
(cherry picked from commit c25d9da3f1)
2014-05-02 10:19:48 +10:00
Mark Andrews
854e0dc55b silence clang compiler warnings
(cherry picked from commit d26c36b1d9)
2014-05-02 10:03:23 +10:00
Tinderbox User
552aa69013 update copyright notice 2014-05-01 23:46:01 +00:00
Tinderbox User
7075d5a64e newcopyrights 2014-05-01 23:30:23 +00:00
Mark Andrews
13d9cbac4e silence NULL pointer dereference warning
(cherry picked from commit 4442141672)
2014-05-01 14:31:33 +10:00
Mark Andrews
32436522a6 fix filter-aaaa system test to work when crypto is disabled
(cherry picked from commit f09f1bf18e)
2014-05-01 13:28:06 +10:00
Tinderbox User
761a883d8b update copyright notice 2014-04-30 23:46:04 +00:00
Tinderbox User
eba610455c newcopyrights 2014-04-30 23:30:13 +00:00
Mark Andrews
b534a59a33 use SKIPPED exit code (255)
(cherry picked from commit 96f07724d6)
2014-05-01 00:33:44 +10:00
Mark Andrews
6ab72c7454 fix change number 2014-04-30 11:59:35 +10:00
Mark Andrews
5f19d979cd 3834. [bug] The re-signing heaps were not being updated soon enough
leading to multiple re-generations of the same RRSIG
                        when a zone transfer was in progress. [RT #35273]

(cherry picked from commit 5d739300d1)
2014-04-30 11:58:37 +10:00
Mark Andrews
d95ad12543 2833. [bug] Cross compiling was broken due to calling genrandom at
build time. [RT #35869]

(cherry picked from commit 87344c2cb3)
2014-04-30 11:41:13 +10:00
Mark Andrews
e9a38310a5 it was bad INSIST logic not use after free
(cherry picked from commit 6bc767b003)
2014-04-30 10:46:58 +10:00
Tinderbox User
6ec060a1f9 update copyright notice 2014-04-29 23:46:03 +00:00
Evan Hunt
caf29fa0f7 [v9_9] fix relative/absolute errors in sample DLZ module
3827.	[contrib]	The example DLZ driver (a version of which is
			also used in the dlzexternal system test) could
			use absolute names as relative. [RT #35802]

(cherry picked from commit d4c735ca6b80c93634c937998c2a78f0d72999e0)
2014-04-29 16:41:55 -07:00
Tinderbox User
7e86c88942 newcopyrights 2014-04-29 23:30:16 +00:00
Evan Hunt
6ffed98d1e [v9_9] use-after-free in isc_radix_remove()
3826.	[bug]		Corrected a use-after-free in isc_radix_remove().
			(This function is not used in BIND, but could have
			caused problems in programs linking to libisc.)
			[RT #35870]

(cherry picked from commit 3e5743068c)
2014-04-29 15:22:16 -07:00
Mark Andrews
576ff838eb silence compiler warnings; style
(cherry picked from commit db3f8d175d)
2014-04-29 21:11:41 +10:00
Mark Andrews
a597a03a95 fix testsock6.pl
(cherry picked from commit 660195a82c)
2014-04-29 19:15:42 +10:00
Evan Hunt
9567c9a14d [v9_9] add filter-aaaa to SUBDIRS 2014-04-28 22:46:52 -07:00
Evan Hunt
0989d83a5e [v9_9] fix CHANGES note (no SIT in 9.8/9.9) 2014-04-28 22:38:33 -07:00
Mark Andrews
eefcfe0499 improve error handling in sig_fromfile
(cherry picked from commit 52c5b74c27)
2014-04-29 14:41:51 +10:00
Mark Andrews
2fbed97055 3825. [bug] Address sign extension bug in isc_regex_validate.
[RT #35758]

(cherry picked from commit c11e46110b)
2014-04-29 14:36:37 +10:00
Evan Hunt
7939308755 [v9_9] SIT/max-cache-size flag collision
3824.	[bug]		A collision between two flag values could cause
			problems with cache cleaning when SIT was enabled.
			[RT #35858]

(cherry picked from commit e01fbe2a45)
2014-04-29 11:28:11 +10:00
Tinderbox User
d7426212e8 update copyright notice 2014-04-26 23:46:03 +00:00
Tinderbox User
107432fed0 newcopyrights 2014-04-26 23:30:16 +00:00
Evan Hunt
95b85c7342 [v9_9] log static-stub correctly when removing
3822.	[bug]		Log the correct type of static-stub zones when
			removing them. [RT #35842]

(cherry picked from commit eb1a7730f0)
(cherry picked from commit 00e9952c41)
2014-04-26 10:19:27 -07:00
Mark Andrews
74db4609bf silence warnings
(cherry picked from commit 4aaaaadeae)
2014-04-26 23:43:04 +10:00
Tinderbox User
c7e4eb88a9 update copyright notice 2014-04-25 23:46:01 +00:00
Tinderbox User
6ad4c534df newcopyrights 2014-04-25 23:30:23 +00:00
Mark Andrews
f49e47739c additional places:
3818.   [bug]           Stop lying to the optimizer that 'void *arg' is a
                        constant in isc_event_allocate.

(cherry picked from commit 39b5269577)
2014-04-25 12:21:15 +10:00
Mark Andrews
71b15f9362 additional changes for:
3818.   [bug]           Stop lying to the optimizer that 'void *arg' is a
		        constant in isc_event_allocate.
2014-04-25 12:12:40 +10:00
Tinderbox User
1f841fabd2 update copyright notice 2014-04-24 23:46:02 +00:00
Tinderbox User
2b094938db newcopyrights 2014-04-24 23:30:24 +00:00
Mark Andrews
c10c7ddb6e 3819. [bug] NSEC3 hashes need to be able to be entered and
displayed without padding.  This is not a issue for
                        currently defined algorithms but may be for future
                        hash algorithms. [RT #27925]

(cherry picked from commit 36e5ac0033)
2014-04-24 19:12:08 +10:00
Mark Andrews
336c54e9ac 3818. [bug] Stop lying to the optimizer that 'void *arg' is a
constant in isc_event_allocate.

(cherry picked from commit e916c4f840)
2014-04-24 13:44:48 +10:00
Mark Andrews
27cf9fea54 make days a const
(cherry picked from commit 974fb3a9c5)
2014-04-24 13:16:43 +10:00
Tinderbox User
05cc87b0ea regen v9_9 2014-04-20 01:12:56 +00:00
Evan Hunt
d253fe9637 [v9_9] additional nsupdate doc fix 2014-04-18 18:26:21 -07:00
Tinderbox User
62aa0f7284 regen v9_9 2014-04-19 01:13:39 +00:00
Evan Hunt
89612eac6f [v9_9] clarify nsupdate -y
3815.   [doc]           Clarify "nsupdate -y" usage in man page. [RT #35808]
2014-04-18 15:09:23 -07:00
Mark Andrews
2335368011 cleanup
(cherry picked from commit 1b9318af8f)
2014-04-18 09:57:15 +10:00
Evan Hunt
7ba0196f6f [v9_9] remove outdated files from doc directory 2014-04-16 22:59:00 -07:00
Tinderbox User
b3b9fe80fc regen v9_9 2014-04-17 01:12:43 +00:00
Tinderbox User
c82895f41a update copyright notice 2014-04-16 23:45:32 +00:00
Mark Andrews
aefc581854 3809. [doc] Fix NSID documentation. 2014-04-16 15:56:28 +10:00
Mark Andrews
c577668075 remove openssl-1.0.1f-patch
(cherry picked from commit 1d4526d1cb)
2014-04-16 14:09:03 +10:00
Tinderbox User
4d9d9d1e55 newcopyrights 2014-04-14 23:30:09 +00:00
Francis Dupont
a269580f54 OpenSSL 1.0.1f -> 1.0.1g 2014-04-14 14:53:31 +02:00
Mark Andrews
df9ebf037c Add change note
3807.   [bug]           Fix sign extention bug in dns_name_fromtext when
                        lowercase is set. [RT #35743]

(cherry picked from commit 7dcb304dd0)
2014-04-14 09:24:21 +10:00
Francis Dupont
78a30f613f fix char sign extension [#35743]
(cherry picked from commit c80fef792a)
2014-04-14 09:13:17 +10:00
Tinderbox User
44816d2571 update copyright notice 2014-04-12 23:45:29 +00:00
Tinderbox User
89390b1220 newcopyrights 2014-04-12 23:30:07 +00:00
Evan Hunt
8e7972ba68 [v9_9] add epoll test for perftcpdns 2014-04-11 19:14:30 -07:00
Evan Hunt
ef7867ce9c [v9_9] customize configure --help 2014-04-11 17:37:52 -07:00
Tinderbox User
2824b30a18 update copyright notice 2014-04-11 23:45:28 +00:00
Tinderbox User
17b24e343c newcopyrights 2014-04-11 23:30:05 +00:00
Tinderbox User
1a234c48da regen v9_9 2014-04-11 01:12:20 +00:00
Tinderbox User
e5207816b7 update copyright notice 2014-04-10 23:45:31 +00:00
Tinderbox User
64654032fc newcopyrights 2014-04-10 23:30:04 +00:00
Evan Hunt
55e8267845 [v9_9] add librt check for perftcpdns 2014-04-10 10:57:54 -07:00
Francis Dupont
8d414684de update perftcpdns.c 2014-04-10 13:16:58 +02:00
Evan Hunt
8b5a1caae7 [v9_9] use test -r in system tests
3806.	[test]		Improved system test portability. [RT #35625]

(cherry picked from commit 922959581bbdd70d5c9cae1cb107974c3d38ed08)
2014-04-09 20:30:17 -07:00
Evan Hunt
36ba7ca649 [v9_9] typo 2014-04-09 18:24:28 -07:00
Evan Hunt
827fde847d [v9_9] copyrights 2014-04-09 18:07:06 -07:00
Evan Hunt
e3894cd3a9 [v9_9] missing manpage install rule for dnssec-importkey
(cherry picked from commit 540daf2887)
2014-04-09 17:17:53 -07:00
Tinderbox User
2e15f4346c newcopyrights 2014-04-09 23:30:12 +00:00
Evan Hunt
3f5a9873e2 [v9_9] add contrib/perftcpdns
3805.	[contrib]	Added contrib/perftcpdns, a performance testing tool
			for DNS over TCP. [RT #35710]

(cherry picked from commit 7cd8e7915a)
2014-04-09 15:22:10 -07:00
Mark Andrews
34c6d20fe3 sort
(cherry picked from commit 51af0a72ad)
2014-04-08 10:44:01 +10:00
Mark Andrews
e53cc6ac4c keyboard.h
(cherry picked from commit 2d1c1ee28a)
2014-04-08 10:39:37 +10:00
Mark Andrews
81697d5d7a order.h
(cherry picked from commit c7bd423cec)
2014-04-08 10:38:44 +10:00
Mark Andrews
763c8ba710 update copyrights 2014-04-08 07:16:24 +10:00
Evan Hunt
af35d10c68 [v9_9] fix race
3804.   [bug]           Corrected a race condition in dispatch.c in which
                        portentry could be reset leading to an assertion
                        failure in socket_search(). (Change #3708
                        addressed the same issue but was incomplete.)
                        [RT #35128]

(cherry picked from commit 38c3ed154a)
2014-04-07 13:54:52 -07:00
Evan Hunt
6cad9ab49c [v9_9] allow null "file" for alternate db zones
3803.	[bug]		"named-checkconf -z" incorrectly rejected zones
			using alternate data sources for not having a "file"
			option. [RT #35685]

(cherry picked from commit baad8d9fd8)
2014-04-07 13:44:40 -07:00
Tinderbox User
238d74b059 update copyright notice 2014-04-04 23:45:33 +00:00
Tinderbox User
0be6cf572a newcopyrights 2014-04-04 23:30:05 +00:00
Mark Andrews
f36d3eb488 only look for gsskrb5_register_acceptor_identity if gssapi_krb5.h exists
(cherry picked from commit 0277def3cf)
2014-04-05 08:44:27 +11:00
Mark Andrews
7908a238dd 3802. [bug] Various header files were not being installed
(cherry picked from commit 866606b9c7)
2014-04-04 22:06:24 +11:00
Mark Andrews
18d619a19b use discovered gssapi include path when linking
(cherry picked from commit 9328f6002790ddd0623f73a3421925195e6e96a4)
2014-04-04 15:01:23 +11:00
Evan Hunt
99d8ef6cd4 [v9_9] fix gssapi probing on freebsd
3801.	[port]		Fix probing for gssapi support on FreeBSD. [RT #35615]

(cherry picked from commit f0e9d6e905)
2014-04-03 19:56:01 -07:00
Evan Hunt
12b074bff5 [v9_9] improve command line error reporting
3799.	[bug]		Improve named's command line error reporting.
			[RT #35603]

(cherry picked from commit 44fbdddcad)
2014-04-03 19:39:44 -07:00
Mark Andrews
d6ed62b1ae #include <dns/result.h>
(cherry picked from commit e6ff1b5127)
2014-04-01 12:29:48 +11:00
Tinderbox User
a10a1ba69f update copyright notice 2014-03-31 23:45:30 +00:00
Tinderbox User
1bfb9e187c newcopyrights 2014-03-31 23:30:07 +00:00
Mark Andrews
217cb571db 3796. [bug] Register dns error codes. [RT #35629]
(cherry picked from commit 51e6164fd6)
2014-03-31 15:40:22 +11:00
Mukund Sivaraman
8da4c8daec 3795. [bug] Make named-checkconf detect raw masterfiles for
hint zones and reject them. [RT #35268]

Squashed commit of the following:

commit 5b0254711d6b77940d6217b9131b9d401df8a866
Author: Mukund Sivaraman <muks@isc.org>
Date:   Fri Mar 28 02:09:01 2014 +0530

    Remove redundant helper function

commit a4341c1a2ba830c8cee1def57a533f987f67c3dc
Author: Mark Andrews <marka@isc.org>
Date:   Thu Jan 30 10:08:17 2014 +1100

    error out if masterfile-format raw is specified for a hint zone.

(cherry picked from commit ef9334d745)
2014-03-31 04:59:47 +05:30
Tinderbox User
24356993e3 update copyright notice 2014-03-29 23:45:28 +00:00
Tinderbox User
7f2803ad7d newcopyrights 2014-03-29 23:30:06 +00:00
Mark Andrews
85fb175958 3794. [maint] Added AAAA for C.ROOT-SERVERS.NET.
(cherry picked from commit 6ffa8fcf76)
2014-03-29 10:30:53 +11:00
Tinderbox User
ed05579879 update copyright notice 2014-03-27 23:45:30 +00:00
Tinderbox User
9c55a20d88 newcopyrights 2014-03-27 23:30:05 +00:00
Mark Andrews
caf94c7fbe fix typo in comment
(cherry picked from commit 6d5740075b)
2014-03-27 18:22:06 +11:00
Mark Andrews
93b1293085 missing braces 2014-03-27 13:34:49 +11:00
Mark Andrews
a1a0be12f2 sigprocmask sets errno on error
(cherry picked from commit 1fa64087e7)
2014-03-27 12:34:26 +11:00
Tinderbox User
78c6d7a557 regen v9_9 2014-03-27 01:12:32 +00:00
Evan Hunt
37646bc4fe [v9_9] fix possible assertion in save_nsec3param()
3793.	[bug]		zone.c:save_nsec3param() could assert when out of
			memory. [RT #35621]

(cherry picked from commit bbd5c0ab33)
2014-03-26 13:12:55 -07:00
Mark Andrews
734cac1178 silence clang compiler warnings
(cherry picked from commit c1f26bd63c)
2014-03-26 16:21:48 +11:00
Evan Hunt
50066dd601 [v9_9] document behavior of localhost/localnets when interface changes 2014-03-25 20:08:31 -07:00
Mark Andrews
4fb0521e83 3792. [func] Provide links to the alternate statistics views when
displaying in a browser.  [RT #35605]

(cherry picked from commit c73a7e127f)
2014-03-25 16:10:32 +11:00
Tinderbox User
0cda4c5638 update copyright notice 2014-03-19 23:45:28 +00:00
Tinderbox User
fa10b3e64e newcopyrights 2014-03-19 23:30:05 +00:00
Mark Andrews
33a7161d27 3791. [bug] solaris: remove extraneous return. [RT #35589] 2014-03-20 07:40:29 +11:00
Tinderbox User
71777a84fa update copyright notice 2014-03-17 23:45:28 +00:00
Mark Andrews
0ae55b0a90 bin/tests/system/checkconf/notify.conf 2014-03-17 22:54:37 +11:00
Tinderbox User
6e95d5a55f regen v9_9 2014-03-16 01:12:42 +00:00
Evan Hunt
8f7a88f825 [v9_9] work around db2latex bug by removing literal tag 2014-03-15 15:23:19 -07:00
Evan Hunt
52cbef6c95 [v9_9] skip unnecesary also-notify data
3713.	[bug]		Save memory by not storing "also-notify" addresses
			in zone objects that are configured not to send
			notify requests. [RT #35195]

(cherry picked from commit e45d0508c3)
2014-03-14 10:57:51 -07:00
Mark Andrews
5ca8e16412 install context.h dnsconf.h; resconf.h types.h were not being installed when cross compiling
(cherry picked from commit 8058292627)
2014-03-14 11:43:00 +11:00
Tinderbox User
99b57575f5 update copyright notice 2014-03-13 23:53:08 +00:00
Tinderbox User
d61efeb180 newcopyrights 2014-03-13 23:51:57 +00:00
Mark Andrews
72a8082870 handle checkconf/{good,bad}-.*.conf
(cherry picked from commit da9622062172dbec6871ad8637518a632d887111)
2014-03-14 10:49:21 +11:00
Evan Hunt
860eadb994 [v9_9] check allow-update in view/options
3787.	[bug]		The code that checks whether "auto-dnssec" is
			allowed was ignoring "allow-update" ACLs set at
			the options or view level. [RT #29536]

(cherry picked from commit 22e29471c7)
2014-03-12 21:39:31 -07:00
Evan Hunt
eed5fb6967 [v9_9] fix possible uninitialized variable 2014-03-10 20:55:42 -07:00
Tinderbox User
26f4d2d337 regen v9_9 2014-03-11 01:12:46 +00:00
Tinderbox User
763af93d29 update copyright notice 2014-03-10 23:45:29 +00:00
Tinderbox User
5bb29e1531 newcopyrights 2014-03-10 23:30:14 +00:00
Evan Hunt
1db5accb1e [v9_9] fix negative numbers in $GENERATE
3780.	[bug]		$GENERATE handled negative numbers incorrectly.
			[RT #25528]

(cherry picked from commit 7b46a4aa41)
2014-03-10 11:57:36 -07:00
Evan Hunt
b1f8ac1795 [v9_9] whitespace 2014-03-10 11:56:50 -07:00
Tinderbox User
5e92d13eec regen v9_9 2014-03-08 01:12:57 +00:00
Evan Hunt
240614c334 [v9_9] clarify error
3779.	[cleanup]	Clarify the error message when using an option
			that was not enabled at compile time. [RT #35504]
2014-03-07 16:00:46 -08:00
Tinderbox User
6c69d47e5e update copyright notice 2014-03-07 23:45:31 +00:00
Tinderbox User
2a01af3d1c newcopyrights 2014-03-07 23:30:08 +00:00
Evan Hunt
2b4781835c [v9_9] warn when wrong address family used in listen-on/-v6
3778.	[bug]		Log a warning when the wrong address family is
			used in "listen-on" or "listen-on-v6". [RT #17848]

(cherry picked from commit 78f79084fc)
2014-03-07 11:36:20 -08:00
Evan Hunt
b469c7b50c [v9_9] fix misuses of isc__buffer functions, update comment 2014-03-06 17:25:02 -08:00
Tinderbox User
e3a06517c1 update copyright notice 2014-03-06 23:45:28 +00:00
Tinderbox User
da7430c2a7 newcopyrights 2014-03-06 23:30:12 +00:00
Evan Hunt
5f7e36daf3 [v9_9] tests directory cleanup 2014-03-06 11:19:52 -08:00
Tinderbox User
4402bc43d8 regen v9_9 2014-03-05 01:17:29 +00:00
Tinderbox User
9897222d78 update copyright notice 2014-03-04 23:45:33 +00:00
Tinderbox User
c873a7ec77 newcopyrights 2014-03-04 23:30:07 +00:00
Evan Hunt
0ed727f405 [v9_9] use ANSI prototypes, clean up some casts
(cherry picked from commit b454c03196)
2014-03-04 10:48:05 -08:00
Evan Hunt
f798b3c468 [v9_9] don't use keyname from command line if using -S
(cherry picked from commit 7d769b7ba7)
2014-03-04 09:08:17 -08:00
Evan Hunt
82faa427b5 [v9_9] fix API mismatch bug in DLZ
3775.	[bug]		dlz_dlopen driver could return the wrong error
			code on API version mismatch, leading to a segfault.
			[RT #35495]

(cherry picked from commit d51456e453)
2014-03-04 09:00:24 -08:00
Evan Hunt
fd466390af [v9_9] remove merge-conflict text 2014-03-03 19:32:39 -08:00
Tinderbox User
0846939be0 update copyright notice 2014-03-03 23:46:30 +00:00
Tinderbox User
b0ca9af13f newcopyrights 2014-03-03 23:30:07 +00:00
Evan Hunt
d4600129e6 [v9_9] add "version" options to host/nslookup/nsupdate
3773.	[func]		"host", "nslookup" and "nsupdate" now have
			options to print the version number and exit.
                        [RT #26057]
2014-03-03 10:11:16 -08:00
Tinderbox User
48f5fe9716 regen v9_9 2014-03-02 01:13:03 +00:00
Tinderbox User
1308939a8b update copyright notice 2014-03-01 23:45:35 +00:00
Evan Hunt
b4f8b1b176 [v9_9] dig +trace could fail when retrying with TCP
3770.	[bug]		"dig +trace" could fail with an assertion when it
			needed to fall back to TCP due to a truncated
			response. [RT #24660]
2014-03-01 15:32:58 -08:00
Tinderbox User
ddc421cc6c newcopyrights 2014-03-01 23:30:07 +00:00
Evan Hunt
e17d904456 [v9_9] capture stderr in systests.output
- also tidied up runall.sh summary output

(cherry picked from commit ec88c1fdff)
2014-02-28 22:00:22 -08:00
Evan Hunt
c28b1e52f0 [v9_9] improved doc for "rndc signing -list"
3769.   [doc]           Improved documentation of "rndc signing -list".
                        [RT #30652]

(cherry picked from commit 3ef4b7383a)
2014-02-28 21:33:10 -08:00
Evan Hunt
af719fc9d5 [v9_9] add sha-384 to dnssec-checkds
3768.	[bug]		"dnssec-checkds" was missing the SHA-384 digest
			algorithm. [RT #34000]

(cherry picked from commit 72aa3b2a4e)
2014-02-28 21:10:37 -08:00
Tinderbox User
51b67b2afa update copyright notice 2014-02-28 23:45:38 +00:00
Tinderbox User
c3b3c1bf29 newcopyrights 2014-02-28 23:30:07 +00:00
Evan Hunt
bc805c7c06 [v9_9] log when using rndc.key
3767.	[func]		Log explicitly when using rndc.key to configure
			command channel. [RT #35316]

(cherry picked from commit 368aedf188)
2014-02-27 17:55:37 -08:00
Tinderbox User
caff862183 regen v9_9 2014-02-28 01:16:27 +00:00
Evan Hunt
8d4d4c8eb8 [v9_9] fix possible rndc secroots crash
3765.	[bug]		Fixed a bug in "rndc secroots" that could crash
			named when dumping an empty keynode. [RT #35469]

(cherry picked from commit 1aced7b870)
2014-02-27 16:43:32 -08:00
Evan Hunt
49b3d91ce1 [master] dnssec-keyfromlabel -S and -i
3764.	[bug]		The dnssec-keygen/settime -S and -i options
			(to set up a successor key and set the prepublication
			interval) were missing from dnssec-keyfromlabel.
			[RT #35394]

(cherry picked from commit a60bf97f9f)
2014-02-27 16:31:15 -08:00
Tinderbox User
a01848c1cf update copyright notice 2014-02-27 23:45:39 +00:00
Tinderbox User
1f40509fd6 newcopyrights 2014-02-27 23:30:07 +00:00
Evan Hunt
18482891e3 [v9_9] correct dates in man pages 2014-02-27 11:45:43 -08:00
Evan Hunt
8d027f1431 [master] fix 'rndc freeze' doc, and mention 'rndc sync' 2014-02-26 23:07:52 -08:00
Mark Andrews
6c90e655bf 3761. [bug] Address dangling reference bug in dns_keytable_add.
[RT #35471]

(cherry picked from commit 96c17c5ecb)
2014-02-27 16:56:39 +11:00
Mark Andrews
71fac8ec0f remove bin/python/win32.py 2014-02-27 13:24:23 +11:00
Mark Andrews
ee20dec8dc #include <inttypes.h> 2014-02-27 11:58:43 +11:00
Tinderbox User
4633de5e70 update copyright notice 2014-02-26 23:45:49 +00:00
Tinderbox User
0736c6c7a2 newcopyrights 2014-02-26 23:30:08 +00:00
Evan Hunt
57f8e1e386 [v9_9] enable windows python tools
3757.	[port]		Enable Python tools (dnssec-coverage,
			dnssec-checkds) to run on Windows. [RT #34355]

(cherry picked from commit 3a01ded15d)
2014-02-26 08:47:25 -08:00
Tinderbox User
37a0c7bd43 update copyright notice 2014-02-24 23:45:46 +00:00
Tinderbox User
91a48087b6 newcopyrights 2014-02-24 23:30:07 +00:00
Mark Andrews
f1fc30125e 3756. [bug] GSSAPI Kerberos realm checking was broken in
check_config leading to spurious messages being
                        logged.  [RT #35443]

(cherry picked from commit 0072ae822d)
2014-02-24 12:16:58 +11:00
Mark Andrews
9e452706a5 wait for zone to transfer
(cherry picked from commit cc00679829)
2014-02-23 14:06:57 +11:00
Francis Dupont
b73c17377c more missing WIN32 docs 2014-02-22 02:59:34 +01:00
Tinderbox User
11e99ce6be newcopyrights 2014-02-21 23:30:06 +00:00
Francis Dupont
8ce2acd5b3 Isc Bind 9 -> upper case 2014-02-22 00:06:36 +01:00
Mark Andrews
cd8c07bd7b add additional tools standalone man pages 2014-02-22 10:02:27 +11:00
Mark Andrews
678c46414a replace obsolete macro AC_ERROR with AC_MSG_ERROR 2014-02-21 21:17:52 +11:00
Tinderbox User
0745c761d5 regen v9_9 2014-02-21 01:15:59 +00:00
Tinderbox User
de17f51528 update copyright notice 2014-02-20 23:45:53 +00:00
Tinderbox User
e98da3abba newcopyrights 2014-02-20 23:30:06 +00:00
Mark Andrews
7e897e3a75 fix quoting
(cherry picked from commit 6bcc716299)
2014-02-21 09:45:53 +11:00
Mark Andrews
bae4865cd3 more updated to reflect install location changes
(cherry picked from commit a24d1ccf6f)
2014-02-21 09:42:54 +11:00
Mark Andrews
e86ad3801e update kit.sh from master 2014-02-21 08:00:37 +11:00
Evan Hunt
51dc1b4562 [v9_9] fix win32 installer
3754.	[cleanup]	win32: Installer now places files in the
			Program Files area rather than system services.
			[RT #35361]

(cherry picked from commit bce9696c7a)
2014-02-20 10:17:21 -08:00
Mark Andrews
e8105d6310 3753. [bug] allow-notify was ignoring keys. [RT #35425]
(cherry picked from commit edd82b2ce2)
2014-02-21 00:10:58 +11:00
Evan Hunt
e1415ccd1d [v9_9] adjust default -U
3751.	[tuning]	The default setting for the -U option (setting
			the number of UDP listeners per interface) has
			been adjusted to improve performance. [RT #35417]

(cherry picked from commit 83eecff731)
2014-02-19 21:57:30 -08:00
Mark Andrews
be2d413edf don't error on rpz percentage checks as they fail inconsistently on virtual machines
(cherry picked from commit 86a85a3bbd)
2014-02-20 12:23:01 +11:00
Evan Hunt
314b626e20 [v9_9] fix dns_resolver_destroyfetch race
3747.	[bug]		A race condition could lead to a core dump when
			destroying a resolver fetch object. [RT #35385]

(cherry picked from commit 7f5bdf7f40)
2014-02-18 23:32:41 -08:00
Tinderbox User
0c20298ee0 regen v9_9 2014-02-18 01:15:25 +00:00
Tinderbox User
861016e487 update copyright notice 2014-02-17 23:45:50 +00:00
Tinderbox User
037f470a7e newcopyrights 2014-02-17 23:30:07 +00:00
Mark Andrews
d659c5dac1 3743. [bug] delegation-only flag wasn't working in forward zone
declarations despite being documented.  This is
                        needed to support turning off forwarding and turning
                        on delegation only at the same name.  [RT #35392]

(cherry picked from commit 38eabfcee7)
2014-02-18 10:16:26 +11:00
Mark Andrews
cf18260078 update descrition 2014-02-18 10:04:22 +11:00
Evan Hunt
69a3500873 [v9_9] correct delegation-only doc 2014-02-17 14:25:27 -08:00
Evan Hunt
3f0a78b790 [v9_9] fix test errors
- require 5.006_001
- cut off the least significant figures of rrsig dates before
  comparison to avoid integer overflow

(cherry picked from commit 5efcb3a3e2)
2014-02-17 08:41:01 -08:00
Mark Andrews
d611364626 3742. [port] linux: libcap support: curval was used before it
was declared. [RT #35387]

(cherry picked from commit 5114325978)
2014-02-18 00:28:19 +11:00
Mark Andrews
76b2abc0b4 #include <isc/string.h>
(cherry picked from commit 823eadf26d)
2014-02-17 12:23:09 +11:00
Tinderbox User
292568fd2e update copyright notice 2014-02-16 23:45:51 +00:00
Tinderbox User
d69df74fee newcopyrights 2014-02-16 23:30:06 +00:00
Mark Andrews
7b7ec78862 restore accidently removed 'else' 2014-02-16 21:13:32 +11:00
Evan Hunt
5c66e4954a [v9_9] fixed some dlz configure options
3740.	[contrib]	Minor fixes to configure --with-dlz-bdb,
			--with-dlz-postgres and --with-dlz-odbc. [RT #35340]

(cherry picked from commit 14bf4702f3)
2014-02-15 21:11:25 -08:00
Francis Dupont
f377d7eb33 retries -> split in could not parse 2014-02-16 02:11:48 +01:00
Francis Dupont
5524962730 spurious space 2014-02-16 02:11:32 +01:00
Tinderbox User
2ef658bd75 update copyright notice 2014-02-14 23:45:48 +00:00
Tinderbox User
44cd99bd81 newcopyrights 2014-02-14 23:30:07 +00:00
Evan Hunt
547fe6d764 [v9_9] updated published drafts 2014-02-14 08:54:25 -08:00
Tinderbox User
3231fac2d5 regen v9_9 2014-02-13 01:15:10 +00:00
Tinderbox User
4b3033fd16 update copyright notice 2014-02-12 23:45:50 +00:00
Tinderbox User
efb4a66305 newcopyrights 2014-02-12 23:30:05 +00:00
Mark Andrews
8e30a7e9fd 3737. [bug] 'rndc retransfer' could trigger a assertion failure
with inline zones. [RT #35353]
2014-02-13 08:54:51 +11:00
Evan Hunt
fa0af360e3 [v9_9] typos in dig man page 2014-02-12 10:32:37 -08:00
Evan Hunt
1a58baf293 [v9_9] try multiple addresses per server name in nsupdate
3736.	[bug]		nsupdate: When specifying a server by name,
			fall back to alternate addresses if the first
			address for that name is not reachable. [RT #25784]

(cherry picked from commit 842a3e6d0e)
2014-02-11 21:30:17 -08:00
Tinderbox User
f58bb15f49 update copyright notice 2014-02-11 23:45:47 +00:00
Tinderbox User
45927a2958 newcopyrights 2014-02-11 23:30:05 +00:00
Mark Andrews
fadd723de0 define and use BACKTRACECFLAGS
(cherry picked from commit 6b66ee9147)
2014-02-12 09:08:32 +11:00
Mark Andrews
8092e43158 hpux: move -Wl,+vnocompatwarnings to STD_CWARNINGS; add +vnocompatwarnings to SO_LDFLAGS
(cherry picked from commit ac49f1c511)
2014-02-11 13:22:49 +11:00
Tinderbox User
51cd9d32ed update copyright notice 2014-02-10 23:45:47 +00:00
Tinderbox User
d468ba4560 newcopyrights 2014-02-10 23:30:06 +00:00
Mark Andrews
9e626dc995 -Wl,+vnocompatwarnings is a compiler flag to pass to the loader not a direct loader flag
(cherry picked from commit 343556ecf9)
2014-02-10 17:54:26 +11:00
Mar Andrews
6c8b7ab630 add SO_LDFLAGS
(cherry picked from commit 29b646791b)
2014-02-10 06:00:13 +00:00
Mark Andrews
61eea10d81 3734. [bug] Improve building with libtool. [RT #35314] 2014-02-10 15:23:45 +11:00
Mark Andrews
cefd7fc8ee regen 2014-02-10 15:20:28 +11:00
Mark Andrews
0d576d7c0d whitespace 2014-02-10 15:19:57 +11:00
Mark Andrews
4735ad1cfd back port algorithm detection support from master 2014-02-10 11:47:28 +11:00
Tinderbox User
9ad10f723a newcopyrights 2014-02-08 23:30:08 +00:00
Tinderbox User
dc48f9631f regen v9_9 2014-02-08 01:17:56 +00:00
Tinderbox User
6e1a48501e update copyright notice 2014-02-07 23:45:57 +00:00
Tinderbox User
f35a075d4e newcopyrights 2014-02-07 23:30:12 +00:00
Mark Andrews
0a2f8f96f3 use exit 255
(cherry picked from commit 2870ee1fe5)
2014-02-08 09:44:30 +11:00
Mark Andrews
1c67e9747b fix typo in comment
(cherry picked from commit 404d7c966c)
2014-02-08 09:38:34 +11:00
Francis Dupont
d18aabcda2 trailing space 2014-02-07 22:39:11 +01:00
Francis Dupont
ad9aa9e8af add missing importkey.dsw 2014-02-07 19:06:16 +01:00
Evan Hunt
4bb626dc78 [v9_9] spelling 2014-02-07 08:02:51 -08:00
Evan Hunt
2d9abcc1d2 [v9_9] update README 2014-02-06 22:52:51 -08:00
Mark Andrews
eca3729719 (cherry picked from commit 0584ab7e9c)
Conflicts:
	bin/tests/system/rsabigexponent/bigkey.c
2014-02-07 16:47:10 +11:00
Evan Hunt
55c7ef52aa [v9_9] type mismatch in ODBC DLZ driver
3732.	[contrib]	Fixed a type mismatch causing the ODBC DLZ
			driver to dump core on 64-bit systems. [RT #35324]

(cherry picked from commit 41e55d0403)
2014-02-06 20:05:47 -08:00
Evan Hunt
e9a2673e85 [v9_9] add testcrypto.sh 2014-02-06 19:48:49 -08:00
Evan Hunt
c2d3d0eda5 [v9_9] add no-case-compress
3731.	[func]		Added a "no-case-compress" ACL, which causes
			named to use case-insensitive compression
			(disabling change #3645) for specified
			clients. (This is useful when dealing
			with broken client implementations that
			use case-sensitive name comparisons,
			rejecting responses that fail to match the
			capitalization of the query that was sent.)
			[RT #35300]

(cherry picked from commit 166341d554)
2014-02-06 19:42:39 -08:00
Tinderbox User
3a88395f71 regen v9_9 2014-02-07 01:11:15 +00:00
Tinderbox User
94bb12fe20 sync 2014-02-07 01:07:43 +00:00
Mark Andrews
c94c439f1b silence unused parameter 2014-02-07 11:46:10 +11:00
Evan Hunt
d0fad28c72 [v9_9] report T_SKIPPED from t_dst
(cherry picked from commit dd19c1a352)
2014-02-06 16:22:29 -08:00
Evan Hunt
a9eb392c55 [v9_9] testcrypto.sh in system tests
3714.  [test]          System tests that need to test for cryptography
                       support before running can now use a common
                       "testcrypto.sh" script to do so. [RT #35213]
2014-02-06 16:10:03 -08:00
Evan Hunt
ec146546f4 [v9_9] dnssec-keygen fixes
3730.	[cleanup]	Added "never" as a synonym for "none" when
			configuring key event dates in the dnssec tools.
			[RT #35277]

3729.	[bug]		dnssec-kegeyn could set the publication date
			incorrectly when only the activation date was
			specified on the command line. [RT #35278]

(cherry picked from commit 5f06c523186be56c5b0cd9b1c230ea7a53960c53)
2014-02-06 15:51:56 -08:00
Evan Hunt
488819e99d [v9_9] add description of [contrib] 2014-02-05 14:55:06 -08:00
Evan Hunt
d3cc34243f [v9_9] explain [placeholder] 2014-02-05 09:25:28 -08:00
Tinderbox User
cf4f558e1c newcopyrights 2014-02-04 23:30:08 +00:00
Evan Hunt
b603c50553 [v9_9] fixed win32 dig problem
3724.   [bug]           win32: Fixed a bug that prevented dig and
                        host from exiting properly after completing
                        a UDP query. [RT #35288]

(cherry picked from commit a8cdf2a2e7)
2014-02-04 12:02:54 -08:00
Mark Andrews
954b3020cf prereq.sh 2014-02-04 21:59:51 +11:00
Tinderbox User
763eb1319b newcopyrights 2014-01-31 23:30:08 +00:00
Evan Hunt
f48c053bb5 [v9_9] silence coverity warnings
- remove dead code in server.c
- initialize a struct tm.c

(cherry picked from commit 48def18179)
2014-01-31 09:40:11 -08:00
Mark Andrews
8826c08b48 add named.conf 2014-01-31 22:43:46 +11:00
Mark Andrews
66a97b2000 #include <inttypes.h> 2014-01-31 22:42:17 +11:00
Evan Hunt
fd780a9c39 [v9_9] add stdint.h 2014-01-31 00:06:03 -08:00
Tinderbox User
f148939b08 update copyright notice 2014-01-30 23:45:43 +00:00
Tinderbox User
f84609df98 newcopyrights 2014-01-30 23:30:08 +00:00
Tinderbox User
75c96a1a40 update copyright notice 2014-01-29 23:45:44 +00:00
Mark Andrews
52f0c7ba83 3720. [bug] Address compiler warnings. [RT #35261]
(cherry picked from commit 63add83a26)
2014-01-30 10:33:52 +11:00
Tinderbox User
37e65008b9 newcopyrights 2014-01-29 23:30:08 +00:00
Mark Andrews
5731197d08 3719. [bug] Address memory leak in in peer.c. [RT #35255]
(cherry picked from commit 75d747e1c5)
2014-01-30 07:55:25 +11:00
Mark Andrews
017451c87b 3718. [bug] A missing ISC_LINK_INIT in log.c. [RT #35260]
(cherry picked from commit fbc0e37e0c)

Conflicts:
	CHANGES
2014-01-30 07:45:33 +11:00
Tinderbox User
c5917963bc update copyright notice 2014-01-27 23:45:47 +00:00
Tinderbox User
4cb493a874 newcopyrights 2014-01-27 23:30:11 +00:00
Mark Andrews
cd61fff42f #if 0/#endif debug only variable
(cherry picked from commit 373b9944b6)
2014-01-28 09:43:47 +11:00
Mark Andrews
736db05eb6 doxygen markup
(cherry picked from commit bc28371004d70b17f0ca872da8bd84e70591eaf4)
2014-01-28 09:13:06 +11:00
Evan Hunt
f9b8a50e30 [v9_9] prep 9.9.5 2014-01-27 10:58:24 -08:00
Tinderbox User
637e16dca4 update copyright notice 2014-01-26 23:45:44 +00:00
Tinderbox User
58047e0f19 newcopyrights 2014-01-26 23:30:14 +00:00
Mark Andrews
7bcdbf7e44 restore 'Portions of this code' notice
(cherry picked from commit a299dbc566)
2014-01-26 10:49:55 +11:00
Tinderbox User
8cb5280608 regen v9_9 2014-01-25 01:14:37 +00:00
Tinderbox User
afbf97392d update copyright notice 2014-01-24 23:45:45 +00:00
Tinderbox User
a51c8c1071 newcopyrights 2014-01-24 23:30:09 +00:00
Evan Hunt
f0f4bda44a [v9_9] correct copyrights and attributions
see RT #35423 for details; highlights:
        - remove license clauses 3 and 4 from NetBSD code
        - remove advertising clause from historical BSD code
2014-01-24 09:51:53 -08:00
Tinderbox User
27c98063bd update copyright notice 2014-01-22 23:45:44 +00:00
Tinderbox User
9bdfce010d newcopyrights 2014-01-22 23:30:09 +00:00
Mark Andrews
928163b7d9 remove src files not available for 'make depend' 2014-01-22 10:48:42 +11:00
Tinderbox User
91e8058ab5 update copyright notice 2014-01-21 23:45:43 +00:00
Tinderbox User
bba70eb66f newcopyrights 2014-01-21 23:30:09 +00:00
Mark Andrews
ded0ff274b s/gai_sterror.c/gai_strerror.c/
(cherry picked from commit 395a4c7f6f)
2014-01-22 10:11:23 +11:00
Evan Hunt
571c5eeb19 [v9_9] remove unnecessary test in name.c 2014-01-20 17:59:14 -08:00
Francis Dupont
6608bb1adf add EXTENSIONS in WIN32 Configure [#35220] 2014-01-20 15:39:32 +01:00
Tinderbox User
c7f9089a28 update copyright notice 2014-01-17 23:45:49 +00:00
Tinderbox User
ea195f0b43 regenerate 2014-01-17 03:27:12 +00:00
Evan Hunt
e5f3300a39 [v9_9] prep 9.9.5rc2 2014-01-16 18:58:09 -08:00
Evan Hunt
6acb54b8ac [v9_9] fix config error 2014-01-16 17:11:48 -08:00
Mark Andrews
948ae6f011 update 2014-01-17 11:20:34 +11:00
Tinderbox User
4566cbd6da update copyright notice 2014-01-16 23:45:48 +00:00
Mark Andrews
f721bb7788 3710. [bug] Address double dns_zone_detach when switching to
using automatic empty zones from regular zones.
                        [RT #35177]

(cherry picked from commit db8938c993)
2014-01-17 10:06:06 +11:00
Evan Hunt
d33130f7ab [v9_9] skip xfer test with Net::DNS 0.73 2014-01-16 09:50:41 -08:00
Mark Andrews
28885f1613 make DST_GSSAPI_INC a macro 2014-01-17 00:51:32 +11:00
Mark Andrews
2219b2ed9d remove lib/isc/win32/strptime.c 2014-01-16 15:04:50 +11:00
Mark Andrews
7ff6680c5a cast to unsigned char
(cherry picked from commit 64819a98a9)
2014-01-16 11:46:57 +11:00
Tinderbox User
b94f70ab8d update copyright notice 2014-01-15 23:45:46 +00:00
Tinderbox User
a4815efd49 newcopyrights 2014-01-15 23:30:10 +00:00
Mark Andrews
bf96f5fe38 initalize ret
(cherry picked from commit 636c2f488c)
2014-01-16 09:23:36 +11:00
Evan Hunt
181b35c220 [v9_9] typo 2014-01-15 11:18:22 -08:00
Evan Hunt
0067977a3c [v9_9] address compiler warnings 2014-01-15 09:39:48 -08:00
Mark Andrews
05f59e68ad add tm.c tm.@O@ 2014-01-15 20:10:50 +11:00
Evan Hunt
6f3e1f7dbe [v9_9] portable strptime/timegm
3709.	[port]		Use built-in versions of strptime() and timegm()
			on all platforms to avoid portability issues.
			[RT #35183]
2014-01-14 23:17:21 -08:00
Evan Hunt
e67b0129b6 [v9_9] typo 2014-01-14 21:10:31 -08:00
Mark Andrews
0c3a129e61 3708. [bug] Address a portentry locking issue in dispatch.c.
[RT #35128]

(cherry picked from commit 702958d202)
2014-01-15 15:55:59 +11:00
Mark Andrews
9f137000c4 3707. [bug] irs_resconf_load now returns ISC_R_FILENOTFOUND
on a missing resolv.conf file and initializes the
                        structure as if it had been configured with:

                                nameserver ::1
                                nameserver 127.0.0.1

                        Note: Callers will need to be updated to treat
                        ISC_R_FILENOTFOUND as a qualified success or else
                        they will leak memory. The following code fragment
                        will work with both only and new versions without
                        changing the behaviour of the existing code.

                        resconf = NULL;
                        result = irs_resconf_load(mctx, "/etc/resolv.conf",
                                                  &resconf);
                        if (result != ISC_SUCCESS) {
                                if (resconf != NULL)
                                        irs_resconf_destroy(&resconf);
                                ....
                        }

                        [RT #35194]

(cherry picked from commit cd7f8d18f8)
2014-01-15 15:24:58 +11:00
Mark Andrews
741592b07e silence compiler warning
(cherry picked from commit d8b83f0e2b)
2014-01-15 12:40:36 +11:00
Evan Hunt
3489e7380c [v9_9] fix queryperf integer overflow
3706.	[contrib]	queryperf: Fixed a possible integer overflow when
			printing results. [RT #35182]
2014-01-14 16:59:16 -08:00
Tinderbox User
e5ac85796f update copyright notice 2014-01-14 23:45:43 +00:00
Tinderbox User
03e57eddbe newcopyrights 2014-01-14 23:30:08 +00:00
Mark Andrews
b9c050cb9c 3704. [protocol] Accept integer timestamps in RRSIG records. [RT #35185] 2014-01-14 16:06:45 +11:00
Tinderbox User
ba3a0473b5 update copyright notice 2014-01-13 23:45:42 +00:00
Tinderbox User
53c01d4b32 newcopyrights 2014-01-13 23:30:08 +00:00
Evan Hunt
65510ca0d7 [v9_9] See ticket 35140 for details.
Install some include files:

dns/client.h
dns/compress.h
dns/tsec.h
irs/resconf.h
irs/types.h
(I noticed these when building DHCP using installed BIND9.)

This was okayed during the 2014-01-02 BIND9 phone meeting.

(cherry picked from commit c55b7dce48)
2014-01-13 15:18:29 -08:00
Evan Hunt
edd0fc4596 [v9_9] add CVE details; marked 3656 as [security] 2014-01-13 14:56:32 -08:00
Evan Hunt
f7a59390e6 [v9_9] fix win32 isc_time_set()
- also, mark XSL files as cacheable
2014-01-11 22:01:06 -08:00
Francis Dupont
fff480d985 fix WIN32 Configure typo 2014-01-11 17:35:16 +01:00
Evan Hunt
590ffb7a4d [v9_9] missing prototype in time.h 2014-01-10 20:19:30 -08:00
Evan Hunt
27f1c9ff52 [v9_9] portable replacement for timegm() 2014-01-10 19:22:15 -08:00
Tinderbox User
07179f23e1 regen v9_9 2014-01-11 01:14:39 +00:00
Mark Andrews
14d98f724e update copyrights 2014-01-11 07:10:14 +11:00
Mark Andrews
547bac153d add lib/isc/win32/strptime.c 2014-01-11 06:29:24 +11:00
Evan Hunt
5391fdab91 [v9_9] one more win32 build error 2014-01-10 11:21:25 -08:00
Evan Hunt
942006313c [v9_9] missing prototypes 2014-01-10 11:17:19 -08:00
Evan Hunt
348979ec7e [v9_9] fix win32 build problems 2014-01-10 10:58:51 -08:00
Tinderbox User
fd20b1ecac regenerate 2014-01-10 17:23:54 +00:00
Evan Hunt
94a726d4b7 [v9_9] prep 9.9.5rc1 2014-01-10 09:20:32 -08:00
Tinderbox User
fd5af24ba1 regen v9_9 2014-01-10 17:09:42 +00:00
Evan Hunt
cd9bdb1d6d [v9_9] add 'make unit' to top directory 2014-01-10 08:06:11 -08:00
Mark Andrews
a89f89f11b add unit test for isc_time_parsehttptimestamp
(cherry picked from commit fd0f3e7cd8)
2014-01-11 00:33:45 +11:00
Mark Andrews
0e9a84c025 add ISC_PLATFORM_NEEDSTRCASESTR 2014-01-10 23:56:25 +11:00
Mark Andrews
7928d1c998 strptime returns time in the local time zone so use mktime
(cherry picked from commit 429ab67296)
2014-01-10 23:46:17 +11:00
Mark Andrews
f9b9094e7b change description
(cherry picked from commit 39c30670e8)
2014-01-10 17:40:44 +11:00
Mark Andrews
81a8977eeb 3701. [func] named-checkconf can now suppress the printing of
shared secrets by specifying '-x'. [RT #34465]

(cherry picked from commit ff6de396a9)
2014-01-10 17:39:39 +11:00
Evan Hunt
de6f4dbceb [v9_9] add isc_string_strcasestr for portability
(cherry picked from commit 765ed22a844416f29253f5130548fef77f31881c)
2014-01-09 22:03:44 -08:00
Evan Hunt
43ace844b2 [v9_9] Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2014-01-09 19:06:08 -08:00
Evan Hunt
712839e4d2 [v9_9] stats improvements (newstats only)
3699.  [bug]           Improvements to statistics channel XSL stylesheet:
                       the stylesheet can now be cached by the browser;
                       section headers are omitted from the stats display
                       when there is no data in those sections to be
                       displayed; counters are now right-justified for
                       easier readability. [RT #35117]
2014-01-09 18:41:21 -08:00
Tinderbox User
864ca7ce33 update copyright notice 2014-01-09 23:45:53 +00:00
Tinderbox User
b184ddcb76 newcopyrights 2014-01-09 23:30:07 +00:00
Mark Andrews
d1a389bdac stop spamming system logs
(cherry picked from commit d4eb30fa2d)
2014-01-09 16:23:57 +11:00
Mark Andrews
72512a6031 silence compiler warning
(cherry picked from commit 109f477ed7)
2014-01-09 15:59:18 +11:00
Evan Hunt
49c88a1ce0 [v9_9] Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2014-01-08 18:28:58 -08:00
Tinderbox User
5b8dcfac9a regen v9_9 2014-01-09 01:14:32 +00:00
Evan Hunt
8c7ce6d3e6 [v9_9] replace memcpy() with memmove().
3698.	[cleanup]	Replaced all uses of memcpy() with memmove().
			[RT #35120]

(cherry picked from commit ebe54c7d2221c6a0a4b3d96bcae3280c823a45e6)
2014-01-08 16:38:56 -08:00
Tinderbox User
fcf3461d97 update copyright notice 2014-01-08 23:45:37 +00:00
Tinderbox User
74b313fe5c newcopyrights 2014-01-08 23:30:06 +00:00
Evan Hunt
5fccdc10de [v9_9] removed reference to "auto-dnssec create" 2014-01-08 11:34:33 -08:00
Mark Andrews
3dcb5328b4 cleanup openssl-1.0.0k-patch and openssl-1.0.1e-patch removed 2014-01-08 12:39:46 +11:00
Tinderbox User
8360499ad6 update copyright notice 2014-01-07 23:45:36 +00:00
Tinderbox User
99fce3a25b newcopyrights 2014-01-07 23:30:08 +00:00
Francis Dupont
ff46df8c3c update OpenSSL patches (1.0.0k -> 1.0.0l, 1.0.1e -> 1.0.1f) [#35158] 2014-01-07 12:18:57 +01:00
Francis Dupont
81c74da451 updated OpenSSL and libxml2 versions in WIN32 doc [#35157] 2014-01-07 12:18:34 +01:00
Tinderbox User
d9da3192b6 newcopyrights 2014-01-06 23:30:07 +00:00
Mark Andrews
d1f2e3f0b4 3697. [bug] Handle "." as a search list element when IDN support
is enabled. [RT #35133]

(cherry picked from commit d0e3216c21)
2014-01-06 12:34:58 +11:00
Tinderbox User
1fc542b725 update copyright notice 2014-01-05 23:45:38 +00:00
Tinderbox User
f4cc1d82f7 newcopyrights 2014-01-05 23:30:07 +00:00
Mark Andrews
f79db810c6 3696. [bug] dig failed to handle AXFR style IXFR responses which
span multiple messages. [RT #35137]

(cherry picked from commit e9649ece3b)
2014-01-06 06:24:02 +11:00
Evan Hunt
88601d331d [v9_9] dispatch.c race
3695.	[bug]		Address a possible race in dispatch.c. [RT #35107]

(cherry picked from commit 2b258a1f5b)
2013-12-23 09:50:49 -08:00
Tinderbox User
0b915a7770 update copyright notice 2013-12-21 23:45:39 +00:00
Mark Andrews
d2e68959ca warn-keydir.conf 2013-12-21 12:32:06 +11:00
Evan Hunt
a315801f31 typo 2013-12-20 17:12:50 -08:00
Evan Hunt
2354181226 [v9_9] warn if key-directory doesn't exist
3694.	[bug]		Warn when a key-directory is configured for a zone,
			but does not exist or is not a directory. [RT #35109]

(cherry picked from commit c14ba71070)
2013-12-20 14:57:58 -08:00
Mark Andrews
c781dea647 3693. [security] memcpy was incorrectly called with overlapping
ranges resulting in malformed names being generated
                        on some platforms.  This could cause INSIST failures
                        when serving NSEC3 signed zones.  [RT #35120]

(cherry picked from commit fa467e60c5)
2013-12-20 10:59:01 +11:00
Mark Andrews
10cbe27cb3 3693. [security] memcpy was incorrectly called with overlapping
ranges resulting a malformed names being generated
                        on some platforms.  This was subsequently detected
                        resulting in INSIST failures when serving NSEC3
                        signed zones.  [RT #35120]

(cherry picked from commit b93ef543ab)
2013-12-20 10:26:52 +11:00
Tinderbox User
5d52bae338 update copyright notice 2013-12-16 23:45:41 +00:00
Mark Andrews
9337f965f6 sort and one file per line 2013-12-17 10:38:00 +11:00
Tinderbox User
77c2760f8d newcopyrights 2013-12-16 23:30:21 +00:00
Mark Andrews
485380894a 3692. [bug] Two calls to dns_db_getoriginnode were fatal if there
was no data at the node. [RT #35080]

(cherry picked from commit 161e803a56)
2013-12-17 09:13:18 +11:00
Tinderbox User
de81c583e5 update copyright notice 2013-12-15 23:45:37 +00:00
Mark Andrews
9176bfcf68 cleanup rename of bin/tests/system/resolver/ns7/named.conf
(cherry picked from commit 11123e7d40)
2013-12-15 23:44:48 +11:00
Tinderbox User
02dc6a8b00 update copyright notice 2013-12-13 23:45:38 +00:00
Tinderbox User
6a6de75705 newcopyrights 2013-12-13 23:30:22 +00:00
Evan Hunt
06614edc44 [v9_9] correct dispatch address/port check
3690.	[bug]		Iterative responses could be missed when the source
			port for an upstream query was the same as the
			listener port (53). [RT #34925]
2013-12-12 22:46:21 -08:00
Evan Hunt
0c0ce5f9a4 [v9_9] fix insecure delegation across static-stub zones
3689.	[bug]		Fixed a bug causing an insecure delegation from one
			static-stub zone to another to fail with a broken
			trust chain. [RT #35081]

(cherry picked from commit 9b895f30f1)
2013-12-12 22:20:21 -08:00
Evan Hunt
a51a573942 [v9_9] bump 9.9.5b1 release tag 2013-12-11 21:59:59 -08:00
Evan Hunt
61210f6d39 README formatting 2013-12-11 20:04:10 -08:00
Tinderbox User
ec9e025e1f regenerate 2013-12-12 02:25:08 +00:00
Mark Andrews
cf3decc59c 3688. [bug] loadnode could return a freed node on out of memory.
[RT #35106]
2013-12-12 12:50:12 +11:00
Tinderbox User
4d99b1110b regen v9_9 2013-12-12 01:14:39 +00:00
Tinderbox User
c75c9ee78e update copyright notice 2013-12-11 23:46:56 +00:00
Mark Andrews
e6c64b453f 3687. [bug] Address null pointer dereference in zone_xfrdone.
[RT #35042]
2013-12-12 10:39:33 +11:00
Tinderbox User
8f8f72fdd6 newcopyrights 2013-12-11 23:30:19 +00:00
Evan Hunt
89f80b4043 typo 2013-12-11 14:00:25 -08:00
Evan Hunt
2c73b0a857 [v9_9] dnssec-signzone -Q
3686.	[func]		"dnssec-signzone -Q" drops signatures from keys
			that are still published but no longer active.
			[RT #34990]

(cherry picked from commit 0bbe3273a2)
2013-12-11 13:25:44 -08:00
Evan Hunt
dda2ffdbcf [v9_9] fix 'rndc refresh' in inline-signing zones
3685.	[bug]		"rndc refresh" didn't work correctly with slave
			zones using inline-signing. [RT #35105]

(cherry picked from commit 445a354e63)
2013-12-11 13:00:22 -08:00
Tinderbox User
76048a0c9f regenerate 2013-12-11 01:47:06 +00:00
Evan Hunt
b80e110dae [v9_9] prepare 9.9.5b1 2013-12-10 17:17:55 -08:00
Mark Andrews
4071bd2c0e cleanup
(cherry picked from commit 99c3e8e09c)
2013-12-10 09:55:32 +11:00
Mark Andrews
b26719dff0 use snprintf; check the result of putstr
(cherry picked from commit 06a0b00bb6)
2013-12-10 08:56:58 +11:00
Mark Andrews
e595a09e64 handle underflow now that n is unsigned
(cherry picked from commit 536ac53126)
2013-12-10 07:24:32 +11:00
Mark Andrews
551f6ebeed silence compiler warning
(cherry picked from commit b14c6a1caf)
2013-12-10 07:24:32 +11:00
Mark Andrews
ea231f87c8 add dst_key_setexternal 2013-12-09 14:57:21 +11:00
Mark Andrews
3838fb0a4b add dst_key_isexternal 2013-12-09 14:12:58 +11:00
Mark Andrews
688bb741b0 add isc_stdio_tell, add missing comma
(cherry picked from commit 793a8c9aa29986422e7bae75dc5e65f201081a57)
(cherry picked from commit 8e9bbdda10)
2013-12-09 13:58:53 +11:00
Mark Andrews
01637c736a missing comma 2013-12-09 13:56:08 +11:00
Mark Andrews
a92a3ecf44 silence compiler warnings
(cherry picked from commit 53f70575bd)
2013-12-06 17:39:33 +11:00
Mark Andrews
a0095a7c1a update copyrights 2013-12-05 15:13:01 +11:00
Mark Andrews
211532cb69 regen 2013-12-05 15:12:29 +11:00
Mark Andrews
a295921ea6 cleanup 2013-12-05 15:10:24 +11:00
Mark Andrews
e6d9434526 no needed 2013-12-05 14:52:32 +11:00
Mark Andrews
2d7e1fcc1c Merge remote-tracking branch 'refs/remotes/origin/v9_9' into v9_9 2013-12-05 12:22:21 +11:00
Tinderbox User
5ccbed5bdb regen v9_9 2013-12-05 01:14:44 +00:00
Mark Andrews
35c7fb761d new manual
(cherry picked from commit ccf57aa273)
2013-12-05 12:10:41 +11:00
Mark Andrews
f575d483ad these are now being preprocessed
(cherry picked from commit 4edbda219a)
2013-12-05 12:10:40 +11:00
Mark Andrews
d42d60abbe these are now being preprocessed
(cherry picked from commit 2303b18274)
2013-12-05 12:10:40 +11:00
Mark Andrews
e588dee0f0 move to win32util/legacy
(cherry picked from commit eea9fdd01a)
2013-12-05 12:10:40 +11:00
Mark Andrews
5a8c34be41 namedcheckzone.xxx -> checkzone.xxx
(cherry picked from commit 0c87a24176)
2013-12-05 12:10:40 +11:00
Mark Andrews
88f28b3dda {dsp,mak} -> {dsp,mak}.in
(cherry picked from commit e16b482740)

Conflicts:
	util/copyrights
2013-12-05 12:10:31 +11:00
Mark Andrews
b992d06a13 rename namedcheckconf.xxx -> checkconf.xxx
(cherry picked from commit 777e9370fa)
2013-12-05 12:06:30 +11:00
Mark Andrews
f7456a3447 update for new windows build proceedures
(cherry picked from commit 5e47b4200e)
2013-12-05 12:01:50 +11:00
Tinderbox User
da9611344e update copyright notice 2013-12-04 23:46:00 +00:00
Evan Hunt
98a3bd57ca [master] clearer "not found" message for rndc commands
3683.	[cleanup]	Add a more detailed "not found" message to rndc
			commands which specify a zone name. [RT #35059]

(cherry picked from commit bee9a28af0)
2013-12-04 12:58:28 -08:00
Curtis Blackburn
1a890ff58a [v9_9]3682. [bug] Correct the behavior of rndc retransfer to allow
inline-signing slave zones to retain NSEC3 parameters instead of
			reverting to NSEC [RT #34745]
2013-12-04 12:32:21 -06:00
Evan Hunt
6c184eadbd remove unnecessary echo 2013-12-04 09:54:59 -08:00
Evan Hunt
9422d03654 reword/reorder configuration summary 2013-12-04 09:10:57 -08:00
Mark Andrews
3b38a23089 3681. [port] Update the Windows build system to support feature
selection and WIN64 builds.  This is a work in
                        progress. [RT #34160]

(cherry picked from commit c3c8823fed)

Conflicts:
	CHANGES
	bin/check/win32/checktool.dsp.in
	bin/dnssec/win32/dnssectool.dsp.in
	bin/dnssec/win32/importkey.dsp.in
	bin/dnssec/win32/importkey.mak.in
	bin/named/geoip.c
	bin/named/include/named/geoip.h
	bin/tools/win32/rrchecker.dsp.in
	bin/tools/win32/rrchecker.mak.in
	config.h.win32
	lib/dns/geoip.c
	lib/dns/master.c
	lib/dns/win32/libdns.dsp.in
	lib/dns/win32/libdns.mak.in
	lib/isc/mem.c
	lib/isc/stats.c
	lib/isc/win32/file.c
	lib/isc/win32/libisc.def.in
	lib/isc/win32/libisc.mak.in
	lib/isc/win32/stdio.c
	lib/isccc/cc.c
	win32utils/BuildAll.bat
	win32utils/BuildSetup.bat
	win32utils/legacy/BINDBuild.dsw.in
	win32utils/makeversion.pl
	win32utils/setpk11provider.pl
	win32utils/updatelibxml2.pl
	win32utils/win32-build.txt
2013-12-04 13:48:45 +11:00
Evan Hunt
5a91e2b5d4 [v9_9] dig could miss tcp connections when cleaning up
3679.	[bug]		dig could fail to clean up TCP sockets still
			waiting on connect(). [RT #35074]

(cherry picked from commit fb507315d4)
2013-12-02 13:35:07 -08:00
Mark Andrews
559f5c10f8 3678. [port] Update config.guess and config.sub. [RT #35060]
(cherry picked from commit ae871ebb28)
2013-12-02 10:55:52 +11:00
Mark Andrews
0f12824e2d 3677. [bug] 'nsupdate' leaked memory if 'realm' was used multiple
times.  [RT #35073]

(cherry picked from commit 49ae04f6ee)
2013-11-28 06:46:41 +11:00
Mark Andrews
b12721809b update 2013-11-26 10:43:32 +11:00
Evan Hunt
2254826e4c [v9_9] check hint files in named-checkconf -z
3676.	[bug]		"named-checkconf -z" now checks zones of type
			hint and redirect as well as master. [RT #35046]

(cherry picked from commit d999ca28d4)
2013-11-25 12:30:59 -08:00
Mark Andrews
13d58898c5 3675. [misc] Provide a place for third parties to add version
information for their extensions in the version
                        file by setting the EXTENSIONS variable.

(cherry picked from commit fd63f3110f)
2013-11-22 13:27:44 +11:00
Evan Hunt
14122dd06b [v9_9] previous commit incomplete
(cherry picked from commit 5255b631b1)
2013-11-18 16:00:21 -08:00
Evan Hunt
6c696e0ede [v9_9] win32 portability fix
(cherry picked from commit 2b57986603)
2013-11-18 15:47:33 -08:00
Mark Andrews
1550e4aa95 3674. [bug] RPZ zeroed ttls if the query type was '*'. [RT #35026]
(cherry picked from commit 225146b2c8)
2013-11-18 11:24:24 +11:00
Mark Andrews
3efcb5250f adjust EDNS query returned status warning message
(cherry picked from commit 0b565f6060)
2013-11-14 22:52:24 +11:00
Mark Andrews
7fbfa2102d fix dereference before null check warning
(cherry picked from commit 9800974419)
2013-11-14 12:33:26 +11:00
Tinderbox User
a960d3a679 update copyright notice 2013-11-13 23:45:54 +00:00
Tinderbox User
bbdc420ee0 newcopyrights 2013-11-13 23:30:12 +00:00
Evan Hunt
2e8c4177b7 [v9_9] remove test code accidentally merged 2013-11-13 11:04:35 -08:00
Evan Hunt
eaa4ead2bd [v9_9] allow setting local addr in dns_client
3672.	[func]		Local address can now be specified when using
			dns_client API. [RT #34811]

(cherry picked from commit 0618287859)
2013-11-13 10:57:50 -08:00
Mark Andrews
56cea4d902 remove invalide NEXTTOKEN 2013-11-14 00:01:30 +11:00
Mark Andrews
5b609bd57e back port inline system test fixes from master 2013-11-13 16:00:48 +11:00
Mark Andrews
442a439852 back port fixes 2013-11-13 13:44:25 +11:00
Mark Andrews
6ddfac8f4e 3671. [bug] Don't allow dnssec-importkey overwrite a existing
non-imported private key.
2013-11-13 12:58:43 +11:00
Mark Andrews
2e4548087a 3642. [func] Allow externally generated DNSKEY to be imported
into the DNSKEY management framework.  A new tool
                        dnssec-importkey is used to this. [RT #34698]
2013-11-13 12:54:37 +11:00
Tinderbox User
5e58b0f3f8 regen v9_9 2013-11-13 01:14:31 +00:00
Mark Andrews
263f3f4941 func -> test 2013-11-13 11:13:18 +11:00
Tinderbox User
36335e7d77 update copyright notice 2013-11-12 23:45:54 +00:00
Tinderbox User
76c1f5450e newcopyrights 2013-11-12 23:30:12 +00:00
Mark Andrews
9b7218c2d1 3667. [func] dig: add support to keep the TCP socket open between
successive queries (+[no]keepopen).  [RT #34918]

(cherry picked from commit 2048955015)
2013-11-13 10:29:38 +11:00
Jeremy C. Reed
3b1b8ce9a8 Fix misspelling (at least use common spelling).
(cherry picked from commit 0bda84553a)
2013-11-13 09:24:47 +11:00
Jeremy C. Reed
1d422f2038 Fix misspelling.
Spell out month date while here.

(cherry picked from commit 8012d70ea4)
2013-11-13 09:23:30 +11:00
Mark Andrews
f646808a22 3670. [bug] Address read after free in server side of
lwres_getrrsetbyname. [RT #29075]

(cherry picked from commit eb5e0b8dec)
2013-11-12 15:00:26 +11:00
Mark Andrews
f87ecbd2d4 3669. [port] freebsd: --with-gssapi needs -lhx509. [RT #35001]
(cherry picked from commit b564c8503d4377f6b423fcd67a5ce60798d8123e)
2013-11-12 11:38:36 +11:00
Tinderbox User
1b3b3a1cb0 update copyright notice 2013-11-11 23:45:51 +00:00
Tinderbox User
13ba75c79c newcopyrights 2013-11-11 23:30:18 +00:00
Mark Andrews
5e6fee5e18 Report whether --enable-newstats was set 2013-11-11 14:23:31 +11:00
Mark Andrews
c78b20dc6a 3668. [bug] Fix cast in lex.c which could see 0xff treated as eof.
[RT #34993]

(cherry picked from commit 0a47bc90af)
2013-11-11 10:50:25 +11:00
Mark Andrews
eedafaf38a silence defined but not used warning
(cherry picked from commit 4c5f19c2b0)
2013-11-04 09:54:52 +11:00
Mark Andrews
f4df109775 3665. [bug] Failure to release lock on error in receive_secure_db.
[RT #34944]
2013-10-31 22:13:53 +11:00
Tinderbox User
0c367962a4 regen v9_9 2013-10-31 01:14:38 +00:00
Mark Andrews
98870244b7 mention EventViewer
(cherry picked from commit 28343c910e549f2159073ffad6b9f15dc80da72b)
2013-10-31 11:13:09 +11:00
Mark Andrews
d220937b32 use smaller buffers
(cherry picked from commit 2502a568e7)
2013-10-26 20:36:39 +11:00
Tinderbox User
449370f4ee update copyright notice 2013-10-25 23:45:51 +00:00
Tinderbox User
f237380331 newcopyrights 2013-10-25 23:30:11 +00:00
Mark Andrews
84ccbc2b48 address memory leak in change #3662, force format matching, attempt to address coverity false positives
(cherry picked from commit 938aea1dc4)
2013-10-26 10:04:52 +11:00
Francis Dupont
fe461da80e Update OpenSSL PKCS#11 patches. [RT #34855] 2013-10-25 17:54:11 +02:00
Mark Andrews
604d483f63 3663. [bug] Address bugs in dns_rdata_fromstruct and
dns_rdata_tostruct for WKS and ISDN types. [RT #34910]
2013-10-25 13:06:28 +11:00
Mark Andrews
a4b2adce6b UPD -> UDP
(cherry picked from commit 11e9195ad1)
2013-10-25 12:58:47 +11:00
Mark Andrews
3825f576eb %ld.%06g -> %ld.%06d
(cherry picked from commit 7f0e47b3c2)
2013-10-25 12:54:07 +11:00
Tinderbox User
7d69ca6c31 update copyright notice 2013-10-24 23:45:46 +00:00
Mark Andrews
d9b2123e7a 3662. [bug] 'host' could die if a UPD query timed out. [RT #34870]
(cherry picked from commit 6100b17699)
2013-10-25 10:30:20 +11:00
Mark Andrews
1ad4a296d7 missing FCTXTRACE2 macro RT#34914
(cherry picked from commit 0bfc15fe59)
2013-10-21 15:52:22 +11:00
Tinderbox User
4627b877d3 update copyright notice 2013-10-18 23:45:44 +00:00
Tinderbox User
2d0fab5fa6 newcopyrights 2013-10-18 23:30:16 +00:00
Jeremy C. Reed
ba659e8495 fix typo in warning output
okayed via jabber

(cherry picked from commit d9ff5f9c7a)
2013-10-18 14:41:07 +11:00
Mark Andrews
be96b46d49 grammar
(cherry picked from commit 5bb783ce9a)
2013-10-17 07:14:58 +11:00
Evan Hunt
201fe6e293 [v9_9] add --enable-rrl to the configure summary 2013-10-16 13:00:15 -07:00
Tinderbox User
99005eede5 regen v9_9 2013-10-14 01:14:16 +00:00
Tinderbox User
d28551927a update copyright notice 2013-10-13 23:45:46 +00:00
Tinderbox User
d1f133cc09 newcopyrights 2013-10-13 23:30:17 +00:00
Tinderbox User
33720a8075 regen v9_9 2013-10-13 01:14:21 +00:00
Mark Andrews
b3da3597a9 typos
(cherry picked from commit cbadc440b9)
2013-10-13 11:13:03 +11:00
Tinderbox User
8b3df7ae61 regen v9_9 2013-10-12 01:14:08 +00:00
Mark Andrews
90f313319c s/dyanmic/dynamic/
(cherry picked from commit b9c95f8211)
2013-10-12 08:22:37 +11:00
Tinderbox User
2c69a06274 update copyright notice 2013-10-08 23:45:48 +00:00
Tinderbox User
a467ad7393 newcopyrights 2013-10-08 23:30:07 +00:00
Mark Andrews
6f47b20040 be consistent in how ISC_PLATFORM_USETHREADS is defined and used
(cherry picked from commit 03a9daede1)
2013-10-08 17:13:05 +11:00
Tinderbox User
6ed8309ffe update copyright notice 2013-10-08 04:13:14 +00:00
Tinderbox User
de92039a9f newcopyrights 2013-10-08 04:12:16 +00:00
Mark Andrews
88ee7ab746 call isc_mutex_trylock rather than pthread_mutex_trylock
(cherry picked from commit c6e6cac4ea)
2013-10-08 12:12:27 +11:00
Mark Andrews
478320e6dd 3661. [bug] Address lock order reversal deadlock with inline zones.
[RT #34856]

(cherry picked from commit 03152360db)
2013-10-08 11:43:40 +11:00
Evan Hunt
c2f20c9f7a [v9_9] link isc-config.sh to bind9-config
3660.	[cleanup]	Changed the name of "isc-config.sh" to "bind9-config".
			[RT #23825]
(cherry picked from commit aacd7daaf7)
2013-10-04 09:22:06 -07:00
Mark Andrews
3ea48fcf8a 3659. [port] solaris: don't add explict dependancies/rules for
python programs as make won't use the implicit rules.
                        [RT #34835]

(cherry picked from commit a379c8c108)
2013-10-02 14:05:08 +10:00
Mark Andrews
9b7d05c900 3658. [port] linux: Address platform specific compilation issue
when libcap-devel is installed. [RT #34838]

(cherry picked from commit 7433a204d3)
2013-09-26 15:27:09 +10:00
Mark Andrews
394c3ab760 3657. [port] Some readline clones don't accept NULL pointers when
calling add_history. [RT #34842]

(cherry picked from commit 1a4725bef2)
2013-09-26 08:25:36 +10:00
Mark Andrews
0c1e0b4c88 3656. [bug] Treat a all zero netmask as invalid when generating
the localnets acl. [RT #34687]

(cherry picked from commit c9ee72cb3a)
2013-09-26 07:41:10 +10:00
Mark Andrews
7c1a9fa5ab 3655. [cleanup] Simplify TCP message processing when requesting a
zone transfer.  [RT #34825]

(cherry picked from commit fb623f9a07)
2013-09-25 09:58:46 +10:00
Mark Andrews
34da209708 3654. [bug] Address race condition with manual notify requests.
[RT #34806]

(cherry picked from commit 5116f25421)
2013-09-25 09:47:54 +10:00
Mark Andrews
ed3dc651f5 3653. [func] Create delegations for all "children" of empty zones
except "forward first". [RT #34826]

(cherry picked from commit 00043fc284)
2013-09-25 09:41:26 +10:00
Tinderbox User
2db9d480e8 update copyright notice 2013-09-23 23:45:46 +00:00
Tinderbox User
c1f2f77265 newcopyrights 2013-09-23 23:30:14 +00:00
Mark Andrews
f026660a4c silence clang warning
(cherry picked from commit 9084a3e58f)
2013-09-23 13:26:55 +10:00
Mark Andrews
7475f21253 remove blank
(cherry picked from commit 75aa3c6f2ada5dcc657d0858ee4544c7997d9840)
2013-09-23 09:45:31 +10:00
Mark Andrews
685f0fd067 3651. [tuning] Adjust when a master server is deemed unreachable.
[RT #27075]

(cherry picked from commit 97a2a26cd9)
2013-09-21 17:13:54 +10:00
Mark Andrews
8f133c2900 3650. [tuning] Use separate rate limiting queues for refresh and
notify requests. [RT #30589]

(cherry picked from commit c1b8fa6160)
2013-09-21 16:30:29 +10:00
Tinderbox User
3f72c4af9e update copyright notice 2013-09-19 23:45:45 +00:00
Tinderbox User
7175b5debc newcopyrights 2013-09-19 23:30:07 +00:00
Evan Hunt
1e77160774 [v9_9] comment nzf files
3649.	[cleanup]	Include a comment in .nzf files, giving the name of
			the associated view. [RT #34765]
(cherry picked from commit c7965f84c2)
2013-09-19 15:43:18 -07:00
Tinderbox User
c55db6da4c update copyright notice 2013-09-18 23:45:47 +00:00
Tinderbox User
1c5ff68130 newcopyrights 2013-09-18 23:30:20 +00:00
Mark Andrews
b7f64bab54 [master] clarify case preservation feature
(cherry picked from commit dc3ac7e79a)
2013-09-18 16:10:50 +10:00
Mark Andrews
8cf6ba817a document case sensitive responses
(cherry picked from commit ca9bf8644a)
2013-09-18 16:09:32 +10:00
Mark Andrews
4713b1f369 3645. [protocol] Use case sensitive compression when responding to
queries. [RT #34737]

(cherry picked from commit cb69994ff8)
2013-09-18 16:07:43 +10:00
Mark Andrews
d2c50258e2 refresh_callback needs to check if the zone is exiting
(cherry picked from commit 2e314abcf0a47acfbab55e5ef0463c04c08476be)
2013-09-18 14:54:57 +10:00
Mark Andrews
ebd7900670 call zone_settimer; sub test failure was not being detected 2013-09-18 12:57:25 +10:00
Mark Andrews
5b79fdf1aa use $1 instead of \\1
(cherry picked from commit 3b84724c44)
2013-09-18 11:55:02 +10:00
Tinderbox User
cec6d8e5b7 regen v9_9 2013-09-18 01:14:08 +00:00
Mark Andrews
6aef504a6a 3644. [protocol] Check that EDNS subnet client options are well formed.
[RT #34718]

(cherry picked from commit 3ad8f24ddd)
2013-09-18 11:03:59 +10:00
Mark Andrews
338e708510 whitespace 2013-09-18 10:36:00 +10:00
Mark Andrews
1229ebb09b tabify CHANGES/CHANGES.SE/EXCLUDED 2013-09-18 10:35:34 +10:00
Tinderbox User
e7953a5eff update copyright notice 2013-09-17 23:45:47 +00:00
Mark Andrews
96438fa1df update 2013-09-18 09:34:25 +10:00
Mark Andrews
01b7d52a9f silence compiler warning 2013-09-18 09:16:13 +10:00
Mark Andrews
e5c276b36b 3641. [bug] Handle changes to sig-validity-interval settings
better. [RT #34625]

(cherry picked from commit b5f4cc132e)
2013-09-17 12:59:11 +10:00
Mark Andrews
decbadf098 3640. [bug] ndots was not being checked when searching. Only
continue searching on NXDOMAIN responses.  Add the
                        ability to specify ndots to nslookup. [RT #34711]

(cherry picked from commit 8afea636ab)
2013-09-17 11:56:50 +10:00
Mark Andrews
4b1e6c7859 whitspace 2013-09-17 11:14:49 +10:00
Mark Andrews
65d3b9a231 3639. [bug] Treat type 65533 (KEYDATA) as opaque except when used
in a key zone. [RT #34238]

(cherry picked from commit d6f99498d6)
2013-09-17 10:37:56 +10:00
Tinderbox User
229809a446 update copyright notice 2013-09-16 23:45:41 +00:00
Tinderbox User
38e6997347 newcopyrights 2013-09-16 23:30:11 +00:00
Mark Andrews
666676fce0 cleanup missing
(cherry picked from commit 7e15f645f4)
2013-09-16 10:19:53 +10:00
Mark Andrews
e33278a779 fix whitespace in conf files 2013-09-16 10:16:24 +10:00
Tinderbox User
73eaba9703 newcopyrights 2013-09-14 23:30:11 +00:00
Mark Andrews
ee989df86f silence compiler warnings
(cherry picked from commit a0369bb59f)
2013-09-14 19:35:04 +10:00
Evan Hunt
84ff7fc059 [v9_9] fix to change #3647
(cherry picked from commit 213c41c9f7)
2013-09-13 09:53:54 -07:00
Tinderbox User
571734a2e9 newcopyrights 2013-09-12 23:30:58 +00:00
Evan Hunt
4e67994746 [v9_9] update to atf 0.17
3648.	[test]		Updated the ATF test framework to version 0.17.
			[RT #25627]
(cherry picked from commit a747113422)
2013-09-12 16:22:03 -07:00
Evan Hunt
a383fb2e0d [v9_9] shutdown race
3647.   [bug]           Address a race condition when shutting down a zone.
                        [RT #34750]
(cherry picked from commit 76df835d59)
2013-09-12 16:20:04 -07:00
Evan Hunt
78584988d8 [v9_9] strdup journal filename
3646.	[bug]		Journal filename string could be set incorrectly,
                        causing garbage in log messages.  [RT #34738]
(cherry picked from commit 18df9e628e)
2013-09-09 22:13:40 -07:00
Evan Hunt
c6a2f96d62 [v9_9] make sure both tags and branches work with kit.sh
(cherry picked from commit ab571c1f5b)
2013-09-09 10:35:04 -07:00
Evan Hunt
47ddb89b43 [v9_9] avoid duplication when looking up the shorthash
(cherry picked from commit d899311194)
2013-09-09 09:27:06 -07:00
Evan Hunt
8f9657aaf6 [v9_9] Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2013-09-04 22:09:08 -07:00
Tinderbox User
3cdd07dddb regenerate 2013-09-05 05:09:05 +00:00
Evan Hunt
e62b48030f [v9_9] prep 9.9.4 2013-09-04 22:08:22 -07:00
Tinderbox User
baea1edca7 regen v9_9 2013-09-05 01:13:58 +00:00
Evan Hunt
e60e435688 clarify slip doc
3643.	[doc]		Clarify RRL "slip" documentation.
(cherry picked from commit 2bae76022c)
2013-09-03 21:25:13 -07:00
Evan Hunt
ef908916d5 put back "9.9.4rc2 released" line deleted by mistake 2013-09-03 21:24:12 -07:00
Mark Andrews
e30eef239d style
(cherry picked from commit 92f2cf45ce)
2013-09-01 17:09:38 +10:00
Curtis Blackburn
a0de3c9984 3638. [cleanup] Add the ability to handle ENOPROTOOPT in case it is
encountered. [RT #34668]
2013-08-28 15:59:18 -05:00
Tinderbox User
fe9ffc4f3a update copyright notice 2013-08-19 23:45:41 +00:00
Tinderbox User
783d580621 newcopyrights 2013-08-19 23:30:20 +00:00
Mark Andrews
2d1fd70e51 add dns_soa_buildrdata
(cherry picked from commit 415f8d470d)
2013-08-19 08:30:52 +00:00
Mark Andrews
481672cf84 remove dead code
(cherry picked from commit 601d1a9aad)
2013-08-19 12:44:35 +10:00
Mark Andrews
4a35f5a42c 9.9.4rc2 2013-08-19 11:44:53 +10:00
Mark Andrews
c0f83ec73e 9.9.4rc2 2013-08-19 11:39:29 +10:00
Mark Andrews
2b9e561f05 3636. [bug] Automatic empty zones now behave better with
forward only "zones" beneath them. [RT #34583]

(cherry picked from commit 997c2c5116)
2013-08-19 09:19:03 +10:00
Tinderbox User
18a48b638f update copyright notice 2013-08-16 23:45:40 +00:00
Tinderbox User
a783bea8ae newcopyrights 2013-08-16 23:30:17 +00:00
Mark Andrews
f15a37beb5 3636. [bug] Automatic empty zones now behave better with
forward only "zones" beneath them. [RT #34583]

(cherry picked from commit e548e07a9a)
2013-08-16 13:56:42 +10:00
Tinderbox User
d1fb83012b update copyright notice 2013-08-15 23:45:44 +00:00
Mark Andrews
e549f72c5a don't print out result as it is not meaningful here 2013-08-16 09:45:08 +10:00
Tinderbox User
28d6d80d43 newcopyrights 2013-08-15 23:30:14 +00:00
Mark Andrews
e95e204520 3635. [bug] Signatures were not being removed from a zone with
only KSK keys for a algorithm. [RT #24439]

(cherry picked from commit d1e22676de)
2013-08-15 13:37:47 +10:00
Mark Andrews
fa4192fe18 3634. [func] Report build-id in rndc status. Report build-id
when building from a git repository. [RT #20422]

(cherry picked from commit 0e1dfb8ff5)
2013-08-15 12:56:43 +10:00
Mark Andrews
e27df13867 3633. [cleanup] Refactor OPT processing in named to make it easier
to support new EDNS options. [RT #34414]

(cherry picked from commit 8e091f3d3e)
2013-08-15 12:08:07 +10:00
Mark Andrews
cbc2132d2a 3632. [bug] Signature from newly inactive keys were not being
removed.  [RT #32178]

(cherry picked from commit 7ace327795)
2013-08-15 11:20:18 +10:00
Evan Hunt
3c292bb534 [v9_9] change 3630 incomplete--needed to check fromtext too
(cherry picked from commit 5f630b9417)
2013-08-14 17:24:34 -07:00
Mark Andrews
310bcbf417 3631. [bug] Remove spurious warning about missing signatures when
qtype is SIG. [RT #34600]

(cherry picked from commit 06ace051e7)
2013-08-15 08:05:56 +10:00
Tinderbox User
0920c92d0d update copyright notice 2013-08-13 23:45:42 +00:00
Tinderbox User
35ca694f55 newcopyrights 2013-08-13 23:31:07 +00:00
Evan Hunt
70858bf974 [v9_9] fix md5 key id computation
3630.	[bug]		Ensure correct ID computation for MD5 keys. [RT #33033]
(cherry picked from commit 5d4343a998)
2013-08-13 16:04:48 -07:00
Tinderbox User
a6020ac78b newcopyrights 2013-08-09 23:30:19 +00:00
Mark Andrews
dab73dfc86 3627. [bug] RPZ changes were not effective on slaves. [RT #34450]
(cherry picked from commit 333f320a62d78e79fa54e7bcc389073a109618f7)
2013-08-09 12:58:11 +10:00
Tinderbox User
5996ed5c41 update copyright notice 2013-08-07 23:45:41 +00:00
Tinderbox User
7219764fd4 newcopyrights 2013-08-07 23:30:16 +00:00
Tinderbox User
ae796efb6b Merge branch 'v9_9' of /proj/git/prod/bind9 into v9_9 2013-08-07 06:16:20 +00:00
Mark Andrews
4a5b9448d9 3625. [bug] Don't send notify messages to machines outside of the
test setup.

(cherry picked from commit f45f654185)
2013-08-07 15:50:21 +10:00
Tinderbox User
2eaa6a6b3d Merge branch 'v9_9' of /proj/git/prod/bind9 into v9_9 2013-08-02 08:15:49 +00:00
Mark Andrews
2b54092072 declare statlevel 2013-08-02 18:05:48 +10:00
Mark Andrews
2aa4d99649 3623. [bug] zone-statistics was only effective in new statistics.
[RT #34466]
2013-08-02 17:53:21 +10:00
Tinderbox User
d4250a819b Merge branch 'v9_9' of /proj/git/prod/bind9 into v9_9 2013-08-02 01:16:11 +00:00
Tinderbox User
7ef3bf9ae1 regen v9_9 2013-08-02 01:13:44 +00:00
Tinderbox User
49ac8449d0 Merge branch 'v9_9' of /proj/git/prod/bind9 into v9_9 2013-08-01 05:16:28 +00:00
Mark Andrews
553b3e2597 remove redundent 'request-ixfr'
(cherry picked from commit e543b4e5db)
2013-08-01 14:39:54 +10:00
Tinderbox User
518d1e1292 Merge branch 'v9_9' of /proj/git/prod/bind9 into v9_9 2013-07-31 20:16:00 +00:00
Curtis Blackburn
b13508178e [v9_9] corrected a typo in the configure summary [RT #34448] 2013-07-31 15:07:05 -05:00
Tinderbox User
8f58d2941c Merge branch 'v9_9' of /proj/git/prod/bind9 into v9_9 2013-07-30 14:15:56 +00:00
Mark Andrews
faad0b28cd add CVE reference
(cherry picked from commit b0bd5a3f73)
2013-07-30 23:32:13 +10:00
Tinderbox User
cd6070bae0 Merge branch 'v9_9' of /proj/git/prod/bind9 into v9_9 2013-07-26 01:16:06 +00:00
Mark Andrews
42dd57732d add comment
(cherry picked from commit f45818b82a)
2013-07-26 10:26:06 +10:00
Mark Andrews
7b4b77c203 add CVE-2013-4854 2013-07-26 10:19:29 +10:00
Tinderbox User
5f4dc95902 Merge branch 'v9_9' of /proj/git/prod/bind9 into v9_9 2013-07-25 19:15:52 +00:00
Evan Hunt
9d9556f942 [v9_9] fix bad test output when server fails
(cherry picked from commit 3cea62e3df)
2013-07-25 11:18:34 -07:00
Tinderbox User
59182f71b2 Merge branch 'v9_9' of /proj/git/prod/bind9 into v9_9 2013-07-19 00:15:58 +00:00
Mark Andrews
9d0313350a newcopyrights 2013-07-19 10:10:11 +10:00
Mark Andrews
ea18f614fc update 2013-07-19 10:07:24 +10:00
Tinderbox User
ee4e05c3e0 newcopyrights 2013-07-18 23:30:09 +00:00
Mark Andrews
7a558671b6 3621. [security] Incorrect bounds checking on private type 'keydata'
can lead to a remotely triggerable REQUIRE failure
                        (CVE-2013-4854). [RT #34238]

(cherry picked from commit fdb4ae8f6c)
2013-07-19 09:27:21 +10:00
Jeremy C. Reed
f3c4b5fc07 Typo in tag.
Reported by SUN Guonian.
2013-07-15 21:51:43 -05:00
Mark Andrews
17820b7a9f 9.9.4rc1 2013-07-15 15:37:36 +10:00
Tinderbox User
6c030579a4 9.9.4rc1 2013-07-15 05:13:48 +00:00
Mark Andrews
75b9952748 9.9.4rc1 2013-07-15 15:03:21 +10:00
Mark Andrews
b460f27d99 whitespace 2013-07-15 14:40:42 +10:00
Mark Andrews
7991f7aeb7 remove dead code 2013-07-15 09:31:33 +10:00
Evan Hunt
79522593b8 [v9_9] add a sleep to prevent intermittent test failure
(cherry picked from commit 9a32b8d8f8)
2013-07-13 15:31:14 -07:00
Evan Hunt
55564db697 [v9_9] add summary details
(cherry picked from commit b46f253ed783bb25fe99d147f40aeffb75237704)
2013-07-13 15:15:50 -07:00
Mark Andrews
9a1eaa6cfa fix unchecked null; value not read
(cherry picked from commit 09fec18669)
2013-07-14 00:30:16 +10:00
Tinderbox User
5360aa1250 update copyright notice 2013-07-11 23:45:40 +00:00
Tinderbox User
eb9590782a newcopyrights 2013-07-11 23:30:12 +00:00
Evan Hunt
f3e5684b09 [v9_9] don't go nonresponsive during "rndc reload"
3617.	[bug]		Named was failing to answer queries during
			"rndc reload" [RT #34098]
(cherry picked from commit 964bdcd7ad)
2013-07-11 10:57:19 -07:00
Evan Hunt
0bbc017b99 [v9_9] address zone->db races
3616.	[bug]		Change #3613 was incomplete. [RT #34177]
2013-07-11 09:53:37 -07:00
Evan Hunt
dc4ab3bf62 [v9_9] add configure summary
3615.	[cleanup]	"configure" now finishes by printing a summary
			of optional BIND features and whether they are
			active or inactive. ("configure --enable-full-report"
			increases the verbosity of the summary.) [RT #31777]
(cherry picked from commit 71697fd082)
2013-07-10 20:55:39 -07:00
Evan Hunt
e57ea0e52f [v9_9] portability fix
3614.	[port]		Check for <linux/types.h>. [RT #34162]
(cherry picked from commit c174d5c13c)
2013-07-10 20:45:54 -07:00
Tinderbox User
dca4d27d76 update copyright notice 2013-07-10 23:45:37 +00:00
Tinderbox User
85264ea849 newcopyrights 2013-07-10 23:30:09 +00:00
Evan Hunt
a4e8c22100 [v9_9] silence warning 2013-07-10 09:16:06 -07:00
Evan Hunt
de875fd13d [v9_9] count the test cases correctly 2013-07-09 22:53:53 -07:00
Evan Hunt
45d643b551 [v9_9] fix change numbers 2013-07-09 18:26:35 -07:00
Evan Hunt
c2cb8c8fc0 [v9_9] address race conditions with removing inline zones
3513.	[bug]		named could crash when deleting inline-signing
			zones with "rndc delzone". [RT #34066]
(cherry picked from commit 927e4c9fec)
2013-07-09 17:50:43 -07:00
Tinderbox User
72cdd1b118 update copyright notice 2013-07-09 23:45:38 +00:00
Tinderbox User
5730f41dc4 newcopyrights 2013-07-09 23:30:20 +00:00
Evan Hunt
a66c88dd26 [v9_9] added isc_safe_memcmp()
3611.	[bug]		Improved resistance to a theoretical authentication
			attack based on differential timing.  [RT #33939]
(cherry picked from commit 5b7abbef51)
2013-07-09 12:03:18 -07:00
Tinderbox User
6fcd0ded5c update copyright notice 2013-07-08 23:45:36 +00:00
Tinderbox User
2641358bed newcopyrights 2013-07-08 23:30:09 +00:00
Evan Hunt
e1e53a03a1 [v9_9] add missing binaries to BINDInstall
3610.	[cleanup]	win32: Some executables had been omitted from the
			installer. [RT #34116]
(cherry picked from commit 26bda028ad)
2013-07-08 10:32:20 -07:00
Tinderbox User
f4b3f37bdc regen v9_9 2013-07-07 01:16:20 +00:00
Evan Hunt
697910196d [v9_9] fixed ARM typo in RRL section
(cherry picked from commit a0997db085)
2013-07-05 18:14:27 -07:00
Mark Andrews
5dec53dbad copy CHANGES.SE if it exists
(cherry picked from commit 270506a2ce)
2013-07-04 12:26:57 +10:00
Tinderbox User
53d3055dd3 newcopyrights 2013-07-03 23:30:12 +00:00
Evan Hunt
a01e53aaf6 [v9_9] fix todos bug 2013-07-03 15:57:50 -07:00
Evan Hunt
baddaf1801 [v9_9] added todos.pl for win32 build
3608.	[port]		win32: added todos.pl script to ensure all text files
			the win32 build depends on are converted to DOS
			newline format. [RT #22067]
(cherry picked from commit 1da46be572)
2013-07-03 11:43:34 -07:00
Mark Andrews
451ab598e2 3607. [bug] dnssec-keygen had broken 'Invalid keyfile' error
message. [RT #34045]
2013-07-03 15:42:39 +10:00
Tinderbox User
e5281c2986 update copyright notice 2013-07-02 23:45:33 +00:00
Tinderbox User
2fe183c4a7 newcopyrights 2013-07-02 23:30:08 +00:00
Evan Hunt
cd053d6805 [v9_9] fixed win32 buildsetup glitch
(cherry picked from commit 9fce471584da910407c5b998306ee6609bc7ccc2)
2013-07-01 20:15:56 -07:00
Evan Hunt
dc35a6c44f [v9_9] enable RRL by default on win32 2013-07-01 16:39:52 -07:00
Tinderbox User
dc49b78e00 [v9_9] regnerate 2013-07-01 18:27:18 +00:00
Evan Hunt
31ba7f4a00 [v9_9] prep 9.9.4b1 2013-07-01 10:39:45 -07:00
Tinderbox User
e97bd529c5 newcopyrights 2013-06-29 23:30:11 +00:00
Tinderbox User
2f0f13f057 regen v9_9 2013-06-29 01:49:57 +00:00
Tinderbox User
a1ccc5e5d8 update copyright notice 2013-06-26 23:45:38 +00:00
Tinderbox User
41eb126cd5 newcopyrights 2013-06-26 23:30:09 +00:00
Evan Hunt
bd96797412 [v9_9] win32 fixes
3605.	[port]		win32: Addressed several compatibility issues
			with newer versions of Visual Studio. [RT #33916]

(cherry picked from commit f42c0dcca8)

Squashed commit of the following:

commit 4127af15f85da90cf2bd3a0c5a558daae89e833a
Author: Francis Dupont <fdupont@isc.org>
Date:   Tue Jun 25 22:41:53 2013 +0200

    make the last change to be text

commit 21ef4891b9ee3e3aefb45d4c80d5cb7ec78f264f
Author: Curtis Blackburn <ckb@isc.org>
Date:   Tue Jun 25 12:35:08 2013 -0500

    [rt33916] re-worded for easier reading

commit 83828e47e62fea4070441e645ba8fed338255ceb
Author: Francis Dupont <fdupont@isc.org>
Date:   Mon Jun 24 16:08:11 2013 +0200

    introduce a VCRedistPath env var

commit 0337f2554f168993a65945e78c2879e9bfca5293
Author: Francis Dupont <fdupont@isc.org>
Date:   Sun Jun 23 01:23:26 2013 +0200

    _adjust_fdiv for VS < 2010

commit 375fdd5c06be276b0ff0ad589c0e22b809339fe9
Author: Francis Dupont <fdupont@isc.org>
Date:   Thu Jun 20 16:27:04 2013 +0200

    move to MSVC v1600 as it still breaks on VS 2010

commit bfcaf72071e9d8df1d0ce0c5f05b69acd51bf698
Author: Francis Dupont <fdupont@isc.org>
Date:   Thu Jun 20 15:57:35 2013 +0200

    WIN32: avoid addrinfo redef

commit 18504c3e50b11e66a0b573c7cb3d61094bfa5b52
Author: Francis Dupont <fdupont@isc.org>
Date:   Thu Jun 20 15:54:38 2013 +0200

    WIN32: fseek/ftell

commit f9a4fdccc5ab1c74c64412fb76da7dfd161787b2
Author: Francis Dupont <fdupont@isc.org>
Date:   Thu Jun 20 15:13:01 2013 +0200

    fix WIN32 error redefs in net.h (isc ad lwres libs)
2013-06-26 14:40:57 -07:00
Tinderbox User
560800cf93 update copyright notice 2013-06-25 23:47:26 +00:00
Tinderbox User
1d80271ffc newcopyrights 2013-06-25 23:30:10 +00:00
Mark Andrews
06d8fb2202 3603. [bug] Install <isc/stat.h>. [RT #33956] 2013-06-25 23:58:16 +10:00
Francis Dupont
08155cc527 Added to PKCS#11 openssl patches a value len
attribute in DH derive key. [RT #33928]
2013-06-24 09:37:10 +02:00
Evan Hunt
acd90a1cc2 [v9_9] Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2013-06-19 17:14:14 -07:00
Evan Hunt
1225aece99 [v9_9] added change note for previous commit
3600.	[cleanup]	dig: Fixed a typo in the warning output when receiving
			an oversized response. [RT #33910]
2013-06-19 17:13:08 -07:00
Tinderbox User
a120d1ed3e update copyright notice 2013-06-19 23:45:47 +00:00
Tinderbox User
ea64e9ad8f newcopyrights 2013-06-19 23:30:08 +00:00
Evan Hunt
57ca2e3093 [v9_9] typo in dig
(cherry picked from commit 31d95f1095)
2013-06-19 15:21:36 -07:00
Evan Hunt
7c2f548141 [v9_9] check for physical equivalence in names
3599.	[tuning]	Check for pointer equivalence in name comparisons.
			[RT #18125]
2013-06-18 18:15:07 -07:00
Tinderbox User
5ca7f2e7ad update copyright notice 2013-06-14 23:45:40 +00:00
Tinderbox User
c32e352811 newcopyrights 2013-06-14 23:30:09 +00:00
Evan Hunt
971e81834e [v9_9] updated win32 build
3596.	[port]		Updated win32 build documentation, added
                        dnssec-verify. [RT #22067]
(cherry picked from commit 6a4f3d3765e3af82f48a153a0ceb5d40a549b603)
2013-06-13 17:31:17 -07:00
Tinderbox User
0c3b9cae7f newcopyrights 2013-06-13 23:30:09 +00:00
Mark Andrews
9fad323d32 3594. [maint] Update config.guess and config.sub. [RT #33816]
(cherry picked from commit beb12aad6b)
2013-06-13 10:06:40 +10:00
Tinderbox User
3248776e81 regen v9_9 2013-06-12 01:14:44 +00:00
Mark Andrews
76caf64325 handle realloc failure [RT #32105]
(cherry picked from commit 0a6bfbc939)
2013-06-11 16:04:07 +10:00
Evan Hunt
bc8cab776d [v9_9] corrected closing tag 2013-06-10 18:48:57 -07:00
Tinderbox User
0737addd12 update copyright notice 2013-06-10 23:45:45 +00:00
Tinderbox User
675d7d46ec newcopyrights 2013-06-10 23:30:08 +00:00
Mark Andrews
8454d1cb78 s/exit 1/exit 255/ so that test is marked as SKIPPED not UNTESTED 2013-06-11 09:20:26 +10:00
Evan Hunt
a7daffaf4e [v9_9] move rndc command documentation to "man rndc"
3592.	[doc]		Moved documentation of rndc command options to the
			rndc man page. [RT #33506]
(cherry picked from commit 1b2a4ce2b1)
2013-06-10 14:43:52 -07:00
Tinderbox User
ccbe0c8880 regen v9_9 2013-06-09 01:14:15 +00:00
Tinderbox User
00f7494211 update copyright notice 2013-06-08 23:45:45 +00:00
Evan Hunt
fbae832784 [v9_9] improve RRL handling of deferrals and slipped NXDOMAIN
3590.	[bug]		When using RRL on recursive servers, defer
			rate-limiting until after recursion is complete;
			also, use correct rcode for slipped NXDOMAIN
			responses.  [RT #33604]
(cherry picked from commit 89be55dc90)
2013-06-08 13:20:02 -07:00
Evan Hunt
9d06afa2f4 [v9_9] add rrl binary to .gitignore 2013-06-08 10:32:24 -07:00
Evan Hunt
8b6e43fa6d [v9_9] doc typo 2013-06-07 18:28:06 -07:00
Mark Andrews
7df76c6dbb update 2013-06-08 09:52:36 +10:00
Evan Hunt
6260eef2be [v9_9] backport RRL to 9.9.x
This incorporates the following changes, plus a new configure
option "--enable-rrl" to turn them on:

3575.	[func]		Changed the logging category for RRL events from
			'queries' to 'query-errors'. [RT #33540]

3554.	[bug]		RRL failed to correctly rate-limit upward
			referrals and failed to count dropped error
			responses in the statistics. [RT #33225]

3545.	[bug]		RRL slip behavior was incorrect when set to 1.
			[RT #33111]

3518.	[bug]		Increase the size of dns_rrl_key.s.rtype by one bit
			so that all dns_rrl_rtype_t enum values fit regardless
			of whether it is teated as signed or unsigned by
			the compiler. [RT #32792]

3494.	[func]		DNS RRL: Blunt the impact of DNS reflection and
			amplification attacks by rate-limiting substantially-
			identical responses. To enable, use "configure
			--enable-rrl". [RT #28130]
2013-06-07 12:47:11 -07:00
Evan Hunt
63de57ef64 [v9_9] fix memory leak in sigchase
3588.	[bug]		dig: addressed a memory leak in the sigchase code
			that could cause a shutdown crash.  [RT #33733]
(cherry picked from commit bf0441a339)
2013-06-07 11:16:01 -07:00
Tinderbox User
a098ae7b37 update copyright notice 2013-06-06 23:45:45 +00:00
Mark Andrews
187383c656 3587. [func] 'named -g' now checks the logging configuration but
does not use it. [RT #33473]
(cherry picked from commit 8144dc702b)
2013-06-06 11:10:37 +10:00
Mark Andrews
77043847d5 3586. [buf] Handle errors in xmlDocDumpFormatMemoryEnc. [RT #33706]
(cherry picked from commit 7ee225cf90)
2013-06-06 11:00:05 +10:00
Tinderbox User
09520bf8c4 update copyright notice 2013-06-05 23:45:41 +00:00
Mark Andrews
9df909a6cb update 2013-06-05 11:25:26 +10:00
Evan Hunt
e7582c65b1 [v9_9] assertion failure in resolver.c
3584.	[security]	Caching data from an incompletely signed zone could
			trigger an assertion failure in resolver.c [RT #33690]
(cherry picked from commit 276457f7a3)
2013-06-04 11:23:18 -07:00
Mark Andrews
1325e455bc 3583. [bug] Address memory leak in GSS-API processing [RT #33574]
(cherry picked from commit 2347c72129)
2013-06-04 12:00:31 +10:00
Mark Andrews
5123e11853 3582. [bug] Silence false positive warning regarding missing file
directive for inline slave zones.  [RT #33662]
(cherry picked from commit 1e34fe9044)
2013-06-04 11:36:12 +10:00
Mark Andrews
286ef95ba5 redo: 3576. [bug] Address a shutdown race when validating. [RT #33573] 2013-06-04 11:26:33 +10:00
Tinderbox User
c1322d49bc regen v9_9 2013-06-04 01:14:39 +00:00
Tinderbox User
c0bdfe7186 update copyright notice 2013-06-03 23:45:44 +00:00
Tinderbox User
b16b5d9d04 newcopyrights 2013-06-03 23:30:07 +00:00
Curtis Blackburn
26cac42495 3581. [bug] Changed the tcp-listen-queue default to 10. [RT #33029] 2013-06-03 14:02:09 -05:00
Evan Hunt
b79131b960 [v9_9] log forwarded updates
3566.	[func]		Log when forwarding updates to master. [RT #33240]
(cherry picked from commit 34f3693b93)
2013-06-03 09:52:18 -07:00
Evan Hunt
27e5f18023 [v9_9] possible race in acache.c
3580.	[bug]		Addressed a possible race in acache.c [RT #33602]
(cherry picked from commit 5183f9d9da)
2013-05-31 17:31:14 -07:00
Mark Andrews
0904ef3859 address memory in dns_view_getsecroots failure
(cherry picked from commit c611465739)
2013-05-31 12:31:25 +10:00
Mark Andrews
7bd2a9beb3 cleanup 2013-05-31 11:22:41 +10:00
Tinderbox User
b8e7ff70a9 regen v9_9 2013-05-31 01:14:29 +00:00
Tinderbox User
e67d98738e update copyright notice 2013-05-30 23:45:45 +00:00
Tinderbox User
29645d1fd7 newcopyrights 2013-05-30 23:30:11 +00:00
Mark Andrews
84201c293d silence compiler warnings 2013-05-30 14:09:24 +10:00
Mark Andrews
086ca987ec 3579. [maint] Updates to PKCS#11 openssl patches, supporting
versions 0.9.8y, 1.0.0k, 1.0.1e [RT #33463]
2013-05-30 12:40:53 +10:00
Tinderbox User
6fba1330fc regen v9_9 2013-05-30 01:14:44 +00:00
Mark Andrews
9614664990 3578. [bug] 'rndc -c file' now fails if 'file' does not exist.
[RT #33571]
(cherry picked from commit 17a00ff54c)
2013-05-30 11:09:54 +10:00
Tinderbox User
0103c44f73 update copyright notice 2013-05-29 23:45:44 +00:00
Tinderbox User
a63fd7ab9b newcopyrights 2013-05-29 23:30:26 +00:00
Mark Andrews
e2a54c4408 3577. [bug] Handle zero TTL values better. [RT #33411]
(cherry picked from commit 5f238c3c64)
2013-05-29 18:12:22 +10:00
Mark Andrews
91fdf4c601 3576. [bug] Address a shutdown race when validating. [RT #33573]
(cherry picked from commit 2cd3c8856c)
2013-05-29 18:03:59 +10:00
Mark Andrews
e9e90a989d 3573. [bug] "rndc addzone" and "rndc delzone" incorrectly handled
zone names containing punctuation marks and other
			nonstandard characters. [RT #33419]
2013-05-29 17:55:57 +10:00
Mark Andrews
e24b9972c0 3571. [bug] Address race condition in dns_client_startresolve().
[RT #33234]
2013-05-29 17:27:46 +10:00
Mark Andrews
22bca01405 3574. [doc] The 'hostname' keyword was missing from server-id
description in the named.conf man page. [RT #33476]
2013-05-29 15:51:30 +10:00
Mark Andrews
d281b39456 add description 2013-05-17 14:01:18 +10:00
Mark Andrews
2284b7356d just use test -f 2013-05-17 11:27:17 +10:00
Tinderbox User
e915dcf455 9.9.3 2013-05-17 00:51:36 +00:00
Mark Andrews
a02fa95032 9.9.3 2013-05-17 10:26:24 +10:00
Tinderbox User
85c66c4766 regen v9_9 2013-05-16 01:14:48 +00:00
Tinderbox User
616d285f99 update copyright notice 2013-05-15 23:45:40 +00:00
Tinderbox User
42660fa6d9 newcopyrights 2013-05-15 23:30:11 +00:00
Evan Hunt
9cca234d2a [v9_9] fix typo 2013-05-14 19:42:32 -07:00
Tinderbox User
941b0b5e77 newcopyrights 2013-05-09 23:30:12 +00:00
Mark Andrews
7b6a4ae6c6 add gen.dSYM 2013-05-09 10:57:12 +10:00
Mark Andrews
e56f27b74b add gen.dSYM 2013-05-09 10:55:43 +10:00
Evan Hunt
a1999294be [v9_9] add "Extended Support Version" to description 2013-05-03 15:33:26 -07:00
Evan Hunt
1bb835fbc4 [v9_9] add product description
3568.	[cleanup]	Add a product description line to the version file,
			to be reported by named -v/-V. [RT #33366]
(cherry picked from commit af9f195c9e)
2013-05-03 15:09:18 -07:00
Evan Hunt
d07ede4cd6 [v9_9] silence ccc-analyzer
3567.	[bug]		Silence clang static analyzer warnings. [RT #33365]
2013-05-03 14:35:55 -07:00
Tinderbox User
1514195eae newcopyrights 2013-05-02 23:30:10 +00:00
Evan Hunt
ed0d1d96c1 [v9_9] quote table names
3563.	[contrib]	zone2sqlite failed with some table names. [RT #33375]
(cherry picked from commit 96a1161785)
2013-05-02 07:39:30 -07:00
Evan Hunt
8da711c26c [v9_9] fix skipping of Tinderbox files 2013-05-01 20:00:55 -07:00
Tinderbox User
e1a1824557 regen v9_9 2013-05-02 01:14:34 +00:00
Mark Andrews
fe04dbc7bb add records starting with "v=spf1" 2013-05-01 15:30:36 +10:00
Mark Andrews
564b4832b7 3561. [bug] dig: issue a warning if an EDNS query returns FORMERR
or NOTIMP.  Adjust usage message. [RT #33363]
(cherry picked from commit 93aba6dcec)
2013-05-01 14:54:34 +10:00
Evan Hunt
6193977bfc [v9_9] correct change number
(cherry picked from commit 23b599264f)
2013-04-30 11:26:38 -07:00
Evan Hunt
3e543e5102 [v9_9] branchsync: don't update EXCLUDED
(cherry picked from commit aa2c42d959)
2013-04-30 10:05:06 -07:00
Mark Andrews
9fb5329995 add dns_message_buildopt 2013-04-30 17:38:53 +10:00
Tinderbox User
c7fcef622d update copyright notice 2013-04-30 06:38:46 +00:00
Tinderbox User
4b1d105077 newcopyrights 2013-04-30 06:37:57 +00:00
Mark Andrews
c41f55f7ad 3360. [bug] isc-config.sh did not honour includedir and libdir
when set via configure. [RT #33345]
2013-04-30 16:33:34 +10:00
Mark Andrews
1538720897 9.9.3rc2 2013-04-30 15:42:36 +10:00
Tinderbox User
72eb303737 update copyright notice 2013-04-30 05:02:41 +00:00
Mark Andrews
d35b02a156 bin/tests/system/redirect/ns2/redirect.db -> bin/tests/system/redirect/ns2/redirect.db.in 2013-04-30 15:01:24 +10:00
Tinderbox User
7541c0dce6 update copyright notice 2013-04-30 04:51:25 +00:00
Tinderbox User
55ff580619 newcopyrights 2013-04-30 04:49:44 +00:00
Tinderbox User
bc344e54b4 9.9.3rc2 2013-04-30 04:41:58 +00:00
Mark Andrews
c592204e36 9.9.3rc2 2013-04-30 14:38:17 +10:00
Tinderbox User
b2e53d9654 regen v9_9 2013-04-30 04:32:48 +00:00
Mark Andrews
7366376f57 3559. [func] Check that both forms of Sender Policy Framework
records exist or do not exist. [RT #33355]
(cherry picked from commit 26bb3b7a67)
2013-04-30 13:53:43 +10:00
Tinderbox User
acfbdd2539 update copyright notice 2013-04-29 23:45:41 +00:00
Tinderbox User
85e0572549 newcopyrights 2013-04-29 23:30:14 +00:00
Mark Andrews
a6503a9715 undo conditional compile 2013-04-29 17:01:48 +10:00
Mark Andrews
15cb17918f add #ifdef DLZ 2013-04-29 16:50:58 +10:00
Mark Andrews
d751c89a8b 3558. [bug] IXFR of a DLZ stored zone was broken. [RT #33331]
(cherry picked from commit 9a785712f1)
2013-04-29 15:47:17 +10:00
Mark Andrews
222a755a37 3557. [bug] Reloading redirect zones was broken. [RT #33292]
(cherry picked from commit ec8a802114)
2013-04-29 15:20:55 +10:00
Tinderbox User
cd6c226a47 update copyright notice 2013-04-28 23:45:37 +00:00
Tinderbox User
d7bb44fa35 newcopyrights 2013-04-28 23:30:14 +00:00
Evan Hunt
c99f7657bd [v9_9] d.root-servers.net AAAA
3556.	[maint]		Added AAAA for D.ROOT-SERVERS.NET.
(cherry picked from commit 73ad83bcf0)
2013-04-27 16:43:24 -07:00
Evan Hunt
bb8cd6777c [v9_9] correct man volume for isc-hmac-fixup 2013-04-27 16:40:59 -07:00
Evan Hunt
62ebf6bbef [v9_9] address two more possible acache asserts
3555.	[bug]		Address theoretical race conditions in acache.c
			(change #3553 was incomplete). [RT #33252]
(cherry picked from commit ff5ac6d421)
2013-04-25 18:03:28 -07:00
Evan Hunt
268f738ff2 [v9_9] double free caused assertion in acache
3553.	[bug]		Address suspected double free in acache. [RT #33252]
(cherry picked from commit 11b04b18f8ecb7c0119a7a6b6bbf8f5bad789c9a)
(cherry picked from commit 3673e8535584457ec1a79b6a30ddf4d182b0f921)
2013-04-25 10:41:23 -07:00
Tinderbox User
45a5a38f52 update copyright notice 2013-04-19 23:45:37 +00:00
Tinderbox User
ccb9432ba5 newcopyrights 2013-04-19 23:30:10 +00:00
Mark Andrews
585bcf4816 3552. [bug] Wrong getopt option string for 'nsupdate -r'.
[RT# 33280]
2013-04-19 23:48:53 +10:00
Evan Hunt
36701555d9 [v9_9] another check5011 bugfix 2013-04-16 14:05:41 -07:00
Evan Hunt
39210f43d3 [v9_9] bugfix in contrib/check5011.pl 2013-04-16 13:36:07 -07:00
Tinderbox User
1b4f89fdc0 update copyright notice 2013-04-12 23:45:36 +00:00
Tinderbox User
d9297c641f newcopyrights 2013-04-12 23:30:10 +00:00
Tinderbox User
16705703e7 Merge branch 'v9_9' of ssh://repo.isc.org/proj/git/prod/bind9 into v9_9 2013-04-12 12:18:44 +00:00
Tinderbox User
f9a2e48569 add dnssec-coverage.8 dnssec-coverage.html 2013-04-12 12:18:01 +00:00
Mark Andrews
635e9124cb silence hpux compiler warnings 2013-04-12 14:07:25 +10:00
Tinderbox User
515586b369 update copyright notice 2013-04-11 23:45:37 +00:00
Tinderbox User
fd92502ea8 newcopyrights 2013-04-11 23:30:09 +00:00
Mark Andrews
db8272a8f0 don't call dns_message_destroy in make_querymessage
(cherry picked from commit da87a34cd2)
2013-04-11 18:19:36 +10:00
Mark Andrews
53f675154c silence coverity warnings
(cherry picked from commit 45b727f651)
2013-04-11 17:25:44 +10:00
Tinderbox User
7bb8b43fb1 newcopyrights 2013-04-10 23:30:07 +00:00
Mark Andrews
0f5734786a add sleep 1 to loop
(cherry picked from commit cc444c73d5)
2013-04-10 21:36:27 +10:00
Tinderbox User
c4d2f352d3 update copyright notice 2013-04-09 23:45:38 +00:00
Mark Andrews
d6bc43ab52 update 2013-04-09 13:12:18 +10:00
Tinderbox User
91a288a0e3 regen v9_9 2013-04-09 01:14:18 +00:00
Mark Andrews
99d0a87115 silence signed/unsigned compare warning 2013-04-09 06:31:32 +10:00
Evan Hunt
d85e29ad97 [v9_9] add request-nsid doc
3549.	[doc]		Documentation for "request-nsid" was missing.
			[RT #33153]
(cherry picked from commit c4a453fa5c)
2013-04-08 10:27:07 -07:00
Mark Andrews
f28461b6f5 3548. [bug] The NSID request code in resolver.c was broken
resulting in invalid EDNS options being sent.
                        [RT #33153]
(cherry picked from commit 4adf97c32f)

Conflicts:
	lib/dns/include/dns/message.h
	lib/dns/message.c
(cherry picked from commit 6227ab7137)
2013-04-08 16:48:36 +10:00
Mark Andrews
f1400b03f1 3547. [bug] Some malformed unknown rdata records were not properly
detected and rejected. [RT #33129]
(cherry picked from commit 1cc4695f0d)
2013-04-08 09:56:56 +10:00
Mark Andrews
0fe7a2f874 bind-changes -> bind-changes@isc.org 2013-04-05 13:33:05 +11:00
Tinderbox User
847942cd68 update copyright notice 2013-04-04 23:45:37 +00:00
Tinderbox User
70c669904c newcopyrights 2013-04-04 23:30:18 +00:00
Mark Andrews
4e1de77656 move 9.9.3rc1 2013-04-05 09:21:21 +11:00
Mark Andrews
ffbc63a973 3546. [func] Add EUI48 and EUI64 types. [RT #33082]
(cherry picked from commit 3a6d62c59f)
2013-04-05 09:08:29 +11:00
Mark Andrews
775085d8f1 s/-e/-x/
(cherry picked from commit c2838610c6)
2013-04-05 07:38:16 +11:00
Tinderbox User
d760368395 update copyright notice 2013-04-03 23:45:38 +00:00
Tinderbox User
c22d10614b newcopyrights 2013-04-03 23:30:10 +00:00
Mark Andrews
4a033aaa6f add SAMPLE to the list of varables to be exported
(cherry picked from commit cf3e838fd3)
2013-04-04 07:26:56 +11:00
Evan Hunt
cb08c9dad8 [v9_9] add check5011.pl
3544.	[contrib]	check5011.pl: Script to report the status of
			managed keys as recorded in managed-keys.bind.
			Contributed by Tony Finch <dot@dotat.at>
(cherry picked from commit dc1ed2622f)
2013-04-03 11:00:24 -07:00
Evan Hunt
985d98607b [v9_9] grammar fix 2013-04-03 08:38:32 -07:00
Mark Andrews
5dbaf2dac3 link export/libisccfg againt DNS_CRYPTO_LIBS 2013-04-03 14:03:55 +00:00
Mark Andrews
6ebfcc6fe2 typo 2013-04-03 17:50:16 +11:00
Mark Andrews
a8572209bc 3543. [bug] Update socket stucture before attaching to socket
manager after accert. [RT #33084]
2013-04-03 17:43:27 +11:00
Mark Andrews
92da7a90dc add insist to try to prevent coverity false positive 2013-04-03 17:37:41 +11:00
Mark Andrews
c51fe7894a 3541. [bug] The parts if libdns was not being properly initialized
in when built in libexport mode. [RT #33028]
2013-04-03 17:28:22 +11:00
Mark Andrews
4176d6abc3 3540. [bug] libt_api: t_info and t_assert were not thread safe. 2013-04-03 17:18:13 +11:00
Tinderbox User
096ffe94ea update copyright notice 2013-04-02 23:45:34 +00:00
Tinderbox User
c08c9e2cfc newcopyrights 2013-04-02 23:30:06 +00:00
Evan Hunt
28725526fd [v9_9] fix isc_time_formathttptmestamp() on win32
3539.	[port]		win32: timestamp format didn't match other platforms.
(cherry picked from commit 99bf6a57d9)
2013-04-01 22:29:22 -07:00
Evan Hunt
582eff2d4b [v9_9] handle multi-word product names better
(cherry picked from commit 0ebd8d9ea3)
2013-03-26 20:39:34 -07:00
Tinderbox User
1a0a04f563 9.9.3rc1 2013-03-27 02:30:37 +00:00
Tinderbox User
373a875a5f regen v9_9 2013-03-27 02:25:19 +00:00
Evan Hunt
995be5454c [v9_9] prepare 9.9.3rc1 2013-03-26 19:07:10 -07:00
Evan Hunt
5bab3021a8 [v9_9] don't sync api file changes
(cherry picked from commit f2cb70f5d758495195ee53e593e75721bbbc80f0)
2013-03-26 18:48:50 -07:00
Tinderbox User
5b88d7589e update copyright notice 2013-03-26 23:45:35 +00:00
Tinderbox User
3f89d5c612 newcopyrights 2013-03-26 23:30:08 +00:00
Curtis Blackburn
0dff354acb [v9_9]
3538.	[test]	Running "make test" now requires loopback interfaces to be
	set up. [RT #32452]
2013-03-26 14:48:41 -05:00
Tinderbox User
752a7fffc4 update copyright notice 2013-03-22 23:45:37 +00:00
Tinderbox User
5de118a41d newcopyrights 2013-03-22 23:30:10 +00:00
Evan Hunt
af7a5c3801 [v9_9] slaves notify before writing to disk
3537.	[tuning]	Slave zones, when updated, now send NOTIFY messages
			to peers before being dumped to disk rather than
			after. [RT #27242]
(cherry picked from commit e57a83b576)
2013-03-22 14:16:11 -07:00
Mark Andrews
b2737a5ea8 3535. [bug] Minor win32 cleanups. [RT #32962] 2013-03-22 22:24:33 +11:00
Mark Andrews
fd8ee31518 sock could be used uninitalized in isc_socketmgr_renderxml on error 2013-03-22 15:29:46 +11:00
Evan Hunt
ae96a2a0e2 [v9_9] zone parsing broken with embedded null
3534.	[bug]		Extra text after an embedded NULL was ignored when
			parsing zone files. [RT #32699]
(cherry picked from commit 4bf686cf5d)
2013-03-21 19:58:53 -07:00
Tinderbox User
4ffb29719c update copyright notice 2013-03-21 23:45:37 +00:00
Tinderbox User
050d9b601a newcopyrights 2013-03-21 23:30:06 +00:00
Mark Andrews
0bdd2c9d17 3533. [contrib] query-loc-0.4.0: memory leaks. [RT #32960]
3532.   [contrib]       zkt: fixed buffer overrun, resource leaks. [RT #32960]
2013-03-22 09:56:01 +11:00
Mark Andrews
d2cf890582 3531. [bug] win32: A uninitialized value could be returned on out
of memory. [RT #32960]
2013-03-22 09:23:05 +11:00
Evan Hunt
83d0e7a243 [v9_9] improvements to queryperf
3530.	[contrib]	Better RTT tracking in queryperf. [RT #30128]
(cherry picked from commit 384fef0034)
2013-03-20 19:15:30 -07:00
Mark Andrews
547098aa18 remove broken redundant test 2013-03-21 12:37:25 +11:00
Mark Andrews
e7901487ff update 2013-03-21 10:49:24 +11:00
Mark Andrews
c1dd08a64a add files generated by configure 2013-03-21 10:26:59 +11:00
Evan Hunt
1c363c5ca8 [v9_9] add dnssec-coverage tool
3528.	[func]		New "dnssec-coverage" command scans the timing
			metadata for a set of DNSSEC keys and reports if a
			lapse in signing coverage has been scheduled
			inadvertently. (Note: This tool depends on python;
			it will not be built or installed on systems that
			do not have a python interpreter.) [RT #28098]
(cherry picked from commit 831f59eb43)
2013-03-20 14:42:06 -07:00
Mark Andrews
9627ae7989 add copyright notice 2013-03-20 13:20:38 +11:00
Tinderbox User
6f07a341a7 update copyright notice 2013-03-19 23:45:32 +00:00
Tinderbox User
d130057d50 newcopyrights 2013-03-19 23:30:04 +00:00
Evan Hunt
57bd352550 [v9_9] add xml/v2 and xml/v3 URIs
3527.	[compat]	Add a URI to allow applications to explicitly
			request a particular XML schema from the statistics
			channel, returning 404 if not supported. [RT #32481]
2013-03-18 20:51:09 -07:00
Evan Hunt
7fbe21a10d [v9_9] update copyrights 2013-03-18 20:30:42 -07:00
Evan Hunt
3917a3f9fc [v9_9] newline in echo isn't portable
(cherry picked from commit 04d784fe8890a3896c153df7ab36a63df2da9c02)
2013-03-18 19:59:28 -07:00
Evan Hunt
039c426d72 [v9_9] corrct author when cherry-picking
(cherry picked from commit ad73a77dda)
2013-03-18 19:51:02 -07:00
Evan Hunt
50e94120ec [v9_9] silence unnecessary output 2013-03-18 19:34:43 -07:00
Evan Hunt
c9850ace9b [v9_9] add branchsync to util
Script to sync release branch to subscription branch.
2013-03-18 19:25:11 -07:00
Tinderbox User
c2b4d89a66 update copyright notice 2013-03-16 23:45:31 +00:00
Tinderbox User
38b018bf38 newcopyrights 2013-03-16 23:30:08 +00:00
Mark Andrews
1f94bde173 update 2013-03-16 10:52:42 +11:00
Evan Hunt
5021f4df52 [v9_9] make dst test work outside srcdir
3526.	[cleanup]	Set up dependencies for unit tests correctly during
			build. [RT #32803]
(cherry picked from commit 741ebf1004)
2013-03-15 07:36:55 -07:00
Tinderbox User
72e5ffad90 update copyright notice 2013-03-14 23:45:36 +00:00
Tinderbox User
c6389da685 newcopyrights 2013-03-14 23:30:08 +00:00
Tinderbox User
4f0ddae71b regen v9_9 2013-03-14 01:14:00 +00:00
Tinderbox User
1749045a0b update copyright notice 2013-03-13 23:45:33 +00:00
Tinderbox User
8e7d0b2caa newcopyrights 2013-03-13 23:30:05 +00:00
Evan Hunt
f6fac016b5 [v9_9] fixed srcdir in nothreads build 2013-03-12 23:42:20 -07:00
Tinderbox User
c37d352815 update copyright notice 2013-03-08 23:46:30 +00:00
Tinderbox User
22cae70c49 newcopyrights 2013-03-08 23:30:13 +00:00
Mark Andrews
b304c9df6b 3521. [bug] Address memory leak in opensslecdsa_link.c. [RT #32249]
(cherry picked from commit aababae795)
2013-03-08 21:13:54 +11:00
Mark Andrews
4aa0f69228 wait for upstream transfer to complete 2013-03-08 17:15:27 +11:00
Mark Andrews
dfa83d7ea8 3520. [bug] 'mctx' was not being referenced counted in some places
where it should have been.  [RT #32794]
(cherry picked from commit 3a0da183bb)
2013-03-08 14:41:02 +11:00
Tinderbox User
445492b8b9 update copyright notice 2013-03-07 23:45:38 +00:00
Tinderbox User
524d2e8de4 newcopyrights 2013-03-07 23:30:14 +00:00
Mark Andrews
aa7c259035 add PRODUCT to version.h; handle empty PATCHVER
(cherry picked from commit b0f3042e37)
2013-03-07 15:44:16 +11:00
Tinderbox User
b2db081720 newcopyrights 2013-03-07 02:48:44 +00:00
Tinderbox User
bc0dbfb981 9.9.3b2 2013-03-07 02:42:15 +00:00
Tinderbox User
4ade922436 regen v9_9 2013-03-07 02:40:44 +00:00
Mark Andrews
adec2b7a0e 9.9.3b2 2013-03-07 12:28:11 +11:00
Tinderbox User
a3412676e4 update copyright notice 2013-03-06 23:47:22 +00:00
Tinderbox User
73ca8c5e23 newcopyrights 2013-03-06 23:30:15 +00:00
Mark Andrews
84e4b4e536 3517. [bug] Reorder destruction to avoid shutdown race. [RT #32777]
(cherry picked from commit e7b9603ead)
2013-03-07 07:14:58 +11:00
Mark Andrews
badb0596d3 3515. [port] '%T' is not portable in strftime(). [RT #32763]
(cherry picked from commit 550c92405f)
2013-03-06 15:34:28 +11:00
Tinderbox User
96d1de8b35 update copyright notice 2013-03-05 23:45:43 +00:00
Tinderbox User
5f12dde265 newcopyrights 2013-03-05 23:30:14 +00:00
Mark Andrews
7cdf3c87eb silence compiler warnings 2013-03-05 23:46:07 +11:00
Mark Andrews
2146e355c3 check that the lwresd server has started before querying it
(cherry picked from commit 661f1197a200bdd3d2411e9b02a46b93fb1fb083)
2013-03-05 17:24:33 +11:00
Mark Andrews
f2afaafd83 remove REDIRECT-NOTES 2013-03-05 14:57:41 +11:00
Tinderbox User
1af7e5b0ff update copyright notice 2013-03-04 23:45:43 +00:00
Tinderbox User
5f84618b10 newcopyrights 2013-03-04 23:30:12 +00:00
Evan Hunt
db3792f241 [v9_9] fix keysizes in confgen
3514.	[bug]		The ranges for valid key sizes in ddns-confgen and
			rndc-confgen were too constrained. Keys up to 512
			bits are now allowed for most algorithms, and up
			to 1024 bits for hmac-sha384 and hmac-sha512.
			[RT #32753]
(cherry picked from commit 33b8db1bb3)
2013-03-04 12:14:39 -08:00
Evan Hunt
d7259a228d [v9_9] doc typo (rt #32745) 2013-03-02 14:25:12 -08:00
Evan Hunt
6312e3be76 [v9_9] need to quote PRODUCT
(cherry picked from commit f107fe7fc9)
2013-03-02 00:17:03 -08:00
Evan Hunt
633e060c00 [v9_9] remove programlistings from table entries
(cherry picked from commit dd42336690)
2013-03-01 19:20:49 -08:00
Tinderbox User
17873cf467 update copyright notice 2013-03-01 23:45:45 +00:00
Tinderbox User
e3d5e35461 newcopyrights 2013-03-01 23:30:14 +00:00
Evan Hunt
3723870317 [v9_9] move redirect info to ARM
3511.	[doc]		Improve documentation of redirect zones. [RT #32756]
(cherry picked from commit 77845708f7)
2013-03-01 15:16:18 -08:00
Curtis Blackburn
e2f049047a [v9_9]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:25:51 -06:00
Evan Hunt
cbf2a8f910 [v9_9] bring autosign test into sync with master 2013-02-28 23:45:05 -08:00
Mark Andrews
d43f299893 SIZE_MAX is not available on all platforms
(cherry picked from commit 3fadb11b94)
2013-03-01 01:12:49 +00:00
Evan Hunt
334e322a3d [v9_9] Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2013-02-28 16:48:55 -08:00
Evan Hunt
f36b17cbb6 [v9_9] update README, HISTORY 2013-02-28 16:48:40 -08:00
Tinderbox User
826ded55ec update copyright notice 2013-02-28 23:45:46 +00:00
Tinderbox User
8d472d5a6b newcopyrights 2013-02-28 23:30:14 +00:00
Evan Hunt
7e55d9c715 [v9_9] address warnings building exportlibs 2013-02-28 15:23:08 -08:00
Evan Hunt
e7ff512ccc [v9_9] add changes note for 32338 2013-02-28 13:51:49 -08:00
Evan Hunt
8a442959c0 [v9_9] change text when no graph visible 2013-02-28 11:04:02 -08:00
Evan Hunt
2fee153667 [v9_9] fix XSL glitch with empty query data
3507.	[bug]		Statistics channel XSL (when built with
			--enable-newstats) had a glitch when attempting
			to chart query data before any queries had been
			received. [RT #32620]
2013-02-28 10:03:35 -08:00
Evan Hunt
d5f677ea47 [v9_9] accept >4g max-{,a}cache-size
3505.	[bug]		When setting "max-cache-size" and "max-acache-size",
			larger values than 4 gigabytes could not be set
			explicitly, though larger sizes were available
			when setting cache size to 0. This has been
			corrected; the full range is now available.
			[RT #32358]
(cherry picked from commit 2a184ff865)
2013-02-28 09:36:50 -08:00
Mark Andrews
1f83863b9b silence clang warning
(cherry picked from commit 33c14ca653)
2013-02-28 16:50:02 +11:00
Mark Andrews
fe2b067ab4 check isc_task_beginexclusive result
(cherry picked from commit 189efe774e)
2013-02-28 13:23:24 +11:00
Mark Andrews
eb03827bc5 check the returns from isc_task_beginexclusive 2013-02-28 13:15:45 +11:00
Tinderbox User
e1c67d23bb regen v9_9 2013-02-28 01:13:58 +00:00
Mark Andrews
9a56bb356a move declaration of dumparg 2013-02-28 11:23:34 +11:00
Tinderbox User
5af7157916 update copyright notice 2013-02-27 23:45:44 +00:00
Tinderbox User
bf36b06594 newcopyrights 2013-02-27 23:30:11 +00:00
Evan Hunt
70351d6e18 [v9_9] clarify size_spec in ARM
3503.	[doc]		Clarify size_spec syntax. [RT #32449]
(cherry picked from commit de1223830f)
2013-02-27 14:40:07 -08:00
Evan Hunt
dc93e35701 [v9_9] better zone-statistics syntax
3501.	[func]		zone-statistics now takes three options: full,
			terse, and none. "yes" and "no" are retained as
			synonyms for full and terse, respectively. [RT #29165]
(cherry picked from commit 40a7e85f3e)
2013-02-27 12:03:29 -08:00
Mark Andrews
22c2ef8ead add <isc/util.h> 2013-02-27 16:15:00 +11:00
Mark Andrews
dac7bc0ef8 silence compiler warnings 2013-02-27 15:57:35 +11:00
Mark Andrews
a3864ce373 update copyrights 2013-02-27 12:35:09 +11:00
Evan Hunt
92fcc84855 [v9_9] silence warning 2013-02-26 17:29:03 -08:00
Tinderbox User
f0a29f2d0f regen v9_9 2013-02-27 01:20:08 +00:00
Mark Andrews
8c975f98ea 3500. [port] Support NAPTR regular expression validation on
all platforms.  [RT #32688]
2013-02-27 08:59:53 +11:00
Evan Hunt
a0d472b36e [v9_9] fix built-in zone doc
3499.	[doc]		Corrected ARM documentation of built-in zones.
			[RT #32694]
(cherry picked from commit 298ca12250)
2013-02-26 11:57:14 -08:00
Mark Andrews
ab797f53c2 '!' is not portable. 2013-02-26 23:13:04 +11:00
Mark Andrews
de6955cc77 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:49:37 +11:00
Tinderbox User
2f7eb16bed update copyright notice 2013-02-25 23:45:44 +00:00
Evan Hunt
55bbac8bfe [v9_9] RPZ speed up (phase 1, single RPZ)
3496.	[func]		Improvements to RPZ performance. The "response-policy"
			syntax now includes a "min-ns-dots" clause, with
			default 1, to exclude top-level domains from
			NSIP and NSDNAME checking. --enable-rpz-nsip and
                        --enable-rpz-nsdname are now the default. [RT #32251]

    Response policy (rpz) changes to
      - add zone statistics
      - speed up by adding min-ns-dots to the response-policy syntax
         with a default of 1
      - detect and reject policy zones with a database other than rbt
         only rbtdb has rpz hooks
      - allow empty response-policy{} statement
      - make --enable-rpz-nsip and --enable-rpz-nsdname the default
2013-02-25 14:32:36 -08:00
Tinderbox User
7eb0bc8062 newcopyrights 2013-02-22 23:30:16 +00:00
Evan Hunt
1b197a7adb Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2013-02-21 18:16:43 -08:00
Evan Hunt
4dff6016d2 [v9_9] contrib: add bdbhpt DLZ module
3493.	[contrib]	Added BDBHPT dynamically-lodable DLZ module,
			contributed by Mark Goldfinch. [RT #32549]
(cherry picked from commit 62d63e5f02)
2013-02-21 18:15:12 -08:00
Tinderbox User
cca5478e1f update copyright notice 2013-02-21 23:45:39 +00:00
Tinderbox User
e2f2890e30 newcopyrights 2013-02-21 23:30:13 +00:00
Evan Hunt
1d737374e4 [v9_9] add zone memory context pools
3492.	[bug]		Fixed a regression in zone loading performance
			due to lock contention. [RT #30399]
(cherry picked from commit df925e6c66)
2013-02-20 21:40:25 -08:00
Mark Andrews
849058c8d6 update 2013-02-21 10:54:33 +11:00
Evan Hunt
388815e6e5 [v9_9] inline-signing slave with no file
3491.	[bug]		Slave zones using inline-signing must specify a
			file name. [RT #31946]
2013-02-20 14:05:37 -08:00
Tinderbox User
0042c4ef10 update copyright notice 2013-02-18 23:45:42 +00:00
Tinderbox User
7e910cc65c newcopyrights 2013-02-18 23:30:13 +00:00
Mark Andrews
383df64ad1 dlzdb in 9.8 and earlier doesn't have a link element 2013-02-19 08:40:44 +11:00
Mark Andrews
c1402b00d3 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
2013-02-19 07:31:26 +11:00
Mark Andrews
8ac4a05471 3488. [bug] Use after free error with DH generated keys. [RT #32649] 2013-02-18 20:26:08 +11:00
Tinderbox User
4484a9cabf update copyright notice 2013-02-16 23:45:45 +00:00
Mark Andrews
e11dbf9b16 update 2013-02-16 11:21:28 +11:00
Mark Andrews
5dae063d56 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
2013-02-16 07:46:48 +11:00
Evan Hunt
27eefab033 [v9_9] address TKEY bugs
3486.	[bug]		named could crash when using TKEY-negotiated keys
			that had been deleted and then recreated. [RT #32506]

(cherry picked from commit 0b8bd3a4ae)
2013-02-15 10:21:43 -08:00
Evan Hunt
2b5ee66a1e [v9_9] fixed another readline link error 2013-02-15 10:15:30 -08:00
Evan Hunt
d4f00203c9 [v9_9] fixed readline link error, ubuntu 13.04 2013-02-15 10:09:03 -08:00
Mark Andrews
d70997f413 silence compiler warning
(cherry picked from commit 52946dc6c0)
2013-02-15 17:42:18 +11:00
Tinderbox User
749c854638 update copyright notice 2013-02-12 23:45:40 +00:00
Tinderbox User
7b117943fa newcopyrights 2013-02-12 23:30:11 +00:00
Mark Andrews
3e712bbd61 3485. [cleanup] Only compile openssl_gostlink.c if we support GOST.
(cherry picked from commit 7e9ccec638)
2013-02-12 13:05:13 +11:00
Tinderbox User
dfbd543889 update copyright notice 2013-02-08 23:45:37 +00:00
Tinderbox User
e3d78469d6 newcopyrights 2013-02-08 23:30:08 +00:00
Evan Hunt
fd34d8e863 [v9_9] fixed "server counters" name, whitespace 2013-02-08 15:19:24 -08:00
Evan Hunt
0c00d3d780 [v9_9] use correct newstats XSL 2013-02-08 12:23:34 -08:00
Tinderbox User
9601b8330f newcopyrights 2013-02-07 23:30:13 +00:00
Curtis Blackburn
4e8baf78c4 [v9_9]3481. [cleanup] removed use of const const in atf
(cherry picked from commit 0da7c95546)
2013-02-06 17:49:16 -06:00
Tinderbox User
7d7b020635 update copyright notice 2013-02-05 23:45:38 +00:00
Tinderbox User
4132ef7931 newcopyrights 2013-02-05 23:30:13 +00:00
Mark Andrews
8600863d29 explict cast to (char *) from (void *) to silence compiler warning in %s checking 2013-02-05 14:25:12 +11:00
Evan Hunt
ceb636cde3 [v9_9] silence logging noise
3480.	[bug]		Silence logging noise when setting up zone
			statistics. [RT #32525]
(cherry picked from commit 9dac1de625)
2013-02-02 14:00:40 -08:00
Tinderbox User
7db5f4fa60 update copyright notice 2013-01-25 23:45:39 +00:00
Tinderbox User
aed7a3e907 newcopyrights 2013-01-25 23:30:11 +00:00
Mark Andrews
2baa77a96b 3479. [bug] Address potential memory leaks in gssapi support
code. [RT #32405]
2013-01-25 12:24:38 +11:00
Tinderbox User
7ad7fa4e26 update copyright notice 2013-01-24 23:45:43 +00:00
Tinderbox User
c2ece4b65c newcopyrights 2013-01-24 23:30:08 +00:00
Tinderbox User
5244e2adcf regenerate 2013-01-24 22:54:34 +00:00
Evan Hunt
518ba12f1f [v9_9] 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:11 -08:00
Evan Hunt
30b5f39a1a Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2013-01-23 15:49:35 -08:00
Tinderbox User
c3e768f1fb update copyright notice 2013-01-23 23:45:39 +00:00
Evan Hunt
fc490116aa [v9_9] 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)
2013-01-23 15:39:38 -08:00
Tinderbox User
f761c1754f newcopyrights 2013-01-23 23:30:11 +00:00
Tinderbox User
da13b99e08 regenerate 2013-01-23 23:08:32 +00:00
Evan Hunt
61748fa876 [v9_9] fix enable-openssl-hash/with-atf combo 2013-01-23 15:06:05 -08:00
Evan Hunt
bf9d2fd260 [v9_9] fix incorrect nsec3 check
- check for NSEC3 in empty nodes when not due to optout delegations
    - fixed typo in output ("Bad record NSEC record")
    - incidentally fixed an error in signzone that caused an
      incorrect warning about missing DNSKEYs when using -S
      and -3 together

3473.	[bug]		dnssec-signzone/verify could incorrectly report
			an error condition due to an empty node above an
			opt-out delegation lacking an NSEC3. [RT #32072]
(cherry picked from commit 9a0dd99a75)
2013-01-23 14:57:18 -08:00
Evan Hunt
d2c5763ef4 [v9_9] default -U to ncpus, not to -n
3471.	[bug]		The number of UDP dispatches now defaults to
			the number of CPUs even if -n has been set to
			a higher value. [RT #30964]
(cherry picked from commit 2154c01912)
2013-01-22 18:07:50 -08:00
Evan Hunt
ddfed3060a [v9_9] dump masterfile after successful xfrin
3470.	[bug]		Slave zones could fail to dump when successfully
			refreshing after an initial failure. [RT #31276]
(cherry picked from commit 214836c184)
2013-01-22 15:50:48 -08:00
Tinderbox User
be983f9f84 update copyright notice 2013-01-21 23:45:36 +00:00
Tinderbox User
d2656affd7 newcopyrights 2013-01-21 23:30:10 +00:00
Evan Hunt
1c59cea1c0 [v9_9] prevent ixfr/ns1 being removed 2013-01-21 14:16:53 -08:00
Evan Hunt
fdcc5fa05c [v9_9] add 10.53.0.8 address 2013-01-21 12:37:09 -08:00
Evan Hunt
90579b072b [v9_9] fix typo in libdns.def 2013-01-21 11:52:10 -08:00
Jeremy C. Reed
344f617055 Mention latest CVE. 2013-01-18 22:57:55 +00:00
Evan Hunt
6ffd9dd8df Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2013-01-18 14:21:57 -08:00
Evan Hunt
f893f333b8 [v9_9] add CVE, correct change 3388
(cherry picked from commit 3806133da5)
2013-01-18 14:20:03 -08:00
Evan Hunt
12226a3e9f [v9_9] correct 9.9.2 changes 2013-01-18 14:14:10 -08:00
Tinderbox User
c4873082b8 update copyright notice 2013-01-17 23:45:58 +00:00
Tinderbox User
5303e2090b newcopyrights 2013-01-17 23:30:12 +00:00
Evan Hunt
86cf245f9a [v9_9] bump release 2013-01-17 11:26:05 -08:00
Evan Hunt
020160badd [v9_9] fix DNS64 with RPZ-remapped A records
3468.	[security]	RPZ rules to generate A records (but not AAAA records)
			could trigger an assertion failure when used in
			conjunction with DNS64. [RT #32141]
(cherry picked from commit 71f8edccba)
2013-01-17 11:24:16 -08:00
Curtis Blackburn
70924c54fa [v9_9][bug] Added checks in dnssec-keygen and dnssec-settime to check for
delete date < inactive date. [RT #31719]
2013-01-17 11:02:48 -06:00
Mark Andrews
109350b6da add POST's 2013-01-17 23:25:45 +11:00
Mark Andrews
ddb92c7bf9 s/head/tail/ 2013-01-17 21:47:27 +11:00
Mark Andrews
8f0b2e920b Silence "Access to field 'refs' results in a dereference of a null pointer" by adding appropriate assertions. 2013-01-17 14:39:17 +11:00
Mark Andrews
c224fbaab3 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:15:28 +11:00
Tinderbox User
a6927ececd update copyright notice 2013-01-15 23:45:35 +00:00
Tinderbox User
6a8ef95015 newcopyrights 2013-01-15 23:30:08 +00:00
Mark Andrews
239695d2b1 silence compiler warning: Value stored to '?' is never used 2013-01-16 07:12:45 +11:00
Mark Andrews
0702bf7b5b remove bin/pkcs11/openssl-0.9.8s-patch bin/pkcs11/openssl-1.0.0f-patch 2013-01-12 10:58:10 +11:00
Tinderbox User
9888c9f463 update copyright notice 2013-01-11 23:45:46 +00:00
Tinderbox User
eb6b8869f5 newcopyrights 2013-01-11 23:30:14 +00:00
Mark Andrews
4712b673bd silence compiler warning 2013-01-11 17:38:47 +11:00
Mark Andrews
3e90b6a2eb silence compiler warning 2013-01-11 17:30:41 +11:00
Mark Andrews
5d6056f25d Merge branch 'v9_9_3_patch' into v9_9 2013-01-11 17:13:31 +11:00
Mark Andrews
ece1c3d9ca fix typo 2013-01-11 17:12:52 +11:00
Mark Andrews
7d68c87f35 add dns_zone_clearqueryaoncl, dns_zone_getqueryaoncl 2013-01-11 16:53:48 +11:00
Mark Andrews
f49a601fe1 add dns_zone_clearqueryaoncl, dns_zone_getqueryaoncl 2013-01-11 16:46:46 +11:00
Mark Andrews
bf4008d44e windows snprint support 2013-01-11 16:26:49 +11:00
Mark Andrews
80b4bcaebf windows snprint support 2013-01-11 16:25:39 +11:00
Mark Andrews
513c6f4748 9.9.3b1 2013-01-11 15:21:41 +11:00
Mark Andrews
e09dc13501 9.9.3b1 2013-01-11 15:14:05 +11:00
Evan Hunt
bb102ee495 [v9_9] fixed clientinfo version check
3466.	[contrib]	Corrected the DNS_CLIENTINFOMETHODS_VERSION check
			in DLZ example driver. [RT #32275]
2013-01-10 20:05:28 -08:00
Mark Andrews
d068ddb86d 3465. [bug] Handle isolated reserved ports. [RT #31778] 2013-01-11 14:10:32 +11:00
Evan Hunt
562dfd71b5 [v9_9] update openssl pkcs11 patches
3464.	[maint]		Updates to PKCS#11 openssl patches, supporting
			versions 0.9.8x, 1.0.0j, 1.0.1c [RT #29749]
(cherry picked from commit dc6cea0448)
2013-01-10 18:27:27 -08:00
Mark Andrews
6935ed9abe Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2013-01-11 12:50:01 +11:00
Mark Andrews
555a10dda6 spelling; whitespace 2013-01-11 12:32:58 +11:00
Tinderbox User
46542343c5 regen v9_9 2013-01-11 01:13:25 +00:00
Mark Andrews
6bded5e3ab record 9.8.x range info 2013-01-11 11:52:10 +11:00
Tinderbox User
b04b60e1b5 9.9.3b1 2013-01-11 00:36:35 +00:00
Tinderbox User
a1b3872a71 update copyright notice 2013-01-10 23:45:46 +00:00
Tinderbox User
73a7f9a547 newcopyrights 2013-01-10 23:30:23 +00:00
Tinderbox User
e16cd87685 regen v9_9 2013-01-10 20:29:00 +00:00
Evan Hunt
21113a1649 [v9_9] clarify managed-keys syntax
(cherry picked from commit 54ca241334)
2013-01-10 12:00:18 -08:00
Evan Hunt
9357e14cd8 [v9_9] doc clarification about dig & resolv.conf 2013-01-10 11:49:51 -08:00
Mark Andrews
3d603efd17 9.9.3b1 2013-01-10 23:58:20 +11:00
Mark Andrews
4d112a210e 3461. [bug] Negative responses could incorrectly have AD=1
set. [RT #32237]
2013-01-10 22:38:10 +11:00
Mark Andrews
1b0e0776dc remove dead code 2013-01-10 18:13:10 +11:00
Mark Andrews
b4c4d8b24f 3460. [bug] Only link against readline where needed. [RT #29810] 2013-01-10 17:40:18 +11:00
Tinderbox User
fb505afc36 update copyright notice 2013-01-09 23:45:38 +00:00
Mark Andrews
a0f7375071 update 2013-01-10 10:42:54 +11:00
Mark Andrews
6404c9766e Merge remote-tracking branch 'refs/remotes/origin/v9_9' into v9_9 2013-01-10 10:38:25 +11:00
Mark Andrews
3af1483031 3458. [bug] Return FORMERR when presented with a overly long
domain named in a request. [RT #29682]
2013-01-10 10:33:11 +11:00
Tinderbox User
61c1f97ced newcopyrights 2013-01-09 23:30:55 +00:00
Evan Hunt
7dc4e96ee1 [v9_9] typo 2013-01-09 14:26:50 -08:00
Mark Andrews
1c24d761e6 3457. [protocol] Add ILNP records (NID, LP, L32, L64). [RT #31836] 2013-01-10 08:34:02 +11:00
Mark Andrews
ad64ed1829 3456. [port] g++47: aft fails to compile. [RT #32012] 2013-01-09 22:33:39 +11:00
Mark Andrews
c00eda2e96 remove dead code 2013-01-09 21:51:06 +11:00
Mark Andrews
7fe0fa48ac 3455. [contrib] queryperf: fix getopt option list. [RT #32338] 2013-01-09 21:40:57 +11:00
Mark Andrews
a0fa3119f4 use known length for known algorithns in fromtext_dlv cf fromtext_ds 2013-01-09 21:11:01 +11:00
Mark Andrews
b8cbfab8f4 test eighth interface 2013-01-09 19:09:42 +11:00
Mark Andrews
c27c11ff2c 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:06:01 +11:00
Mark Andrews
36800a2ed2 3454. [port] sparc64: improve atomic support. [RT #25182] 2013-01-09 12:56:35 +11:00
Tinderbox User
a16c3b9fe9 update copyright notice 2013-01-08 23:45:37 +00:00
Tinderbox User
39989ae68d newcopyrights 2013-01-08 23:30:11 +00:00
Mark Andrews
f78a1928e0 3453. [bug] 'rndc addzone' of a zone with 'inline-signing yes;'
failed. [RT #31960]
2013-01-09 07:41:18 +11:00
Mark Andrews
780b2a4d22 queryperf: fix getopt option string 2013-01-08 22:57:46 +11:00
Mark Andrews
83afe6a4ea spelling 2013-01-08 11:07:07 +11:00
Mark Andrews
b97bb4b2b3 3452. [bug] Accept duplicate singlton records. [RT #32329] 2013-01-08 10:59:13 +11:00
Tinderbox User
b62316582a update copyright notice 2013-01-06 23:45:33 +00:00
Tinderbox User
883c7b7c63 newcopyrights 2013-01-06 23:30:07 +00:00
Mark Andrews
8296d312c4 3451. [port] Increase per thread stack size from 64K to 1M.
[RT #32230]
2013-01-07 09:54:02 +11:00
Tinderbox User
e26db23aca update copyright notice 2013-01-05 23:45:35 +00:00
Tinderbox User
7339b6316e newcopyrights 2013-01-05 23:30:07 +00:00
Mark Andrews
e0bcc199bb 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
2013-01-06 07:57:08 +11:00
Mark Andrews
70d8721f72 remove dead code 2013-01-06 07:47:53 +11:00
Tinderbox User
c2358595ab regen v9_9 2013-01-05 01:13:49 +00:00
Tinderbox User
04b852c0b4 update copyright notice 2013-01-04 23:45:39 +00:00
Tinderbox User
6eb978fd90 newcopyrights 2013-01-04 23:30:14 +00:00
Mark Andrews
87c78fb797 make static 2013-01-05 00:33:00 +11:00
Mark Andrews
4fd8da63c7 silence compiler warning 2013-01-04 15:57:39 +11:00
Evan Hunt
36a7b9010c [v9_9] show signzone errors in pkcs11 test 2013-01-03 19:55:57 -08:00
Evan Hunt
b5a31ca5c8 [v9_9] add print.h 2013-01-03 18:23:36 -08:00
Mark Andrews
12eb761551 Merge remote-tracking branch 'refs/remotes/origin/v9_9' into v9_9 2013-01-04 12:30:00 +11:00
Tinderbox User
4517d14723 regen v9_9 2013-01-04 01:13:53 +00:00
Tinderbox User
c53da0f5d9 Merge branch 'v9_9' of ssh://repo.isc.org/proj/git/prod/bind9 into v9_9 2013-01-04 01:10:43 +00:00
Mark Andrews
615f53a513 3445. [bug] Warn about zone files with blank owner names
immediately after $ORIGIN directives. [RT #31848]
2013-01-04 11:23:18 +11:00
Mark Andrews
41f61b8bcf 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]
2013-01-04 11:08:26 +11:00
Evan Hunt
8d9207a17b [v9_9] allow-query-on works now
3448.	[bug]		The allow-query-on ACL was not processed correctly.
			[RT #29486]
(cherry picked from commit 222d38735f)
2013-01-03 15:14:17 -08:00
Tinderbox User
2f3c68c2c3 update copyright notice 2013-01-02 23:45:35 +00:00
Tinderbox User
0c2ca2cf8e newcopyrights 2013-01-02 23:30:06 +00:00
Tinderbox User
7f6d740569 update copyright notice 2013-01-01 23:45:36 +00:00
Tinderbox User
18400e0217 newcopyrights 2013-01-01 23:30:05 +00:00
Mark Andrews
607813c1ed 3447. [port] Add support for libxml2-2.9.x [RT #32231] 2013-01-01 23:14:30 +00:00
Mark Andrews
fe2fb706d7 remove extranous rdata in nxrrset call as it is not ingnored in Net::DNS 0.70 2012-12-21 14:16:30 +11:00
Mark Andrews
14c07236e3 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:01:40 +11:00
Tinderbox User
9ed297d517 update copyright notice 2012-12-20 23:45:35 +00:00
Evan Hunt
da54871ef3 [v9_9] remove unnecessary memcpy 2012-12-20 10:34:08 -08:00
Mark Andrews
86a4a21099 TSIG no longer has a mac_size method; arcount no longer need to be adjusted 2012-12-21 00:31:09 +11:00
Mark Andrews
bda7dde8ce update 2012-12-20 11:56:34 +11:00
Mark Andrews
c0f4b52463 remove setup_master call; only need in 9.10 onwards 2012-12-19 15:10:46 +11:00
Mark Andrews
f715d378ec adjust test to account for blank owner after origin now being rejected 2012-12-19 14:37:49 +11:00
Mark Andrews
7dd7a7e2b3 -H not -i sets iterations 2012-12-19 14:18:30 +11:00
Mark Andrews
f6c137380b remove redundant $ORIGINs 2012-12-19 13:34:49 +11:00
Mark Andrews
ddd2da6c49 silence signed/unsigned warning; rename log -> fctx_log 2012-12-19 12:40:45 +11:00
Evan Hunt
43d1c03ee3 [v9_9] 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:30:50 -08:00
Evan Hunt
ce35e5cf0b [v9_9] 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)
2012-12-18 16:18:48 -08:00
Tinderbox User
efbd480608 update copyright notice 2012-12-18 23:45:35 +00:00
Mark Andrews
de2b81b355 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9
Conflicts:
	CHANGES
2012-12-19 10:36:23 +11:00
Mark Andrews
48f72b811d 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/types.h
2012-12-19 10:06:24 +11:00
Evan Hunt
dbd8db67e6 [v9_9] support all algorithms in ddns-confgen
3443.	[bug]		ddns-confgen: Some TSIG algorithms were incorrectly
			rejected when generating keys. [RT #31927]
(cherry picked from commit 53402b52b6)
2012-12-18 15:00:33 -08:00
Mark Andrews
5a6a1f065f 3442. [port] Net::DNS 0.69 introduced a non backwards compatible
change. [RT #32216]
2012-12-19 08:48:43 +11:00
Mark Andrews
92b7330308 Net::DNS 0.{70,71} doesn't force the TTL to zero for yxrrset, nxrrset and rr_del 2012-12-18 11:44:30 +11:00
Tinderbox User
42e74fcad3 update copyright notice 2012-12-14 23:45:37 +00:00
Tinderbox User
7686eed9f4 newcopyrights 2012-12-14 23:30:09 +00:00
Mark Andrews
c2fede6e9e don't wipe out named.run when restarting 2012-12-14 17:48:40 +11:00
Mark Andrews
be0a09cac4 3441. [maint] D.ROOT-SERVERS.NET is now 199.7.91.13. 2012-12-14 12:48:51 +11:00
Mark Andrews
3a1d39aa57 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:19:00 +11:00
Tinderbox User
c605f4c5b8 newcopyrights 2012-12-11 23:30:09 +00:00
Mark Andrews
41bf47ae28 3439. [bug] contrib/dlz error checking fixes. [RT #32102] 2012-12-11 12:37:57 +11:00
Mark Andrews
09b906e5d1 throw fatal error on realloc failure 2012-12-10 10:17:14 +11:00
Mark Andrews
8cbf15838e silence clang --analyzer warnin by checking rdata.length 2012-12-10 08:23:47 +11:00
Tinderbox User
1a963ae410 update copyright notice 2012-12-08 23:45:39 +00:00
Tinderbox User
a745bd8436 newcopyrights 2012-12-08 23:30:10 +00:00
Mark Andrews
8240f0936e RETTOK -> RETERR 2012-12-09 07:46:10 +11:00
Mark Andrews
b26bf237b3 isc_buffer_init -> isc_buffer_constinit 2012-12-09 07:15:16 +11:00
Mark Andrews
d1c0d0ac30 DIG -> $DIG 2012-12-08 15:34:45 +11:00
Mark Andrews
913043e5b0 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:06:41 +11:00
Mark Andrews
037445e774 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 12:51:42 +11:00
Tinderbox User
a0e58a0d3b update copyright notice 2012-12-07 23:45:36 +00:00
Tinderbox User
29823154c7 newcopyrights 2012-12-07 23:30:09 +00:00
Evan Hunt
4cb23d01dc [v9_9] check malloc/calloc return values
3436.	[bug]		Check malloc/calloc return values. [RT #32088]
(cherry picked from commit 45f3693294)
2012-12-07 12:24:31 -08:00
Mark Andrews
e46f3b9a83 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
	configure
2012-12-07 16:31:51 +11:00
Tinderbox User
6e73690006 update copyright notice 2012-12-06 23:45:33 +00:00
Tinderbox User
a3a822e1ff newcopyrights 2012-12-06 23:30:08 +00:00
Evan Hunt
7bf14f04e1 [v9_9] support all algorithms in ddns-confgen
3431.	[bug]		ddns-confgen: Some valid key algorithms were
			not accepted. [RT #31927]
(cherry picked from commit de5890da9b)
2012-12-05 16:37:42 -08:00
Mark Andrews
bd70ec1972 silence clang --analyser false positive 2012-12-05 11:43:35 +11:00
Mark Andrews
a5d543a9ca 3430. [bug] win32: isc_time_formatISO8601 was missing the
'T' between the date and time. [RT #32044]
2012-12-04 15:00:37 +11:00
Mark Andrews
220805f781 loop 'I:checking expired signatures were updated' test 2012-12-03 09:30:58 +11:00
Mark Andrews
696dda882c treat clang 3.x and 4.x as independent release streams 2012-12-03 09:10:26 +11:00
Mark Andrews
dfe6fe301e workaround only needed for clang 3.1 2012-12-03 07:58:59 +11:00
Mark Andrews
da5c741e52 silence compiler warnings 2012-12-01 21:34:07 +11:00
Mark Andrews
9b7450f82a silence clang --analyze warning 2012-12-01 09:20:00 +11:00
Mark Andrews
2e1185e19e signed/unsigned comparision 2012-11-30 23:36:45 +11:00
Mark Andrews
e8a622d76a silence clang --analyze warnings 2012-11-30 18:51:22 +11:00
Mark Andrews
fa9543b557 conditionally silence false positives from clang --analyze 2012-11-30 16:19:21 +11:00
Mark Andrews
102984af01 regen 2012-11-30 12:31:30 +11:00
Tinderbox User
91cf232efe regen v9_9 2012-11-30 01:27:38 +00:00
Mark Andrews
630673bb75 add /opt/local/share/xsl/docbook-xsl to list of locations to look for docbook files 2012-11-30 12:23:02 +11:00
Mark Andrews
0eac80bf98 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
2012-11-30 11:40:20 +11:00
Tinderbox User
446411e38c update copyright notice 2012-11-29 23:45:37 +00:00
Jeremy C. Reed
1f1c4a9f29 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:16 +11:00
Tinderbox User
240a542d6f newcopyrights 2012-11-29 23:30:07 +00:00
Evan Hunt
df9aeb663d [v9_9] add timezone to dig
3428.	[cleanup]	dig: Add timezone to date output. [RT #2269]
(cherry picked from commit 706219e547)
2012-11-29 09:08:14 -08:00
Mark Andrews
4fae8d20fc use consistent type in sizeof and ultimate type cast 2012-11-30 00:58:35 +11:00
Mark Andrews
7858fff018 null pointer derefernce on out of memory 2012-11-30 00:58:32 +11:00
Mark Andrews
d6c2d961ea initialize the octet string to empty so that we don't free garbage on error 2012-11-29 18:12:25 +11:00
Evan Hunt
90dbd7c2e0 [v9_9] fix dig +trace output
3427.	[bug]		dig +trace incorrectly displayed name server
			addresses instead of names. [RT #31641]
(cherry picked from commit 2f21adbc6a)
2012-11-28 19:06:16 -08:00
Tinderbox User
4c3f5e0ee3 regen v9_9 2012-11-29 01:15:55 +00:00
Mark Andrews
19973b9437 remove no longer existant files 2012-11-29 11:15:11 +11:00
Tinderbox User
24c4fca4f4 update copyright notice 2012-11-28 23:45:31 +00:00
Tinderbox User
28bd23ab8a newcopyrights 2012-11-28 23:30:14 +00:00
Mark Andrews
4f456295d1 add -U 4 2012-11-29 08:13:09 +11:00
Evan Hunt
71d99e04c4 [v9_9] s/size spec/size_spec/ 2012-11-27 22:48:07 -08:00
Mark Andrews
575ffb4c6d update libtool support to version 2.4.2 2012-11-28 04:45:32 +00:00
Evan Hunt
d61af338f3 [v9_9] remove libgen.h from dnssec tools
we no longer use basename() or dirname()
2012-11-27 19:49:29 -08:00
Mark Andrews
d48fe321fc adjust looping threshold from 10 to 15 2012-11-28 12:06:21 +11:00
Evan Hunt
19f149261d [v9_9] correct checkds test
(cherry picked from commit 8f9a5ae817)
2012-11-27 15:04:18 -08:00
Evan Hunt
6f579fd177 [v9_9] clarify dnssec-checkds output
3426.	[bug]		dnssec-checkds: Clearer output when records are not
			found. [RT #31968]
(cherry picked from commit 4d077be135)
2012-11-27 14:53:13 -08:00
Mark Andrews
db899cbc4d 3425. [bug] "acacheentry" reference counting was broken resulting
in use after free. [RT #31908]
2012-11-27 16:04:09 +11:00
Mark Andrews
3882eec38e 3424. [func] dnssec-dsfromkey now emits the hash without spaces.
[RT #31951]

Squashed commit of the following:

commit 7369da0369e1de1fe6c5b5f84df8848b9a0984eb
Author: Mark Andrews <marka@isc.org>
Date:   Fri Nov 23 17:24:04 2012 +1100

    dupped/created reversed in log message

commit 0cef5faaf3ac22b00ed0f95b6bb7a146cf4cac15
Author: Mark Andrews <marka@isc.org>
Date:   Fri Nov 23 13:40:14 2012 +1100

    remove space from DS hash
2012-11-27 14:23:03 +11:00
Mark Andrews
e2778b5ceb limit the number of udp dispatches when testing to 4 2012-11-26 22:12:22 +11:00
Mark Andrews
6dc5009a7c address dnssec-checkds man page issues 2012-11-26 09:45:03 +11:00
Mark Andrews
e50f5f3add dupped/created reversed in log message 2012-11-23 17:25:44 +11:00
Mark Andrews
1a0e8c187d turn off copyright updating on bin/named/bind9.ver3.xsl.h 2012-11-23 10:59:07 +11:00
Tinderbox User
bb9d319faa update copyright notice 2012-11-21 23:45:32 +00:00
Tinderbox User
a1ff83df1c newcopyrights 2012-11-21 23:30:09 +00:00
Mark Andrews
8d9837d2e5 3423. [bug] "rndc signing -nsec3param" didn't accept the full
range of possible values.  Address portability issues.
                        [RT #31938]

Squashed commit of the following:

commit cdc417909d514903363796085ab3114ef24b7e30
Author: Mark Andrews <marka@isc.org>
Date:   Thu Nov 22 10:06:01 2012 +1100

    address hpux sscanf issues, iterations is a 16 bit field, use %hu rather than %hhd as the values are unsigned

Conflicts:
	bin/named/server.c
2012-11-22 10:16:26 +11:00
ckb
1e8bf19d9a 3422. [bug] Added a clear error message for when the SOA does not
match the referral. [RT #31281]
2012-11-21 16:50:38 -06:00
Mark Andrews
38cd7a1f5d 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
2012-11-21 17:49:19 +11:00
Evan Hunt
7589a7b2e0 [v9_9] work around libtool issue
- revert d3617e0d87
- use -Xcompiler option to libtool so it won't suppress -shared
- regenerate configure
2012-11-20 03:40:07 +00:00
Mark Andrews
d3617e0d87 take libtool out of the picture when generating driver.so 2012-11-18 17:25:23 -08:00
Tinderbox User
59d93a22f1 newcopyrights 2012-11-17 23:30:04 +00:00
Mark Andrews
5545d8a702 HPUX doesn't support 128 threads 2012-11-18 00:37:42 +11:00
Mark Andrews
e8bb6cd101 force integer output 2012-11-17 23:59:32 +11:00
Mar Andrews
29813a0f2b 3420. [bug] Address VPATH compilation issues. [RT #31879] 2012-11-17 11:06:23 +00:00
Mark Andrews
22828645cc update 2012-11-16 10:33:33 +11:00
Mark Andrews
dad1cea308 silence compiler warning 2012-11-16 07:44:47 +11:00
Mark Andrews
a5b60a166b link against @DNS_CRYPTO_LIBS@ 2012-11-15 12:41:23 +11:00
Mark Andrews
08ed0f97a1 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:18:08 +11:00
Tinderbox User
4bab13d5eb update copyright notice 2012-11-14 23:45:30 +00:00
Mark Andrews
64dcf8dbce Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-11-14 23:34:24 +00:00
Mark Andrews
e4e8ae9086 complete the libtoolize 2012-11-14 23:33:59 +00:00
Tinderbox User
f45e98c7a6 newcopyrights 2012-11-14 23:30:08 +00:00
Evan Hunt
4f0d12c425 [v9_9] corrected stats merge error 2012-11-14 13:44:12 -08:00
Evan Hunt
ab07e0bd1b [v9_9] minor cleanup 2012-11-14 13:35:54 -08:00
ckb
92dec9531f [v9_9]
fixed ifdef merge issues
2012-11-14 15:22:31 -06:00
Tinderbox User
d1723febd4 regen 2012-11-14 20:55:21 +00:00
ckb
9536448786 3417. [func] Optional new XML schema (version 3.0) for the
statistics channel adds query type statistics at the
			zone level, and flattens the XML tree and uses
			compressed format to optimize parsing. Includes new XSL
			that permits charting via the Google Charts API on
			browsers that support javascript in XSL.  To enable,
			build with "configure --enable-newstats". [RT #30023]
2012-11-14 14:48:01 -06:00
Tinderbox User
706ed23d96 update copyright notice 2012-11-13 23:45:30 +00:00
Tinderbox User
6a5070f661 newcopyrights 2012-11-13 23:30:03 +00:00
Mark Andrews
ebf3091999 3416. [bug] Named could die on shutdown if running with 128 UDP
dispatches per interface. [RT #31743]

Squashed commit of the following:

commit 1a97c755f8496f65024af0f634c1acf59a0a4252
Author: Mark Andrews <marka@isc.org>
Date:   Wed Nov 7 07:14:36 2012 +1100

    add regression test for RT31743

commit 7b16b5f77fad39478168aac25742823f2fcd825b
Author: Mark Andrews <marka@isc.org>
Date:   Fri Nov 2 23:57:24 2012 +1100

    array bounds error when shutting down interface
2012-11-14 07:48:35 +11:00
Mark Andrews
acfe8e50b9 Redo
3415.   [bug]           named could die with a REQUIRE failure if a valdation
                        was canceled. [RT #31804]
2012-11-14 07:43:42 +11:00
Mark Andrews
78c365c71d spelling 2012-11-09 09:31:01 +11:00
Mark Andrews
ee8323e489 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:11:50 +11:00
Mark Andrews
eb30a4f663 use stop.pl to ensure old server is fully shutdown before starting new server 2012-11-08 07:38:34 +11:00
Jeremy C. Reed
f701199ce4 [master] fix spelling
Noticed one while reading during Alan's training today.
Fixed two other misspellings while here.

Conflicts:
	doc/arm/Bv9ARM-book.xml
2012-11-07 09:04:48 +11:00
Mark Andrews
afd445b02b add missing ARPANAME definition 2012-11-06 15:29:43 +11:00
Mark Andrews
d6ba9d2c64 spelling 2012-11-02 11:19:49 +11:00
Mark Andrews
87964200c7 3414. [bug] Address locking issues found by Coverity. [RT #31626] 2012-11-02 06:42:55 +11:00
Mark Andrews
f533578084 sock is potentially unused in use_min_mtu 2012-11-01 15:28:17 +11:00
Mark Andrews
ae2006beed uninitalised use 2012-11-01 13:53:45 +11:00
Mark Andrews
5ef4f01ca0 3412. [bug] Copy timeval structure from control message data.
[RT #31548]
2012-11-01 11:17:27 +11:00
Tinderbox User
895c5d9706 update copyright notice 2012-10-31 23:45:35 +00:00
Mark Andrews
81afe29e5a 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
2012-11-01 10:27:12 +11:00
Mark Andrews
63dbbc9c49 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
2012-11-01 08:43:31 +11:00
Mark Andrews
25af78f4c6 spelling, whitespace 2012-10-31 07:44:20 +11:00
Evan Hunt
c15fa3fe47 [v9_9] fix changes note
(cherry picked from commit a8ef22d88e)
2012-10-30 09:58:36 -07:00
Mark Andrews
8cd1aff4da more: 3410. [bug] Addressed Coverity warnings. [RT #31626]
move set_refreshkeytimer call within loop so that keydata is valid.
2012-10-30 13:09:39 +11:00
Mark Andrews
42db996b7c More for: 3410. [bug] Addressed Coverity warnings. [RT #31626
Squashed commit of the following:

commit d94f5463f508773a7b027230cd81b61cf8c9cfce
Author: Mark Andrews <marka@isc.org>
Date:   Tue Oct 30 11:52:32 2012 +1100

    <string.h> -> <isc/string.h>

commit d707d6fb739c6e6df90a864141b418a13d3bccc8
Author: Mark Andrews <marka@isc.org>
Date:   Tue Oct 30 11:48:20 2012 +1100

    address coverity warnings
2012-10-30 12:02:27 +11:00
Tinderbox User
23a532909a update copyright notice 2012-10-29 23:45:38 +00:00
Tinderbox User
ba1a3b7539 newcopyrights 2012-10-29 23:30:16 +00:00
Tinderbox User
58c2b422f0 regenerate 2012-10-29 23:01:48 +00:00
Evan Hunt
b55657ca05 [v9_9] suppress dlopen on sunos 4
(cherry picked from commit 6f6b1abb10)
2012-10-29 15:57:31 -07:00
Mark Andrews
de65593c03 <sys/errno.h> -> <errno.h> 2012-10-30 09:24:06 +11:00
Mark Andrews
98560539e4 check more dns_rdata_tostruct returns 2012-10-30 08:50:33 +11:00
Mark Andrews
2cbabb24b6 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
2012-10-29 20:05:44 +11:00
Mark Andrews
d01d0e2b6f extract repo from --remote 2012-10-29 02:56:27 +00:00
Tinderbox User
f228aa3ee1 newcopyrights 2012-10-28 23:30:17 +00:00
Evan Hunt
edcc1e4386 [v9_9] 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]
(cherry picked from commit e7dfefe19d)
2012-10-27 20:47:17 -07:00
Tinderbox User
90f33d8979 update copyright notice 2012-10-27 23:46:27 +00:00
Tinderbox User
8e5125ba21 newcopyrights 2012-10-27 23:30:07 +00:00
Mark Andrews
a2d4079a50 remove duplicate ruleset 2012-10-27 16:46:53 +11:00
Evan Hunt
96d69f8236 [v9_9] update copyrights 2012-10-26 16:53:00 -07:00
Tinderbox User
4b043520d6 update copyright notice 2012-10-26 23:45:36 +00:00
Evan Hunt
d708e4c4f1 [v9_9] allow dnssec options in inline-signing slaves
3408.	[bug]		Some DNSSEC-related options (update-check-ksk,
			dnssec-loadkeys-interval, dnssec-dnskey-kskonly)
			are now legal in slave zones as long as
			inline-signing is in use. [RT #31078]
(cherry picked from commit f46168b879)
2012-10-26 16:15:48 -07:00
Evan Hunt
7cec7ec1d2 [v9_9] backport performance changes from 9.10
3316.   [tuning]        Improved locking performance when recursing.
                        [RT #28836]

3315.   [tuning]        Use multiple dispatch objects for sending upstream
                        queries; this can improve performance on busy
                        multiprocessor systems by reducing lock contention.
                        [RT #28605]
2012-10-26 10:14:29 -07:00
Evan Hunt
76e34eb2fd [v9_9] 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)
2012-10-25 18:57:44 -07:00
Evan Hunt
ea6aa47f47 [v9_9] note RPZ performance issues in ARM 2012-10-25 18:06:45 -07:00
Tinderbox User
06187c0d67 update copyright notice 2012-10-25 23:46:42 +00:00
Tinderbox User
0864986057 newcopyrights 2012-10-25 23:30:14 +00:00
Evan Hunt
2ba4321d17 [v9_9] Fix typo (repeated word) 2012-10-25 13:31:58 -07:00
Evan Hunt
77c9c35975 [v9_9] fix ulink typo 2012-10-25 09:21:32 -07:00
Mark Andrews
069ea15204 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:29:52 +11:00
Evan Hunt
fba2f76af0 Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2012-10-24 18:04:36 -07:00
Tinderbox User
c78ae4c91b update copyright notice 2012-10-24 23:46:36 +00:00
Tinderbox User
cb2c60de64 newcopyrights 2012-10-24 23:30:15 +00:00
Evan Hunt
d8861c4350 [v9_9] 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)
2012-10-24 15:47:51 -07:00
Evan Hunt
4f5f450eb8 [v9_9] silence warning 2012-10-24 15:40:20 -07:00
Evan Hunt
40fce87384 [v9_9] silence unused variable warning 2012-10-24 15:36:22 -07:00
Evan Hunt
c06eae9b1b [v9_9] fix fedora 17 ecdsa compilation problem
(cherry picked from commit c241017dcd)
2012-10-24 13:57:10 -07:00
Evan Hunt
3ee2049149 [v9_9] fix CHANGES error 2012-10-24 13:20:09 -07:00
Evan Hunt
152c393671 [v9_9] silence noisy OpenSSL logging
3402.	[bug]		Correct interface numbers for IPv4 and IPv6 interfaces.
(cherry picked from commit 0e37e9e3d7)
2012-10-24 13:00:06 -07:00
ckb
02ff45acbd 3402. [bug] Correct interface numbers for IPv4 and IPv6 interfaces.
[RT #25085]
2012-10-24 14:51:06 -05:00
Evan Hunt
2589af5868 [v9_9] silence coverity warnings
3401.	[bug]		Addressed Coverity warnings. [RT #31484]
(cherry picked from commit 47c5b8af92)
2012-10-23 22:12:15 -07:00
Tinderbox User
b5f3efc5ff update copyright notice 2012-10-22 23:45:47 +00:00
Tinderbox User
1555a7513b newcopyrights 2012-10-22 23:30:06 +00:00
Evan Hunt
2cba6a203b add CHANGES 2012-10-22 13:20:07 -07:00
Tinderbox User
86bb84f3c8 regen 2012-10-22 20:03:22 +00:00
Evan Hunt
1a985af1b0 [rt31494] add gitID to kit.sh generated tarballs 2012-10-22 12:57:33 -07:00
Mark Andrews
e0bf9e9788 3399. [port] netbsd: rename 'bool' parameter to avoid namespace
clash.  [RT #31515]
2012-10-22 11:42:58 +11:00
Tinderbox User
811dfe79ce update copyright notice 2012-10-19 23:45:42 +00:00
Tinderbox User
93e3551b29 newcopyrights 2012-10-19 23:30:12 +00:00
Tinderbox User
6a5bc42d31 update SRCID 2012-10-19 06:16:40 +00:00
Mark Andrews
9aad7a6dd0 remove redundant UNUSED(callbacks) 2012-10-19 16:29:34 +11:00
Tinderbox User
7f05f289a7 update SRCID 2012-10-19 00:16:23 +00:00
Tinderbox User
9791c6c91a update copyright notice 2012-10-18 23:45:54 +00:00
Tinderbox User
0d4b748566 newcopyrights 2012-10-18 23:30:14 +00:00
Mark Andrews
74dec1b138 3398. [bug] SOA parameters were not being updated with inline
signed zones if the zone was modified while the
                        server was offline. [RT #29272]
2012-10-19 10:25:51 +11:00
Tinderbox User
b2d09f2ad6 update SRCID 2012-10-18 23:15:59 +00:00
ckb
5e8b36cea2 3397. [bug] dig crashed when using +nssearch with +tcp. [RT #25298] 2012-10-18 17:53:08 -05:00
Tinderbox User
cfe624271f update SRCID 2012-10-18 03:16:47 +00:00
Mark Andrews
1a8c058882 3396. [bug] OPT records were incorrectly removed from signed,
truncated responses. [RT #31439]
2012-10-18 13:26:55 +11:00
Tinderbox User
6560be735c update SRCID 2012-10-17 02:15:51 +00:00
Mark Andrews
db93abcc96 missing space before other len after change #3389 2012-10-17 12:50:09 +11:00
Tinderbox User
965e588aa6 update SRCID 2012-10-17 00:16:13 +00:00
Tinderbox User
c7aa9fb238 update copyright notice 2012-10-16 23:46:00 +00:00
Tinderbox User
3adc731a36 newcopyrights 2012-10-16 23:30:11 +00:00
Tinderbox User
d2bda8ce5b update SRCID 2012-10-16 02:15:51 +00:00
Mark Andrews
a6d4848f6e 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:35:28 +11:00
Tinderbox User
e6c4bae617 update SRCID 2012-10-16 01:16:09 +00:00
Mark Andrews
a9ed19a031 3394. [bug] Adjust 'sucessfully validated after lower casing
signer' log level and category. [RT #31414]
2012-10-16 11:56:28 +11:00
Tinderbox User
91dbcb24f5 update SRCID 2012-10-16 00:17:10 +00:00
Mark Andrews
2429c8fc1e test for directory existance before calling find 2012-10-16 10:56:30 +11:00
Mark Andrews
02af9598a1 3393. [bug] 'host -C' could core dump if REFUSED was received.
[RT #31381]
2012-10-16 10:43:54 +11:00
Tinderbox User
f2af6254c6 update SRCID 2012-10-12 11:16:44 +00:00
Mark Andrews
68c0cbfba6 remove redundent call 2012-10-12 21:57:53 +11:00
Tinderbox User
b33d72084b update SRCID 2012-10-10 02:15:58 +00:00
Mark Andrews
89dbf43b16 fix typos in variable names 2012-10-10 13:11:28 +11:00
Tinderbox User
e72038f5cf update SRCID 2012-10-08 04:16:12 +00:00
Mark Andrews
120fecbf3d silence compiler warning 2012-10-08 14:30:31 +11:00
Tinderbox User
e46b8ba356 update SRCID 2012-10-07 01:15:47 +00:00
Mark Andrews
41a04a90b1 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-10-07 11:36:30 +11:00
Tinderbox User
81bd7a60d2 update SRCID 2012-10-07 00:16:23 +00:00
Tinderbox User
eb1ff61734 update copyright notice 2012-10-06 23:45:56 +00:00
Tinderbox User
793241c238 newcopyrights 2012-10-06 23:30:14 +00:00
Tinderbox User
1606b1c511 update SRCID 2012-10-06 08:16:03 +00:00
Mark Andrews
ccb37ef09d remove empty directories when cleaning 2012-10-06 17:27:28 +10:00
Mark Andrews
98c9951b29 update change description 2012-10-06 17:24:33 +10:00
Mark Andrews
e997748369 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-10-06 17:16:09 +10:00
Tinderbox User
e83e5887bc update SRCID 2012-10-06 05:17:55 +00:00
Mark Andrews
07dbb507d2 3391. [bug] DNSKEY that encountered a CNAME failed. [RT #31262] 2012-10-06 14:56:52 +10:00
Mark Andrews
bf6acccf9d 3390. [bug] Silence clang compiler warnings. [RT #30417] 2012-10-06 13:21:18 +10:00
Tinderbox User
c7fc5336d1 update SRCID 2012-10-04 21:16:40 +00:00
Mark Andrews
83e9695b45 3389. [bug] Always return NOERROR (not 0) in TSIG. [RT #31275] 2012-10-05 06:57:34 +10:00
Tinderbox User
346e3157a9 update SRCID 2012-10-04 00:16:23 +00:00
Tinderbox User
c82a4a383d update copyright notice 2012-10-03 23:46:00 +00:00
Tinderbox User
4c5b6c6bc1 newcopyrights 2012-10-03 23:30:13 +00:00
Tinderbox User
c271e0693e update SRCID 2012-10-03 22:15:41 +00:00
Mark Andrews
905ea6f37a Revert "include <isc/print.h> in gen.c"
This reverts commit eddcf7fe53.
2012-10-04 08:12:15 +10:00
Tinderbox User
f983ac39a8 update SRCID 2012-10-03 15:15:58 +00:00
Evan Hunt
eddcf7fe53 include <isc/print.h> in gen.c 2012-10-03 08:01:32 -07:00
Tinderbox User
1cc770e7eb update SRCID 2012-10-03 07:17:39 +00:00
Evan Hunt
8c18302d8b fix coverity issues
3388.	[bug]		Fixed several Coverity warnings. [RT #30996]
2012-10-02 23:46:15 -07:00
Tinderbox User
a5a7e9785a update SRCID 2012-10-03 00:16:36 +00:00
Mark Andrews
0b3d4e38ee white space; move pause to before comment. 2012-10-03 10:12:16 +10:00
Mark Andrews
66b0777516 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-10-03 10:08:00 +10:00
Tinderbox User
29dde050ee update copyright notice 2012-10-02 23:45:55 +00:00
Mark Andrews
fb038fe9a7 3386. [bug] Address locking violation when generating new NSEC /
NSEC3 chains. [RT #31224]
2012-10-03 09:03:17 +10:00
Tinderbox User
ead9b89f52 update SRCID 2012-10-02 04:16:09 +00:00
Mark Andrews
e745d9180d 3385. [bug] named-checkconf didn't detect missing master lists
in also-notify clauses. [RT #30810]
2012-10-02 13:08:48 +10:00
Tinderbox User
f70253e519 update SRCID 2012-09-29 02:15:47 +00:00
Evan Hunt
f4f2afcd1f silence warning 2012-09-28 18:47:23 -07:00
Tinderbox User
f341b06137 update SRCID 2012-09-29 00:16:05 +00:00
Tinderbox User
70ff717445 update copyright notice 2012-09-28 23:45:55 +00:00
Tinderbox User
14bb901ca4 update SRCID 2012-09-28 21:15:50 +00:00
Evan Hunt
533b036118 improve logging of ecdsa errors
3384.	[bug]		Improved logging of crypto errors. [RT #30963]
2012-09-28 13:47:39 -07:00
Tinderbox User
4d7891e250 update SRCID 2012-09-28 00:16:04 +00:00
Tinderbox User
c743d397ab update copyright notice 2012-09-27 23:45:54 +00:00
Tinderbox User
b0990e957a newcopyrights 2012-09-27 23:30:26 +00:00
Tinderbox User
1fceb09e1f update SRCID 2012-09-27 01:16:14 +00:00
Evan Hunt
084c1cc1da Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2012-09-26 17:37:09 -07:00
Evan Hunt
c3a7fe86e0 typo 2012-09-26 17:22:24 -07:00
Tinderbox User
062387e9a7 update SRCID 2012-09-27 00:16:20 +00:00
Evan Hunt
b1f4ed1c75 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:11:37 -07:00
Evan Hunt
6f1dc65317 Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2012-09-26 17:11:07 -07:00
Tinderbox User
2b8d00bc5c update copyright notice 2012-09-26 23:46:00 +00:00
Tinderbox User
2df9a7f2f0 newcopyrights 2012-09-26 23:30:20 +00:00
Evan Hunt
b01ff9d7f1 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:55:59 -07:00
Tinderbox User
4cc08cff96 update SRCID 2012-09-26 06:17:22 +00:00
Evan Hunt
6d957d82ba support more rrtypes in queryperf
3381.	[contrib]	Update queryperf to support more RR types.
			[RT #30762]
2012-09-25 22:54:51 -07:00
Mark Andrews
73de1e7285 3380. [bug] named could die if a non-existant master list was
referenced in a also-notify. [RT #31004]
2012-09-26 15:29:12 +10:00
Mark Andrews
8d1858b15c 3379. [bug] isc_interval_zero and isc_time_epoch should be
"const (type)* const". [RT #31069]
2012-09-26 15:00:59 +10:00
Tinderbox User
99504a7a05 update SRCID 2012-09-26 02:15:48 +00:00
Evan Hunt
eb785e9590 Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2012-09-25 18:32:01 -07:00
Evan Hunt
423cd0f181 handle nonexistent managed-keys-directory
3378.	[bug]		Handle missing 'managed-keys-directory' better.
			[RT #30625]
2012-09-25 18:28:04 -07:00
Tinderbox User
775e1f1508 update SRCID 2012-09-26 00:16:18 +00:00
Evan Hunt
2b58833f58 improve managed-keys-directory documentation 2012-09-25 16:33:27 -07:00
Tinderbox User
14b92348e7 update SRCID 2012-09-20 01:15:49 +00:00
Mark Andrews
9d0cc16c55 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-09-20 10:59:16 +10:00
Mark Andrews
b89988e395 copyright style 2012-09-20 10:46:25 +10:00
Tinderbox User
c2e81e151a update SRCID 2012-09-19 04:16:26 +00:00
Mark Andrews
6cbd61ae21 remove contrib/dbus/* 2012-09-19 14:01:25 +10:00
Tinderbox User
70e79503ba update SRCID 2012-09-18 22:15:54 +00:00
Evan Hunt
901cf734d9 contrib/dbus is deprecated 2012-09-18 14:55:53 -07:00
Evan Hunt
db18bf8bd6 remove spurious newline
3377.	[bug]		Removed spurious newline from NSEC3 multiline
			output. [RT #31044]
2012-09-18 14:23:13 -07:00
Tinderbox User
628b6f729b update SRCID 2012-09-18 05:18:11 +00:00
Mark Andrews
9442df8ec5 make tests less timing sensitive by spining 2012-09-18 14:50:27 +10:00
Tinderbox User
4240e5c78c update SRCID 2012-09-17 23:15:52 +00:00
Mark Andrews
157ba39f42 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-09-18 08:39:10 +10:00
Mark Andrews
70cff4eef9 add missing extern qualiers 2012-09-17 18:38:59 +10:00
Tinderbox User
94b9ba79e2 update SRCID 2012-09-15 00:16:12 +00:00
Tinderbox User
b16b87a32c newcopyrights 2012-09-14 23:30:34 +00:00
Tinderbox User
156ebe674c update SRCID 2012-09-14 01:16:00 +00:00
Mark Andrews
0588a6f624 3376. [bug] Lack of EDNS support was being recorded without a
successful response. [RT #30811]
2012-09-14 11:02:03 +10:00
Tinderbox User
c8c25a9a17 update SRCID 2012-09-14 00:16:27 +00:00
Mark Andrews
07d5381b90 3375. [func] Check that 'rndc dumpdb' works on a empty cache.
[RT #30808]
2012-09-14 09:42:38 +10:00
Tinderbox User
5703e73f1c update SRCID 2012-09-13 00:16:40 +00:00
Tinderbox User
54385ec02f update copyright notice 2012-09-12 23:46:00 +00:00
Tinderbox User
5749e83e7b newcopyrights 2012-09-12 23:30:25 +00:00
Tinderbox User
6871f93e1e update SRCID 2012-09-12 21:16:00 +00:00
ckb
c75ca48e73 3374. [bug] isc_parse_uint32 failed to return a range error on
systems with 64 bit longs [RT #30232]
2012-09-12 15:21:03 -05:00
Tinderbox User
ea31d343b0 update SRCID 2012-09-12 08:16:09 +00:00
Mark Andrews
5ffdd53520 use binary mode for raw/fast 2012-09-12 17:25:22 +10:00
Tinderbox User
2337530ee1 update SRCID 2012-09-12 06:16:44 +00:00
Mark Andrews
e10e4bd9db Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-09-12 15:36:27 +10:00
Mark Andrews
196c7eae15 turn binary mode on for raw/fast 2012-09-12 15:28:04 +10:00
Tinderbox User
4309cb4284 update SRCID 2012-09-12 04:16:39 +00:00
Mark Andrews
e143917932 O_BINARY -> _O_BINARY 2012-09-12 13:52:12 +10:00
Tinderbox User
a8aeacc5f5 update SRCID 2012-09-12 03:17:09 +00:00
Mark Andrews
963a424ac0 3373. [bug] win32: open raw files in binary mode. [RT #30944] 2012-09-12 12:01:19 +10:00
Tinderbox User
df570ecbcb update SRCID 2012-09-08 09:16:24 +00:00
Mark Andrews
bdbdd28db0 3372. [bug] Silence spurious "deleted from unreachable cache"
messages.  [RT #30501]
2012-09-08 17:59:53 +10:00
Tinderbox User
d02aadc6bf update SRCID 2012-08-31 02:16:04 +00:00
Mark Andrews
352c9f0750 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:25:04 +10:00
Tinderbox User
60bcfbc008 update SRCID 2012-08-30 04:16:41 +00:00
Mark Andrews
b147934583 don't call out to the internet when running test 2012-08-30 13:54:06 +10:00
Tinderbox User
b9e6221240 update SRCID 2012-08-24 07:16:29 +00:00
Tinderbox User
c8f3263eb8 update copyright notice 2012-08-24 07:03:20 +00:00
Mark Andrews
828f8fd198 update 2012-08-24 16:59:10 +10:00
Tinderbox User
a40ce9e88d update SRCID 2012-08-24 05:18:24 +00:00
Mark Andrews
6c4446f33e Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-08-24 14:20:50 +10:00
Mark Andrews
0bff1bfd9c 9.9.2 2012-08-24 14:20:25 +10:00
Tinderbox User
04e619b0f2 update SRCID 2012-08-24 04:16:35 +00:00
Mark Andrews
73a65bbaae add CVE list 2012-08-24 14:15:33 +10:00
Mark Andrews
0feb062f6e 3364. [security] Named could die on specially crafted record.
[RT #30416]
2012-08-24 13:28:22 +10:00
Tinderbox User
6994492739 update SRCID 2012-08-23 23:15:41 +00:00
Mark Andrews
841defeb9d Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-08-24 08:48:31 +10:00
Mark Andrews
9d8499b6e7 unsigned constants 2012-08-24 08:46:17 +10:00
Tinderbox User
8a44eed451 update SRCID 2012-08-23 22:15:49 +00:00
Mark Andrews
7ca24520f1 unsigned constants 2012-08-24 07:33:18 +10:00
Tinderbox User
4ff99a2647 update SRCID 2012-08-23 14:15:52 +00:00
Mark Andrews
799c467a90 v9_8_4rc2 2012-08-23 23:39:14 +10:00
Tinderbox User
44e27b35ff update SRCID 2012-08-23 08:16:42 +00:00
Mark Andrews
138f6b746b handle doc/arm/*.html 2012-08-23 17:55:05 +10:00
Mark Andrews
ce39e7ffb1 udate 2012-08-23 17:47:12 +10:00
Mark Andrews
f2ee37a978 udate 2012-08-23 17:38:53 +10:00
Tinderbox User
44dc05aff3 update copyright notice 2012-08-23 07:34:46 +00:00
Tinderbox User
5e27b4e563 newcopyrights 2012-08-23 07:33:46 +00:00
Mark Andrews
2892d470a4 9.9.2rc1 2012-08-23 17:32:06 +10:00
Tinderbox User
9f58f074e3 Merge branch 'v9_9' of ssh://repo.isc.org/proj/git/prod/bind9 into v9_9 2012-08-23 07:30:48 +00:00
Tinderbox User
c0ec228368 9.9.2rc1 2012-08-23 07:29:38 +00:00
Tinderbox User
e185384c3a 9.9.2rc1 2012-08-23 07:29:08 +00:00
Tinderbox User
df70145b10 update SRCID 2012-08-23 00:16:36 +00:00
Mark Andrews
e81d697022 update 2012-08-23 09:57:43 +10:00
Tinderbox User
f96e5e8daa update SRCID 2012-08-22 10:16:12 +00:00
Mark Andrews
04c540e23b 3370. [bug] Address use after free while shutting down. [RT #30241] 2012-08-22 19:20:21 +10:00
Tinderbox User
f7ddad8002 update SRCID 2012-08-22 04:16:38 +00:00
Mark Andrews
4c7e6634f3 3379. [bug] nsupdate terminated unexpectedly in interactive mode
if built with readline support. [RT #29550]
2012-08-22 13:41:29 +10:00
Tinderbox User
947d52b769 update SRCID 2012-08-22 00:16:13 +00:00
Tinderbox User
c4e1abdd94 update copyright notice 2012-08-21 23:45:50 +00:00
Tinderbox User
3589d0264d newcopyrights 2012-08-21 23:30:19 +00:00
Tinderbox User
4dd50675c8 update SRCID 2012-08-21 19:15:57 +00:00
Evan Hunt
086d035482 spelling 2012-08-21 12:07:22 -07:00
Tinderbox User
48ce7ecc71 update SRCID 2012-08-21 07:16:53 +00:00
Mark Andrews
b4a152b6a8 3368. [bug] <dns/iptable.h>, <dns/private.h> and <dns/zone.h>
where not C++ safe.
2012-08-21 16:43:21 +10:00
Tinderbox User
8142e88aca update SRCID 2012-08-21 02:16:08 +00:00
Mark Andrews
046bfacea1 3367. [bug] dns_dnsseckey_create() result was not being checked.
[RT #30685]
2012-08-21 12:04:35 +10:00
Tinderbox User
957f1b2b19 update SRCID 2012-08-18 00:16:32 +00:00
Tinderbox User
8dc8b88957 update copyright notice 2012-08-17 23:45:52 +00:00
Tinderbox User
a879d1370e newcopyrights 2012-08-17 23:30:15 +00:00
Tinderbox User
990536d0a2 update SRCID 2012-08-17 18:16:01 +00:00
ckb
f2a86826ac 3366. [bug] Fixed Read-After-Write dependency violation for IA64
atomic operations. [RT #25181]
2012-08-17 13:08:59 -05:00
Tinderbox User
c255b03255 update SRCID 2012-08-17 04:16:33 +00:00
Mark Andrews
8ff87f025f we didn't catch a zero option at the global level when views are active 2012-08-17 13:40:56 +10:00
Tinderbox User
20ca18c234 update SRCID 2012-08-17 00:16:26 +00:00
Tinderbox User
a89c14bb62 update copyright notice 2012-08-16 23:45:54 +00:00
Tinderbox User
2e7a1b880a newcopyrights 2012-08-16 23:30:15 +00:00
Tinderbox User
4226679e69 update SRCID 2012-08-16 22:15:48 +00:00
Mark Andrews
ea2a538437 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:22:52 +10:00
Tinderbox User
894fbfad00 update SRCID 2012-08-16 19:16:10 +00:00
Evan Hunt
7f30aa6ef2 remove spurious newlines in zone.c logging
3365.	[bug]		Removed spurious newlines from log messages in
			zone.c [RT #30675]
2012-08-16 10:42:07 -07:00
Tinderbox User
5f9735ffa6 update SRCID 2012-08-16 05:18:34 +00:00
Evan Hunt
1fd2826ccf specify libtool mode in DLZBDB makefile 2012-08-15 21:53:48 -07:00
Tinderbox User
6fcbd0ce6c update SRCID 2012-08-16 00:16:27 +00:00
Tinderbox User
2af002bbbd update copyright notice 2012-08-15 23:45:50 +00:00
Tinderbox User
d0d53de02f newcopyrights 2012-08-15 23:30:15 +00:00
Tinderbox User
d924f437bc update SRCID 2012-08-15 21:16:07 +00:00
Evan Hunt
45efb68977 allow "forward" and "forwarders" in static-stub
3363.	[bug]		Need to allow "forward" and "fowarders" options
			in static-stub zones; this had been overlooked.
			[RT #30482]
2012-08-15 13:08:42 -07:00
Tinderbox User
f460b061aa update SRCID 2012-08-15 01:16:00 +00:00
Tinderbox User
74e9abe28b regen v9_9 2012-08-15 01:10:39 +00:00
Tinderbox User
4fe7f8b08b update SRCID 2012-08-15 00:16:22 +00:00
Tinderbox User
6b6394a1c7 update copyright notice 2012-08-14 23:45:48 +00:00
Tinderbox User
dda465acf3 newcopyrights 2012-08-14 23:30:22 +00:00
Tinderbox User
cfeaa948b3 update SRCID 2012-08-14 06:16:09 +00:00
Evan Hunt
b2088c8595 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:40:35 -07:00
Evan Hunt
efc3ebed17 support '-' salt in rndc signing -nsec3param
3361.	[bug]		"rndc signing -nsec3param" didn't work correctly
			when salt was set to '-' (no salt). [RT #30099]
2012-08-13 22:25:16 -07:00
Tinderbox User
999480f5de update SRCID 2012-08-14 05:16:13 +00:00
Mark Andrews
b1ce613f95 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-08-14 14:34:05 +10:00
Mark Andrews
ec9d42ec19 test against unsigned zero 2012-08-14 14:31:09 +10:00
Tinderbox User
4dff2edbf0 update SRCID 2012-08-14 01:16:32 +00:00
Mark Andrews
622d9bbd61 3360. [bug] 'host -w' could die. [RT #18723] 2012-08-14 11:06:52 +10:00
Tinderbox User
ed3500ec36 update SRCID 2012-08-12 05:16:56 +00:00
Mark Andrews
1b244e2668 update 2012-08-12 14:47:27 +10:00
Tinderbox User
9fa0e77b42 update SRCID 2012-08-11 04:17:50 +00:00
Evan Hunt
8757846fbe 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:16:59 -07:00
Tinderbox User
c565b64020 update SRCID 2012-08-02 02:16:14 +00:00
Mar Andrews
00b040da3c 3357. [port] Add support for libxml2-2.8.x [RT #30440] 2012-08-02 01:50:52 +00:00
Tinderbox User
6a78cbba41 update SRCID 2012-07-26 03:16:43 +00:00
Mark Andrews
3a0a7c26b9 remove references to dispatch_test, rdatasetstats_test and rbt_test 2012-07-26 13:02:21 +10:00
Tinderbox User
b24a40f94b update SRCID 2012-07-26 00:16:21 +00:00
Tinderbox User
bc0ad9c673 update copyright notice 2012-07-25 23:45:49 +00:00
Tinderbox User
0904e082de newcopyrights 2012-07-25 23:30:22 +00:00
Tinderbox User
86395b9ac8 update SRCID 2012-07-25 22:15:45 +00:00
ckb
66e472cd74 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:12:57 -05:00
Tinderbox User
397b93e34f update SRCID 2012-07-25 03:16:25 +00:00
Mark Andrews
515cb51b88 3355. [port] Use more portable awk in verify system test. 2012-07-25 13:00:59 +10:00
Tinderbox User
197bd328fc update SRCID 2012-07-24 03:16:45 +00:00
Mark Andrews
328bbfbe9a cast mode to unsigned int for fprintf 2012-07-24 13:01:47 +10:00
Mark Andrews
1cb0b6f8df cleanup unused variables 2012-07-24 12:20:59 +10:00
Tinderbox User
60236b1917 update SRCID 2012-07-24 00:16:11 +00:00
Tinderbox User
1439e7b8ff update copyright notice 2012-07-23 23:45:53 +00:00
Tinderbox User
253cb79398 newcopyrights 2012-07-23 23:30:15 +00:00
Tinderbox User
9f4dd6c183 update SRCID 2012-07-23 20:16:02 +00:00
Evan Hunt
e3d50c3fb1 fix change note 3348, bug not security 2012-07-23 13:01:32 -07:00
Tinderbox User
e2f4e56d88 update SRCID 2012-07-23 07:16:18 +00:00
Mark Andrews
62eeb6c836 3354. [func] Improve OpenSSL error logging. [RT #29932] 2012-07-23 15:09:42 +10:00
Tinderbox User
1beec4b945 update SRCID 2012-07-20 08:16:00 +00:00
Mark Andrews
53cf25c993 add missing defs 2012-07-20 17:41:15 +10:00
Mark Andrews
309d0907f3 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-07-20 17:29:32 +10:00
Mark Andrews
2edb09e6dd add missing semicolon 2012-07-20 17:27:17 +10:00
Tinderbox User
0e845e7595 update SRCID 2012-07-20 07:16:06 +00:00
Tinderbox User
a445406724 update copyright notice 2012-07-20 06:39:01 +00:00
Tinderbox User
f383138d32 newcopyrights 2012-07-20 06:38:09 +00:00
Mark Andrews
9671f6f0d4 typedef mode_t 2012-07-20 16:37:16 +10:00
Tinderbox User
ef2c4aa34d update SRCID 2012-07-20 06:16:08 +00:00
Mark Andrews
03f56711c6 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-07-20 15:41:15 +10:00
Mark Andrews
e9b19cd039 9.9.2 2012-07-20 15:40:54 +10:00
Tinderbox User
44aee22e4d update SRCID 2012-07-20 05:17:58 +00:00
Tinderbox User
1a36a41aed 9.9.2b1 2012-07-20 04:58:22 +00:00
Tinderbox User
c62705f13a regen v9_9 2012-07-20 04:28:38 +00:00
Tinderbox User
f4de3f8906 sync 2012-07-20 04:25:33 +00:00
Tinderbox User
ae52aa71af Merge branch 'v9_9' of ssh://repo.isc.org/proj/git/prod/bind9 into v9_9 2012-07-20 04:14:14 +00:00
Tinderbox User
0ebe6c723f 9.9.2b1 2012-07-20 04:13:25 +00:00
Tinderbox User
b75af00077 update SRCID 2012-07-20 00:16:14 +00:00
Tinderbox User
b53430a3dd update copyright notice 2012-07-19 23:45:41 +00:00
Tinderbox User
c622ff0a61 update SRCID 2012-07-19 14:15:56 +00:00
Mark Andrews
b67af36d3b 9.9.2b1 2012-07-20 00:15:13 +10:00
Mark Andrews
73dbdbaee7 3353. [bug] Use a single task for task exclusive operations.
[RT #29872]
2012-07-19 23:03:07 +10:00
Tinderbox User
a1fa3293f3 update SRCID 2012-07-19 03:16:18 +00:00
Mark Andrews
4df2671d8c Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-07-19 13:13:59 +10:00
Mark Andrews
9f053d3b38 add verify system test 2012-07-19 13:09:58 +10:00
Tinderbox User
d7171772e9 update SRCID 2012-07-19 00:15:52 +00:00
Tinderbox User
fe975902c0 update copyright notice 2012-07-18 23:45:43 +00:00
Tinderbox User
f2aafebcfc newcopyrights 2012-07-18 23:30:09 +00:00
Tinderbox User
26a6c434c1 update SRCID 2012-07-18 05:18:04 +00:00
Mark Andrews
c9f946b5a8 3352. [bug] Ensure that learned server attributes timeout of the
adb cache. [RT #29856]
2012-07-18 14:17:47 +10:00
Tinderbox User
0021ebefac update SRCID 2012-07-18 00:16:18 +00:00
Mark Andrews
c3940405bf 3351. [bug] isc_mem_put and isc_mem_putanddetach didn't report
caller if either ISC_MEM_DEBUGSIZE or ISC_MEM_DEBUGCTX
                        memory debugging flags are set. [RT #30243]
2012-07-18 10:03:34 +10:00
Mark Andrews
f96a219857 3350. [bug] Memory read overrun in isc___mem_reallocate if
ISC_MEM_DEBUGCTX memory debugging flag is set.
                        [RT #30240]
2012-07-18 09:52:07 +10:00
Tinderbox User
2cc3f7a719 update SRCID 2012-07-17 06:16:09 +00:00
Mark Andrews
a98a24b2c4 fix race in ISC_QUEUE_PUSH 2012-07-17 15:15:56 +10:00
Tinderbox User
e4466d5d2a update SRCID 2012-07-09 19:16:11 +00:00
ckb
6235fc5a0e 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:23:35 -05:00
Tinderbox User
c900f2ab7d update SRCID 2012-07-07 00:15:55 +00:00
Tinderbox User
3aa02a8812 newcopyrights 2012-07-06 23:30:13 +00:00
Tinderbox User
a29912776a update SRCID 2012-07-06 22:15:34 +00:00
Evan Hunt
1824a70e12 fix copyrights in checkds test 2012-07-06 14:24:41 -07:00
Tinderbox User
a026cacf75 update SRCID 2012-07-06 18:15:55 +00:00
ckb
f881a7beb5 added cleanup of test files 2012-07-06 10:03:36 -05:00
Tinderbox User
d714c4e631 update SRCID 2012-07-06 01:16:01 +00:00
Evan Hunt
b5bfcabdc0 warn when changing mode on .private files
3347.	[bug]		dnssec-settime: Issue a warning when writing a new
			private key file would cause a change in the
			permissions of the existing file. [RT #27724]
2012-07-05 18:03:57 -07:00
Tinderbox User
0c16dde587 update SRCID 2012-07-02 17:16:10 +00:00
Evan Hunt
576df86934 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:02:23 -07:00
Evan Hunt
6c388d263b addressed possible race in ISC_QUEUE
3345.	[bug]		Addressed race condition when removing the last item
			or inserting the first item in an ISC_QUEUE.
			[RT #29539]
2012-07-02 09:38:18 -07:00
Tinderbox User
83cf9a687e update SRCID 2012-06-30 00:16:20 +00:00
Tinderbox User
03565e899d update copyright notice 2012-06-29 23:45:45 +00:00
Tinderbox User
794f6461b3 newcopyrights 2012-06-29 23:30:14 +00:00
Tinderbox User
09dc8ed34f update SRCID 2012-06-29 07:15:30 +00:00
Mark Andrews
de915d9e03 create implict rule for python executable and use it to create dnssec-checkds 2012-06-29 16:55:46 +10:00
Tinderbox User
288b0fb13b update SRCID 2012-06-29 02:16:16 +00:00
Tinderbox User
8d0a65e45f update copyright notice 2012-06-29 01:49:36 +00:00
Mark Andrews
cb421b69c3 reverse bad copyright update 2012-06-29 11:41:43 +10:00
Mark Andrews
00e4caa44f lost line 2012-06-29 11:40:48 +10:00
Tinderbox User
cd24b114bf update copyright notice 2012-06-29 01:22:07 +00:00
Tinderbox User
b132295a55 newcopyrights 2012-06-29 01:20:57 +00:00
Tinderbox User
bf12e8d4dd update SRCID 2012-06-29 01:15:56 +00:00
Mark Andrews
d975b50ad2 add support for python 2012-06-29 11:02:38 +10:00
Mark Andrews
6551a76e3b add support for python 2012-06-29 11:02:38 +10:00
Tinderbox User
590b29858e update SRCID 2012-06-28 13:15:31 +00:00
Mar Andrews
3d5630cff7 regen configure 2012-06-28 13:13:55 +00:00
Mark Andrews
c6d42090f9 make the checkds system test dependent on the result of python discovery 2012-06-28 23:10:20 +10:00
Tinderbox User
aaf73d6ee6 update SRCID 2012-06-28 09:15:46 +00:00
Mar Andrews
1d9f6bbc90 regen configure 2012-06-28 08:27:25 +00:00
Mark Andrews
17e5cbee49 3344. [func] New "dnssec-checkds" command checks a zone to
determine which DS records should be published
                        in the parent zone, or which DLV records should be
                        published in a DLV zone, and queries the DNS to
                        ensure that it exists. (Note: This tool depends
                        on python; it will not be built or installed on
                        systems that do not have a python interpreter.)
                        [RT #28099]
2012-06-28 18:26:04 +10:00
Tinderbox User
e563d883ce update SRCID 2012-06-27 00:16:00 +00:00
Tinderbox User
9418237f65 update copyright notice 2012-06-26 23:45:42 +00:00
Tinderbox User
23652d5e71 newcopyrights 2012-06-26 23:30:10 +00:00
Mark Andrews
68565715ec 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:23:01 +10:00
Tinderbox User
21fead0da5 update SRCID 2012-06-26 05:15:41 +00:00
Mark Andrews
b4d5643ad4 manual update for doc/design/verify 2012-06-26 14:19:02 +10:00
Tinderbox User
7c66b512a8 update SRCID 2012-06-26 00:15:57 +00:00
Tinderbox User
d3bb7b6b7b update copyright notice 2012-06-25 23:45:45 +00:00
Tinderbox User
e407ffdb0a update SRCID 2012-06-25 05:17:13 +00:00
Mar Andrews
d48f0f0927 regen 2012-06-25 05:03:48 +00:00
Mark Andrews
7c25aaf620 3341. [func] New "dnssec-verify" command checks a signed zone
to ensure correctness of signatures and of NSEC/NSEC3
                        chains. [RT #23673]
2012-06-25 14:57:32 +10:00
Tinderbox User
707893b3ac update SRCID 2012-06-25 02:15:58 +00:00
Mark Andrews
cbd62d92ec silence compiler warning by using offsetof to get structure element offsets 2012-06-25 12:02:51 +10:00
Tinderbox User
3a1a50ebe0 update SRCID 2012-06-22 00:16:52 +00:00
Tinderbox User
0cf0e2b17f update copyright notice 2012-06-21 23:45:41 +00:00
Tinderbox User
d9299680ac update SRCID 2012-06-21 06:17:06 +00:00
Evan Hunt
55479af81f fix secondkey test, properly 2012-06-20 22:44:49 -07:00
Tinderbox User
72012bd370 update SRCID 2012-06-21 05:16:03 +00:00
Mark Andrews
07dd05676e remove rundundent call 'result = isc_parse_uint8(&ui, r.base, 10);' 2012-06-21 14:29:30 +10:00
Tinderbox User
f37b9f256d update SRCID 2012-06-21 00:16:01 +00:00
Tinderbox User
bf8c2431d5 update copyright notice 2012-06-20 23:46:27 +00:00
Tinderbox User
a181e9ede6 newcopyrights 2012-06-20 23:30:11 +00:00
Tinderbox User
9d51218237 update SRCID 2012-06-20 22:16:35 +00:00
Evan Hunt
44b9433d75 fixed second-key test to use correct rndc.conf 2012-06-20 15:08:42 -07:00
Tinderbox User
1a9e34edc5 update SRCID 2012-06-20 12:15:33 +00:00
Mark Andrews
acebc2457c 3339. [func] Allow the maximum supported rsa exponent size to be
specified: "max-rsa-exponent-size <value>;" [RT #29228]
2012-06-20 21:34:24 +10:00
Tinderbox User
10aa03b24d update SRCID 2012-06-15 00:16:41 +00:00
Tinderbox User
ba10d28268 update copyright notice 2012-06-14 23:45:44 +00:00
Tinderbox User
8fd11d3d9f update SRCID 2012-06-14 06:16:42 +00:00
Mark Andrews
ca48cdf0ac 3338. [bug] Address race condition in units tests: asyncload_zone
and asyncload_zt. [RT #26100]
2012-06-14 15:15:57 +10:00
Tinderbox User
e8373787c5 update SRCID 2012-06-14 01:16:00 +00:00
Mark Andrews
7f7123ae38 update 2012-06-14 09:49:03 +10:00
Tinderbox User
5010dea8e8 update SRCID 2012-06-13 07:15:58 +00:00
Mark Andrews
c7818fb0be 3337. [bug] Change #3294 broke support for the multiple keys
in controls. [RT #29694]
2012-06-13 16:30:46 +10:00
Tinderbox User
abd3e2b8d7 update SRCID 2012-06-11 04:16:07 +00:00
Mark Andrews
1b57ec4d69 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-06-11 13:44:51 +10:00
Tinderbox User
68d673f0c4 update SRCID 2012-06-09 00:16:01 +00:00
Tinderbox User
bec35dad94 update copyright notice 2012-06-08 23:45:44 +00:00
Tinderbox User
3290dd1184 newcopyrights 2012-06-08 23:30:18 +00:00
Tinderbox User
ea7aaef9c7 update SRCID 2012-06-08 05:17:48 +00:00
Evan Hunt
78e4ced5b7 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:07:22 -07:00
Mark Andrews
db6a5f657f spelling 2012-06-08 14:29:02 +10:00
Tinderbox User
5f873199f7 update SRCID 2012-06-08 04:16:29 +00:00
Mark Andrews
05913d20e1 add # 2012-06-08 13:57:39 +10:00
Mark Andrews
ed622b2381 3334. [bug] Hold a zone table reference while performing a
asyncronous load of a zone. [RT #28326]
2012-06-08 13:55:11 +10:00
Tinderbox User
cffedaf1fd update SRCID 2012-06-08 03:16:33 +00:00
Mark Andrews
4db66665f5 3333. [bug] Setting resolver-query-timeout too low can cause
named to not recover if it looses connectivity.
                        [RT #29623]
2012-06-08 12:38:48 +10:00
Tinderbox User
22b4463e59 update SRCID 2012-06-07 05:17:42 +00:00
Mark Andrews
640db2ed50 Don't restart ns5 after killing it 2012-06-07 14:42:18 +10:00
Tinderbox User
3c3b0bea00 update SRCID 2012-06-07 03:16:54 +00:00
Mark Andrews
5f348a21be 3332. [bug] Re-use cached DS rrsets if possible. [RT 29446] 2012-06-07 12:57:33 +10:00
Tinderbox User
f2ec9ff344 update SRCID 2012-06-04 07:15:58 +00:00
Mark Andrews
8bd9a9b2ad kill and restart the nameserver after running: perf 'without rpz' norpz 2012-06-04 16:36:30 +10:00
Tinderbox User
2ccd974f88 update SRCID 2012-06-02 00:16:23 +00:00
Tinderbox User
de16ff6d04 update copyright notice 2012-06-01 23:45:51 +00:00
Tinderbox User
04542dd737 newcopyrights 2012-06-01 23:42:59 +00:00
Mark Andrews
fc319bc9d8 add ./bin/tests/system/unknown/large.out 2012-06-02 09:37:03 +10:00
Tinderbox User
2f9c167649 update SRCID 2012-06-01 19:15:51 +00:00
Evan Hunt
63e1f1ecc6 fix solaris portability problem 2012-06-01 11:41:24 -07:00
Tinderbox User
3b2241f37f update SRCID 2012-06-01 17:15:51 +00:00
Evan Hunt
73319305bf security fix
3331.	[security]	dns_rdataslab_fromrdataset could produce bad
			rdataslabs. [RT #29644]
2012-06-01 09:47:28 -07:00
Tinderbox User
d652c009c2 regen v9_9 2012-06-01 01:16:17 +00:00
Tinderbox User
d4c589b2e7 update SRCID 2012-06-01 01:16:09 +00:00
Tinderbox User
12280d3611 sync 2012-06-01 01:13:20 +00:00
Vernon Schryver
f05089ea5c For rt26172:
Add
      - optional "recursive-only yes|no" to the response-policy statement
      - optional max-policy-ttl to limit the lies that "recursive-only no"
          can introduce into resolvers' caches
      - test that queries with RD=0 are not rewritten by default
      - performance smoke test

    Change encoding of PASSTHRU action to "rpz-passthru".
          (The old encoding is still accepted.)
    Fix rt26180  assert botch in zone_findrdataset() in this branch
         as well.

    Fix missing signatures on NOERROR results despite RPZ hits
        when there are signatures and the client asks for DNSSEC,
2012-06-01 01:03:43 +00:00
Tinderbox User
f011dfffca update SRCID 2012-05-31 02:15:48 +00:00
Tinderbox User
36556c1406 regen v9_9 2012-05-31 01:17:36 +00:00
Tinderbox User
6ad83476ee sync 2012-05-31 01:14:31 +00:00
Tinderbox User
b13d6e8949 update SRCID 2012-05-30 16:16:07 +00:00
Evan Hunt
0f633846a0 fixed ARM typo: s/replacable/replaceable/ 2012-05-30 08:16:15 -07:00
Tinderbox User
cf66c0b1d0 update SRCID 2012-05-30 02:15:55 +00:00
Mark Andrews
8a08f06cb2 silence warnings from clang 2012-05-30 11:54:27 +10:00
Tinderbox User
fc0961e943 update SRCID 2012-05-25 05:17:01 +00:00
Mark Andrews
f92d7df229 add linux kernel version note 2012-05-25 14:51:07 +10:00
Tinderbox User
328c1c1fb3 update SRCID 2012-05-22 00:16:06 +00:00
Tinderbox User
ca51110567 update copyright notice 2012-05-21 23:45:36 +00:00
Tinderbox User
eb21d761a8 newcopyrights 2012-05-21 23:30:12 +00:00
Tinderbox User
161598fb1a update SRCID 2012-05-21 06:15:47 +00:00
Mark Andrews
c400da38cf redirect stderr to /dev/null 2012-05-21 16:05:18 +10:00
Tinderbox User
8e3dcb072a update SRCID 2012-05-21 05:41:50 +00:00
Mark Andrews
7207962f87 portability awk add space between -v and it's argument, if anything has changed add ./COPYRIGHT 2012-05-21 15:17:22 +10:00
Tinderbox User
3456d2c230 update SRCID 2012-05-21 01:15:57 +00:00
Mark Andrews
0c791875ad Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-05-21 10:19:20 +10:00
Mark Andrews
e77611f94c awk and toupper is not portable, use sed instead 2012-05-21 10:16:22 +10:00
Tinderbox User
b7b5b30eaf update SRCID 2012-05-21 00:16:13 +00:00
Tinderbox User
7230ace1d3 update SRCID 2012-05-20 00:16:01 +00:00
Tinderbox User
7825536db8 update SRCID 2012-05-19 00:16:21 +00:00
Tinderbox User
8474774c57 update SRCID 2012-05-18 10:15:41 +00:00
Mar Andrews
899fb77414 add bin/tests/system/ecdsa/prereq.sh 2012-05-18 09:51:32 +00:00
Mar Andrews
18936ac9c5 add bin/tests/system/ecdsa/prereq.sh 2012-05-18 09:51:08 +00:00
Tinderbox User
348b313aae update SRCID 2012-05-18 07:15:47 +00:00
Mark Andrews
e6e3680d46 = -> == 2012-05-18 17:12:47 +10:00
Tinderbox User
48082afcae update SRCID 2012-05-18 00:16:28 +00:00
Tinderbox User
a2093c07a5 update copyright notice 2012-05-17 23:45:48 +00:00
Tinderbox User
d36b33f0ff newcopyrights 2012-05-17 23:30:43 +00:00
Evan Hunt
51a4619bb0 Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2012-05-17 16:17:09 -07:00
Evan Hunt
2813f4f965 fix check_data() usage
3328.   [bug]           Fixed inconsistent data checking in dst_parse.c.
                        [RT #29401]
2012-05-17 16:16:49 -07:00
Tinderbox User
79f6420db9 update SRCID 2012-05-17 23:15:38 +00:00
Evan Hunt
dff9ea972b add ecdsa to system tests 2012-05-17 16:10:26 -07:00
Evan Hunt
8b1b819ae4 add ECDSA support
3317.	[protocol]	Add ECDSA support (RFC 6605). [RT #21918]
2012-05-17 15:52:07 -07:00
Tinderbox User
8185ca0647 update SRCID 2012-05-17 19:16:02 +00:00
Evan Hunt
e39b4d8054 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 10:59:07 -07:00
Tinderbox User
10d212067f update SRCID 2012-05-17 00:16:00 +00:00
Tinderbox User
ed5e6f2016 update SRCID 2012-05-16 00:16:26 +00:00
Tinderbox User
af5ca36024 update SRCID 2012-05-15 00:16:17 +00:00
Tinderbox User
4d65610cad update SRCID 2012-05-14 00:16:20 +00:00
Tinderbox User
2b238a7611 update SRCID 2012-05-13 00:15:58 +00:00
Tinderbox User
b53e8d8131 update SRCID 2012-05-12 00:16:09 +00:00
Tinderbox User
ae68ed4edc update SRCID 2012-05-11 00:16:18 +00:00
Tinderbox User
083ed27c15 update SRCID 2012-05-10 00:16:21 +00:00
Tinderbox User
90af80c524 update SRCID 2012-05-09 23:16:08 +00:00
Mark Andrews
f5e44458b8 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:39:51 +10:00
Tinderbox User
74388cc74e update SRCID 2012-05-09 00:16:14 +00:00
Tinderbox User
fa7f486f31 update SRCID 2012-05-08 00:16:01 +00:00
Tinderbox User
f2d708c18f update SRCID 2012-05-07 00:16:00 +00:00
Tinderbox User
49a3d1fe55 update SRCID 2012-05-06 00:16:08 +00:00
Tinderbox User
6f9b569ae6 update SRCID 2012-05-05 00:16:13 +00:00
Tinderbox User
97b629e717 update SRCID 2012-05-04 00:16:11 +00:00
Tinderbox User
f25aa333df update SRCID 2012-05-03 00:16:20 +00:00
Tinderbox User
ac0821c961 update SRCID 2012-05-02 00:16:00 +00:00
Tinderbox User
95cd5cba8e update SRCID 2012-05-01 00:16:07 +00:00
Tinderbox User
ab85753c74 update SRCID 2012-04-30 00:16:16 +00:00
Tinderbox User
fc91ae2ebd update SRCID 2012-04-29 00:16:06 +00:00
Tinderbox User
1bae5e9ac1 update SRCID 2012-04-28 00:15:55 +00:00
Tinderbox User
baf68cd714 update SRCID 2012-04-27 13:16:03 +00:00
Tinderbox User
bdbfb728f3 update SRCID 2012-04-27 08:16:09 +00:00
Tinderbox User
5ccc30dcda update SRCID 2012-04-27 07:16:17 +00:00
Mark Andrews
4323895ddf only report different text if not in EXCLUDED 2012-04-27 16:30:10 +10:00
Tinderbox User
1a7a46bd84 update SRCID 2012-04-27 04:16:15 +00:00
Tinderbox User
6860df599d update copyright notice 2012-04-27 04:03:10 +00:00
Mark Andrews
347ec966c5 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-04-27 14:01:56 +10:00
Tinderbox User
589d946d04 newcopyrights 2012-04-27 04:01:34 +00:00
Mark Andrews
4b102817cf 9.9.1 2012-04-27 13:58:44 +10:00
Mark Andrews
d089b211f6 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-04-27 13:55:30 +10:00
Mark Andrews
8decf831dc 9.9.1 2012-04-27 13:53:28 +10:00
Tinderbox User
fb19802ccd 9.9.1 2012-04-27 03:36:28 +00:00
Tinderbox User
c0b7cbd4e7 update SRCID 2012-04-27 03:16:26 +00:00
Mark Andrews
39497b6d0a 3273. [bug] AAAA responses could be returned in the additional
section even when filter-aaaa-on-v4 was in use.
                        [RT #27292]
2012-04-27 13:03:21 +10:00
Mark Andrews
9a9f67d54b 3273. [bug] AAAA responses could be returned in the additional
section even when filter-aaaa-on-v4 was in use.
                        [RT #27292]
2012-04-27 13:02:03 +10:00
Mark Andrews
f93746692a 9.9.1 2012-04-27 12:39:05 +10:00
Mark Andrews
26329dc28a check if the pdf version of the ARM needs to be committed 2012-04-27 12:29:49 +10:00
Tinderbox User
59e133e84a update SRCID 2012-04-27 01:15:50 +00:00
Mark Andrews
f56db336a3 sync with master 2012-04-27 10:46:21 +10:00
Tinderbox User
f35f5615e6 update SRCID 2012-04-27 00:15:56 +00:00
Tinderbox User
36b371b81f update copyright notice 2012-04-26 23:45:39 +00:00
Tinderbox User
dbc1295a06 newcopyrights 2012-04-26 23:30:27 +00:00
Tinderbox User
bc67bef164 update SRCID 2012-04-26 05:16:30 +00:00
Mark Andrews
1189f64314 TRUE -> ISC_TRUE 2012-04-26 15:07:53 +10:00
Tinderbox User
454d2c52fb update SRCID 2012-04-26 03:16:28 +00:00
Mark Andrews
038364699c 3314. [bug] The masters list could be updated while refesh_callback
and stub_callback were using it. [RT #26732]
2012-04-26 13:01:04 +10:00
Mark Andrews
07ef11a326 3313. [protocol] Add TLSA record type. [RT #28989] 2012-04-26 12:36:53 +10:00
Tinderbox User
9edd7f4d6a update SRCID 2012-04-26 02:15:40 +00:00
Mark Andrews
b58a55c2d9 3312. [bug] named-checkconf didn't detect a bad dns64 clients acl.
[RT #27631]
2012-04-26 11:45:14 +10:00
Mark Andrews
b41cfce325 3311. [bug] Abort the zone dump if zone->db is NULL in
zone.c:zone_gotwritehandle. [RT #29028]
2012-04-26 11:26:11 +10:00
Tinderbox User
8a5b631936 update SRCID 2012-04-26 00:16:12 +00:00
Tinderbox User
d124119c13 update copyright notice 2012-04-25 23:45:37 +00:00
Tinderbox User
1039c8deae newcopyrights 2012-04-25 23:30:11 +00:00
Tinderbox User
fc4357fbee update SRCID 2012-04-25 00:15:58 +00:00
Evan Hunt
825bebde58 increase table size for mutex profiling 2012-04-24 16:52:40 -07:00
Tinderbox User
45cd6c0057 update SRCID 2012-04-24 22:15:57 +00:00
Evan Hunt
4e6be4ae5c Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2012-04-24 14:57:44 -07:00
Evan Hunt
2535471704 fctx_finddone: call fctx_destroy within the bucket lock
Conflicts:

	CHANGES
2012-04-24 14:57:19 -07:00
Tinderbox User
f9fdc93bd6 update SRCID 2012-04-24 00:15:57 +00:00
Tinderbox User
482f0ab00b newcopyrights 2012-04-23 23:30:29 +00:00
Tinderbox User
637001aac8 update SRCID 2012-04-23 16:15:53 +00:00
Evan Hunt
d171ec4fe4 missed a file in previous commit 2012-04-23 08:57:02 -07:00
Evan Hunt
c02c10261c fix .gitignore files 2012-04-23 08:56:12 -07:00
Tinderbox User
56e1e74195 update SRCID 2012-04-23 00:16:13 +00:00
Tinderbox User
5cabb1468c update SRCID 2012-04-22 00:16:13 +00:00
Tinderbox User
0fec430aa6 update SRCID 2012-04-21 00:16:01 +00:00
Tinderbox User
2920bdd36a update SRCID 2012-04-20 00:16:00 +00:00
Tinderbox User
d45dc05a73 update SRCID 2012-04-19 14:17:34 +00:00
Scott Mann
856f533150 remove rfc5011.txt from contrib in tarball 2012-04-19 08:03:15 -06:00
Tinderbox User
2c246fcc46 update SRCID 2012-04-19 00:16:13 +00:00
Tinderbox User
bb914f2af4 update SRCID 2012-04-18 00:16:29 +00:00
Tinderbox User
297525d38a update SRCID 2012-04-17 00:16:07 +00:00
Tinderbox User
d439148dc4 update SRCID 2012-04-16 00:16:15 +00:00
Tinderbox User
8f1d480c01 update SRCID 2012-04-15 00:16:20 +00:00
Tinderbox User
a8d5dd0564 update SRCID 2012-04-14 00:16:12 +00:00
Tinderbox User
f034acf332 update SRCID 2012-04-13 00:16:16 +00:00
Tinderbox User
92fcedb783 update copyright notice 2012-04-12 23:45:42 +00:00
Tinderbox User
305e4e3438 newcopyrights 2012-04-12 23:30:21 +00:00
Tinderbox User
985026a5f1 update SRCID 2012-04-12 23:15:54 +00:00
Mark Andrews
7a5ab270d3 3307. [bug] Add missing ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS.
[RT #28956]
2012-04-13 08:37:30 +10:00
Tinderbox User
4ae302ebf5 update SRCID 2012-04-12 10:15:51 +00:00
Mark Andrews
b5d097b103 3307. [bug] Add missing ISC_LANG_ENDDECLS to <dns/tsec.h>. [RT #28956] 2012-04-12 19:15:39 +10:00
Tinderbox User
a740ff5cf5 update SRCID 2012-04-12 00:16:16 +00:00
Tinderbox User
814d92a93b update copyright notice 2012-04-11 23:45:41 +00:00
Tinderbox User
01deb4ae58 newcopyrights 2012-04-11 23:30:21 +00:00
Tinderbox User
7cf08a4c34 update SRCID 2012-04-11 03:16:09 +00:00
Mark Andrews
74ce4de82e 3306. [bug] Improve DNS64 reverse zone performance. [RT #28563]
3305.   [func]          Add wire format lookup method to sdb. [RT #28563]
2012-04-11 12:20:44 +10:00
Tinderbox User
e3a1a68c1b update SRCID 2012-04-11 02:15:21 +00:00
Mark Andrews
21a01a2817 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-04-11 12:04:14 +10:00
Mark Andrews
52b6c5b386 add the ability to override --remote 2012-04-11 11:28:43 +10:00
Tinderbox User
7507ec564f update SRCID 2012-04-11 01:15:49 +00:00
Mark Andrews
2490e43c67 3304. [bug] Use hmctx, not mctx when freeing rbtdb->heaps. [RT #28571] 2012-04-11 10:44:24 +10:00
Tinderbox User
efc5cea15d update SRCID 2012-04-11 00:15:56 +00:00
Tinderbox User
4e243dc6d9 update SRCID 2012-04-10 07:17:15 +00:00
Mark Andrews
fa2de2b7b8 use --remote=cvs.isc.org:/proj/git/prod/bind9.git 2012-04-10 16:18:18 +10:00
Tinderbox User
945aa1b106 update SRCID 2012-04-10 00:16:42 +00:00
Tinderbox User
e1288dffe5 update SRCID 2012-04-09 00:17:21 +00:00
Tinderbox User
ce6b1a3a92 update SRCID 2012-04-08 00:17:19 +00:00
Tinderbox User
cfcbd36ba6 update SRCID 2012-04-07 00:17:16 +00:00
Tinderbox User
392c63c92f update SRCID 2012-04-06 00:15:51 +00:00
Tinderbox User
5ce42d6164 update SRCID 2012-04-05 06:17:36 +00:00
Mark Andrews
952739146c 3303. [bug] named could die when reloading. [RT #28606] 2012-04-05 15:52:09 +10:00
Tinderbox User
721bef2aaa update SRCID 2012-04-05 00:16:53 +00:00
Tinderbox User
ed326dc311 update SRCID 2012-04-04 00:17:03 +00:00
Tinderbox User
0c1f25d744 update SRCID 2012-04-03 00:16:47 +00:00
Tinderbox User
652dca284d update SRCID 2012-04-02 00:17:23 +00:00
Tinderbox User
ca637fb07b update SRCID 2012-04-01 00:16:57 +00:00
Tinderbox User
23632cfbda update SRCID 2012-03-31 00:17:20 +00:00
Tinderbox User
5ee7aefb5f update SRCID 2012-03-30 01:17:07 +00:00
Mark Andrews
b2cc45dd7f 3302. [bug] dns_dnssec_findmatchingkeys could fail to find
keys if the zone name contained character that
                        required special mappings. [RT #28600]
2012-03-30 12:07:13 +11:00
Tinderbox User
9e58003ff3 update SRCID 2012-03-30 00:16:55 +00:00
Tinderbox User
448dfc86f0 newcopyrights 2012-03-29 23:30:19 +00:00
Tinderbox User
20e696e63a update SRCID 2012-03-29 00:17:20 +00:00
Mark Andrews
67071d371a 3301. [contrib] Update queryperf to build on darwin. Add -R flag
for non-recursive queries. [RT #28565]
2012-03-29 10:31:03 +11:00
Tinderbox User
80e6a1a651 update SRCID 2012-03-28 23:16:17 +00:00
Mark Andrews
46fbcf04a0 3300. [bug] Named could die if gssapi was enabled in named.conf
but was not compiled in. [RT #28338]
2012-03-29 09:52:44 +11:00
Tinderbox User
d7776e1519 update SRCID 2012-03-28 00:16:49 +00:00
Mark Andrews
081fda43c1 3299. [bug] Make SDB handle errors from database drivers better.
[RT #28534]
2012-03-28 10:25:43 +11:00
Tinderbox User
af7ddf2901 update SRCID 2012-03-27 00:16:18 +00:00
Tinderbox User
7856b79b2b update SRCID 2012-03-26 00:16:47 +00:00
Tinderbox User
55ea9591fe update SRCID 2012-03-25 00:16:53 +00:00
Tinderbox User
709193a694 update SRCID 2012-03-24 00:17:17 +00:00
Tinderbox User
bfaf590064 update SRCID 2012-03-23 00:17:17 +00:00
Tinderbox User
78840394d0 update SRCID 2012-03-22 02:16:44 +00:00
Mark Andrews
0af2c19d5a 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:21:41 +11:00
Tinderbox User
d71b1b935f update SRCID 2012-03-22 00:17:09 +00:00
Tinderbox User
280f356496 update SRCID 2012-03-21 00:17:13 +00:00
Tinderbox User
d56a5e2ace update SRCID 2012-03-20 00:17:12 +00:00
Tinderbox User
16dd4dcc57 update SRCID 2012-03-19 00:16:15 +00:00
Tinderbox User
aa2b4f2c8c update SRCID 2012-03-18 00:17:17 +00:00
Tinderbox User
44f2a57294 update SRCID 2012-03-17 00:16:16 +00:00
Tinderbox User
29517d98eb update SRCID 2012-03-16 00:17:13 +00:00
Tinderbox User
cadd2123cc update SRCID 2012-03-15 01:16:51 +00:00
Mark Andrews
8b07de94d7 3297. [bug] Named could die on a malformed master file. [RT #28467] 2012-03-15 12:09:01 +11:00
Mark Andrews
b1d55de4fa 3296. [bug] Named could die with a INSIST failure in
client.c:exit_check. [RT #28346]
2012-03-15 11:48:57 +11:00
Tinderbox User
5c9f648a93 update SRCID 2012-03-15 00:16:18 +00:00
Tinderbox User
5cca73efaa update copyright notice 2012-03-14 23:45:32 +00:00
Tinderbox User
75eb920ce4 newcopyrights 2012-03-14 23:30:13 +00:00
Tinderbox User
63a42d5449 update SRCID 2012-03-14 05:16:45 +00:00
Mark Andrews
ac5871037f properly redirect stderr to stdout 2012-03-14 16:09:41 +11:00
Tinderbox User
597801edb0 update SRCID 2012-03-14 00:17:08 +00:00
Tinderbox User
840bc4127a update SRCID 2012-03-13 00:17:12 +00:00
Tinderbox User
db66a29c6a update copyright notice 2012-03-12 23:45:36 +00:00
Tinderbox User
8f9964ca30 update SRCID 2012-03-12 01:16:39 +00:00
Tinderbox User
791a94a22f regen v9_9 2012-03-12 01:16:30 +00:00
Mark Andrews
df8f202dd0 copyright cleanup 2012-03-12 11:35:58 +11:00
Tinderbox User
5bdea7b2bc update SRCID 2012-03-12 00:16:21 +00:00
Tinderbox User
0a5497ae0a update SRCID 2012-03-11 00:16:44 +00:00
Tinderbox User
5abefae88a update copyright notice 2012-03-10 23:45:42 +00:00
Tinderbox User
5c984d074d newcopyrights 2012-03-10 23:30:19 +00:00
Tinderbox User
f34177f53d update SRCID 2012-03-10 04:29:55 +00:00
Tinderbox User
156783b056 update SRCID 2012-03-10 00:18:21 +00:00
Evan Hunt
ddde18cbd3 Merged 'rt28345': new git-based merge_copyrights 2012-03-09 15:58:58 -08:00
Tinderbox User
b5ea9b234e regen 2012-03-09 23:30:27 +00:00
Tinderbox User
b1ae23f7b4 regen 2012-03-09 23:30:27 +00:00
Tinderbox User
c713f209a5 update SRCID 2012-03-09 22:17:40 +00:00
Mark Andrews
27d5d5890f empty directory 2012-03-10 08:46:19 +11:00
Tinderbox User
3fa5ffaf07 update SRCID 2012-03-09 21:17:31 +00:00
Tinderbox User
69abad8df2 update SRCID 2012-03-09 21:02:09 +00:00
Evan Hunt
b346f0d0d3 s/cvsignore/gitignore/ 2012-03-08 13:43:46 -08:00
Mark Andrews
89de725058 3295. [bug] Adjust isc_time_secondsastimet range check to be more
portable. [RT # 26542]
2012-03-08 15:32:33 +11:00
Mark Andrews
13de532574 3294. [bug] isccc/cc.c:table_fromwire failed to free alist on
error. [RT #28265]
2012-03-08 14:40:49 +11:00
Mark Andrews
7297e989d0 update .gitignore 2012-03-08 13:47:28 +11:00
Evan Hunt
0cf98a4a3f update copyrights 2012-03-07 15:28:20 -08:00
Evan Hunt
d9983afb0c Revert "add .gitattributes (turn on ident)"
This reverts commit 43d8ee6dc4.
2012-03-07 08:46:23 -08:00
Evan Hunt
c9481a4625 set $Id$ 2012-03-07 08:18:58 -08:00
Tinderbox User
6d32344d3b regen v9_9 2012-03-07 02:21:06 +00:00
Tinderbox User
c201888c2a regen v9_9 2012-03-07 01:59:30 +00:00
Evan Hunt
98c2d04b1f add .gitattributes (turn on ident) 2012-03-06 17:28:35 -08:00
Evan Hunt
8047e7c06f re-remove cvsignore files 2012-03-05 08:29:31 -08:00
Evan Hunt
f94af76649 Revert "added gitignore, removed cvsignore"
This reverts commit e8ae173655.
2012-03-05 08:24:17 -08:00
Evan Hunt
1b08bce8c7 kit.sh now uses git 2012-03-04 10:48:33 -08:00
Evan Hunt
6aa2d721fc created 2012-03-03 23:25:21 -08:00
Evan Hunt
e8ae173655 added gitignore, removed cvsignore 2012-03-03 23:24:11 -08:00
Automatic Updater
4865bee747 update 2012-03-01 00:16:29 +00:00
Automatic Updater
9fc034d29f update copyright notice 2012-02-29 23:46:55 +00:00
Automatic Updater
9c5502baf9 newcopyrights 2012-02-29 23:30:22 +00:00
Automatic Updater
4f4deb38e5 update 2012-02-29 22:16:19 +00:00
Evan Hunt
3391445e1d revert accidental commit 2012-02-29 21:31:06 +00:00
Evan Hunt
2db6dd26da 3291. [port] Fixed a build error on systems without ENOTSUP.
[RT #28200]
2012-02-29 21:27:47 +00:00
Automatic Updater
058e09abf5 update 2012-02-29 00:16:46 +00:00
Automatic Updater
fa776b400e update copyright notice 2012-02-28 23:46:24 +00:00
Automatic Updater
e6532f2e09 newcopyrights 2012-02-28 23:30:20 +00:00
Automatic Updater
b214301d1d update 2012-02-28 22:16:54 +00:00
Mark Andrews
9590d4bcad 3290. [bug] <isc/hmacsha.h> was not being installed. [RT #28169] 2012-02-28 21:34:52 +00:00
Automatic Updater
f1ede06a85 update 2012-02-23 09:16:08 +00:00
Mark Andrews
3514c49b2f 9.9.0 2012-02-23 08:46:54 +00:00
Automatic Updater
fde12c209e update 2012-02-23 08:16:09 +00:00
Automatic Updater
6ef023873e update 2012-02-23 07:16:38 +00:00
Mark Andrews
9b5ca4f479 dns_zone_synckeyzone 2012-02-23 07:16:04 +00:00
Automatic Updater
2ded752b75 update copyright notice 2012-02-23 07:09:02 +00:00
Automatic Updater
a56e2f5105 newcopyrights 2012-02-23 07:07:26 +00:00
Mark Andrews
2c96b35bbc 9.9.0rc4 2012-02-23 07:06:10 +00:00
Mark Andrews
1032216f5c 3289. [bug] 'rndc retransfer' failed for inline zones. [RT #28036] 2012-02-23 07:02:20 +00:00
Automatic Updater
ab6750e81f update 2012-02-23 04:16:54 +00:00
Evan Hunt
e4e190acc1 nicer release notes URL 2012-02-23 03:53:30 +00:00
Automatic Updater
88f6e1f92d update 2012-02-23 00:16:17 +00:00
Automatic Updater
a4529ff93d update copyright notice 2012-02-22 23:47:08 +00:00
Automatic Updater
d6d20a7a25 newcopyrights 2012-02-22 23:30:17 +00:00
Automatic Updater
bffa7a825e update 2012-02-22 22:16:15 +00:00
Evan Hunt
48a5af32f8 3288. [bug] dlz_destroy() function wasn't correctly registered
by the DLZ dlopen driver. [RT #28056]
2012-02-22 21:44:52 +00:00
Automatic Updater
663a5318bc update 2012-02-22 15:16:23 +00:00
Mark Andrews
fe4f827b46 3287. [port] Update ans.pl to work with Net::DNS 0.68. [RT #28028] 2012-02-22 14:29:38 +00:00
Automatic Updater
996316a067 update 2012-02-22 01:16:53 +00:00
Evan Hunt
e2c0d381cf add pointer to release notes (ugly URL; should be updated to a pretty one) 2012-02-22 00:55:40 +00:00
Evan Hunt
95d2619007 3286. [bug] Managed key maintenance timer could fail to start
after 'rndc reconfig'. [RT #26786]
2012-02-22 00:35:53 +00:00
Automatic Updater
cede662079 update 2012-02-16 00:16:43 +00:00
Automatic Updater
f2cac6cc31 update copyright notice 2012-02-15 23:46:20 +00:00
Automatic Updater
afaa271287 update 2012-02-15 21:16:33 +00:00
Automatic Updater
5d94aa0be1 newcopyrights 2012-02-15 21:13:52 +00:00
Mark Andrews
c177ca3064 3285. [bug] val-frdataset was incorrectly disassociated in
proveunsecure after calling startfinddlvsep.
                        [RT #27928]
2012-02-15 21:01:50 +00:00
Automatic Updater
fd9dcb34b5 update 2012-02-15 13:16:49 +00:00
Mark Andrews
a995801606 2x POST(locktype); 2012-02-15 12:29:39 +00:00
Automatic Updater
bb33efa5d0 update 2012-02-15 11:17:01 +00:00
Mark Andrews
747e1373b5 9.9.0rc3 2012-02-15 10:57:07 +00:00
Automatic Updater
07b0e87485 update 2012-02-15 02:16:17 +00:00
Mark Andrews
549f13385a 3284. [bug] Address race conditions with the handling of
rbtnode.deadlink. [RT #27738]
2012-02-15 02:02:10 +00:00
Mark Andrews
f5db1e08e7 Loop 'I:checking that large rdatasets loaded' in case the zone transfer has not yet completed 2012-02-15 01:22:47 +00:00
Automatic Updater
5908a7d742 update 2012-02-15 00:16:42 +00:00
Automatic Updater
42d1f669cc update copyright notice 2012-02-14 23:46:49 +00:00
Automatic Updater
3d4cb51756 newcopyrights 2012-02-14 23:30:17 +00:00
Automatic Updater
338c1060eb update 2012-02-14 01:16:27 +00:00
Mark Andrews
cd34c0b8c7 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:24:56 +00:00
Automatic Updater
ee5bc0fa2b update 2012-02-14 00:16:27 +00:00
Mark Andrews
960abe12bf 3283. [bug] Raw zones with with more than 512 records in a RRset
failed to load. [RT #27863]
2012-02-13 23:51:51 +00:00
Automatic Updater
ea7a62cdab update 2012-02-10 00:16:38 +00:00
Automatic Updater
d72ed5a8e7 update copyright notice 2012-02-09 23:46:51 +00:00
Automatic Updater
59b757ea1f newcopyrights 2012-02-09 23:30:27 +00:00
Automatic Updater
9ab62f8666 update 2012-02-09 21:16:14 +00:00
Mark Andrews
0571823964 move keygeneration out of the timing critical section 2012-02-09 21:13:41 +00:00
Mark Andrews
44bb0c393a 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 20:59:42 +00:00
Automatic Updater
03586f6168 update 2012-02-08 00:16:15 +00:00
Automatic Updater
86f561843b update copyright notice 2012-02-07 23:46:57 +00:00
Automatic Updater
1d1fdf48eb newcopyrights 2012-02-07 23:30:18 +00:00
Automatic Updater
fdfc052b16 update 2012-02-07 20:17:16 +00:00
Mark Andrews
6980e5df7f 3281. [bug] SOA refresh queries could be treated as cancelled
despite succeeding over the loopback interface.
                        [RT #27782]
2012-02-07 19:51:32 +00:00
Automatic Updater
fc0f25d9b0 update 2012-02-07 01:16:11 +00:00
Mark Andrews
1acf745243 3280. [bug] Potential double free of a rdataset on out of memory
with DNS64. [RT #27762]
2012-02-07 01:09:42 +00:00
Evan Hunt
9e281bdde5 3275. [bug] Corrected rndc -h output; the 'rndc sync -clean'
option had been misspelled as '-clear'.  (To avoid
			future confusion, both options now work.) [RT #27173]
2012-02-07 00:58:40 +00:00
Mark Andrews
8ac9d12380 3279. [bug] Hold a internal reference to the zone while performing
a asynchronous load.  Address potential memory leak
                        if the asynchronous is cancelled. [RT #27750]
2012-02-07 00:52:05 +00:00
Evan Hunt
63ed4de0ad fixed a test error that caused autosign to fail on freebsd 2012-02-07 00:33:40 +00:00
Automatic Updater
dcc7c7f280 update 2012-02-07 00:21:30 +00:00
Mark Andrews
29141b73e5 rt27739: make ixfr test more robust 2012-02-07 00:20:38 +00:00
Automatic Updater
271512b875 update copyright notice 2012-02-06 23:46:23 +00:00
Automatic Updater
5c53258986 newcopyrights 2012-02-06 23:30:23 +00:00
Mark Andrews
7afa3a5a14 verify server is answering before starting next server 2012-02-06 23:23:18 +00:00
Automatic Updater
04282909ec update 2012-02-06 22:16:35 +00:00
Evan Hunt
a1b98b70f9 3277. [bug] Make sure automatic key maintenance is started
when "auto-dnssec maintain" is turned on during
			"rndc reconfig". [RT #26805]
2012-02-06 21:33:08 +00:00
Automatic Updater
8662921e61 update 2012-02-06 05:18:41 +00:00
Mark Andrews
85bc1f1fd8 3276. [bug] win32: isc_socket_dup is not implemented. [RT #27696]
3276.   [bug]           win32: ns_os_openfile failed to return NULL on
                        safe_open failure. [RT #27696]
2012-02-06 04:23:44 +00:00
Automatic Updater
8484895e33 update 2012-02-04 00:16:49 +00:00
Automatic Updater
ff416d2c83 update copyright notice 2012-02-03 23:46:31 +00:00
Automatic Updater
6eda13d228 newcopyrights 2012-02-03 23:30:29 +00:00
Automatic Updater
a71dd25168 update 2012-02-03 05:18:00 +00:00
Mark Andrews
b863b5cf8a I:waiting for nameserver to load, ok'd by Evan 2012-02-03 04:45:54 +00:00
Automatic Updater
1991480d9b update 2012-02-03 00:16:19 +00:00
Automatic Updater
3a8369b4ea update copyright notice 2012-02-02 23:47:06 +00:00
Automatic Updater
7808571e81 newcopyrights 2012-02-02 23:30:22 +00:00
Automatic Updater
be0ffcb513 update 2012-02-02 04:16:36 +00:00
Mark Andrews
a1f78f4ba2 portable code, ok'd bu Evan 2012-02-02 03:49:18 +00:00
Automatic Updater
4566c8ed9a update 2012-02-02 00:16:35 +00:00
Automatic Updater
d5cdbc141a update copyright notice 2012-02-01 23:46:23 +00:00
Automatic Updater
868259fcac newcopyrights 2012-02-01 23:30:21 +00:00
Automatic Updater
7164fad5a6 update 2012-02-01 23:16:19 +00:00
Mark Andrews
834e9a4ba9 more robust I:waiting for transfers to complete 2012-02-01 22:16:21 +00:00
Automatic Updater
cb1679a12d update 2012-02-01 00:16:31 +00:00
Automatic Updater
1000049f5a update copyright notice 2012-01-31 23:47:03 +00:00
Automatic Updater
c388b611d4 newcopyrights 2012-01-31 23:30:25 +00:00
Automatic Updater
acd48b4857 update 2012-01-31 04:16:19 +00:00
Mark Andrews
66a8fa7dc2 3271. [port] darwin: mksymtbl is not always stable, loop several
times before giving up.  mksymtbl was using non
                        portable perl to covert 64 bit hex strings. [RT #27653]
2012-01-31 04:10:45 +00:00
Automatic Updater
1dfc667d91 update 2012-01-31 03:16:48 +00:00
Evan Hunt
f9ef8c313d change release number to 9.9.0rc2 2012-01-31 01:16:31 +00:00
Evan Hunt
17e8be7d61 add missing file 2012-01-31 01:12:29 +00:00
Evan Hunt
0ff738279f 3270. [bug] "rndc reload" didn't reuse existing zones correctly
when inline-signing was in use. [RT #27650]
2012-01-31 01:11:55 +00:00
Evan Hunt
13e9b2230d file master3.db.in was added on branch v9_9 on 2012-01-31 01:12:29 +0000 2012-01-31 00:11:59 +00:00
Mark Andrews
9a9f968dab regen 2012-01-30 10:09:37 +00:00
Mark Andrews
25240dd390 3269. [port] darwin 11 and later now built threaded by default. 2012-01-30 07:08:34 +00:00
cvs2git
52007e22c5 This commit was manufactured by cvs2git to create branch 'v9_9'. 2012-01-30 01:16:17 +00:00
Automatic Updater
41dfcdb213 update 2012-01-30 01:16:16 +00:00
Mark Andrews
7d97663b2c remove doc/draft, doc/rfc 2012-01-30 00:47:07 +00:00
Mark Andrews
a86310b25a Add comment describing LIBINTERFACE values per branch 2012-01-30 00:23:27 +00:00
Automatic Updater
41a9a543f8 update 2012-01-30 00:16:21 +00:00
Mark Andrews
f5dc94b026 whitespace 2012-01-30 00:06:54 +00:00
Mark Andrews
63acb91046 make 'when' isc_stdtime_t in set_key_expiry_warning 2012-01-30 00:06:13 +00:00
Automatic Updater
09091b4f0f newcopyrights 2012-01-29 23:30:17 +00:00
Automatic Updater
4632ba8f89 update 2012-01-29 06:16:10 +00:00
Evan Hunt
f8ae0a35d0 fixed api typo 2012-01-29 06:05:10 +00:00
Evan Hunt
313e570601 reworded a changes note 2012-01-29 05:33:18 +00:00
Automatic Updater
153fd1d3b1 update 2012-01-29 05:20:58 +00:00
Automatic Updater
88919fd161 regen 2012-01-29 05:14:58 +00:00
Evan Hunt
12c3204c46 prepare for 9.9.0 final 2012-01-29 05:14:07 +00:00
Automatic Updater
6ecc7c555f update 2012-01-28 00:16:48 +00:00
Automatic Updater
80c7083796 update copyright notice 2012-01-27 23:46:59 +00:00
Automatic Updater
66cf4a4065 newcopyrights 2012-01-27 23:30:35 +00:00
Automatic Updater
0624c5dcd9 update 2012-01-27 02:16:40 +00:00
Mark Andrews
bc298cd0f7 3268. [bug] Convert RRSIG expiry times to 64 timestamps to work
out the earliest expiry time. [RT #23311]
2012-01-27 01:43:53 +00:00
Mark Andrews
1bb3831e13 3267. [bug] Memory allocation failures could be mis-reported as
unexpected error.  New ISC_R_UNSET result code.                        [RT #27336]
2012-01-27 01:21:41 +00:00
Automatic Updater
60aecf33e3 update 2012-01-27 01:16:45 +00:00
Mark Andrews
ef9f4d0977 3266. [bug] The maximum number of NSEC3 iterations for a
DNSKEY RRset was not being properly computed.
                        [RT #26543]
2012-01-27 00:49:42 +00:00
Automatic Updater
4ec0e6bab0 update 2012-01-26 00:16:44 +00:00
Automatic Updater
ee2129ee66 update copyright notice 2012-01-25 23:46:49 +00:00
Automatic Updater
0c4a369f10 newcopyrights 2012-01-25 23:30:13 +00:00
Automatic Updater
bd7fdb092c auto update 2012-01-25 23:17:57 +00:00
Automatic Updater
1547b3ffb1 update 2012-01-25 03:16:24 +00:00
cvs2git
3a926c01e1 This commit was manufactured by cvs2git to create branch 'rt27336'. 2012-01-25 02:46:54 +00:00
Mark Andrews
18d208a4a2 3265. [bug] Address lock order reversal with inline-signing
support. [27557]
2012-01-25 02:46:53 +00:00
Automatic Updater
aac1b4e940 auto update 2012-01-24 23:17:48 +00:00
Automatic Updater
41421af01c update 2012-01-24 00:16:25 +00:00
cvs2git
931a50f631 This commit was manufactured by cvs2git to create branch 'rt27557'. 2012-01-23 23:46:49 +00:00
Automatic Updater
4a8adb51da update copyright notice 2012-01-23 23:46:48 +00:00
Automatic Updater
27aa770222 newcopyrights 2012-01-23 23:30:20 +00:00
Automatic Updater
a12d37d28e auto update 2012-01-23 23:17:37 +00:00
Automatic Updater
4b579ae476 update 2012-01-23 12:16:46 +00:00
Mark Andrews
3f7ad9656c test for Net::DNS 2012-01-23 11:58:12 +00:00
Mark Andrews
736783d082 file prereq.sh was initially added on branch rt23311. 2012-01-23 11:55:52 +00:00
cvs2git
00d8872b05 This commit was manufactured by cvs2git to create branch 'rt23311'. 2012-01-22 05:17:08 +00:00
Automatic Updater
36b389d4b1 update 2012-01-22 05:17:07 +00:00
Mark Andrews
639c1d5617 silence 'Assigned value is always the same as the existing value' warning 2012-01-22 04:56:41 +00:00
Automatic Updater
d246d23027 update 2012-01-21 23:17:15 +00:00
Mark Andrews
59162a5b5c silence 'Assigned value is always the same as the existing value' warnings 2012-01-21 22:51:27 +00:00
Automatic Updater
2d0efcab18 update 2012-01-21 20:16:52 +00:00
Evan Hunt
a252f66d36 update authors.bind 2012-01-21 19:44:18 +00:00
Automatic Updater
5208880b85 update 2012-01-20 07:16:57 +00:00
Mark Andrews
add449ed75 new draft 2012-01-20 06:39:52 +00:00
Automatic Updater
2e9e2e6aea update 2012-01-20 02:17:01 +00:00
Mark Andrews
700ed39d36 remove more bashisms 2012-01-20 01:37:09 +00:00
Automatic Updater
85347d06fa update 2012-01-20 00:16:26 +00:00
Automatic Updater
9876f11b26 newcopyrights 2012-01-19 23:30:15 +00:00
Automatic Updater
f23af9a768 auto update 2012-01-19 23:17:39 +00:00
Automatic Updater
78680350bd update 2012-01-19 09:17:08 +00:00
Mark Andrews
5418367da4 quote -csh 2012-01-19 08:41:19 +00:00
Mark Andrews
db64120f82 don't use bash syntax 2012-01-19 08:40:10 +00:00
cvs2git
77feec5ca7 This commit was manufactured by cvs2git to create branch 'rt26543'. 2012-01-18 23:17:53 +00:00
Automatic Updater
8832106384 auto update 2012-01-18 23:17:52 +00:00
Automatic Updater
1b33e4e89d auto update 2012-01-17 23:17:46 +00:00
Automatic Updater
6cd2d75f17 update 2012-01-17 09:16:57 +00:00
Mark Andrews
bfe720adb5 reverse accidental commit 2012-01-17 08:26:03 +00:00
cvs2git
7a7ac426fc This commit was manufactured by cvs2git to create branch 'rt27497'. 2012-01-17 02:16:51 +00:00
Automatic Updater
097388cd27 update 2012-01-17 02:16:50 +00:00
Automatic Updater
58d69d1777 update 2012-01-17 01:16:32 +00:00
Automatic Updater
37664e68e4 regen HEAD 2012-01-17 01:15:03 +00:00
Automatic Updater
db7703ef12 update 2012-01-17 00:16:39 +00:00
Automatic Updater
0d1cf4f5bc update copyright notice 2012-01-16 23:46:46 +00:00
Automatic Updater
08d53af7d5 newcopyrights 2012-01-16 23:30:17 +00:00
Automatic Updater
bad02f6c87 auto update 2012-01-16 23:17:43 +00:00
Evan Hunt
d47f51b6ac add .cvsignore 2012-01-16 23:17:32 +00:00
Automatic Updater
dbc90dea15 update 2012-01-16 23:16:34 +00:00
Evan Hunt
122d2cf43d add section explaining how to build with SoftHSM 2012-01-16 22:50:12 +00:00
Automatic Updater
4ff6e99c3c update 2012-01-16 19:16:21 +00:00
Evan Hunt
73c124421f updated pkcs11 documentation 2012-01-16 19:09:01 +00:00
Evan Hunt
edc7636fbe remove Makefile diff from patch files 2012-01-16 18:59:39 +00:00
Evan Hunt
6d6b836417 - add openssl-1.0.0f-patch
- update openssl-0.9.8s-patch to francis's version
2012-01-16 18:57:12 +00:00
Automatic Updater
e117e99420 update 2012-01-16 09:16:44 +00:00
Mark Andrews
00164c8db2 fetches in progress/buckets 2012-01-16 08:35:09 +00:00
Automatic Updater
d75ee59c5d update 2012-01-16 01:16:27 +00:00
Automatic Updater
3c9cf7efb9 regen HEAD 2012-01-16 01:14:57 +00:00
Automatic Updater
df8ff8bdc4 update 2012-01-15 22:17:05 +00:00
Evan Hunt
06dc836ca3 Updated the query log message format example in the ARM, and added a
bit of text explaining that the same format is used for all
log messages related to the same query.  Trivial; not bothering
with a ticket or review.
2012-01-15 21:16:04 +00:00
Automatic Updater
41215cd30c update 2012-01-14 00:16:40 +00:00
Mark Andrews
746a0c6add new draft 2012-01-13 23:33:06 +00:00
Automatic Updater
6fb67ad8e2 update 2012-01-13 00:16:28 +00:00
Automatic Updater
1d75d93ba8 update copyright notice 2012-01-12 23:47:09 +00:00
Automatic Updater
dc11390a65 newcopyrights 2012-01-12 23:30:18 +00:00
Automatic Updater
b446bdcfd3 auto update 2012-01-12 23:17:43 +00:00
Automatic Updater
78fa4b23b7 update 2012-01-12 02:16:37 +00:00
Automatic Updater
4e7c73d69c update 2012-01-12 01:16:29 +00:00
Automatic Updater
d10847ced8 regen HEAD 2012-01-12 01:15:04 +00:00
Evan Hunt
a06e0a14cc use test -f; solaris doesn't support test -e 2012-01-12 00:37:18 +00:00
Automatic Updater
4427119900 update 2012-01-12 00:16:28 +00:00
Evan Hunt
fa842ac2cb update doc to reflect rebased pkcs11 patch 2012-01-11 23:48:15 +00:00
Evan Hunt
1ca47afdb2 rebase pkcs11 patch to openssl 0.9.8s 2012-01-11 23:43:45 +00:00
Automatic Updater
b2726b59e3 auto update 2012-01-11 23:18:03 +00:00
Automatic Updater
e8eaba41a4 update 2012-01-11 19:16:45 +00:00
Curtis Blackburn
736cbba952 added myself to the list of authors. 2012-01-11 18:27:45 +00:00
Automatic Updater
ed697c1457 update 2012-01-11 00:16:20 +00:00
Automatic Updater
edb4393ef5 update copyright notice 2012-01-10 23:46:58 +00:00
Automatic Updater
f132a836c4 newcopyrights 2012-01-10 23:30:14 +00:00
Automatic Updater
adc040e002 auto update 2012-01-10 23:17:56 +00:00
Automatic Updater
6dbaffb8c7 update 2012-01-10 18:16:44 +00:00
Evan Hunt
9a02019889 3264. [bug] Automatic regeneration of signatures in an
inline-signing zone could stall when the server
			was restarted. [RT #27344]

3263.	[bug]		"rndc sync" did not affect the unsigned side of an
			inline-signing zone. [RT #27337]
2012-01-10 18:13:37 +00:00
Automatic Updater
d2b0ea359a update 2012-01-10 00:16:18 +00:00
cvs2git
b970bf11d8 This commit was manufactured by cvs2git to create branch 'rt27344'. 2012-01-09 23:45:05 +00:00
Scott Mann
896b39febc added scott mann to author list 2012-01-09 23:45:04 +00:00
Automatic Updater
378bfe5a10 update 2012-01-08 00:16:36 +00:00
Automatic Updater
1b428fd3a7 update copyright notice 2012-01-07 23:46:53 +00:00
Automatic Updater
7349698120 newcopyrights 2012-01-07 23:30:18 +00:00
Automatic Updater
d218d33baf auto update 2012-01-07 23:17:42 +00:00
Automatic Updater
6c7bbd3e97 update 2012-01-07 01:16:26 +00:00
Automatic Updater
c92c50783e regen HEAD 2012-01-07 01:14:56 +00:00
Evan Hunt
c19cfefe7e 3262. [bug] Signed responses were handled incorrectly by RPZ.
[RT #27316]
2012-01-07 00:19:59 +00:00
Automatic Updater
3c84f6fd82 update 2012-01-07 00:16:25 +00:00
Automatic Updater
53c234d9d3 update copyright notice 2012-01-06 23:46:42 +00:00
Automatic Updater
c6a0f4ae1d newcopyrights 2012-01-06 23:30:13 +00:00
Automatic Updater
efe47a6848 update 2012-01-06 19:16:33 +00:00
Evan Hunt
19c4187e35 3261. [func] RRset ordering now defaults to random. [RT #27174] 2012-01-06 19:00:13 +00:00
Automatic Updater
fb6e4a9177 auto update 2012-01-05 23:17:41 +00:00
Automatic Updater
8bd616f332 update 2012-01-05 20:17:00 +00:00
Evan Hunt
bddc7537c2 fix incomplete CHANGES note #3170 2012-01-05 19:30:32 +00:00
Automatic Updater
df7b0185a2 update 2012-01-05 05:16:55 +00:00
Mark Andrews
82d0bff9c0 rrset-order cyclic fix cleanupt 2012-01-05 05:09:53 +00:00
Automatic Updater
9ae651ea84 update 2012-01-05 00:16:40 +00:00
Automatic Updater
f76bddd50b update copyright notice 2012-01-04 23:46:49 +00:00
Automatic Updater
7a2a1b8b14 newcopyrights 2012-01-04 23:30:22 +00:00
Automatic Updater
e5cb6c593d auto update 2012-01-04 23:17:23 +00:00
cvs2git
2d34d15048 This commit was manufactured by cvs2git to create branch 'rt27292'. 2012-01-04 04:17:00 +00:00
Automatic Updater
50be7c7876 update 2012-01-04 04:16:59 +00:00
Mark Andrews
ace530234c non isc copyright 2012-01-04 04:05:55 +00:00
Automatic Updater
fe14cdb5de update 2012-01-04 03:17:07 +00:00
Evan Hunt
56c9fcf075 3260. [bug] "rrset-order cyclic" could appear not to rotate
for some query patterns.  [RT #27170/27185]
2012-01-04 03:06:51 +00:00
Automatic Updater
d28a4d8b8f update 2012-01-04 00:16:39 +00:00
Automatic Updater
57367e8dd6 update copyright notice 2012-01-03 23:46:59 +00:00
Automatic Updater
7a42357217 newcopyrights 2012-01-03 23:30:15 +00:00
Automatic Updater
d7b8ad2c2a auto update 2012-01-03 23:17:52 +00:00
Automatic Updater
f720edabe6 update 2011-12-25 23:17:20 +00:00
Mark Andrews
8f536463f9 mark with X bin/tests/system/tsiggss/ns1/example.nil.db.in 2011-12-25 22:50:30 +00:00
Automatic Updater
39a5ba660e auto update 2011-12-24 23:17:26 +00:00
cvs2git
fe6fca3d69 This commit was manufactured by cvs2git to create branch 'rt27185'. 2011-12-24 00:16:44 +00:00
Automatic Updater
d85fcddbe8 update 2011-12-24 00:16:43 +00:00
Automatic Updater
045e92d425 update copyright notice 2011-12-23 23:47:13 +00:00
Automatic Updater
975451c389 update 2011-12-23 02:16:43 +00:00
Automatic Updater
e6b902eb1b update 2011-12-23 01:35:44 +00:00
Automatic Updater
471ab6c167 update 2011-12-23 01:16:41 +00:00
Mark Andrews
7caaa75cbf --enable-fixed-rrset uses reversed order for cyclic 2011-12-23 01:06:42 +00:00
Mark Andrews
6643b0dd91 3260. [bug] "rrset-order cyclic" could appears to not rotate
for some query patterns.  [RT #27170]
2011-12-23 00:38:23 +00:00
Automatic Updater
8c9dee137d update 2011-12-23 00:16:49 +00:00
Automatic Updater
a3c7d21f5c update copyright notice 2011-12-22 23:46:20 +00:00
Mark Andrews
41ca314cc2 3260. [bug] "rrset-order cyclic" could appears to not rotate
for some query patterns.  [RT #27170]
2011-12-22 23:43:52 +00:00
Automatic Updater
a560545a31 update 2011-12-22 19:16:29 +00:00
Evan Hunt
53e58ba9fa oops missed one. 2011-12-22 19:14:15 +00:00
Evan Hunt
891c6eb907 add missing symbols 2011-12-22 18:58:50 +00:00
Automatic Updater
4c11797fa7 update 2011-12-22 18:16:31 +00:00
Automatic Updater
78aa361659 regenerate 2011-12-22 18:10:23 +00:00
Automatic Updater
97e74139b1 regen HEAD 2011-12-22 18:10:11 +00:00
Automatic Updater
7a7b2e6d5e regenerate 2011-12-22 17:50:29 +00:00
Evan Hunt
949eefdda4 prep for 9.9.0rc1 release 2011-12-22 17:49:49 +00:00
Evan Hunt
15218d6ed0 3259. [bug] named-compilezone: Suppress "dump zone to <file>"
message when writing to stdout. [RT #27109]
2011-12-22 17:29:22 +00:00
Automatic Updater
6e16acea81 update 2011-12-22 13:17:09 +00:00
Mark Andrews
53e7766f7d remove logit 2011-12-22 12:58:13 +00:00
Mark Andrews
238e0e8438 3258. [test] Add "forcing full sign with unreadable keys" test.
[RT #27153]
2011-12-22 12:22:14 +00:00
Automatic Updater
68076e9452 update 2011-12-22 12:16:28 +00:00
Mark Andrews
eacd6ec4e4 use binmode 2011-12-22 12:01:43 +00:00
Mark Andrews
9892bae7b7 forcing full sign with unreadable keys 2011-12-22 11:57:30 +00:00
Mark Andrews
354cb3ea67 use binmode 2011-12-22 11:56:07 +00:00
Automatic Updater
f489505185 update 2011-12-22 09:17:08 +00:00
Mark Andrews
9ddf371552 3257. [bug] Do not generate a error message when calling fsync()
in a pipe or socket. [RT #27109]
2011-12-22 08:49:01 +00:00
Mark Andrews
83878aaa47 3256. [bug] Disable empty zones for lwresd -C. [RT #27139]
3255.   [func]          No longer require that a empty zones be explicitly
                        enabled or that a empty zone is disabled for
                        RFC 1918 empty zones to be configured. [RT #27139]
2011-12-22 08:22:18 +00:00
Automatic Updater
90da73f81d update 2011-12-22 08:16:59 +00:00
Mark Andrews
328e0fee6b 3254. [bug] Set isc_socket_ipv6only() on the IPv6 control channels.
[RT #22249]
2011-12-22 08:07:48 +00:00
Mark Andrews
a5a30ae7c0 3253. [bug] Return DNS_R_SYNTAX when the input to a text field is
too long. [RT #26956]
2011-12-22 07:41:29 +00:00
Evan Hunt
f30785f506 3252. [bug] When master zones using inline-signing were
updated while the server was offline, the source
			zone could fall out of sync with the signed
			copy. They can now resynchronize. [RT #26676]
2011-12-22 07:32:41 +00:00
Mark Andrews
dd0d54ff01 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:15:05 +00:00
Automatic Updater
d6a767c2de update 2011-12-22 03:17:08 +00:00
Mark Andrews
281a31ad37 +/- 500ms was too small a fudge factor (-582ms seen in testing), raise to +/- 1000ms 2011-12-22 02:15:24 +00:00
Automatic Updater
20a06bb20e auto update 2011-12-21 23:17:32 +00:00
cvs2git
1081c10c5e This commit was manufactured by cvs2git to create branch 'rt27139'. 2011-12-21 00:17:06 +00:00
Automatic Updater
41826029f0 update 2011-12-21 00:17:05 +00:00
Automatic Updater
f63cb76be6 update copyright notice 2011-12-20 23:46:29 +00:00
Automatic Updater
3285c22aa1 newcopyrights 2011-12-20 23:30:17 +00:00
Automatic Updater
0ebca42caa update 2011-12-20 06:17:00 +00:00
Mark Andrews
9b79da0e13 configure strips out VPATH. Use ${srcdir} instead so 'make depend' works
in lib/export.
2011-12-20 05:24:18 +00:00
Automatic Updater
44de42a01c update 2011-12-20 05:17:08 +00:00
Mark Andrews
e101ec1503 @srdir@ -> @srcdir@ 2011-12-20 05:04:44 +00:00
Automatic Updater
b2308a2350 update 2011-12-20 01:16:47 +00:00
Mark Andrews
4a4066453f update slabbed data layout description 2011-12-20 00:55:01 +00:00
Mark Andrews
b9848361b9 regen 2011-12-20 00:49:49 +00:00
Mark Andrews
32ebb157b1 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:39:06 +00:00
Mark Andrews
c31601ae9b add missing s 2011-12-20 00:26:52 +00:00
Automatic Updater
d8edc0ae5a update 2011-12-20 00:17:06 +00:00
Mark Andrews
67dc2f0536 3249. [bug] Update log message when saving slave zones files for
analysis after load failures. [RT #27087]

3248.   [bug]           Configure options --enable-fixed-rrset and
                        --enable-exportlib were incompatible with each
                        other. [RT #27087]

3247.   [bug]           'raw' format zones failed to preserve load order
                        breaking 'fixed' sort order. [RT #27087]

3246.   [bug]           Named failed to start with a empty also-notify list.
                        [RT #27087]
2011-12-20 00:06:54 +00:00
Mark Andrews
b290d10fc4 3245. [bug] Don't report a error unchanged serials unless there
were other changes when thawing a zone with
                        ixfr-fromdifferences. [RT #26845]
2011-12-19 23:46:13 +00:00
Automatic Updater
6b067655a8 update 2011-12-19 23:17:00 +00:00
Mark Andrews
d884e8ee4d set status to 1 on R:FAIL 2011-12-19 23:08:50 +00:00
Automatic Updater
d84a00e6ab auto update 2011-12-18 23:17:31 +00:00
cvs2git
8ac30db15f This commit was manufactured by cvs2git to create branch 'rt27087'. 2011-12-17 01:16:54 +00:00
Automatic Updater
8f2923f2e3 update 2011-12-17 01:16:53 +00:00
Automatic Updater
ce8ac1bc98 regen HEAD 2011-12-17 01:14:51 +00:00
Automatic Updater
f21a6fac8d update 2011-12-17 00:17:10 +00:00
Automatic Updater
a9f68291c8 update copyright notice 2011-12-16 23:46:20 +00:00
Automatic Updater
53b4d1cad5 newcopyrights 2011-12-16 23:30:50 +00:00
Automatic Updater
ca8893ab54 auto update 2011-12-16 23:17:39 +00:00
Automatic Updater
62bba9a42f update 2011-12-16 23:16:45 +00:00
Automatic Updater
56847f3366 regen 2011-12-16 23:02:20 +00:00
Evan Hunt
1d32b1df37 3244. [func] Added readline support to nslookup and nsupdate.
Also simplified nsupdate syntax to make "update"
			and "prereq" optional. [RT #24659]
2011-12-16 23:01:17 +00:00
cvs2git
8a3a842f41 This commit was manufactured by cvs2git to create branch 'rt27057'. 2011-12-16 02:16:43 +00:00
Automatic Updater
8fee659041 update 2011-12-16 02:16:42 +00:00
Automatic Updater
b98da83857 regen HEAD 2011-12-16 01:15:05 +00:00
Automatic Updater
96e6e813d6 update 2011-12-16 00:16:39 +00:00
Mark Andrews
ea55a4e469 -l 2011-12-16 00:10:05 +00:00
Mark Andrews
9ca4e2411c 3243. [port] freebsd,netbsd,bsdi: the thread defaults were not
being properly set.
2011-12-15 23:53:35 +00:00
Automatic Updater
646d764082 auto update 2011-12-15 23:17:47 +00:00
Automatic Updater
3e259c2b65 auto update 2011-12-14 23:18:05 +00:00
cvs2git
0665d1de8a This commit was manufactured by cvs2git to create branch 'rt25419a'. 2011-12-12 12:16:43 +00:00
Automatic Updater
b0b06c2ba4 update 2011-12-12 12:16:42 +00:00
Mark Andrews
91013b0e19 join line for old awk 2011-12-12 12:08:09 +00:00
Automatic Updater
b251320352 update 2011-12-12 07:17:12 +00:00
Mark Andrews
6c1a778723 chech that the final time is within 10 seconds but no greater than the expected interval 2011-12-12 06:51:12 +00:00
Automatic Updater
3cf0012244 update 2011-12-12 01:16:50 +00:00
Mark Andrews
b10e0cc96e remove blank line 2011-12-12 01:14:38 +00:00
Automatic Updater
8871f166e8 update 2011-12-10 22:16:23 +00:00
Mark Andrews
97494b99f0 remove accidental commit to head 2011-12-10 22:09:41 +00:00
Automatic Updater
c1a903565a update 2011-12-10 01:16:27 +00:00
Automatic Updater
72938578c9 regen HEAD 2011-12-10 01:14:53 +00:00
Automatic Updater
26dc7247f1 update 2011-12-10 00:16:28 +00:00
Automatic Updater
339d2a4d4b update copyright notice 2011-12-09 23:47:05 +00:00
Automatic Updater
bbde8dc566 newcopyrights 2011-12-09 23:30:13 +00:00
Automatic Updater
8b75ec7fb6 auto update 2011-12-09 23:17:37 +00:00
Automatic Updater
95b7de32ec update 2011-12-09 22:16:22 +00:00
Mark Andrews
e238ebd9b3 Backout accident commit to head 2011-12-09 22:09:26 +00:00
Automatic Updater
6eee9c2571 update 2011-12-09 21:16:52 +00:00
Mark Andrews
0b096436e9 flush both raw zone instance if it exists 2011-12-09 20:47:18 +00:00
Automatic Updater
caafd4954e update 2011-12-09 14:16:08 +00:00
Mark Andrews
5ccf5eac0f ixfr-from-differences backup file 2011-12-09 13:32:42 +00:00
cvs2git
b5853fb6e3 This commit was manufactured by cvs2git to create branch 'rt26973'. 2011-12-09 03:16:59 +00:00
Automatic Updater
098914344c update 2011-12-09 03:16:58 +00:00
Mark Andrews
108788443c fix changes number 2011-12-09 02:18:38 +00:00
Automatic Updater
66b1b44ee3 update 2011-12-09 02:16:48 +00:00
Mark Andrews
25e771f87e fix typo 2011-12-09 01:52:14 +00:00
Automatic Updater
f22069174e update 2011-12-09 01:16:44 +00:00
Mark Andrews
71fc4775d0 update 2011-12-09 00:40:31 +00:00
Automatic Updater
e12665bb39 update 2011-12-08 23:48:40 +00:00
Automatic Updater
b54ac42f19 update copyright notice 2011-12-08 23:46:49 +00:00
Mark Andrews
b11fd36119 move declaration to start of block 2011-12-08 23:45:02 +00:00
Automatic Updater
fcc5868956 auto update 2011-12-08 23:17:22 +00:00
cvs2git
32adae39f3 This commit was manufactured by cvs2git to create branch 'rt26676'. 2011-12-08 16:16:42 +00:00
Automatic Updater
4735fc751b update 2011-12-08 16:16:41 +00:00
Evan Hunt
b4d8192d21 3241. [func] Extended the header of raw-format master files to
include the serial number of the zone from which
			they were generated, if different (as in the case
			of inline-signing zones).  This is to be used in
			inline-signing zones, to track changes between the
			unsigned and signed versions of the zone, which may
			have different serial numbers.

			(Note: raw zonefiles generated by this version of
			BIND are no longer compatble with prior versions.
			To generate a backward-compatible raw zonefile
			using dnssec-signzone or named-compilezone, specify
			output format "raw=0" instead of simply "raw".)
			[RT #26587]
2011-12-08 16:07:22 +00:00
cvs2git
5bd5d94e8a This commit was manufactured by cvs2git to create branch 'rt26845'. 2011-12-07 23:16:35 +00:00
Automatic Updater
00a4d6a58e update 2011-12-07 23:16:34 +00:00
Mark Andrews
e4aac0596c 3241. [bug] Address race conditions in the resolver code.
[RT #26889]
2011-12-07 23:08:42 +00:00
Mark Andrews
71e4c3ee74 3240. [bug] DNSKEY state change events could be missed. [RT #26874] 2011-12-07 22:48:22 +00:00
Mark Andrews
04281728d4 3239. [bug] dns_dnssec_findmatchingkeys needs to use a consistent
timestamp. [RT #26883]
2011-12-07 22:36:25 +00:00
Mark Andrews
9c832595d4 3238. [bug] keyrdata was not being reinitialize in
lib/dns/rbtdb.c:iszonesecure. [RT#26913]
2011-12-07 22:21:05 +00:00
Automatic Updater
13e52b7cf9 update 2011-12-07 18:16:14 +00:00
Evan Hunt
28c2bc2026 3237. [bug] dig -6 didn't work with +trace. [RT #26906] 2011-12-07 17:23:28 +00:00
Automatic Updater
0c36018172 update 2011-12-07 00:16:49 +00:00
Automatic Updater
c757fd2e17 update copyright notice 2011-12-06 23:46:32 +00:00
Automatic Updater
3f057f871c auto update 2011-12-06 23:17:31 +00:00
cvs2git
e789d7351e This commit was manufactured by cvs2git to create branch 'rt26874'. 2011-12-06 01:16:41 +00:00
cvs2git
b2402cef4d This commit was manufactured by cvs2git to create branch 'rt26889'. 2011-12-06 01:16:40 +00:00
Automatic Updater
6b6c613aa2 update 2011-12-06 01:16:39 +00:00
Mark Andrews
e080a605c9 update 2011-12-06 00:55:02 +00:00
Automatic Updater
362cbf178f update 2011-12-06 00:16:53 +00:00
Automatic Updater
806956b43b update copyright notice 2011-12-05 23:46:35 +00:00
Automatic Updater
66ed14c6c4 update 2011-12-05 21:16:37 +00:00
Mark Andrews
05556e6c82 #include <dns/db.h> 2011-12-05 20:51:41 +00:00
Automatic Updater
f4c5c5ef34 update 2011-12-05 18:16:32 +00:00
Evan Hunt
56d7492b2c missed a line 2011-12-05 17:27:16 +00:00
Automatic Updater
bc316d6ee9 update 2011-12-05 17:16:51 +00:00
Evan Hunt
4122abdc3c Back out changes #3182 and #3202 2011-12-05 17:10:51 +00:00
Automatic Updater
bd71be982f update 2011-12-05 06:17:02 +00:00
Mark Andrews
2591f13dd3 3235. [func] dns_db_diffx, a extended dns_db_diff which returns
the generated diff and optionally writes it to a
                        journal. [RT #26386]
2011-12-05 06:10:07 +00:00
Automatic Updater
232aecddd4 update 2011-12-05 00:17:02 +00:00
Mark Andrews
de52784e45 3235. [func] dns_db_diffx, a extended dns_db_diff which returns
the generated diff and optionally writes it to a
                        journal. [RT #26386]
2011-12-04 23:48:12 +00:00
Automatic Updater
9fd0ab2f6c update 2011-12-03 00:16:42 +00:00
Automatic Updater
a09e70c947 update copyright notice 2011-12-02 23:46:56 +00:00
Automatic Updater
9fa6e3bdb4 newcopyrights 2011-12-02 23:30:18 +00:00
Automatic Updater
662576f1dc auto update 2011-12-02 23:17:29 +00:00
cvs2git
a318497823 This commit was manufactured by cvs2git to create branch 'rt26587a'. 2011-12-02 08:17:03 +00:00
Automatic Updater
b552825b3b update 2011-12-02 08:17:02 +00:00
Automatic Updater
0251d09902 update 2011-12-02 07:16:31 +00:00
Mark Andrews
2c25ca45a4 errno2result now reports caller when unable to convert errno 2011-12-02 07:15:17 +00:00
Mark Andrews
b68dc65959 3234. [bug] 'make depend' produced invalid makefiles. [RT #26830] 2011-12-02 07:03:27 +00:00
Evan Hunt
bcef2f4fb5 file zone3.data was added on branch rt26587a on 2011-12-03 01:05:57 +0000 2011-12-02 06:16:01 +00:00
Evan Hunt
b026aa3c8f file zone2.data was added on branch rt26587a on 2011-12-03 01:05:57 +0000 2011-12-02 06:16:00 +00:00
Evan Hunt
926e4ed50f file zone1.data was added on branch rt26587a on 2011-12-03 01:05:57 +0000 2011-12-02 06:15:58 +00:00
Evan Hunt
22702beab5 file dbdiff_test.c was added on branch rt26587a on 2011-12-03 01:05:57 +0000 2011-12-02 06:15:57 +00:00
Automatic Updater
37d71e4493 update 2011-12-02 04:16:27 +00:00
Mark Andrews
f5f868ca4f loop waiting for the zone to transfer 2011-12-02 04:14:33 +00:00
Automatic Updater
5fa4450751 update 2011-12-02 03:16:58 +00:00
Mark Andrews
56dc4c6730 3233. [bug] 'rndc freeze/thaw' didn't work for inline zones.
[RT #26632]
2011-12-02 02:44:01 +00:00
Automatic Updater
9cdd98dc07 update 2011-12-02 00:16:33 +00:00
Automatic Updater
55313f60d8 update copyright notice 2011-12-01 23:46:51 +00:00
Automatic Updater
183b6c7fca newcopyrights 2011-12-01 23:30:19 +00:00
Automatic Updater
d3e3681624 auto update 2011-12-01 23:17:48 +00:00
Automatic Updater
e30357d152 update 2011-12-01 23:16:34 +00:00
Mark Andrews
db604cea5c fix all_events loop terminating condition to stop false positives 2011-12-01 22:30:37 +00:00
Automatic Updater
a5426599d7 update 2011-12-01 16:17:00 +00:00
Scott Mann
d881a5ad06 Accept patch from RedHat (RT #26732). 2011-12-01 15:58:46 +00:00
Mark Andrews
b3871757d5 mark closed branches 2011-12-01 08:48:15 +00:00
Mark Andrews
d2c99b4e1c mark closed branches 2011-12-01 08:13:20 +00:00
Automatic Updater
f1bdaf92a4 update 2011-12-01 02:16:41 +00:00
Mark Andrews
38f6085062 silence Division by zero warning 2011-12-01 01:33:27 +00:00
Automatic Updater
4b6a810927 update 2011-12-01 01:16:38 +00:00
Mark Andrews
087f83a3b9 [ -> ] 2011-12-01 01:13:45 +00:00
Mark Andrews
553197e288 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 00:53:58 +00:00
Automatic Updater
99544c8769 update 2011-12-01 00:16:41 +00:00
Scott Mann
5927944728 Fix problem identified by CLANG: local variable not passed back to struct. 2011-12-01 00:14:11 +00:00
Automatic Updater
b9e911c71c update copyright notice 2011-11-30 23:46:25 +00:00
Automatic Updater
35bc7055d1 newcopyrights 2011-11-30 23:30:16 +00:00
Automatic Updater
8d35dd95c7 auto update 2011-11-30 23:17:29 +00:00
cvs2git
26cb554579 This commit was manufactured by cvs2git to create branch 'rt26830'. 2011-11-30 06:16:12 +00:00
Automatic Updater
fbdcb16f99 update 2011-11-30 06:16:11 +00:00
Evan Hunt
1a01def943 add print.h 2011-11-30 06:10:44 +00:00
Mark Andrews
ed74be8035 #include <isc/print.h> 2011-11-30 06:09:41 +00:00
Mark Andrews
5e3daa58f4 move declaration to start of block 2011-11-30 06:06:33 +00:00
cvs2git
78994030ab This commit was manufactured by cvs2git to create branch 'rt26632'. 2011-11-30 05:17:08 +00:00
Automatic Updater
892d7d1846 update 2011-11-30 05:17:07 +00:00
Evan Hunt
0da3b4a9a7 3228. [tuning] Dynamically grow symbol table to improve zone
loading performance. [RT #26523]
2011-11-30 04:27:17 +00:00
Automatic Updater
7d2e658fdc update 2011-11-30 02:16:42 +00:00
Mark Andrews
cae06bceda 3227. [bug] Interim fix to make WKS's use of getprotobyname()
and getservbyname() self thread safe. [RT #26232]
2011-11-30 01:18:11 +00:00
Automatic Updater
f7588dc72b update 2011-11-30 01:16:45 +00:00
Mark Andrews
411d2914ad 3226. [bug] Address minor resource leakages. [RT #26624] 2011-11-30 00:48:51 +00:00
cvs2git
46b89fbb62 This commit was manufactured by cvs2git to create branch 'rt26677'. 2011-11-29 23:17:34 +00:00
Automatic Updater
566b6b47f4 auto update 2011-11-29 23:17:33 +00:00
cvs2git
49538e5978 This commit was manufactured by cvs2git to create branch 'rt26796'. 2011-11-29 01:16:36 +00:00
Automatic Updater
0bd902b571 update 2011-11-29 01:16:35 +00:00
Mark Andrews
23daf8948b 3225. [bug] Silence spurious "setsockopt(517, IPV6_V6ONLY) failed"
messages. [RT #26507]
2011-11-29 01:03:47 +00:00
Mark Andrews
9bd876a683 3224. [bug] 'rndc signing' argument parsing was broken. [RT #26684] 2011-11-29 00:49:26 +00:00
Mark Andrews
03e2b1d18d 3223. [bug] 'task_test privilege_drop' generated false positives.
[RT #26766]
2011-11-29 00:41:28 +00:00
Automatic Updater
15b9b824ea auto update 2011-11-28 23:17:41 +00:00
cvs2git
25c597945a This commit was manufactured by cvs2git to create branch 'rt26684'. 2011-11-28 03:17:01 +00:00
Automatic Updater
0eebd4affc update 2011-11-28 03:17:00 +00:00
Mark Andrews
91ed1cc821 3222. [cleanup] Replace dns_journal_{get,set}_bitws with
dns_journal_{get,set}_sourceserial. [RT #26634]
2011-11-28 03:14:59 +00:00
Automatic Updater
90efa6693d update 2011-11-27 12:16:30 +00:00
Mark Andrews
374b677c50 make grep more precise 2011-11-27 12:04:27 +00:00
Automatic Updater
41d4f0e183 update 2011-11-24 01:16:12 +00:00
Automatic Updater
bafdc1ebe8 regen HEAD 2011-11-24 01:14:53 +00:00
Automatic Updater
c4591e1a15 update 2011-11-23 23:16:23 +00:00
Evan Hunt
69feafa0af 3221. [bug] Fixed a potential coredump on shutdown due to
referencing fetch context after it's been freed.
			[RT #26720]
2011-11-23 22:53:53 +00:00
Automatic Updater
06377e0a6f update 2011-11-23 19:16:12 +00:00
Evan Hunt
7486f4e794 Reworded the "inline-signing" doc slightly to remove what had appeared to
be a typo in the printed ARM.  No CHANGES note.
2011-11-23 18:58:39 +00:00
Automatic Updater
f64b293a0c auto update 2011-11-21 23:17:20 +00:00
cvs2git
e474ecbe1f This commit was manufactured by cvs2git to create branch 'rt26507'. 2011-11-18 23:17:34 +00:00
Automatic Updater
edc6e157e7 auto update 2011-11-18 23:17:33 +00:00
Automatic Updater
b4c7deba27 update 2011-11-18 20:16:40 +00:00
Evan Hunt
75c622f53b add regression test for rbtdb.c version-mismatch issue 2011-11-18 19:32:13 +00:00
Automatic Updater
8c5dcdcdbd update 2011-11-18 19:16:50 +00:00
Evan Hunt
08b512b6a0 3220. [bug] Change #3186 was incomplete; dns_db_rpz_findips()
could fail to set the database version correctly,
                        causing an assertion failure. [RT #26180]
2011-11-18 18:40:31 +00:00
cvs2git
7064aed978 This commit was manufactured by cvs2git to create branch 'rt26624'. 2011-11-17 23:17:23 +00:00
Automatic Updater
dd8c1f4191 auto update 2011-11-17 23:17:22 +00:00
Automatic Updater
9b2f3d9ab6 auto update 2011-11-16 23:17:22 +00:00
Automatic Updater
8e823ecb02 update 2011-11-16 23:16:34 +00:00
Automatic Updater
57b3c5d02f 9.9.0b2 2011-11-16 22:21:05 +00:00
Mark Andrews
2256c13194 --- 9.9.0b2 released ---
3219.   [bug]           Disable NOEDNS caching following a timeout.
2011-11-16 22:18:53 +00:00
Automatic Updater
aeed9c30c8 update 2011-11-16 10:16:24 +00:00
Evan Hunt
7c6a1a11fa 3218. [security] Cache lookup could return RRSIG data associated with
nonexistent records, leading to an assertion
			failure. [RT #26590]
2011-11-16 09:44:32 +00:00
Automatic Updater
57df4a6213 update 2011-11-16 01:16:38 +00:00
Automatic Updater
46ead35d4b regen 2011-11-16 00:43:10 +00:00
Evan Hunt
6fb6f8a226 3217. [cleanup] Fix build problem with --disable-static. [RT #26476] 2011-11-16 00:42:07 +00:00
Automatic Updater
39272481b5 auto update 2011-11-15 23:17:39 +00:00
Automatic Updater
c21cad2da2 update 2011-11-15 22:16:24 +00:00
Evan Hunt
3ab9d6435a 3216. [bug] resolver.c:validated() was not thread-safe. [RT #26478] 2011-11-15 21:44:53 +00:00
cvs2git
f9b62501e8 This commit was manufactured by cvs2git to create branch 'rt26523'. 2011-11-14 19:16:54 +00:00
Automatic Updater
1c0627e3f1 update 2011-11-14 19:16:53 +00:00
Evan Hunt
c79bcf09bf Add clientinfo.h to HEADERS. [RT #26558]
No CHANGES note.
2011-11-14 18:32:34 +00:00
Automatic Updater
d502560af1 auto update 2011-11-11 23:17:45 +00:00
cvs2git
5b144fac25 This commit was manufactured by cvs2git to create branch 'rt21751'. 2011-11-11 01:16:36 +00:00
Automatic Updater
5c42e873ff update 2011-11-11 01:16:35 +00:00
Evan Hunt
2db105b04c Add ISC_R_NOMORE to dlz_minimal.h, document its use in findzone() routines.
No CHANGES note.
2011-11-11 01:00:40 +00:00
Automatic Updater
98a0f15878 update 2011-11-10 02:16:41 +00:00
Automatic Updater
2a1d6afad5 regen HEAD 2011-11-10 01:16:02 +00:00
Automatic Updater
91ad0e3744 update 2011-11-10 00:16:53 +00:00
Automatic Updater
2fd58cb8f1 update copyright notice 2011-11-09 23:46:23 +00:00
Automatic Updater
cafd3a2b99 newcopyrights 2011-11-09 23:30:17 +00:00
Automatic Updater
14f6df4c1e update 2011-11-09 22:16:17 +00:00
Evan Hunt
77d048b03e 3215. [bug] 'rndc recursing' could cause a core dump. [RT #26495] 2011-11-09 22:05:09 +00:00
Automatic Updater
d79f8d0fc2 update 2011-11-09 19:16:53 +00:00
Evan Hunt
5d23a6ac83 3214. [func] Add 'named -U' option to set the number of UDP
listener threads per interface. [RT #26485]
2011-11-09 18:44:04 +00:00
Automatic Updater
cb13bb66cb update 2011-11-09 06:16:54 +00:00
Evan Hunt
13790b548c 3213. [doc] Clarify ixfr-from-differences behavior. [RT #25188] 2011-11-09 05:52:42 +00:00
Automatic Updater
427d074b5a auto update 2011-11-08 23:17:54 +00:00
Automatic Updater
492770e45f update 2011-11-08 21:16:30 +00:00
Mark Andrews
bbcdc70888 change number 2011-11-08 20:50:06 +00:00
Mark Andrews
2a05d28eb1 3211. [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 20:49:11 +00:00
cvs2git
8700f5e1b4 This commit was manufactured by cvs2git to create branch 'rt23219'. 2011-11-08 01:16:34 +00:00
Automatic Updater
c51539159b update 2011-11-08 01:16:33 +00:00
Automatic Updater
2628293c6e regen HEAD 2011-11-08 01:14:50 +00:00
cvs2git
8478216b5a This commit was manufactured by cvs2git to create branch 'rt26232'. 2011-11-08 00:16:43 +00:00
Automatic Updater
815b77d529 update 2011-11-08 00:16:42 +00:00
Automatic Updater
0237221b8a update copyright notice 2011-11-07 23:46:50 +00:00
Evan Hunt
d9eebc0849 3211. [func] dnssec-signzone: "-f -" prints to stdout; "-O full"
option prints in single-line-per-record format.
			[RT #20287]
2011-11-07 23:16:31 +00:00
Automatic Updater
8ce3bf954a update 2011-11-07 23:16:23 +00:00
Evan Hunt
83c0ef8815 3210. [bug] Canceling the oldest query due to recursive-client
overload could trigger an assertion failure. [RT #26463]
2011-11-07 23:03:09 +00:00
Automatic Updater
98c8a5d995 update 2011-11-07 02:16:32 +00:00
Automatic Updater
1b557894c5 update 2011-11-07 01:16:35 +00:00
Automatic Updater
36da16fa31 regen HEAD 2011-11-07 01:15:05 +00:00
Evan Hunt
36a13a94c5 new "dnssec-lookaside" option is "no", not "off" 2011-11-07 00:25:53 +00:00
Automatic Updater
9550d6cf12 update 2011-11-07 00:16:35 +00:00
Mark Andrews
ac43690858 3209. [func] Add "dnssec-lookaside 'off'". [RT #24858] 2011-11-07 00:14:11 +00:00
Automatic Updater
2e8694f4db update copyright notice 2011-11-06 23:46:40 +00:00
Automatic Updater
71849a1a0f newcopyrights 2011-11-06 23:30:19 +00:00
Mark Andrews
19ae9cbb28 3208. [bug] 'dig -y' handle unknown tsig alorithm better.
[RT #25522]
2011-11-06 23:18:07 +00:00
Automatic Updater
e443425acf update 2011-11-05 06:16:56 +00:00
Automatic Updater
0ee2c4e6d0 update 2011-11-05 05:17:58 +00:00
Automatic Updater
34ee86ad31 regen 2011-11-05 05:16:46 +00:00
Evan Hunt
5584cbf427 3207. [contrib] Fixed build error in Berkeley DB DLZ module. [RT #26444] 2011-11-05 05:14:28 +00:00
Automatic Updater
4627db7019 update 2011-11-05 01:16:20 +00:00
Automatic Updater
77dccf2a5d regen HEAD 2011-11-05 01:14:51 +00:00
Evan Hunt
ca45c0bc34 3206. [cleanup] Add ISC information to log at start time. [RT #25484] 2011-11-05 00:45:31 +00:00
Automatic Updater
de75090c4b update 2011-11-05 00:16:15 +00:00
Automatic Updater
af42579df6 update copyright notice 2011-11-04 23:46:15 +00:00
Automatic Updater
d6e92dd079 newcopyrights 2011-11-04 23:31:05 +00:00
Automatic Updater
413ed1ef57 auto update 2011-11-04 23:17:20 +00:00
Automatic Updater
0077bc4d68 update 2011-11-04 23:16:34 +00:00
Evan Hunt
b375b22fb0 Added documentation of change types. 2011-11-04 22:27:09 +00:00
cvs2git
73726b08bf This commit was manufactured by cvs2git to create branch 'rt20287'. 2011-11-04 19:16:10 +00:00
Automatic Updater
a6db63dbf2 update 2011-11-04 19:16:09 +00:00
cvs2git
212d67894e This commit was manufactured by cvs2git to create branch 'rt24858'. 2011-11-04 18:16:26 +00:00
Evan Hunt
151bab9195 removed the list of new features and known issues from 9.7.0 from
the 9.9.0 README (one release back seems sufficient).
2011-11-04 18:16:25 +00:00
Automatic Updater
89a654e52a update 2011-11-04 17:16:24 +00:00
Evan Hunt
4cac7d0949 fixed RT reference for change #3174 2011-11-04 17:14:54 +00:00
Automatic Updater
fc404752b4 update 2011-11-04 15:16:23 +00:00
Evan Hunt
59c79d8cc8 shorten an 81-char line in dig -h 2011-11-04 14:19:17 +00:00
Automatic Updater
1165985fe3 update 2011-11-04 11:16:22 +00:00
Jeremy Reed
2de07361f3 Fix typo within XML tag. 2011-11-04 11:02:50 +00:00
Mark Andrews
3fb5bccf59 3205. [func] Upgrade dig's defaults to better reflect modern
nameserver behaviour.  Enable "dig +adflag" and
                        "dig +edns=0" by default.  Enable "+dnssec" when
                        running "dig +trace". [RT #23497]
2011-11-04 10:41:38 +00:00
Automatic Updater
fd94261ec7 update 2011-11-04 06:16:31 +00:00
Evan Hunt
8899393ccd typo 2011-11-04 05:54:33 +00:00
Evan Hunt
90a354ab36 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:51:02 +00:00
Evan Hunt
25845da41a 3203. [bug] Increase log level to 'info' for validation failures
from expired or not-yet-valid RRSIGs. [RT #21796]
2011-11-04 05:36:28 +00:00
cvs2git
a6a28314eb This commit was manufactured by cvs2git to create branch 'rt25690'. 2011-11-04 04:16:32 +00:00
Automatic Updater
c4c0b6599a update 2011-11-04 04:16:31 +00:00
Mark Andrews
a5166d5fce 3202. [bug] NOEDNS caching on timeout was too agressive.
[RT #26416]
2011-11-04 03:38:44 +00:00
Automatic Updater
2a303cab7c update 2011-11-04 03:16:48 +00:00
Automatic Updater
84bc9a5840 add missing </term> 2011-11-04 02:25:17 +00:00
Automatic Updater
d1b4463504 update 2011-11-04 00:16:59 +00:00
Automatic Updater
0b85ae70e9 update copyright notice 2011-11-03 23:46:26 +00:00
Automatic Updater
94d0b4bd41 newcopyrights 2011-11-03 23:30:18 +00:00
Automatic Updater
1ea60859e0 auto update 2011-11-03 23:17:35 +00:00
Automatic Updater
2d89cadead update 2011-11-03 23:17:01 +00:00
Evan Hunt
f550b4b104 3201. [func] 'rndc querylog' can now be given an on/off parameter
instead of only being used as a toggle. [RT #18351]
2011-11-03 23:05:31 +00:00
Automatic Updater
962d1c873e update 2011-11-03 22:16:59 +00:00
Evan Hunt
6150d3cb66 3200. [doc] Some rndc functions were undocumented or were
missing from 'rndc -h' output. [RT #25555]
2011-11-03 22:06:21 +00:00
Evan Hunt
8496c276b0 update "known good OS's" list based on recent reports 2011-11-03 21:30:34 +00:00
Automatic Updater
1e945263d5 update 2011-11-03 21:16:29 +00:00
Evan Hunt
fd0cb18761 3199. [func] When logging client information, include the name
being queried. [RT #25944]
2011-11-03 21:14:22 +00:00
Evan Hunt
d7be2b79ed 3198. [doc] Clarified that dnssec-settime can alter keyfile
permissions. [RT #24866]
2011-11-03 20:21:37 +00:00
Automatic Updater
c4f7ba75e7 update 2011-11-03 06:16:48 +00:00
Automatic Updater
51c9097184 update 2011-11-03 05:16:59 +00:00
Evan Hunt
1c1879b7ef 3197. [bug] Don't try to log the filename and line number when
the config parser can't open a file. [RT #22263]
2011-11-03 05:15:09 +00:00
Evan Hunt
2a7ac74960 remove 1/8 and 2/8 from bogusnets example 2011-11-03 04:53:27 +00:00
Evan Hunt
7f2a245b96 3196. [bug] nsupdate: return nonzero exit code when target zone
doesn't exist. [RT #25783]
2011-11-03 04:29:28 +00:00
Automatic Updater
1eaf800c7b update 2011-11-03 04:16:39 +00:00
cvs2git
14ab630b23 This commit was manufactured by cvs2git to create branch 'rt26416'. 2011-11-03 03:26:20 +00:00
Evan Hunt
77b8f02d19 3195. [cleanup] Silence "file not found" warnings when loading
managed-keys zone. [RT #26340]
2011-11-03 03:26:19 +00:00
cvs2git
978e394c54 This commit was manufactured by cvs2git to create branch 'rt25960'. 2011-11-03 03:17:04 +00:00
Automatic Updater
c3d046d8b5 update 2011-11-03 03:17:03 +00:00
Evan Hunt
0c25a44aac 3194. [doc] Updated RFC references in the 'empty-zones-enable'
documentation. [RT #25203]
2011-11-03 03:08:33 +00:00
Evan Hunt
8281fd83da 3193. [cleanup] Changed MAXZONEKEYS to DNS_MAXZONEKEYS, moved to
dnssec.h. [RT #26415]
2011-11-03 02:54:47 +00:00
cvs2git
901cf705f5 This commit was manufactured by cvs2git to create branch 'rt25060'. 2011-11-03 00:16:51 +00:00
Automatic Updater
4634ecba29 update 2011-11-03 00:16:50 +00:00
Automatic Updater
1ab9944f6b update copyright notice 2011-11-02 23:46:24 +00:00
Mark Andrews
146057d7e7 3192. [bug] A query structure could be used after being freed.
[RT #22208]
2011-11-02 23:42:33 +00:00
Automatic Updater
dfd613f037 newcopyrights 2011-11-02 23:30:26 +00:00
Automatic Updater
4bc0516158 auto update 2011-11-02 23:17:47 +00:00
Automatic Updater
b7adda4197 update 2011-11-02 20:16:36 +00:00
Evan Hunt
7a30c8f783 edited a comment for clarity. 2011-11-02 19:41:02 +00:00
cvs2git
0ddaec4692 This commit was manufactured by cvs2git to create branch 'rt25419'. 2011-11-02 14:16:14 +00:00
Automatic Updater
4e3e80f93f update 2011-11-02 14:16:13 +00:00
Mark Andrews
46c7b71b4d improve error diagnostics 2011-11-02 13:59:07 +00:00
Automatic Updater
453d0531b9 update 2011-11-02 09:17:01 +00:00
Mark Andrews
e223d4bb26 loop waiting for stub zone to transfer 2011-11-02 08:17:01 +00:00
Automatic Updater
bd46bf198d update 2011-11-02 06:16:26 +00:00
Evan Hunt
103250dd47 fix usage message 2011-11-02 06:00:35 +00:00
Automatic Updater
8501249eef update 2011-11-02 03:17:00 +00:00
Evan Hunt
8b04568c80 grammar fix 2011-11-02 02:20:46 +00:00
Automatic Updater
f7844121a8 update 2011-11-02 01:16:30 +00:00
Mark Andrews
fe3472c80b 3191. [bug] Print NULL records using unknown format. [RT #26392] 2011-11-02 01:01:52 +00:00
Automatic Updater
cab7db8d3b update 2011-11-02 00:16:35 +00:00
Automatic Updater
89d1324270 update copyright notice 2011-11-01 23:47:00 +00:00
Automatic Updater
f8b9948a41 newcopyrights 2011-11-01 23:30:20 +00:00
Automatic Updater
63e8923c88 auto update 2011-11-01 23:17:32 +00:00
Automatic Updater
05bf9ac814 update 2011-11-01 22:16:32 +00:00
Mark Andrews
3975f627fe 3190. [bug] Underflow in error handling in isc_mutexblock_init.
[RT #26397]
2011-11-01 21:59:56 +00:00
Automatic Updater
84087ba49e update 2011-11-01 19:16:25 +00:00
Evan Hunt
e2271ee953 3189. [test] Added a summary report after system tests. [RT #25517] 2011-11-01 18:35:53 +00:00
cvs2git
5c8d35f8f0 This commit was manufactured by cvs2git to create branch 'rt26386'. 2011-11-01 04:16:20 +00:00
Automatic Updater
94a42cf08b update 2011-11-01 04:16:19 +00:00
Evan Hunt
5caf26b168 3188. [bug] zone.c:zone_refreshkeys() could fail to detach
references correctly when errors occurred, causing
			a hang on shutdown. [RT #26372]
2011-11-01 04:00:45 +00:00
Automatic Updater
5d31a59fa1 update 2011-11-01 00:16:39 +00:00
Automatic Updater
53eae9bf3e update copyright notice 2011-10-31 23:46:56 +00:00
Automatic Updater
a8a1d4629e newcopyrights 2011-10-31 23:30:15 +00:00
Automatic Updater
3a621e3d12 auto update 2011-10-31 23:17:30 +00:00
Automatic Updater
93c3e6b020 update 2011-10-31 18:16:12 +00:00
Evan Hunt
923ba8158a add note about 'dig +rrcomments' 2011-10-31 18:03:50 +00:00
Automatic Updater
00aba7413e update 2011-10-31 00:16:49 +00:00
Automatic Updater
f308b3c2e0 update copyright notice 2011-10-30 23:46:15 +00:00
Mark Andrews
36e97eb661 3187. [port] win32: support for Visual Studio 2008. [RT #26356] 2011-10-30 23:39:39 +00:00
Automatic Updater
6df47a264d newcopyrights 2011-10-30 23:30:13 +00:00
Automatic Updater
ab94e3791e update 2011-10-30 23:17:07 +00:00
Evan Hunt
695ccee03b added cvsignore files 2011-10-30 23:14:31 +00:00
Evan Hunt
81443179e5 missing files from clean.sh 2011-10-30 23:14:23 +00:00
Evan Hunt
74c46f605f file missing from clean.sh 2011-10-30 23:11:24 +00:00
Evan Hunt
094672b313 some files were missing from clean.sh 2011-10-30 23:05:13 +00:00
Evan Hunt
3718adf753 some files were missing from clean.sh 2011-10-30 22:59:45 +00:00
Evan Hunt
0422d7c531 Need to clear db-* files in clean.sh. 2011-10-30 22:55:12 +00:00
Automatic Updater
4cc59a7799 auto update 2011-10-29 23:17:43 +00:00
Automatic Updater
553460831d update 2011-10-29 23:16:41 +00:00
Mark Andrews
cd56981c8a remove unused parameter from next_origin 2011-10-29 22:26:21 +00:00
Automatic Updater
a9bae6c481 update 2011-10-29 07:16:51 +00:00
Mark Andrews
5b7e96d3a7 add if (list) 2011-10-29 06:22:51 +00:00
Automatic Updater
a4713d18e5 update 2011-10-29 01:16:19 +00:00
Evan Hunt
c5023889ac remove debugging printf that was left in by mistake 2011-10-29 00:15:56 +00:00
Automatic Updater
22f7ca6d4e update 2011-10-28 17:16:54 +00:00
Evan Hunt
cb143a725f added a note about locking fixes 2011-10-28 16:54:55 +00:00
Evan Hunt
5f6b9acfe9 imported the list of 9.8.0 new features from the 9.8 README file 2011-10-28 16:37:20 +00:00
Evan Hunt
96b1a311fc updated README with a more complete list of new features (it
hadn't been touched since 9.9.0a1)
2011-10-28 16:30:44 +00:00
Automatic Updater
b47fbfc944 update 2011-10-28 14:16:11 +00:00
Mark Andrews
74d7615fc5 9.9.0b1 2011-10-28 13:25:44 +00:00
Automatic Updater
c5f45d767e update 2011-10-28 13:16:10 +00:00
Automatic Updater
e5045764a4 9.9.0b1 2011-10-28 12:28:33 +00:00
Mark Andrews
fbf6fa0e62 initialise result 2011-10-28 12:27:06 +00:00
Automatic Updater
23967fcd6e regen HEAD 2011-10-28 12:23:40 +00:00
Automatic Updater
98a7e53914 update copyright notice 2011-10-28 12:20:31 +00:00
Automatic Updater
9d9d2b1450 newcopyrights 2011-10-28 12:19:47 +00:00
Mark Andrews
cbb14fdb1f ./bin/tests/system/rpz/ns3/crash2 2011-10-28 12:18:14 +00:00
Automatic Updater
36afe9a786 update 2011-10-28 12:16:18 +00:00
Automatic Updater
d68503046d update copyright notice 2011-10-28 12:08:04 +00:00
Mark Andrews
62a348b15d 9.9.0b1 2011-10-28 12:02:31 +00:00
Mark Andrews
7b4b6f361b 3186. [bug] Version/db mis-match in rpz code. [RT #26180] 2011-10-28 11:46:50 +00:00
Automatic Updater
99d376d65a update 2011-10-28 07:16:57 +00:00
Evan Hunt
9c03f13e18 3185. [func] New 'rndc signing' option for auto-dnssec zones:
- 'rndc signing -list' displays the current
			   state of signing operations
			 - 'rndc signing -clear' clears the signing state
		  	   records for keys that have fully signed the zone
			 - 'rndc signing -nsec3param' sets the NSEC3
			   parameters for the zone
			The 'rndc keydone' syntax is removed. [RT #23729]
2011-10-28 06:20:07 +00:00
Automatic Updater
aeef1449b4 update 2011-10-28 05:16:56 +00:00
Mark Andrews
f7dfd53301 style, remove redudant assignment 2011-10-28 04:57:34 +00:00
Automatic Updater
b5fa3948a6 update 2011-10-28 04:16:31 +00:00
Automatic Updater
70fd63dea8 update 2011-10-28 03:16:52 +00:00
Mark Andrews
30574fa9ad exit 255 for SKIPPED 2011-10-28 03:15:05 +00:00
Scott Mann
376444d40b add test for recent Net::DNS module. 2011-10-28 02:18:56 +00:00
Automatic Updater
bf6cf1b25c update 2011-10-28 02:16:44 +00:00
Evan Hunt
36794606b8 add ISC_R_NOPERM to dlz_minimal.h 2011-10-28 01:28:58 +00:00
Mark Andrews
c4352fb17e add excessive 2011-10-28 01:23:58 +00:00
Automatic Updater
991adec028 update 2011-10-28 01:16:17 +00:00
Mark Andrews
cd22c3e4e4 3184. [bug] named had cpu usage when a redirect zone was
configured. [RT #26013]
2011-10-28 00:36:54 +00:00
Automatic Updater
5ba9b97aa8 update 2011-10-28 00:16:44 +00:00
Automatic Updater
96f5a19c12 update copyright notice 2011-10-27 23:46:31 +00:00
Automatic Updater
bea3208b41 newcopyrights 2011-10-27 23:30:15 +00:00
Automatic Updater
60ccbf9e77 auto update 2011-10-27 23:17:13 +00:00
Automatic Updater
a4d7cd08a8 update 2011-10-27 23:17:04 +00:00
Scott Mann
0148654d85 added RTLD_GLOBAL to dlopen call (RT #26301). 2011-10-27 23:01:59 +00:00
Automatic Updater
5968d3cf05 update 2011-10-27 22:26:39 +00:00
Mark Andrews
2969f16b07 move declarations to start of block 2011-10-27 22:23:58 +00:00
Automatic Updater
bcb68ece5a update 2011-10-27 21:17:00 +00:00
Scott Mann
b91b288f92 fix edns0 retry issues (rt #23393/24964). 2011-10-27 20:18:42 +00:00
Automatic Updater
5c7bcd0cee update 2011-10-27 01:16:48 +00:00
Automatic Updater
be75fd4f49 regen HEAD 2011-10-27 01:14:50 +00:00
Automatic Updater
5b4db7f134 update 2011-10-27 00:16:51 +00:00
Automatic Updater
8826a72394 update copyright notice 2011-10-26 23:46:15 +00:00
Automatic Updater
24e0e8d17d newcopyrights 2011-10-26 23:30:12 +00:00
Automatic Updater
6a53f1249f auto update 2011-10-26 23:17:41 +00:00
Automatic Updater
26da34d63c update 2011-10-26 21:16:30 +00:00
Mark Andrews
24ef32426d 3181. [func] Inline-signing is now supported for master zones.
[RT #26224]
2011-10-26 20:56:45 +00:00
Automatic Updater
191fed04b2 update 2011-10-26 16:16:34 +00:00
Evan Hunt
9570ddcd41 3180. [func] Local copies of slave zones are now saved in raw
format by default, to improve startup performance.
			'masterfile-format text;' can be used to override
			the default, if desired. [RT #25867]
2011-10-26 15:23:37 +00:00
Automatic Updater
f4ee3d9741 update 2011-10-26 06:17:03 +00:00
Mark Andrews
aa0777cfb6 spin waiting for zone transfer to complete 2011-10-26 05:32:56 +00:00
Automatic Updater
f49f81984a update 2011-10-26 01:16:20 +00:00
Automatic Updater
e839bf134f regen HEAD 2011-10-26 01:14:53 +00:00
Automatic Updater
7cf6d62848 update 2011-10-26 00:16:31 +00:00
Automatic Updater
329eb05c12 update copyright notice 2011-10-25 23:46:58 +00:00
Automatic Updater
a66012b52c newcopyrights 2011-10-25 23:30:16 +00:00
Automatic Updater
9e1afcc90d auto update 2011-10-25 23:17:28 +00:00
Automatic Updater
f413c35f36 update 2011-10-25 22:16:34 +00:00
Mark Andrews
9a8ffb1ac7 3179. [port] kfreebsd: build issues. [RT #26273] 2011-10-25 21:22:09 +00:00
Automatic Updater
edf8239975 update 2011-10-25 17:16:23 +00:00
Evan Hunt
f704fa0ca6 3178. [bug] A race condition introduced by change #3163 could
cause an assertion failure on shutdown. [RT #26271]
2011-10-25 16:21:21 +00:00
Automatic Updater
f0a2633ecb update 2011-10-25 05:16:16 +00:00
Mark Andrews
0f21945e27 remove unused variable 2011-10-25 04:38:14 +00:00
Automatic Updater
77d8f9cef0 update 2011-10-25 04:17:03 +00:00
Mark Andrews
ad94465154 improve failure reports 2011-10-25 03:57:08 +00:00
Automatic Updater
986ae9d56e update 2011-10-25 02:16:41 +00:00
Mark Andrews
b1c6de5456 3177. [func] 'rndc keydone', remove the indicator record that
named has finished signing the zone with the
                        corresponding key.  [RT #26206]
2011-10-25 01:54:22 +00:00
Automatic Updater
4aa19ee16a update 2011-10-25 00:16:43 +00:00
Automatic Updater
64691d525b update copyright notice 2011-10-24 23:46:14 +00:00
Automatic Updater
89d0ee9d53 newcopyrights 2011-10-24 23:30:16 +00:00
Automatic Updater
6ea977c8ed update 2011-10-24 23:16:33 +00:00
Michael Graff
522222cf93 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-24 22:51:29 +00:00
Automatic Updater
81c538f913 auto update 2011-10-21 23:17:31 +00:00
Automatic Updater
54d8cdbebc update 2011-10-21 04:16:34 +00:00
Mark Andrews
f49d12edf8 remove redundant assignment and variable 2011-10-21 03:55:33 +00:00
Automatic Updater
b44f720246 update 2011-10-21 01:16:26 +00:00
Automatic Updater
12bfbed87c regen HEAD 2011-10-21 01:14:51 +00:00
Automatic Updater
7dbff3d522 update 2011-10-21 00:16:31 +00:00
Automatic Updater
dfc015bc7e update copyright notice 2011-10-20 23:46:51 +00:00
Automatic Updater
24bf1e02f0 newcopyrights 2011-10-20 23:30:15 +00:00
Automatic Updater
0110c9d936 auto update 2011-10-20 23:17:40 +00:00
Automatic Updater
93ba31ac6c update 2011-10-20 22:16:23 +00:00
Evan Hunt
9336f01769 3176. [doc] Corrected example code and added a README to the
sample external DLZ module in contrib/dlz/example.
			[RT #26215]
2011-10-20 22:01:48 +00:00
Mark Andrews
ada40193c8 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:42:11 +00:00
Mark Andrews
1946c596b4 3174. [bug] Always compute to revoked key tag from scratch.
[RT #24711]
2011-10-20 21:20:02 +00:00
Automatic Updater
3c95be120f update 2011-10-20 20:16:18 +00:00
Vernon Schryver
48a3b28263 mention RPZ user interface changes 2011-10-20 19:22:41 +00:00
Automatic Updater
5073c7e6dc update 2011-10-20 00:16:31 +00:00
Automatic Updater
7e9d7c58af update copyright notice 2011-10-19 23:46:56 +00:00
Automatic Updater
3b037f97a0 auto update 2011-10-19 23:17:38 +00:00
Automatic Updater
2f870b661d update 2011-10-19 01:16:53 +00:00
Mark Andrews
90863a6f9b update 2011-10-19 01:00:44 +00:00
Automatic Updater
8012530eb8 update 2011-10-18 10:16:55 +00:00
Mark Andrews
b9abd78636 new 2011-10-18 09:26:39 +00:00
Automatic Updater
53c69709a6 update 2011-10-18 02:16:24 +00:00
Mark Andrews
37e6ff3f49 initalize set_lock 2011-10-18 02:00:56 +00:00
Automatic Updater
50b08783f9 update 2011-10-18 00:16:45 +00:00
Automatic Updater
e87f494810 update copyright notice 2011-10-17 23:46:33 +00:00
Automatic Updater
0c7657e930 newcopyrights 2011-10-17 23:30:18 +00:00
Automatic Updater
86cd366df0 auto update 2011-10-17 23:17:24 +00:00
Automatic Updater
e3e6fe9a80 update 2011-10-17 06:17:05 +00:00
Mark Andrews
ca890c0aa8 sleep 1 # allow lwresd to finish starting. 2011-10-17 05:40:11 +00:00
Automatic Updater
b2f2b7f5a4 update 2011-10-17 02:16:24 +00:00
Mark Andrews
2da036f231 The notify system test was using a dynamic zone for reload testing
so it was just a plain fluke that it ever succeeded.
* use a normal (non-dynamic) zone.
* check that reloads of the master zone actually occur.
* remove example3 test from tests.sh as it wasn't testing notify.
* add a "sleep 1" so that the copied file will have a newer timestamp.
* improve system test logging.
* using seperate output files for each test so that it is possible
  to work out what went wrong if the system test fails.
2011-10-17 01:33:28 +00:00
Automatic Updater
02265237cd auto update 2011-10-16 23:17:37 +00:00
Automatic Updater
5d86a459ab auto update 2011-10-15 23:17:21 +00:00
Automatic Updater
08a5e0f600 update 2011-10-15 05:16:59 +00:00
Mark Andrews
020c4484fe 3173. [port] Correctly validate root DS responses. [RT #25726] 2011-10-15 05:00:15 +00:00
Mark Andrews
e94c7d2358 changes number 2011-10-15 04:16:38 +00:00
Automatic Updater
4a213e4136 update 2011-10-15 00:16:38 +00:00
Automatic Updater
2d45eb7acb update copyright notice 2011-10-14 23:46:34 +00:00
Automatic Updater
6fc3902403 newcopyrights 2011-10-14 23:30:11 +00:00
Automatic Updater
7eeaa2309c auto update 2011-10-14 23:17:31 +00:00
Automatic Updater
ff7360c55e update 2011-10-14 12:16:23 +00:00
Mark Andrews
baabfdc0d9 wait for test zones to have loaded 2011-10-14 12:02:12 +00:00
Automatic Updater
af34310238 update 2011-10-14 06:16:49 +00:00
Mark Andrews
30d9cf665d 3171. [port] darwin 10.* and freebsd [89] are now built threaded by
default.
2011-10-14 05:42:52 +00:00
Mark Andrews
0a1009ae64 3171. [bug] Exclusively lock the task when adding a zone using
'rndc addzone'.  [RT #25600]
2011-10-14 05:38:50 +00:00
Automatic Updater
b4a5220650 update 2011-10-14 03:16:17 +00:00
Mark Andrews
88a8e5a8d0 3170. [func] RPZ update:
- fix precedence among competing rules
                        - improve ARM text including documenting rule precedence
                        - try to rewrite CNAME chains until first hit
                        - new "rpz" logging channel
2011-10-14 03:05:45 +00:00
Automatic Updater
db050def20 update 2011-10-14 01:16:13 +00:00
Mark Andrews
3feb38c1f1 9.9.0a3 2011-10-14 01:12:28 +00:00
Mark Andrews
298452f671 update for clientinfo support 2011-10-14 00:52:32 +00:00
Automatic Updater
29badbf2aa update 2011-10-14 00:16:30 +00:00
Automatic Updater
1f7bae40e4 9.9.0a3 2011-10-14 00:04:49 +00:00
Automatic Updater
6f64d4ab8e regen HEAD 2011-10-14 00:04:24 +00:00
Automatic Updater
87002e151b <command>-><option> 2011-10-13 23:47:10 +00:00
Automatic Updater
085e84f19b add missing </listitems> 2011-10-13 23:44:47 +00:00
Automatic Updater
c67fb8053d auto update 2011-10-13 23:17:22 +00:00
Automatic Updater
ea2081655b update 2011-10-13 23:17:04 +00:00
Mark Andrews
2801318d3c 9.9.0a3 2011-10-13 22:53:39 +00:00
Automatic Updater
304a539c59 update copyright notice 2011-10-13 22:48:24 +00:00
Automatic Updater
e007e3e5b0 newcopyrights 2011-10-13 22:46:39 +00:00
Mark Andrews
c28bc44028 waiting for servers to be ready for testing 2011-10-13 22:18:05 +00:00
Automatic Updater
350ccf569c update 2011-10-13 13:16:49 +00:00
Mark Andrews
63b6eac79c handle unchecked assignment 2011-10-13 13:13:52 +00:00
Mark Andrews
88112d5fcb 'test -e' is not portable, use 'test -f' 2011-10-13 13:03:51 +00:00
Automatic Updater
3f36db156d update 2011-10-13 08:16:56 +00:00
Mark Andrews
e236b52ce0 #include <stdlib.h> 2011-10-13 07:56:32 +00:00
Automatic Updater
af11ded724 update 2011-10-13 05:16:53 +00:00
Mark Andrews
abea1710a7 new 2011-10-13 04:53:07 +00:00
Automatic Updater
47cdb263ab update 2011-10-13 04:16:33 +00:00
Mark Andrews
24ae404aca 'grep' -> 'grep -w' when checking for keyids 2011-10-13 03:55:01 +00:00
Mark Andrews
89d7808786 'grep' -> 'grep -w' when checking for keyids 2011-10-13 03:46:41 +00:00
Automatic Updater
4b634d23cd update 2011-10-13 03:16:50 +00:00
Mark Andrews
7c0e21f706 add custom_tata_22992_26038_26044 2011-10-13 02:58:42 +00:00
Automatic Updater
ff8645cf2c update 2011-10-13 02:16:49 +00:00
Vernon Schryver
9fee08f655 Commit rt25172 changes to HEAD including
- fix precedence among competing rules
  - improve ARM text including documenting rule precedence
  - try to rewrite CNAME chains until first hit
  - new "rpz" logging channel
  - same fix for "NS ." as in RT 24985
2011-10-13 01:32:34 +00:00
Automatic Updater
2cb1c691ba update 2011-10-13 00:16:13 +00:00
Automatic Updater
ea68e8eba9 update copyright notice 2011-10-12 23:46:34 +00:00
Mark Andrews
07d9d0dbcc add 2011-10-12 23:39:11 +00:00
Automatic Updater
a2536a03dc auto update 2011-10-12 23:17:29 +00:00
Automatic Updater
81d2b781d1 update 2011-10-12 23:16:19 +00:00
Mark Andrews
ebe4f01a8f 3169. [func] Catch db/version mis-matches when call dns_db_*().
[RT #26017]
2011-10-12 23:11:30 +00:00
Mark Andrews
af850c4120 3168. [bug] Nxdomain redirection could trigger a assert with
a ANY query. [RT #26017]
2011-10-12 23:09:35 +00:00
Automatic Updater
81a92341ef update 2011-10-12 03:16:20 +00:00
Mark Andrews
5258355c8d silence ccc-analyzer (clang) warnings 2011-10-12 02:17:53 +00:00
Automatic Updater
92ebd38022 update 2011-10-12 01:16:15 +00:00
Mark Andrews
dc2e627239 3167. [bug] Negative answers from forwarders were not being
correctly tagged making them appear to not be cached.
                        [RT #25380]
2011-10-12 00:18:11 +00:00
Automatic Updater
fcf40603c7 update 2011-10-12 00:16:13 +00:00
Mark Andrews
02286522fb 3166. [bug] Upgrading a zone to support inline-signing failed. [RT #26014] 2011-10-12 00:10:20 +00:00
Automatic Updater
0e11ca0f0b update copyright notice 2011-10-11 23:46:45 +00:00
Automatic Updater
1d4f4d2db2 newcopyrights 2011-10-11 23:30:16 +00:00
Automatic Updater
da41cbe43e update 2011-10-11 20:16:11 +00:00
Evan Hunt
653a78de95 3165. [bug] dnssec-signzone could generate new signatures when
resigning, even when valid signatures were already
			present. [RT #26025]
2011-10-11 19:26:06 +00:00
Automatic Updater
4ce95a2463 update 2011-10-11 14:16:07 +00:00
Mark Andrews
25500a1d9f add missing break; 2011-10-11 13:36:12 +00:00
Mark Andrews
bdcd748874 add null methods 2011-10-11 13:33:45 +00:00
Automatic Updater
1cff0e025f update 2011-10-11 03:16:42 +00:00
Mark Andrews
f730d7bdc2 fix builtin_lookup to match new prototype 2011-10-11 02:39:03 +00:00
Automatic Updater
857e29f5a8 update 2011-10-11 01:16:18 +00:00
Mark Andrews
be7772a59c #include <isc/print.h> 2011-10-11 00:53:15 +00:00
Mark Andrews
43b3337ba5 handle named.args 2011-10-11 00:46:46 +00:00
Mark Andrews
4f803dd91d add #include "config.h" 2011-10-11 00:25:12 +00:00
Automatic Updater
5afe875d45 update 2011-10-11 00:16:43 +00:00
Evan Hunt
793814f807 3164. [func] Enable DLZ modules to retrieve client information,
so that responses can be changed depending on the
			source address of the query. [RT #25768]
2011-10-11 00:09:03 +00:00
Scott Mann
07dc62785b Change s/\R//g to chomp(). 2011-10-10 23:18:17 +00:00
Automatic Updater
6851f380b0 update 2011-10-10 23:16:13 +00:00
Evan Hunt
b2086d798b 3163. [bug] Use finer-grained locking in client.c to address
concurrency problems with large numbers of threads.
			[RT #26044]
2011-10-10 22:57:14 +00:00
Automatic Updater
ab18723ea7 update 2011-10-10 19:16:12 +00:00
Scott Mann
db715e6d83 fix directory path for subdirs 2011-10-10 19:06:05 +00:00
Automatic Updater
a5bb9db3db update 2011-10-10 03:16:47 +00:00
Mark Andrews
079e4a3d87 isc_app_start needs to be called earlier to ensure that signal handlers are setup before any threads are created 2011-10-10 02:46:16 +00:00
Automatic Updater
ce117998dc update 2011-10-10 01:16:07 +00:00
Mark Andrews
d60fb3a58c use index rather than match as it is more portable 2011-10-10 00:34:57 +00:00
Automatic Updater
9fd789548f update 2011-10-09 23:16:11 +00:00
Scott Mann
1dacfa0ea8 entry for enhancement to start.pl 2011-10-09 23:03:57 +00:00
Scott Mann
aab0b9cd3b added ability to set named params through "named.args" file 2011-10-09 22:47:15 +00:00
Automatic Updater
f4b24f3ec3 update 2011-10-07 22:16:06 +00:00
Mark Andrews
17dfbab847 handle getline errors/eof 2011-10-07 21:32:35 +00:00
Automatic Updater
9da37b29ac update 2011-10-07 03:16:56 +00:00
Mark Andrews
2cc56f582c 3161. [bug] zone.c:del_sigs failed to always reset rdata leading
assertion failures. [RT #25880]
2011-10-07 02:55:04 +00:00
Automatic Updater
ee4159cc85 update 2011-10-07 01:16:04 +00:00
Automatic Updater
54e57d8ff4 regen HEAD 2011-10-07 01:14:45 +00:00
Automatic Updater
73027dc3e2 auto update 2011-10-06 23:17:28 +00:00
Automatic Updater
b93787b16a update 2011-10-06 22:16:06 +00:00
Mark Andrews
dc2cbfdafe handle multi-line NSEC3 record better 2011-10-06 22:11:39 +00:00
Automatic Updater
7b6f8c6ce8 update 2011-10-06 12:16:15 +00:00
Mark Andrews
3952b16164 fix default for sig-signing-type 2011-10-06 11:50:20 +00:00
Mark Andrews
6e1b287107 rt21764 session-* fixes 2011-10-06 11:31:57 +00:00
Automatic Updater
0935809ea3 auto update 2011-10-05 23:17:22 +00:00
Automatic Updater
b292183220 update 2011-10-05 04:16:12 +00:00
Mark Andrews
8c0f354bdf 3160. [bug] When printing out a NSEC3 record in multiline form
the newline was not being printed causing type codes
                        to be run together. [RT #25873]
2011-10-05 03:48:27 +00:00
Mark Andrews
fce049a50f CHANGES 2011-10-05 03:47:59 +00:00
Automatic Updater
33bc796196 auto update 2011-10-04 23:17:12 +00:00
Automatic Updater
c1b6a4ae42 update 2011-10-04 16:16:37 +00:00
Evan Hunt
a6c74da2b0 3159. [bug] On some platforms, named could assert on startup
when running in a chrooted environment without
			/proc. [RT #25863]

3158.	[bug]		Recursive servers would prefer a particular UDP
			socket instead of using all available sockets.
			[RT #26038]
2011-10-04 16:04:22 +00:00
Automatic Updater
e7b337e2ad auto update 2011-10-03 23:17:17 +00:00
Automatic Updater
685aa0335a auto update 2011-09-29 23:17:33 +00:00
Automatic Updater
34f4348213 update 2011-09-23 18:16:07 +00:00
Evan Hunt
1219f8d194 3157. [tuning] Reduce the time spent in "rndc reconfig" by parsing
the config file before pausing the server. [RT #21373]
2011-09-23 18:08:01 +00:00
Automatic Updater
6921f2d4ee update 2011-09-23 01:16:07 +00:00
Evan Hunt
3d5423a484 add placeholder 2011-09-23 00:38:32 +00:00
Automatic Updater
e68f9193f4 auto update 2011-09-21 23:17:15 +00:00
Automatic Updater
c12ae150eb auto update 2011-09-14 23:17:18 +00:00
Automatic Updater
eb74a1f7d7 update 2011-09-13 22:16:10 +00:00
Mark Andrews
56e465314e 9.9.0a2 2011-09-13 22:07:58 +00:00
Automatic Updater
37f74f3b0f 9.9.0a2 2011-09-13 21:41:04 +00:00
Mark Andrews
41ce9f5c27 9.9.0b2 2011-09-13 21:38:50 +00:00
Automatic Updater
6b7ca46656 auto update 2011-09-09 23:17:26 +00:00
Automatic Updater
fbbd2429d7 auto update 2011-09-08 23:17:10 +00:00
Automatic Updater
9af6c30f16 update 2011-09-08 00:16:46 +00:00
Automatic Updater
65df0ad698 update copyright notice 2011-09-07 23:46:28 +00:00
Automatic Updater
2fd1e39189 newcopyrights 2011-09-07 23:30:16 +00:00
Automatic Updater
b5db581e7e auto update 2011-09-07 23:16:25 +00:00
Automatic Updater
ed90aba5b7 update 2011-09-07 21:16:10 +00:00
Evan Hunt
67e3b3b9fc 3155. [bug] Fixed a build failure when using contrib DLZ
drivers (e.g., mysql, postgresql, etc). [RT #25710]
2011-09-07 20:50:08 +00:00
Automatic Updater
bd3341d6b2 update 2011-09-07 19:16:13 +00:00
Evan Hunt
84f0bd3bc7 3154. [bug] Attempting to print an empty rdataset could trigger
an assert. [RT #25452]
2011-09-07 19:11:14 +00:00
Automatic Updater
4de77eaae8 update 2011-09-07 12:16:03 +00:00
Scott Mann
de382ae91a added RT # to 3153 2011-09-07 11:55:05 +00:00
Automatic Updater
3a2a8ce5eb update 2011-09-07 01:40:11 +00:00
Mark Andrews
35540d8b32 add missing files from request-ixfr test 2011-09-07 01:30:13 +00:00
Automatic Updater
c1012becb6 update 2011-09-07 01:16:10 +00:00
Automatic Updater
eea6be913f regen HEAD 2011-09-07 01:14:44 +00:00
Mark Andrews
2dbe31b3fd data and function pointers are not interchangable 2011-09-07 00:50:06 +00:00
Automatic Updater
9d98f52e5e update 2011-09-07 00:16:42 +00:00
Automatic Updater
cb3168cec7 update copyright notice 2011-09-06 23:46:27 +00:00
Automatic Updater
7c7680a2f1 newcopyrights 2011-09-06 23:30:20 +00:00
Automatic Updater
bc7f6a844b auto update 2011-09-06 23:17:12 +00:00
Automatic Updater
d2d8fdd71e update 2011-09-06 23:16:13 +00:00
Scott Mann
fad5116b3d Remove the ixfr-from-differences side-effect which causes an AXFR and extend
request-ixfr to the zone level.
2011-09-06 22:29:33 +00:00
Automatic Updater
9252f15750 update 2011-09-06 06:16:31 +00:00
Mark Andrews
2dfde9bb09 add depend target 2011-09-06 05:49:51 +00:00
Automatic Updater
d7f7810f2b update 2011-09-06 04:16:19 +00:00
Mark Andrews
d1f1675156 $ -> 18739 2011-09-06 04:06:37 +00:00
Mark Andrews
4531020621 run unit tests even if system tests fail. Report if either set of tests fail 2011-09-06 03:59:58 +00:00
Automatic Updater
9dc9693af6 update 2011-09-06 00:16:16 +00:00
Automatic Updater
b3d6edf7cf update copyright notice 2011-09-05 23:46:54 +00:00
Automatic Updater
d6317350b1 newcopyrights 2011-09-05 23:30:23 +00:00
Automatic Updater
76ec00ad40 update 2011-09-05 18:16:14 +00:00
Evan Hunt
76a7d4e152 3152. [cleanup] Some versions of gcc and clang failed due to
incorrect use of __builtin_expect. [RT #25183]
2011-09-05 18:00:22 +00:00
Evan Hunt
6010c10f1f add time.h to silence compiler warning 2011-09-05 17:39:37 +00:00
Automatic Updater
eb32f3768c update 2011-09-05 07:16:36 +00:00
Evan Hunt
32016d7a9e made doneloading() static, removed unnecessary startloading() prototype 2011-09-05 06:27:05 +00:00
Automatic Updater
5094877aea update 2011-09-05 04:16:12 +00:00
Evan Hunt
cee9d6dc42 fixed a compiler warning due to prototype mismatch between doneloading()
and dns_zt_zoneloaded_t
2011-09-05 03:45:22 +00:00
Automatic Updater
c9c36ecb32 update 2011-09-04 12:16:16 +00:00
Mark Andrews
df864361fd report R:PASS/FAIL 2011-09-04 12:12:15 +00:00
Automatic Updater
0d9d523ee5 update 2011-09-03 20:16:01 +00:00
Evan Hunt
a4668bac4e silence compiler warning 2011-09-03 19:53:15 +00:00
Evan Hunt
6e4fa2e24d include time.h to silence a compiler warning 2011-09-03 19:22:43 +00:00
Automatic Updater
15d35dde03 update 2011-09-03 17:16:04 +00:00
Evan Hunt
fd6a83869a silence compiler warning 2011-09-03 16:27:51 +00:00
Evan Hunt
fa8427aa63 silence compiler warnings 2011-09-03 16:15:08 +00:00
Automatic Updater
3eb3042563 update 2011-09-03 14:16:05 +00:00
Mark Andrews
15c8cf556d make push_readyq prototype and declaration consistant 2011-09-03 13:54:06 +00:00
Automatic Updater
86a4c59bbb update 2011-09-03 06:16:17 +00:00
Evan Hunt
98c79a7059 silence compiler warning 2011-09-03 06:13:30 +00:00
Evan Hunt
ab6c20f978 fix whitespace 2011-09-03 05:51:29 +00:00
Automatic Updater
552b610534 update 2011-09-03 01:16:07 +00:00
Evan Hunt
ac7109d68e oops, build was failing with threads disabled 2011-09-03 00:24:27 +00:00
Automatic Updater
3a42fe7ca5 update 2011-09-03 00:16:22 +00:00
Automatic Updater
ca894e53b5 update copyright notice 2011-09-02 23:46:33 +00:00
Automatic Updater
d630ef2ff7 newcopyrights 2011-09-02 23:30:19 +00:00
Automatic Updater
95dff2dac6 auto update 2011-09-02 23:17:31 +00:00
Automatic Updater
791197bf8a update 2011-09-02 22:16:17 +00:00
Evan Hunt
9e4afc9b39 3151. [bug] Queries for type RRSIG or SIG could be handled
incorrectly.  [RT #21050]
2011-09-02 21:55:16 +00:00
Evan Hunt
8a2ab2b920 3150. [func] Improved startup and reconfiguration time by
enabling zones to load in multiple threads. [RT #25333]
2011-09-02 21:15:39 +00:00
Automatic Updater
541dd4d80f update 2011-09-02 02:46:27 +00:00
Mark Andrews
56a520ef3a don't use a expired slave zone 2011-09-02 02:25:07 +00:00
Automatic Updater
ce375ba293 update 2011-09-01 06:16:28 +00:00
Mark Andrews
cd49e1ec2f handle flushing of entries just before a second ticks over, speed up priming of the cache 2011-09-01 05:28:14 +00:00
Automatic Updater
e79a24b362 update 2011-09-01 00:16:42 +00:00
Automatic Updater
a6ab2774bc update copyright notice 2011-08-31 23:46:44 +00:00
Automatic Updater
63654fea53 newcopyrights 2011-08-31 23:30:23 +00:00
Curtis Blackburn
f950cb6a0b file rbt_test.c was added on branch rt25419 on 2011-11-30 17:57:52 +0000 2011-08-31 15:20:21 +00:00
Curtis Blackburn
424d89d806 file rbt_test.c was added on branch rt25419a on 2011-12-19 21:39:53 +0000 2011-08-31 15:20:20 +00:00
Automatic Updater
fd1429e943 update 2011-08-31 07:16:05 +00:00
Mark Andrews
2c35c68236 3148. [bug] Processing of normal queries could be stalled when
forwarding a UPDATE message. [RT #24711]
2011-08-31 06:49:10 +00:00
Automatic Updater
0bda900707 update 2011-08-31 01:16:14 +00:00
Automatic Updater
c978c6cb6e regen HEAD 2011-08-31 01:14:43 +00:00
Automatic Updater
e6fed27830 update 2011-08-31 00:16:37 +00:00
Automatic Updater
4e68c7c87c update copyright notice 2011-08-30 23:46:53 +00:00
Automatic Updater
5ecad47f69 newcopyrights 2011-08-30 23:30:20 +00:00
Automatic Updater
d278d372da update 2011-08-30 22:16:21 +00:00
Mark Andrews
74f4130f41 report the result of dns_adb_createfind 2011-08-30 21:51:34 +00:00
Mark Andrews
837633db56 report the result of dns_adb_createfind 2011-08-30 21:50:34 +00:00
Automatic Updater
0da2ceec76 update 2011-08-30 21:16:13 +00:00
Mark Andrews
81bbd645c7 dns_view_issecuredomain: check that view->secroots_priv is non NULL before calling dns_keytable_issecuredomaiani otherwise return ISC_R_NOTFOUND 2011-08-30 21:14:50 +00:00
Automatic Updater
91e0d41c70 update 2011-08-30 14:16:17 +00:00
Mark Andrews
be239f6147 silence clang warnings 2011-08-30 14:01:53 +00:00
Mark Andrews
0075be5f32 remove unused variables 2011-08-30 13:45:16 +00:00
Automatic Updater
ba9fddf8bd update 2011-08-30 13:16:14 +00:00
Mark Andrews
49f385a7ad include dns/diff.h 2011-08-30 13:02:39 +00:00
Mark Andrews
29f4de85ed remove unused variables 2011-08-30 12:45:43 +00:00
Automatic Updater
2d145d3579 update 2011-08-30 06:16:03 +00:00
Mark Andrews
9198ab377b 3147. [func] Initial inline signing support. [RT #23657] 2011-08-30 05:16:15 +00:00
Automatic Updater
880708009b update 2011-08-30 01:16:16 +00:00
Mark Andrews
2ec0852e91 POST(port); POST(addr); 2011-08-30 00:18:43 +00:00
Automatic Updater
9e2bcda9cf update 2011-08-30 00:16:30 +00:00
Automatic Updater
d0dce4d839 update copyright notice 2011-08-29 23:46:44 +00:00
Mark Andrews
d64e3b29bd check that the result of dns_dbiterator_current is ISC_R_SUCCESS or DNS_R_NEWORIGIN 2011-08-29 23:44:07 +00:00
Automatic Updater
56effd2e3f newcopyrights 2011-08-29 23:30:18 +00:00
Mark Andrews
90306774dc query could be tested uninitialised, check the result of dns_message_create 2011-08-29 23:21:48 +00:00
Automatic Updater
e4bca65419 update 2011-08-29 07:16:15 +00:00
Mark Andrews
6ba6ff39c0 check the results of dns_name_toprincipal calls, only use gnamebuf.value when valid 2011-08-29 06:33:25 +00:00
Automatic Updater
3d9d357445 update 2011-08-29 06:16:36 +00:00
Mark Andrews
04ec1e31bf *++tp = 0; -> tp++; *tp = 0; 2011-08-29 05:58:31 +00:00
Automatic Updater
ad25dbc7b2 update 2011-08-29 05:16:48 +00:00
Automatic Updater
756f4e70e1 update 2011-08-29 04:16:16 +00:00
Mark Andrews
07a4f0eace POST(p); POST(len); 2011-08-29 04:15:50 +00:00
Mark Andrews
106561b398 INSIST(response); 2011-08-29 04:02:54 +00:00
Mark Andrews
31ad3f3aa4 split out subtests of 'another leaf node, with both positive and negative cache entries' 2011-08-29 03:31:29 +00:00
Automatic Updater
1ed2892857 update 2011-08-29 00:16:17 +00:00
Mark Andrews
787b0c87b7 add POST, len is not needed 2011-08-28 23:53:59 +00:00
Mark Andrews
281c57e2c1 add POST 2011-08-28 23:46:51 +00:00
Automatic Updater
b5217f1647 update copyright notice 2011-08-28 23:46:41 +00:00
Mark Andrews
9a770b4476 add missing check_result 2011-08-28 23:35:57 +00:00
Automatic Updater
84a18c72b9 newcopyrights 2011-08-28 23:30:18 +00:00
Automatic Updater
e4e827288f update 2011-08-28 10:16:20 +00:00
Mark Andrews
a15f930626 silence 'never read' warning 2011-08-28 09:22:45 +00:00
Automatic Updater
a3a0d2a646 update 2011-08-28 09:16:15 +00:00
Mark Andrews
f6b0ccf76a report if dns_rdata{class,type}_totext failed 2011-08-28 09:10:41 +00:00
Automatic Updater
8f86546694 update 2011-08-28 08:16:45 +00:00
Mark Andrews
9cbad6c4c0 t3 is not used 2011-08-28 08:10:13 +00:00
Automatic Updater
161c652e00 update 2011-08-26 06:16:20 +00:00
Mark Andrews
069182809a remove unnecessary assignment to found_ttl 2011-08-26 05:29:48 +00:00
Automatic Updater
17d816dd95 update 2011-08-26 05:16:54 +00:00
Mark Andrews
e1cf6fd20a DNS_R_NEWORIGIN could be accidently returned, clearnode's result was being ignored 2011-08-26 05:12:56 +00:00
Mark Andrews
e1d7ec063f mctx is nolonger required 2011-08-26 04:49:14 +00:00
Mark Andrews
4c11a79320 silence 'is never read' warnings 2011-08-26 04:42:24 +00:00
Automatic Updater
591f7faeb1 update 2011-08-26 00:16:37 +00:00
Automatic Updater
6e3afdcced update copyright notice 2011-08-25 23:46:42 +00:00
Automatic Updater
42bee07ebb newcopyrights 2011-08-25 23:30:22 +00:00
Automatic Updater
80275da83b update 2011-08-25 14:16:12 +00:00
Mark Andrews
db2a90f6ea simplify flag printing, protect first with #ifdef USEINITALWS 2011-08-25 13:28:00 +00:00
Automatic Updater
8f88486ccd update 2011-08-25 12:16:07 +00:00
Mark Andrews
84e7c0efbf remove isc_os_minprivs call accidently committed 2011-08-25 11:37:13 +00:00
Automatic Updater
1ea08129b6 update 2011-08-25 09:16:15 +00:00
Mark Andrews
32f5f15b58 cltfd is only needed when select is being used 2011-08-25 08:17:54 +00:00
Automatic Updater
00abae4d07 update 2011-08-25 07:16:35 +00:00
Mark Andrews
f4a4f6945e silence 'Dereference of undefined pointer value' by assigning to 'sorted' sequentially from zero 2011-08-25 06:28:11 +00:00
Mark Andrews
f67bcc9dc6 save the result of is_response(msg) so it can be treated as a invariant by clang 2011-08-25 06:20:07 +00:00
Automatic Updater
87797a8ebf update 2011-08-25 06:16:19 +00:00
Mark Andrews
8f1c29d73f silence null pointer dereference warning by adding INSIST(sibling != NULL); 2011-08-25 05:56:50 +00:00
Automatic Updater
2a26122cdb update 2011-08-25 02:16:08 +00:00
Evan Hunt
5e2704d0ae move release tag 2011-08-25 01:46:51 +00:00
Automatic Updater
b42981fd9e update 2011-08-25 00:16:18 +00:00
Mark Andrews
42c81cf2de lib/dns/tests/testdata/dbiterator/zone2.data 2011-08-24 23:52:36 +00:00
Mark Andrews
b62c2acf81 add method for isc_socket_getfd 2011-08-24 23:17:52 +00:00
Automatic Updater
8a7bf4a907 update 2011-08-24 20:16:13 +00:00
Scott Mann
45a89e832d Fix compilation failure in ATF due to gcc4.6.0 "improvements." RT #25598. 2011-08-24 19:53:11 +00:00
Automatic Updater
e80c4e6b79 update 2011-08-24 00:16:23 +00:00
Automatic Updater
5e965459a6 update copyright notice 2011-08-23 23:54:00 +00:00
Automatic Updater
0519188c8e newcopyrights 2011-08-23 23:53:05 +00:00
Mark Andrews
bc5d681a34 manual add 2011-08-23 23:48:43 +00:00
Automatic Updater
b0388297e8 update 2011-08-23 23:16:07 +00:00
Evan Hunt
7d6972ff24 Add back the "| cat" so that output files don't get truncated 2011-08-23 22:52:58 +00:00
Automatic Updater
37a915120f update 2011-08-23 19:16:03 +00:00
Evan Hunt
6c18c134c8 add isc_socket_getfd() on win32 side 2011-08-23 18:24:33 +00:00
Automatic Updater
cd500de32e update 2011-08-23 17:16:02 +00:00
Evan Hunt
6986290f4e address win32 compile/link problems 2011-08-23 17:02:53 +00:00
Automatic Updater
607b05edfb update 2011-08-23 04:16:16 +00:00
Mark Andrews
e7008e7007 #include <stdlib.h> 2011-08-23 03:43:03 +00:00
Automatic Updater
8b35646884 update 2011-08-23 02:16:12 +00:00
Automatic Updater
f588331261 regen 2011-08-23 02:08:33 +00:00
Evan Hunt
e4c4cf5177 Prepare for release of 9.9.0a1 2011-08-23 02:06:46 +00:00
Evan Hunt
99cbc3d3a4 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:29:39 +00:00
Automatic Updater
2a83053102 update 2011-08-23 01:16:07 +00:00
Evan Hunt
5a75f61dd4 3144. [bug] dns_dbiterator_seek() could trigger an assert when
used with a nonexistent database node. [RT #25358]
2011-08-23 00:59:23 +00:00
Automatic Updater
773f42ae86 auto update 2011-08-19 23:17:23 +00:00
Automatic Updater
6449b14219 update 2011-08-19 00:18:03 +00:00
Automatic Updater
d5c0739351 update copyright notice 2011-08-18 23:46:35 +00:00
Automatic Updater
2d40121c72 newcopyrights 2011-08-18 23:30:21 +00:00
Automatic Updater
e3b9bc3f83 update 2011-08-18 18:16:08 +00:00
Mark Andrews
0226bd69cd cast to unsigned 2011-08-18 17:41:54 +00:00
Automatic Updater
ea559fe07b update 2011-08-18 06:16:24 +00:00
Mark Andrews
ecf809f959 3143. [bug] Silence clang compiler warnings. [RT #25174] 2011-08-18 06:00:07 +00:00
Automatic Updater
dde098f1d0 update 2011-08-18 05:16:40 +00:00
Mark Andrews
3a63259484 3143. [bug] Silence clang compiler warnings. [RT #25174] 2011-08-18 04:52:35 +00:00
Automatic Updater
7cbf770e47 update 2011-08-17 00:16:34 +00:00
Automatic Updater
4b21b35cff update copyright notice 2011-08-16 23:46:36 +00:00
Automatic Updater
51f522975d newcopyrights 2011-08-16 23:30:20 +00:00
Automatic Updater
fd06034cdf update 2011-08-16 03:16:37 +00:00
Mark Andrews
ab8d150e91 3142. [bug] NAPTR is class agnostic. [RT #25429] 2011-08-16 03:00:02 +00:00
Automatic Updater
59609eb0cb update 2011-08-16 00:16:11 +00:00
Mark Andrews
0f97264419 3142. [bug] NAPTR is class agnostic. [RT #25429] 2011-08-16 00:02:38 +00:00
Automatic Updater
7dafc77155 auto update 2011-08-12 23:17:11 +00:00
Automatic Updater
cc83869d79 auto update 2011-08-10 23:16:33 +00:00
Automatic Updater
48c56e3b10 update 2011-08-10 00:16:22 +00:00
Automatic Updater
826f2233c9 update copyright notice 2011-08-09 23:46:39 +00:00
Automatic Updater
766fb79bd6 newcopyrights 2011-08-09 23:30:18 +00:00
Automatic Updater
752fd82ed9 auto update 2011-08-09 23:17:09 +00:00
Automatic Updater
6b09cfdf4b update 2011-08-09 11:15:59 +00:00
Francis Dupont
f558c8988e spelling 2011-08-09 10:29:23 +00:00
Automatic Updater
0cc4669f7f update 2011-08-09 04:16:49 +00:00
Automatic Updater
17d33346d7 update copyright notice 2011-08-09 04:12:25 +00:00
Automatic Updater
7dd02af3c9 newcopyrights 2011-08-09 04:10:51 +00:00
Automatic Updater
546cafda00 update 2011-08-09 03:16:47 +00:00
Mark Andrews
772dfb90be 3141. [bug] Silence spurious "zone serial (0) unchanged" messages
associated with empty zones. [RT #25079]
2011-08-09 02:24:28 +00:00
Automatic Updater
ca4e924d9a update 2011-08-09 01:16:08 +00:00
Automatic Updater
cb3c295308 regen HEAD 2011-08-09 01:14:54 +00:00
Automatic Updater
a3b509d536 update 2011-08-09 00:16:35 +00:00
Automatic Updater
4fc2b43e69 update copyright notice 2011-08-08 23:46:41 +00:00
Automatic Updater
6fab60452e newcopyrights 2011-08-08 23:30:17 +00:00
Automatic Updater
c9e8af43aa update 2011-08-08 04:16:10 +00:00
Mark Andrews
f81e8340fc rt25400 s/domainname/filename/ 2011-08-08 03:28:15 +00:00
Automatic Updater
15bea98b5e auto update 2011-08-04 23:17:56 +00:00
Automatic Updater
8ba6f5b1a3 update 2011-08-04 01:17:52 +00:00
Automatic Updater
f77c5a1336 regen HEAD 2011-08-04 01:14:44 +00:00
Automatic Updater
4e10b534ac update 2011-08-04 00:17:43 +00:00
Automatic Updater
44931133ff update copyright notice 2011-08-03 23:47:48 +00:00
Automatic Updater
01f91b9cd4 newcopyrights 2011-08-03 23:30:37 +00:00
Automatic Updater
a21b420a9e update 2011-08-03 06:17:15 +00:00
Evan Hunt
64c66c801f Missed an added file when merging rt19770. 2011-08-03 05:37:59 +00:00
Automatic Updater
8f5f2832ce update 2011-08-03 02:17:54 +00:00
Mark Andrews
ce97ba9c94 unbalance tag <replaceable> x2 2011-08-03 01:19:10 +00:00
Automatic Updater
41433d8f0e update 2011-08-03 00:17:44 +00:00
Automatic Updater
adbc177194 update copyright notice 2011-08-02 23:47:52 +00:00
Automatic Updater
3e5b24a74c newcopyrights 2011-08-02 23:30:38 +00:00
Automatic Updater
349cdd61a1 auto update 2011-08-02 23:16:28 +00:00
Automatic Updater
9b4c705da0 update 2011-08-02 21:17:09 +00:00
Evan Hunt
0127993480 3140. [func] New command "rndc flushtree <name>" clears the
specified name from the server cache along with
			all names under it. [RT #19970]
2011-08-02 20:36:13 +00:00
Automatic Updater
ea2c704ca2 update 2011-07-30 00:17:53 +00:00
Automatic Updater
f71ddcf65f update copyright notice 2011-07-29 23:47:52 +00:00
Automatic Updater
fc967607fb newcopyrights 2011-07-29 23:30:35 +00:00
Automatic Updater
075c599714 update 2011-07-29 02:17:53 +00:00
Mark Andrews
9b97400166 6303: Locally Served DNS Zones 2011-07-29 01:57:53 +00:00
Automatic Updater
34065cf7d0 update 2011-07-29 01:18:01 +00:00
Automatic Updater
9d5a84057d regen HEAD 2011-07-29 01:14:31 +00:00
Automatic Updater
cac2511906 update 2011-07-29 00:17:50 +00:00
Automatic Updater
2f17ad4545 update copyright notice 2011-07-28 23:47:59 +00:00
Curtis Blackburn
b068144e89 Actually adding the hash_test.c file... oops 2011-07-28 23:40:09 +00:00
Automatic Updater
e85565067c newcopyrights 2011-07-28 23:30:39 +00:00
Automatic Updater
8d9f248d70 auto update 2011-07-28 23:17:24 +00:00
Automatic Updater
5628f540ee update 2011-07-28 23:17:15 +00:00
Evan Hunt
c1e655fe4c punctuation tweak 2011-07-28 22:17:53 +00:00
Automatic Updater
b1ad566433 update 2011-07-28 21:17:06 +00:00
Curtis Blackburn
8787b357e6 3139.[test]added tests from RFC6234, RFC2202, and RFC1321 for the 2011-07-28 21:05:09 +00:00
Automatic Updater
17f6dae22f update 2011-07-28 14:17:07 +00:00
Automatic Updater
a44bf3209a regen 2011-07-28 13:33:09 +00:00
Automatic Updater
e20cfcf30f update 2011-07-28 12:17:35 +00:00
Mark Andrews
ea30861fe5 turn isc_socket_dup into a method 2011-07-28 11:42:41 +00:00
Mark Andrews
16f3aeab3c move declaration to start of function 2011-07-28 11:16:04 +00:00
Automatic Updater
8d113b32c7 update 2011-07-28 05:17:22 +00:00
Mark Andrews
31f46f1869 3138. [bug] Address memory leaks and out-of-order operations when
shutting named down. [RT #25210]
2011-07-28 04:27:27 +00:00
Automatic Updater
fe34ff3f45 update 2011-07-28 04:17:18 +00:00
Evan Hunt
f07b2fccaf 3137. [func] Improve hardware scalability by allowing multiple
worker threads to process incoming UDP packets.
			This can significantly increase query throughput
			on some systems.  [RT #22992]
2011-07-28 04:04:37 +00:00
Automatic Updater
8181aa6228 update 2011-07-28 03:28:10 +00:00
Mark Andrews
011080d64a add ${ISC_INCLUDES} 2011-07-28 03:20:45 +00:00
Evan Hunt
cf63d32d55 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-07-28 03:18:17 +00:00
Automatic Updater
f066d90419 update 2011-07-28 02:17:48 +00:00
Mark Andrews
79b273c187 manual 2011-07-28 01:20:24 +00:00
Automatic Updater
d966abcd94 update 2011-07-28 00:17:44 +00:00
Mark Andrews
062ddb1981 use UNUSED() 2011-07-27 23:38:21 +00:00
Automatic Updater
41bc9dbdb8 update 2011-07-27 17:17:22 +00:00
Michael Graff
bef8fcc7b3 remove csv output so we get a more pretty, human readable output for now. Should we want to change this later, we can change it back, but robie would need to somehow handle the atf output in the first place to make csv useful. Also, put our path first, otherwise it fails on NetBSD. 2011-07-27 16:31:07 +00:00
Automatic Updater
563d5a557e update 2011-07-27 15:17:37 +00:00
Mark Andrews
3bf9602e89 REDIRECT-NOTES 2011-07-27 14:40:06 +00:00
Automatic Updater
ff3275a584 update 2011-07-27 08:18:02 +00:00
Mark Andrews
8bd2b6923c silence 'expression result unused' from clang 2011-07-27 07:45:55 +00:00
Automatic Updater
dbd59eea1a update 2011-07-27 07:17:32 +00:00
Mark Andrews
56e85a97bb use UNUSED(x) not 'x = x' 2011-07-27 07:02:21 +00:00
Automatic Updater
3b411f3913 auto update 2011-07-26 23:17:27 +00:00
Automatic Updater
63d4c2f1cd update 2011-07-26 22:17:24 +00:00
Michael Graff
eef970447c regenerate 2011-07-26 22:07:50 +00:00
Michael Graff
ab3aeba682 fix for compiling on OSX Lion. Verified it compiles on Snow Leopard using older XCode as well. 2011-07-26 21:59:13 +00:00
Automatic Updater
e6edf80583 update 2011-07-26 05:17:16 +00:00
Mark Andrews
f96ba7c746 remove check for oldid as named may have already deleted it 2011-07-26 04:42:20 +00:00
Mark Andrews
acf34e66a8 id was not being properly set 2011-07-26 04:28:35 +00:00
Automatic Updater
6e58f5bdb9 auto update 2011-07-22 23:17:51 +00:00
Automatic Updater
cac8f93d72 update 2011-07-22 00:17:55 +00:00
Automatic Updater
c33e22f65a update copyright notice 2011-07-21 23:47:53 +00:00
Automatic Updater
7993124bd6 update 2011-07-21 07:17:24 +00:00
Mark Andrews
7a4d2ccb62 s/fallbackas/fallback as/ 2011-07-21 06:26:09 +00:00
Automatic Updater
c9c1e42450 update 2011-07-21 02:18:00 +00:00
Mark Andrews
6fab2f80c9 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:40:50 +00:00
Automatic Updater
be103586d4 auto update 2011-07-20 23:17:56 +00:00
Automatic Updater
ea3d6800de update 2011-07-20 17:17:06 +00:00
Curtis Blackburn
7439c4f402 removed #include <stdlib.h> from lib/dns/zone.c 2011-07-20 16:28:28 +00:00
Automatic Updater
c676ec768f update 2011-07-20 15:17:09 +00:00
Curtis Blackburn
6fc85cd749 added #include <stdlib.h> to lib/dns/zone.c 2011-07-20 14:28:24 +00:00
Automatic Updater
fea318846e update 2011-07-20 00:17:47 +00:00
Automatic Updater
3d73f493d0 update copyright notice 2011-07-19 23:47:48 +00:00
Automatic Updater
ff1da86e37 update 2011-07-19 04:17:22 +00:00
Mark Andrews
96ade2bc52 3134. [bug] Improve the accuracy of dnssec-signzone's signing
statistics. [RT #16030]
2011-07-19 04:09:27 +00:00
Automatic Updater
4a2fa3c54d update 2011-07-18 00:17:46 +00:00
Automatic Updater
b86a75e3ad newcopyrights 2011-07-17 23:30:37 +00:00
Automatic Updater
a996870537 update 2011-07-17 03:18:23 +00:00
Automatic Updater
c59de0f52f update 2011-07-17 02:17:13 +00:00
Automatic Updater
06a430bbb9 update 2011-07-17 01:17:51 +00:00
Automatic Updater
8c2805123d update 2011-07-17 00:17:47 +00:00
Mark Andrews
682a5f6aca manual update 2011-07-16 23:50:59 +00:00
Automatic Updater
c764d6e52a auto update 2011-07-16 23:17:35 +00:00
Automatic Updater
c2de30debf update 2011-07-16 19:17:21 +00:00
Automatic Updater
59c828dbac auto update 2011-07-13 23:17:40 +00:00
Automatic Updater
2781d76f32 update 2011-07-09 00:17:42 +00:00
Automatic Updater
de6d0a4a36 update copyright notice 2011-07-08 23:47:54 +00:00
Automatic Updater
60d5d17479 newcopyrights 2011-07-08 23:30:39 +00:00
Automatic Updater
10c1aa75eb update 2011-07-08 22:17:09 +00:00
Scott Mann
632e44d19e changed "func" to "tuning" for CHANGES #3131 2011-07-08 21:21:25 +00:00
Automatic Updater
4fbd7f6380 update 2011-07-08 02:17:19 +00:00
Evan Hunt
b47c020d5c 3133. [bug] Change #3114 was incomplete. [RT #24577] 2011-07-08 01:43:26 +00:00
Automatic Updater
c324478d8d update 2011-07-08 00:17:46 +00:00
Automatic Updater
2a36d8ca40 update copyright notice 2011-07-07 23:47:50 +00:00
Automatic Updater
cc5a9ce75a newcopyrights 2011-07-07 23:30:39 +00:00
Automatic Updater
062cc764b1 auto update 2011-07-07 23:18:04 +00:00
Automatic Updater
2e0c6c0e45 update 2011-07-07 01:17:41 +00:00
Mark Andrews
1fdd584450 manual additions 2011-07-07 00:43:55 +00:00
Automatic Updater
9eda315458 update 2011-07-07 00:17:32 +00:00
Automatic Updater
69f5c36b39 update copyright notice 2011-07-06 23:47:43 +00:00
Automatic Updater
5bd20c4b1f auto update 2011-07-06 23:17:14 +00:00
Automatic Updater
1118d3f6d3 update 2011-07-06 19:17:10 +00:00
Evan Hunt
4b08de9499 3132. [placeholder] 2011-07-06 19:03:19 +00:00
Automatic Updater
14adcc3dc4 update 2011-07-06 18:17:08 +00:00
Evan Hunt
67be612120 *** empty log message *** 2011-07-06 18:13:22 +00:00
Evan Hunt
29f6e3e4f9 update cvsignore 2011-07-06 18:12:25 +00:00
Evan Hunt
2a749b3535 oops, missed updating the signature of dns_test_begin() when I merged
update_test.c
2011-07-06 18:11:35 +00:00
Automatic Updater
d03846f6d8 update 2011-07-06 05:17:05 +00:00
Evan Hunt
c46ce2d79b 3131. [func] Improve scalability by allocating one zone task
per 100 zones at startup time, rather than using a
			fixed-size task table. [RT #24406]
2011-07-06 05:05:52 +00:00
Automatic Updater
b5b6bddcd9 regen 2011-07-06 05:02:47 +00:00
Automatic Updater
52f427490e update 2011-07-06 02:17:17 +00:00
Evan Hunt
42cf2ff7ba 3131. [func] Improve scalability by allocating one zone task
per 100 zones at startup time, rather than using a
			fixed-size task table. [RT #24406]
2011-07-06 01:36:32 +00:00
Automatic Updater
007eafcd07 update 2011-07-02 01:17:45 +00:00
Automatic Updater
06ac94d81a regen HEAD 2011-07-02 01:14:42 +00:00
Automatic Updater
6f5b5f27e1 update 2011-07-02 00:17:44 +00:00
Automatic Updater
122230159d update copyright notice 2011-07-01 23:47:44 +00:00
Automatic Updater
f22980c16f newcopyrights 2011-07-01 23:30:35 +00:00
Automatic Updater
e750d9564c update 2011-07-01 08:17:31 +00:00
Evan Hunt
d3b9eefd1c 3130. [func] Support alternate methods for managing a dynamic
zone's serial number. Two methods are currently
			defined using serial-update-method, "increment"
			(default) and "unixtime". [RT #23849]
2011-07-01 07:15:19 +00:00
Automatic Updater
21cdffb453 update 2011-07-01 03:18:20 +00:00
Mark Andrews
a69070d8fa 3130. [func] Support alternate methods for managing a dynamic
zone's serial number.  Two methods are currently
                        defined using serial-update-method, "increment"
                        (default) and "unixtime".  [RT #23849]
2011-07-01 02:25:48 +00:00
Automatic Updater
923fba44d3 auto update 2011-06-30 23:17:26 +00:00
Automatic Updater
7150c9ba77 auto update 2011-06-28 23:17:36 +00:00
Automatic Updater
57f81c14ac auto update 2011-06-27 23:17:15 +00:00
Automatic Updater
2c212cc8ca auto update 2011-06-25 23:17:15 +00:00
Automatic Updater
2e62922c48 update 2011-06-22 01:17:34 +00:00
Automatic Updater
71abcecb3b regen HEAD 2011-06-22 01:14:38 +00:00
Automatic Updater
8c13a83459 update 2011-06-21 23:17:06 +00:00
Evan Hunt
cba23be7ba Add the newly discovered PoD to the nsupdate test. (No CHANGES note.) 2011-06-21 22:15:05 +00:00
Automatic Updater
a4e4c9b50d update 2011-06-21 06:17:10 +00:00
Mark Andrews
0fc9a7b571 9.9 not 9.7 2011-06-21 05:33:21 +00:00
Automatic Updater
169bdcaddf auto update 2011-06-20 23:17:20 +00:00
Automatic Updater
a192b898c9 update 2011-06-20 16:17:06 +00:00
Paul Ebersman
4939b6c7df corrected RT ticket typo in 3126, should be 24766 2011-06-20 15:42:45 +00:00
Automatic Updater
446e649aa8 update 2011-06-18 00:17:44 +00:00
Automatic Updater
313b4dc3b2 update copyright notice 2011-06-17 23:47:49 +00:00
Automatic Updater
9c446b7206 newcopyrights 2011-06-17 23:30:37 +00:00
Automatic Updater
6c8506ff21 update 2011-06-17 08:17:12 +00:00
Mark Andrews
b4eaa17e82 update for api changes 2011-06-17 07:28:33 +00:00
Mark Andrews
53d308d83b typo 2011-06-17 07:21:12 +00:00
Automatic Updater
7900f23007 update 2011-06-17 07:17:10 +00:00
Evan Hunt
e7220c9b84 3129. [bug] Named could crash on 'rndc reconfig' when
allow-new-zones was set to yes and named ACLs
			were used, [RT #22739]
2011-06-17 07:05:02 +00:00
Automatic Updater
df3b71f74d auto update 2011-06-16 23:17:04 +00:00
Automatic Updater
275b0e219a auto update 2011-06-15 23:17:14 +00:00
Automatic Updater
8e5d595dca update 2011-06-11 01:17:34 +00:00
Automatic Updater
aa801d4cc3 regen HEAD 2011-06-11 01:14:45 +00:00
Automatic Updater
1bc40761a6 update 2011-06-11 00:17:33 +00:00
Automatic Updater
0f467ed4d4 update copyright notice 2011-06-10 23:47:32 +00:00
Automatic Updater
4ea3649f02 newcopyrights 2011-06-10 23:30:35 +00:00
Automatic Updater
6353dba50d update 2011-06-10 02:17:05 +00:00
Evan Hunt
79ce3a9e82 3128. [func] Inserting an NSEC3PARAM via dynamic update in an
auto-dnssec zone that has not been signed yet
			will cause it to be signed with the specified NSEC3
			parameters when keys are activated.  The
			NSEC3PARAM record will not appear in the zone until
			it is signed, but the parameters will be stored.
			[RT #23684]
2011-06-10 01:51:09 +00:00
Evan Hunt
5e3affc6a0 3127. [bug] 'rndc thaw' will now remove a zone's journal file
if the zone serial number has been changed and
			ixfr-from-differences is not in use.  [RT #24687]
2011-06-10 01:32:38 +00:00
Automatic Updater
67d9642fc3 update 2011-06-10 01:17:42 +00:00
Automatic Updater
f0da471019 regen HEAD 2011-06-10 01:14:39 +00:00
Automatic Updater
4269ba424c update 2011-06-09 03:17:47 +00:00
Mark Andrews
475b1ed9cc 3126. [security] Using DNAME record to generate replacements caused
RPZ to exit with a assertion failure. [RT #23766]
2011-06-09 03:10:17 +00:00
Automatic Updater
3b2040fb15 update 2011-06-09 01:17:42 +00:00
Mark Andrews
b64e3b8358 3125. [security] Using wildcard CNAME records as a replacement with
RPZ caused named to exit with a assertion failure.
                        [RT #24715]
2011-06-09 00:42:51 +00:00
Evan Hunt
2a6d60615c Fixed an nsupdate test error 2011-06-09 00:15:05 +00:00
Automatic Updater
0983323154 auto update 2011-06-08 23:16:55 +00:00
Automatic Updater
29ced409ab update 2011-06-08 22:17:02 +00:00
Evan Hunt
6de9744cf9 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-08 22:13:51 +00:00
Automatic Updater
46a8315efe auto update 2011-06-07 23:17:33 +00:00
Automatic Updater
b833cfffdd update 2011-06-07 02:17:20 +00:00
Scott Mann
07797bfb1f fix RT 24561 2011-06-07 01:45:38 +00:00
Automatic Updater
3c7e88868a auto update 2011-06-06 23:16:59 +00:00
Automatic Updater
ba260b39f8 update 2011-06-06 02:18:02 +00:00
Automatic Updater
9dc3f9c95f cleanup removed files 2011-06-06 01:28:54 +00:00
Automatic Updater
52d4a52c60 auto update 2011-06-03 23:17:51 +00:00
Automatic Updater
5e5d5f393e auto update 2011-06-02 23:17:04 +00:00
Automatic Updater
89f0136bdf update 2011-06-02 21:17:27 +00:00
Evan Hunt
6b95b91c61 3122. [cleanup] dnssec-settime: corrected usage message. [RT #24664] 2011-06-02 20:24:45 +00:00
Automatic Updater
9b97f0ede6 auto update 2011-06-01 23:17:41 +00:00
Automatic Updater
035c378036 update 2011-05-31 14:17:47 +00:00
Mark Andrews
ec564e401a add debugging output on test failure 2011-05-31 13:52:06 +00:00
Automatic Updater
a22e1c4e70 update 2011-05-30 23:18:11 +00:00
Mark Andrews
ae0691566a date +%s is not portable, use perl -e 'print time();', Adjust messages 2011-05-30 22:32:06 +00:00
Automatic Updater
4e3be43e8a update 2011-05-30 15:17:59 +00:00
Scott Mann
5588b32695 This is a workaround fix for a problem in Solaris 10 (specifically on thing1)
for which a root cause has not yet been found. RT #24561.
2011-05-30 15:13:49 +00:00
Automatic Updater
1f69914bc4 update 2011-05-30 08:18:25 +00:00
Mark Andrews
fe8572e116 The old active key could be deleted before the "former standby key has now
signed fully" ran causing it to fail.  Delay the deletion by 10 seconds.
2011-05-30 07:25:19 +00:00
Automatic Updater
7b1b9e7163 auto update 2011-05-27 23:27:45 +00:00
Automatic Updater
e6290b4d1b update 2011-05-27 00:17:17 +00:00
Automatic Updater
6406d6507a update copyright notice 2011-05-26 23:47:28 +00:00
Automatic Updater
7f814b8b16 newcopyrights 2011-05-26 23:37:02 +00:00
Automatic Updater
b1050011bf update 2011-05-26 23:17:21 +00:00
Automatic Updater
0977de5e55 auto update 2011-05-26 23:16:10 +00:00
Evan Hunt
fbe2cff19f 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:11:15 +00:00
Automatic Updater
df4193696f update 2011-05-26 08:17:37 +00:00
Mark Andrews
4100ae5109 move dns_trust_totext from masterdump.c to rdataset.c so that exportlib will build 2011-05-26 07:56:39 +00:00
Automatic Updater
37c7dfe92c update 2011-05-26 05:17:01 +00:00
Mark Andrews
e482a4a340 list -> listed 2011-05-26 04:57:25 +00:00
Mark Andrews
ea82782532 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-26 04:35:02 +00:00
Evan Hunt
0245f7725c 3118. [bug] When rolling to a new DNSSEC key, a private-type
record could be created and never marked complete.
			[RT #23253]
2011-05-26 04:25:47 +00:00
Automatic Updater
798ecee049 update 2011-05-26 00:17:37 +00:00
Automatic Updater
00678e367d update copyright notice 2011-05-25 23:47:16 +00:00
Automatic Updater
88d58d79c5 newcopyrights 2011-05-25 23:31:27 +00:00
Automatic Updater
adb6daf322 auto update 2011-05-25 23:17:41 +00:00
Automatic Updater
a07664121a update 2011-05-25 01:17:16 +00:00
Mark Andrews
021bc5b3cc add DRUZ zone with DS records 2011-05-25 01:06:56 +00:00
Automatic Updater
3980c6081a update 2011-05-24 01:17:39 +00:00
Automatic Updater
9ce6056d52 regen HEAD 2011-05-24 01:14:44 +00:00
Automatic Updater
6671e343b8 newcopyrights 2011-05-23 23:25:44 +00:00
Automatic Updater
dad1c7db57 update 2011-05-23 23:17:17 +00:00
Evan Hunt
47e70d820e 3118. [bug] nsupdate could dump core on shutdown when using
SIG(0) keys. [RT #24604]
2011-05-23 22:25:32 +00:00
Automatic Updater
d72f90e8a3 update 2011-05-23 21:17:03 +00:00
Evan Hunt
eee7f742ea 3117. [cleanup] Remove doc and parser references to the
never-implemented 'auto-dnssec create' option.
			[RT #24533]
2011-05-23 21:10:26 +00:00
Automatic Updater
f582b779fa update 2011-05-23 20:17:01 +00:00
Evan Hunt
c5660d514b grammar repair 2011-05-23 20:11:14 +00:00
Evan Hunt
bfe32d08c5 3116. [func] New 'dnssec-update-mode' option controls updates
of DNSSEC records in signed dynamic zones.  Set to
			'no-resign' to disable automatic RRSIG regeneration
			while retaining the ability to sign new or changed
			data. [RT #24533]
2011-05-23 20:10:03 +00:00
Automatic Updater
86e92d6a9a update 2011-05-22 00:17:35 +00:00
Automatic Updater
4461317255 newcopyrights 2011-05-21 23:31:17 +00:00
Automatic Updater
34be68dbcc update 2011-05-21 15:17:02 +00:00
Evan Hunt
fc6364bf24 expiring.example.db.in was left out when committing rt23136 to HEAD 2011-05-21 15:07:10 +00:00
Automatic Updater
6a89283e3a auto update 2011-05-20 23:17:01 +00:00
Automatic Updater
c62606c547 update 2011-05-20 15:17:04 +00:00
Paul Ebersman
722fa6417b corrected RT bug number from 2445 to 24455. 2011-05-20 14:22:21 +00:00
Automatic Updater
f5cabd37a1 update 2011-05-20 05:17:29 +00:00
Mark Andrews
c0984ac8bd 3115. [bug] Named could fail to return requested data when
following a CNAME that points into the same zone.
                        [RT #2445]
2011-05-20 05:09:30 +00:00
Automatic Updater
23465021dd update 2011-05-20 00:17:44 +00:00
Automatic Updater
b1b37b61da update copyright notice 2011-05-19 23:47:17 +00:00
Automatic Updater
c97a42f7d4 auto update 2011-05-19 23:17:41 +00:00
Automatic Updater
3bcda8df81 update 2011-05-19 22:17:04 +00:00
Evan Hunt
ff330a6273 another post-commit fix for change 3114: call dns_db_resigned()/
dns_db_setsigningtime() only when incrementally resigning, not other
times.
2011-05-19 21:29:07 +00:00
Automatic Updater
3ca23628d6 update 2011-05-19 05:17:13 +00:00
Evan Hunt
276f9fac3e another post-commit bugfix for change 3114: need to take rndc freeze into
account in determining whether zone is dynamic
2011-05-19 04:44:58 +00:00
Evan Hunt
d9343d917a minor code simplification 2011-05-19 04:33:17 +00:00
Evan Hunt
2a4f494565 Change 3114 wasn't complete--needed to remove another call to
dns_db_resigned().
2011-05-19 04:28:33 +00:00
Automatic Updater
20d318b517 update 2011-05-19 01:17:42 +00:00
Scott Mann
a50ce0f80b Fix for RT #23136 task 1. 2011-05-19 00:31:57 +00:00
Automatic Updater
8513ad9a35 auto update 2011-05-18 23:17:53 +00:00
Automatic Updater
27497355a5 update 2011-05-18 01:17:26 +00:00
Automatic Updater
6100dfd774 regen HEAD 2011-05-18 01:14:43 +00:00
Automatic Updater
c2cf09a52b update 2011-05-17 05:17:05 +00:00
Mark Andrews
7609e973f5 3113. [doc] Document the relationship between serial-query-rate
and NOTIFY messages.
2011-05-17 04:48:51 +00:00
Automatic Updater
609003da03 update 2011-05-17 02:17:10 +00:00
Evan Hunt
ab77e813ea add dns_dnssec_signs 2011-05-17 01:48:24 +00:00
Automatic Updater
77301ae599 update 2011-05-17 01:17:39 +00:00
Automatic Updater
93a5136c2b regen HEAD 2011-05-17 01:14:37 +00:00
Automatic Updater
0258e39da3 update 2011-05-17 00:17:48 +00:00
Automatic Updater
687d47f6c9 update copyright notice 2011-05-16 23:47:41 +00:00
Automatic Updater
8a063f40c3 newcopyrights 2011-05-16 23:31:06 +00:00
Automatic Updater
8a9879437d update 2011-05-16 23:17:14 +00:00
Evan Hunt
5c8ec4d5ea "make install" was failing when building with both exportlibs and libtool.
(trivial makefile fix, no CHANGES note.) [RT #24425]
2011-05-16 22:58:05 +00:00
Automatic Updater
31c50ce581 update 2011-05-16 04:17:00 +00:00
Mark Andrews
0268e42b4e 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:09:34 +00:00
Automatic Updater
4f3779176a update 2011-05-09 01:17:22 +00:00
Automatic Updater
d9c707589a regen HEAD 2011-05-09 01:14:47 +00:00
Automatic Updater
421c940d1b update 2011-05-08 07:17:04 +00:00
Mark Andrews
789875a1bd named.conf copyrights 2011-05-08 07:12:48 +00:00
Mark Andrews
aeea801711 fix also-notify 2011-05-08 06:49:18 +00:00
Automatic Updater
81b0936b5f update 2011-05-08 00:17:48 +00:00
Automatic Updater
25db028666 update copyright notice 2011-05-07 23:47:28 +00:00
Automatic Updater
80af59ad4d newcopyrights 2011-05-07 23:31:14 +00:00
Automatic Updater
267113ba53 update 2011-05-07 15:17:04 +00:00
Mark Andrews
db334bba24 <command> -> </command> 2011-05-07 14:39:17 +00:00
Automatic Updater
1f6f78165d update 2011-05-07 06:17:51 +00:00
Evan Hunt
de7df3e56f 3111. [bug] Improved consistency checks for dnssec-enable and
dnssec-validation, added test cases to the
                        checkconf system test. [RT #24398]
2011-05-07 05:55:17 +00:00
Automatic Updater
d00e9bccd8 update 2011-05-07 01:17:53 +00:00
Evan Hunt
be84733145 3110. [bug] dnssec-signzone: Wrong error message could appear
when attempting to sign with no KSK. [RT #24369]
2011-05-07 00:31:13 +00:00
Automatic Updater
822f6ba100 update 2011-05-07 00:17:47 +00:00
Automatic Updater
40717638fa update copyright notice 2011-05-06 23:47:29 +00:00
Automatic Updater
55f7099aad newcopyrights 2011-05-06 23:31:29 +00:00
Automatic Updater
48898affe6 update 2011-05-06 22:17:03 +00:00
Evan Hunt
0c3acefdc1 Additional documentation for change #3109 (forgot to mention named masters
lists in the ARM).  Reviewed by Scott.
2011-05-06 21:41:43 +00:00
Evan Hunt
ac21f918f2 3109. [func] The also-notify option now uses the same syntax
as a zone's masters clause.  This means it is
			now possible to specify a TSIG key to use when
			sending notifies to a given server, or to include
			an explicit named masters list in an also-notfiy
			statement.  [RT #23508]
2011-05-06 21:23:51 +00:00
Automatic Updater
8fcfce399c update 2011-05-06 21:17:08 +00:00
Evan Hunt
485522d7e1 3108. [cleanup] dnssec-signzone: Clarified some error and
warning messages; removed #ifdef ALLOW_KSKLESS_ZONES
			code (use -P instead). [RT #20852]

3107.	[bug]		dnssec-signzone: Report the correct number of ZSKs
			when using -x. [RT #20852]
2011-05-06 21:08:33 +00:00
Automatic Updater
be62d18065 update 2011-05-06 00:17:41 +00:00
Automatic Updater
a30e1b26b4 update copyright notice 2011-05-05 23:47:17 +00:00
Mark Andrews
fe646be4b7 set/reset client->signer. change 3106 used it before it was set 2011-05-05 23:44:52 +00:00
Automatic Updater
5f4db4a664 newcopyrights 2011-05-05 23:31:22 +00:00
Automatic Updater
1958e01cbc update 2011-05-05 23:17:14 +00:00
Automatic Updater
ed54d3e114 auto update 2011-05-05 23:16:59 +00:00
Scott Mann
b2b3209149 added g 2011-05-05 23:15:56 +00:00
Scott Mann
101e493844 remove trailing whitespace from pid (RT 24388) 2011-05-05 23:10:24 +00:00
Scott Mann
58d7c91b65 remove trailing newline from pid (RT #24388) 2011-05-05 22:56:55 +00:00
Automatic Updater
15c6789025 update 2011-05-05 20:17:12 +00:00
Evan Hunt
9eea4c5cbd 3106. [func] When logging client requests, include the name of
the TSIG key if any. [RT #23619]
2011-05-05 20:04:24 +00:00
Automatic Updater
e993d64530 regen 2011-05-05 19:20:11 +00:00
Automatic Updater
bc91159763 update 2011-05-05 18:17:04 +00:00
Evan Hunt
85a79fa7eb 3105. [bug] GOST support can be suppressed by "configure
--without-gost" [RT #24367]

3104.   [bug]           Better support for cross-compiling. [RT #24367]
2011-05-05 18:09:39 +00:00
Evan Hunt
989fb50178 fixed an error in prior commit 2011-05-05 18:04:01 +00:00
Automatic Updater
50c87858d4 update 2011-05-05 16:17:07 +00:00
Evan Hunt
d454a60f56 3103. [bug] Configuring 'dnssec-validation auto' in a view
instead of in the options statement could trigger
			an assertion failure in named-checkconf. [RT #24382]
2011-05-05 16:13:35 +00:00
Automatic Updater
cecfa999b5 update 2011-05-05 05:17:17 +00:00
Mark Andrews
83bf223210 explictly kill the process if the server fails to start, check for a non zero length pid file 2011-05-05 04:47:45 +00:00
Automatic Updater
38c0ea1339 auto update 2011-05-04 23:17:10 +00:00
Automatic Updater
3d0f1b9756 update 2011-05-03 16:16:59 +00:00
Mark Andrews
46d3c6cf40 grep was not precise enough leading to test failure 2011-05-03 16:07:44 +00:00
Automatic Updater
e67d104619 update 2011-05-03 00:17:40 +00:00
Mark Andrews
f1d4986b83 treat asb(x) < 500ms as 0 2011-05-02 23:56:59 +00:00
Automatic Updater
2ca3a2b6c3 update 2011-05-02 05:17:05 +00:00
Mark Andrews
65043f48f2 force numeric comparision 2011-05-02 05:05:05 +00:00
Automatic Updater
c45b7e1660 update 2011-05-02 02:17:05 +00:00
Mark Andrews
07907fa31a handle end of day 2011-05-02 01:35:04 +00:00
Automatic Updater
23b45d70e6 update 2011-05-01 21:47:17 +00:00
Mark Andrews
bbf46f1aa2 fix expression 2011-05-01 21:36:33 +00:00
Automatic Updater
8791b17f4f update 2011-05-01 12:17:05 +00:00
Mark Andrews
f83682f368 awk -v is not portable, add floating point arithmetic effects 2011-05-01 11:29:20 +00:00
Automatic Updater
0965226c06 update 2011-04-30 01:17:33 +00:00
Automatic Updater
db6353c9b8 regen HEAD 2011-04-30 01:14:43 +00:00
Automatic Updater
fa5637ce27 update 2011-04-30 00:17:40 +00:00
Automatic Updater
54968ae88e update copyright notice 2011-04-29 23:47:18 +00:00
Automatic Updater
75333ed9bf newcopyrights 2011-04-29 23:31:17 +00:00
Automatic Updater
1976d2f12e update 2011-04-29 22:17:06 +00:00
Evan Hunt
39f2d1a96a 3102. [func] New 'dnssec-loadkeys-interval' option configures
how often, in minutes, to check the key repository
			for updates when using automatic key maintenance.
			Default is every 60 minutes (formerly hard-coded
			to 12 hours). [RT #23744]

3101.	[bug]		Zones using automatic key maintenance could fail
			to check the key repository for updates. [RT #23744]
2011-04-29 21:37:15 +00:00
Automatic Updater
a1813ce2c3 update 2011-04-28 00:17:39 +00:00
Automatic Updater
46ce2f7b60 update copyright notice 2011-04-27 23:47:26 +00:00
Automatic Updater
a2869c18ef auto update 2011-04-27 23:17:00 +00:00
Automatic Updater
99ee63ceda update 2011-04-27 18:17:06 +00:00
Evan Hunt
76db58eb81 3100. [security] Certain response policy zone configurations could
trigger an INSIST when receiving a query of type
			RRSIG. [RT #24280]
2011-04-27 17:46:47 +00:00
Automatic Updater
76c2a4e3b5 auto update 2011-04-26 23:16:56 +00:00
Automatic Updater
2d0ba1fe1c auto update 2011-04-25 23:17:07 +00:00
Automatic Updater
4d646548ec update 2011-04-20 00:17:42 +00:00
Automatic Updater
7021f2faa0 update copyright notice 2011-04-19 23:47:52 +00:00
Automatic Updater
6e26c3b134 newcopyrights 2011-04-19 23:30:51 +00:00
Automatic Updater
9cc53fdae1 update 2011-04-19 23:17:24 +00:00
Automatic Updater
9c0d50a26e regen 2011-04-19 22:32:47 +00:00
Evan Hunt
7a2173839c 3099. [test] "dlz" system test now runs but gives R:SKIPPED if
not compiled with --with-dlz-filesystem.  [RT #24146]

3098.	[bug]		DLZ zones were answering without setting the AA bit.
			[RT #24146]
2011-04-19 22:30:52 +00:00
Automatic Updater
7c831a33f9 auto update 2011-04-18 23:17:27 +00:00
Automatic Updater
d5c6235244 update 2011-04-16 00:17:49 +00:00
Automatic Updater
9ee40883ee newcopyrights 2011-04-15 23:31:15 +00:00
Automatic Updater
81769a0844 update 2011-04-15 01:17:21 +00:00
Evan Hunt
c92122485d 3097. [test] Add a tool to test handling of malformed packets.
[RT #24096]
2011-04-15 01:02:08 +00:00
edmonds
d9d81d3cc6 update 2011-04-13 23:23:09 +00:00
Automatic Updater
0bac0179cd update 2011-04-08 06:17:26 +00:00
Mark Andrews
1aaedde67b whitespace 2011-04-08 05:37:18 +00:00
Mark Andrews
1b9a5fa77f isc_file_isplainfile 2011-04-08 05:36:15 +00:00
Automatic Updater
18d734fb78 update 2011-04-08 05:17:04 +00:00
Mark Andrews
53c1e5f991 dns_cache_create3 2011-04-08 04:45:03 +00:00
Automatic Updater
a66f4e6d88 update 2011-04-07 23:17:21 +00:00
Mark Andrews
2b3bcbce23 3096. [bug] Set KRB5_KTNAME before calling log_cred() in
dst_gssapi_acceptctx(). [RT #24004]
2011-04-07 23:03:22 +00:00
Automatic Updater
8662040076 update 2011-04-07 01:17:38 +00:00
Automatic Updater
b287974d18 regen HEAD 2011-04-07 01:14:32 +00:00
Automatic Updater
fd68f4963c update 2011-04-06 22:16:59 +00:00
Automatic Updater
03d5834b14 missling \ 2011-04-06 21:21:03 +00:00
Scott Mann
fbcc480b6c missing \ 2011-04-06 21:18:13 +00:00
Automatic Updater
630084bc06 update 2011-04-06 11:17:11 +00:00
Mark Andrews
9cf04a12ec 3095. [bug] Handle isolated reserved ports in the port range.
[RT #23957]
2011-04-06 10:27:16 +00:00
Automatic Updater
e2c9eed7ff update 2011-04-06 05:17:21 +00:00
Mark Andrews
9f36aef24c 3094. [doc] Expand dns64 documentation. 2011-04-06 04:20:58 +00:00
Automatic Updater
adc8d87b27 update 2011-04-05 20:16:56 +00:00
Automatic Updater
b22a3ac2b9 fixes for default --with-gssapi 2011-04-05 19:20:21 +00:00
Scott Mann
c7e1812d02 a few more "--with-gssapi" as default fixes to correct problems on test
systems
2011-04-05 19:16:54 +00:00
Automatic Updater
b3dd65553f update 2011-04-05 16:17:11 +00:00
Scott Mann
80593d9802 one character typo. 2011-04-05 16:10:39 +00:00
Automatic Updater
a0ef11263a update 2011-04-05 07:17:13 +00:00
Mark Andrews
6b89a2c905 format portability: cast socklen_t -> long and use %ld 2011-04-05 06:33:50 +00:00
Automatic Updater
5c9e212049 auto update 2011-04-04 23:16:44 +00:00
Automatic Updater
0459baf222 update 2011-04-04 11:17:07 +00:00
Mark Andrews
60821a4c33 1 -> 1U 2011-04-04 11:09:11 +00:00
Automatic Updater
a4e779389e auto update 2011-04-01 23:17:21 +00:00
Automatic Updater
7dbb11b49a update 2011-03-31 16:17:04 +00:00
Evan Hunt
4e5fc672bc Corrected a bug in the dnssec test introduced in change #3046. 2011-03-31 15:58:51 +00:00
Automatic Updater
37f8ce0362 update 2011-03-31 00:17:34 +00:00
Automatic Updater
e2d4cd0ae4 update copyright notice 2011-03-30 23:47:12 +00:00
Automatic Updater
879391501e newcopyrights 2011-03-30 23:31:16 +00:00
Automatic Updater
c2f8145da3 update 2011-03-30 16:16:58 +00:00
Automatic Updater
aca313aa41 fix up configure for RT #23836 2011-03-30 15:49:28 +00:00
Scott Mann
761fa7d770 Fixes for various OS/environs for RT #23836 (--with-gssapi as default). 2011-03-30 15:48:41 +00:00
Automatic Updater
18a401ef0b update 2011-03-29 21:17:05 +00:00
Paul Ebersman
e1234be3ad corrected RT ticket number for changes number 3091 to 22911. 2011-03-29 20:22:38 +00:00
Automatic Updater
8c6eb84587 update 2011-03-28 23:17:09 +00:00
Automatic Updater
3444542bf5 auto update 2011-03-28 23:16:41 +00:00
Automatic Updater
a858b8734a Generating configure for fix to RT #23836. 2011-03-28 22:49:25 +00:00
Scott Mann
30f888cbd4 Fix gssapi/kerberos dependencies in configure (RT #23836) 2011-03-28 22:48:12 +00:00
Automatic Updater
719e1d626c update 2011-03-28 06:17:10 +00:00
Mark Andrews
64abedd85a unsigned constants 2011-03-28 05:32:16 +00:00
Mark Andrews
fade3b5f91 unsigned constants 2011-03-28 05:20:08 +00:00
Automatic Updater
ddf3032710 update 2011-03-28 05:17:37 +00:00
Mark Andrews
779c84fb32 style 2011-03-28 05:14:51 +00:00
Mark Andrews
4768c1d9a4 while (1) -> for (;;) 2011-03-28 05:11:43 +00:00
Automatic Updater
283addf25e update 2011-03-28 04:17:49 +00:00
Mark Andrews
d97637ce11 unsigned constants 2011-03-28 03:41:55 +00:00
Automatic Updater
84451febdb update 2011-03-28 01:17:26 +00:00
Automatic Updater
795a316ec5 regen HEAD 2011-03-28 01:14:35 +00:00
Automatic Updater
17a5ad2313 update 2011-03-28 00:17:36 +00:00
Automatic Updater
8a50411a00 newcopyrights 2011-03-27 23:31:05 +00:00
Automatic Updater
8b13511900 update 2011-03-27 07:17:02 +00:00
Mark Andrews
2ae23f7fc6 </para> -> <para> 2011-03-27 06:39:59 +00:00
Mark Andrews
6cf447fbe3 remove removed files 2011-03-27 06:36:41 +00:00
Automatic Updater
7f2c06b03a update 2011-03-27 00:17:39 +00:00
Automatic Updater
40072ce70b newcopyrights 2011-03-26 23:31:04 +00:00
Automatic Updater
fce2a3a3df auto update 2011-03-26 23:17:24 +00:00
Automatic Updater
8197c463a3 update 2011-03-26 02:17:02 +00:00
Evan Hunt
eb08f01b96 Forgot to add a data file for the autosign test. 2011-03-26 01:19:03 +00:00
Automatic Updater
ac104983c3 update 2011-03-26 00:17:36 +00:00
Evan Hunt
319b8a1488 3092. [bug] Signatures for records at the zone apex could go
stale due to an incorrect timer setting. [RT #23769]

3091.	[bug]		Fixed a bug in which zone keys that were published
			and then subsequently activated could fail to trigger
			automatic signing. [RT #22991]
2011-03-25 23:53:02 +00:00
Automatic Updater
796710bf10 update 2011-03-25 03:18:08 +00:00
Mark Andrews
fdc2d31c00 </para>-><para> 2011-03-25 03:08:44 +00:00
Automatic Updater
f3ef9637bd update 2011-03-25 00:17:29 +00:00
Automatic Updater
06140f733a update copyright notice 2011-03-24 23:47:48 +00:00
Automatic Updater
11af78f7dc newcopyrights 2011-03-24 23:30:50 +00:00
Automatic Updater
0ea1ad51f2 auto update 2011-03-24 23:16:28 +00:00
Automatic Updater
bf7342d576 update 2011-03-24 22:16:58 +00:00
Mark Andrews
be046d6923 9.9.0a1 2011-03-24 21:37:27 +00:00
Automatic Updater
b7da47f20c update 2011-03-24 19:17:04 +00:00
Automatic Updater
5b53caa7a0 regen 2011-03-24 18:17:29 +00:00
Automatic Updater
13d4da105b update 2011-03-24 18:17:04 +00:00
Scott Mann
4fc55db699 Make --with-gssapi default (RT #23738) 2011-03-24 18:08:21 +00:00
Automatic Updater
2deae6ddd8 update 2011-03-24 02:17:01 +00:00
Mark Andrews
0a82492610 3089. [func] dnssec-dsfromkey now supports reading keys from
standard input "dnssec-dsfromkey -f -". [RT# 20662]
2011-03-24 02:10:23 +00:00
Automatic Updater
1a4753fd04 auto update 2011-03-23 23:16:35 +00:00
Automatic Updater
82a879ec47 update 2011-03-23 00:17:44 +00:00
Automatic Updater
4f06155c8f update copyright notice 2011-03-22 23:47:30 +00:00
Automatic Updater
95f0d3f642 auto update 2011-03-22 23:17:51 +00:00
Automatic Updater
570e571faf update 2011-03-22 20:17:37 +00:00
Scott Mann
792b362aef fixup for RT #23687 2011-03-22 19:32:43 +00:00
Automatic Updater
8795da3797 update 2011-03-22 18:17:04 +00:00
Scott Mann
1760d5e5f2 For some reason, this didn't get removed before (RT #23687) 2011-03-22 17:20:03 +00:00
Automatic Updater
3be9c949a9 update 2011-03-22 17:17:06 +00:00
Scott Mann
95759de490 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 16:51:50 +00:00
Automatic Updater
e373527fba update 2011-03-22 04:17:46 +00:00
Evan Hunt
c2255e8614 Fixed a bug that was exposed by change #3085. 2011-03-22 03:19:38 +00:00
Automatic Updater
d72ac59bf2 update 2011-03-22 01:17:21 +00:00
Automatic Updater
7717ec7a6a regen HEAD 2011-03-22 01:14:27 +00:00
Mark Andrews
e706901292 add test numbers 2011-03-22 00:41:53 +00:00
Automatic Updater
adec4ddecc update 2011-03-22 00:17:25 +00:00
Automatic Updater
6333ba02a5 update copyright notice 2011-03-21 23:47:21 +00:00
Automatic Updater
da82e23216 newcopyrights 2011-03-21 23:32:00 +00:00
Automatic Updater
a171cbe30c auto update 2011-03-21 23:17:35 +00:00
Automatic Updater
fd5521456a update 2011-03-21 21:17:11 +00:00
Mark Andrews
c2265bd341 adjust rt23702 test to take less time 2011-03-21 20:31:22 +00:00
Automatic Updater
70f42b7e47 update 2011-03-21 20:17:10 +00:00
Evan Hunt
0994d3a21b 3087. [bug] DDNS updates using SIG(0) with update-policy match
type "external" could cause a crash. [RT #23735]
2011-03-21 19:54:03 +00:00
Automatic Updater
8a56f1b353 update 2011-03-21 19:17:04 +00:00
Evan Hunt
1063914c30 Fixed some problems from change #3084 that turned up after committing it;
"freeze" and "thaw" weren't working quite right when used without a
specific zone name.
2011-03-21 18:38:40 +00:00
Automatic Updater
39876b7880 update 2011-03-21 18:18:31 +00:00
Evan Hunt
cf0d508b1e Forgot to add rndc test dir when committing "rndc sync" change to HEAD 2011-03-21 18:06:07 +00:00
Automatic Updater
f345c0c0e0 update 2011-03-21 17:17:03 +00:00
Evan Hunt
36b2d5f93c use "rndc sync" instead of freeze/thaw cycle to dump zones, now that it's
available.
2011-03-21 16:53:44 +00:00
Evan Hunt
dff7e38491 initialize delset 2011-03-21 16:17:57 +00:00
Automatic Updater
5e252d37d2 update 2011-03-21 16:17:10 +00:00
Evan Hunt
10a759cee6 3086. [bug] Running dnssec-settime -f on an old-style key will
now force an update to the new key format even if no
			other change has been specified, using "-P now -A now"
			as default values.  [RT #22474]
2011-03-21 15:56:35 +00:00
Evan Hunt
d965c91f95 clarify "rndc sync" logging, add it to "rndc -h" output, per francis
review comments in rt22473.
2011-03-21 15:39:05 +00:00
Automatic Updater
f3381d8368 update 2011-03-21 08:17:01 +00:00
Evan Hunt
35f1a4fc93 3085. [func] New '-R' option in dnssec-signzone forces removal
of signatures which have not yet expired but
			were generated by a key that no longer exists.
			[RT #22471]
2011-03-21 07:26:47 +00:00
Evan Hunt
7cb226ec34 3084. [func] A new command "rndc sync" dumps pending changes in
a dynamic zone to disk; "rndc sync -clean" also
			removes the journal file after syncing.  Also,
			"rndc freeze" no longer removes journal files.
			[RT #22473]
2011-03-21 07:22:14 +00:00
Automatic Updater
99bab541ab update 2011-03-21 04:17:42 +00:00
Mark Andrews
5f49da42fe wait longer for the nsec3chain generation to complete 2011-03-21 03:30:48 +00:00
Automatic Updater
db632b0543 update 2011-03-21 01:18:08 +00:00
Mark Andrews
5095e72ac3 3083. [bug] NOTIFY messages were not being sent when generating
a NSEC3 chain incrementally. [RT #23702]
2011-03-21 01:02:39 +00:00
Mark Andrews
653cad790b 3082. [port] strtok_r is threads only. [RT #23747] 2011-03-21 00:30:18 +00:00
Automatic Updater
c783bc8968 auto update 2011-03-20 23:16:50 +00:00
Automatic Updater
3d8e46aef2 update 2011-03-20 09:16:57 +00:00
Mark Andrews
7dc5273a3e skip not untested 2011-03-20 09:03:47 +00:00
Automatic Updater
6ca68b2a52 update 2011-03-20 03:18:10 +00:00
Mark Andrews
b76715a02f Use UINT_MAX to initialise split_width (unsigned int) instead of -1. 2011-03-20 02:31:54 +00:00
Automatic Updater
468ebd4062 auto update 2011-03-19 23:17:12 +00:00
Automatic Updater
f85b7cdb07 update 2011-03-19 00:17:46 +00:00
Automatic Updater
7885190562 update copyright notice 2011-03-18 23:47:36 +00:00
Automatic Updater
4dca64bb89 newcopyrights 2011-03-18 23:31:07 +00:00
Automatic Updater
16224f2811 auto update 2011-03-18 23:17:09 +00:00
Automatic Updater
67888234bd update 2011-03-18 22:17:07 +00:00
Francis Dupont
e5bf83fe0b add new dname test files 2011-03-18 21:21:22 +00:00
Automatic Updater
f27ec26d50 update 2011-03-18 21:17:21 +00:00
Francis Dupont
cb240b0676 3081. [bug] Failure of DNAME substitution did not return
YXDOMAIN. [RT #23591]
2011-03-18 21:17:08 +00:00
Francis Dupont
f3bb08a519 add 23591 no-regression 2011-03-18 21:14:20 +00:00
Francis Dupont
a8e6a8cd6c fix too long with dname error 2011-03-18 21:12:19 +00:00
Automatic Updater
6217799f6b update 2011-03-18 09:17:13 +00:00
Francis Dupont
e41de66a12 3080. [cleanup] Replaced compile time constant by STDTIME_ON_32BITS.
[RT #23587]
2011-03-18 09:04:02 +00:00
Francis Dupont
d99d0c19b2 introduce STDTIME_ON_32BITS 2011-03-18 09:00:45 +00:00
Automatic Updater
3638313399 update 2011-03-18 08:17:21 +00:00
Mark Andrews
cbf59e5887 3079. [bug] Handle isc_event_allocate failures in t_tasks.
[RT #23572]
2011-03-18 07:40:25 +00:00
Automatic Updater
b941939c0b update 2011-03-18 05:17:31 +00:00
Evan Hunt
1853c5eaf7 ignore SIGPIPE in ans.pl; this is needed for debian. 2011-03-18 04:41:15 +00:00
Automatic Updater
9b8e8f1565 update 2011-03-18 03:18:03 +00:00
Automatic Updater
9073e83c59 update 2011-03-18 02:17:01 +00:00
Mark Andrews
f79a36eeed silence: 'ttl' might be used uninitialized 2011-03-18 02:16:43 +00:00
Evan Hunt
ea5334a36e fixed a missing / in /dev/null 2011-03-18 02:08:45 +00:00
Automatic Updater
a46de461ff update 2011-03-18 01:17:28 +00:00
Automatic Updater
a3f8c8e207 regen HEAD 2011-03-18 01:14:34 +00:00
Automatic Updater
fb4be8a17a update 2011-03-18 00:17:37 +00:00
Automatic Updater
207cee019e update copyright notice 2011-03-17 23:47:30 +00:00
Automatic Updater
a308b69ac6 newcopyrights 2011-03-17 23:31:05 +00:00
Automatic Updater
4d33f99dee update 2011-03-17 10:17:06 +00:00
Francis Dupont
9e102ef969 3078. [func] Added a new include file with function typedefs
for the DLZ "dlopen" driver. [RT #23629]
2011-03-17 09:30:45 +00:00
Francis Dupont
50f64cf0e5 silent compiler warnings for DLZ exernal driver support and example 2011-03-17 09:25:54 +00:00
Automatic Updater
dfb3e77e52 update 2011-03-17 06:17:25 +00:00
Mark Andrews
ed53ec0b06 3077. [bug] zone.c:zone_refreshkeys() incorrectly called
dns_zone_attach(), use zone->irefs instead. [RT #23303]
2011-03-17 05:21:50 +00:00
Automatic Updater
2d43d85fff update 2011-03-17 02:17:10 +00:00
Evan Hunt
61bcc23203 3076. [func] New '-L' option in dnssec-keygen, dnsset-settime, and
dnssec-keyfromlabel sets the default TTL of the
			key.  When possible, automatic signing will use that
			TTL when the key is published.  [RT #23304]
2011-03-17 01:40:40 +00:00
Mark Andrews
0e095727ff 3075. [bug] dns_dnssec_findzonekeys{2} used a inconsistant
timestamp when determining which keys are active.
                        [RT #23642]
2011-03-17 01:17:21 +00:00
Automatic Updater
8f46af8525 auto update 2011-03-16 23:17:36 +00:00
Automatic Updater
d988275243 auto update 2011-03-15 23:17:33 +00:00
Automatic Updater
9decf572c4 auto update 2011-03-14 23:16:48 +00:00
Automatic Updater
76102ead2a update 2011-03-14 14:17:37 +00:00
Francis Dupont
92f2688155 silent clang analyzer 2011-03-14 14:13:10 +00:00
Francis Dupont
0a25550b46 remove extra space 2011-03-14 13:40:52 +00:00
Francis Dupont
52c3f66536 isc_mutex_destroy() returns a value 2011-03-14 13:39:17 +00:00
Automatic Updater
fc739bf608 update 2011-03-14 00:18:15 +00:00
Automatic Updater
71d0d898fb update copyright notice 2011-03-13 23:47:36 +00:00
Automatic Updater
f42fc714ed newcopyrights 2011-03-13 23:31:11 +00:00
Automatic Updater
b1331547c3 update 2011-03-13 03:18:11 +00:00
Mark Andrews
26b49e8459 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 02:49:28 +00:00
Automatic Updater
6d4c706219 update 2011-03-13 00:18:24 +00:00
Automatic Updater
8ac903147f update copyright notice 2011-03-12 23:47:42 +00:00
Automatic Updater
7be29b99f8 newcopyrights 2011-03-12 23:31:03 +00:00
Automatic Updater
87f0efc52b auto update 2011-03-12 23:16:38 +00:00
Automatic Updater
440cceb827 update 2011-03-12 22:17:49 +00:00
Mark Andrews
69e617cf88 test for Net::DNS 2011-03-12 21:24:52 +00:00
Automatic Updater
057d2bf271 update 2011-03-12 05:18:17 +00:00
Automatic Updater
c1aef54e14 update copyright notice 2011-03-12 04:59:49 +00:00
Automatic Updater
e130ab53e9 newcopyrights 2011-03-12 04:56:21 +00:00
Automatic Updater
b229350908 update 2011-03-12 04:53:42 +00:00
Mark Andrews
d57f1ade2d s/(/[/ 2011-03-12 04:31:01 +00:00
Automatic Updater
48d7a333ed update 2011-03-12 03:19:11 +00:00
Mark Andrews
d9f94d668f bin/tests/system/common/rndc.key 2011-03-12 03:09:18 +00:00
Automatic Updater
456dad5dc6 auto update 2011-03-11 23:16:58 +00:00
Automatic Updater
74b14b9280 update 2011-03-11 18:24:40 +00:00
Evan Hunt
f563fcf124 Forgot to initialize a fixedname, which made it a brokenname. 2011-03-11 17:19:05 +00:00
Automatic Updater
f2100b37bc update 2011-03-11 14:17:39 +00:00
Mark Andrews
2415f36f79 3073. [bug] managed-keys changes were not properly being recorded.
[RT #20256]
2011-03-11 13:20:43 +00:00
Automatic Updater
d168ca1500 update 2011-03-11 13:17:51 +00:00
Mark Andrews
cf4ceeee5f 3072. [bug] dns_dns64_aaaaok() potential NULL pointer dereference.
[RT #20256]
2011-03-11 13:02:33 +00:00
Mark Andrews
4f587beb8e 3071. [bug] has_nsec could be used unintialised in
update.c:next_active. [RT #20256]
2011-03-11 12:51:40 +00:00
Mark Andrews
6494526350 3070. [bug] dnssec-signzone potential NULL pointer dereference.
[RT #20256]
2011-03-11 12:37:01 +00:00
Automatic Updater
3da31ab0e7 update 2011-03-11 07:17:43 +00:00
Evan Hunt
4fbaf0202b link driver.so from the .o file instead of the .lo file when building
with libtool.
2011-03-11 07:11:07 +00:00
Automatic Updater
e391f3ac34 update 2011-03-11 06:17:40 +00:00
Mark Andrews
0874abad14 3069. [cleanup] Silence warnings messages from clang static analysis.
[RT #20256]
2011-03-11 06:11:27 +00:00
Automatic Updater
6c77f40015 update 2011-03-11 03:19:02 +00:00
Mark Andrews
8473cd921e pkey is only used if USE_ENGINE is defined or USE_EVP is 1 2011-03-11 02:59:37 +00:00
Automatic Updater
5f5503af60 update 2011-03-11 02:19:39 +00:00
Evan Hunt
a7acfb05df Reversing prior change, turns out not to be legal on all compilers. 2011-03-11 01:28:10 +00:00
Evan Hunt
f2f2d20990 Silence a compiler warning by using #if comparison instead of if. No
CHANGES note because it's trivial. [RT #23587]
2011-03-11 01:20:39 +00:00
Automatic Updater
a0861f830d update 2011-03-11 01:18:04 +00:00
Mark Andrews
19f4b069dc 3068. [bug] Named failed to build with a OpenSSL without engine
support. [RT #23473]
2011-03-11 01:11:54 +00:00
Mark Andrews
2d96b63d31 3067. [bug] ixfr-from-differences {master|slave}; failed to
select the master/slave zones.  [RT #23580]
2011-03-11 00:43:54 +00:00
Automatic Updater
c219c842b8 update 2011-03-11 00:21:51 +00:00
Automatic Updater
cf786a52ce update copyright notice 2011-03-10 23:47:50 +00:00
Automatic Updater
8711e5c73c newcopyrights 2011-03-10 23:30:53 +00:00
Automatic Updater
6691e6f211 auto update 2011-03-10 23:16:26 +00:00
Automatic Updater
2c05d76db4 update 2011-03-10 22:17:38 +00:00
Mark Andrews
b80dcf4e03 new draft 2011-03-10 21:57:45 +00:00
Automatic Updater
5ece054d14 update 2011-03-10 14:17:33 +00:00
Francis Dupont
cf39976b89 while(1) -> for(;;) (cf 23588) 2011-03-10 13:37:21 +00:00
Automatic Updater
b0c1dce23f update 2011-03-10 07:17:38 +00:00
Automatic Updater
2dfd5615dc regen 2011-03-10 06:34:57 +00:00
Automatic Updater
14858d0505 update 2011-03-10 05:18:02 +00:00
Evan Hunt
422009fe5b 3066. [func] The DLZ "dlopen" driver is now built by default,
no longer requiring a configure option.  To
			disable it, use "configure --without-dlopen".
                        Driver also supported on win32.  [RT #23467]
2011-03-10 04:36:16 +00:00
Automatic Updater
b53bd951f9 update 2011-03-10 00:18:21 +00:00
Automatic Updater
50d79c1309 update copyright notice 2011-03-09 23:47:17 +00:00
Automatic Updater
361ef0a3e2 newcopyrights 2011-03-09 23:31:30 +00:00
Automatic Updater
f94ce60f4d auto update 2011-03-09 23:16:43 +00:00
Automatic Updater
8644eb52e5 update 2011-03-09 08:17:59 +00:00
Mark Andrews
215ef83bbe 3065. [bug] RRSIG could have time stamps too far in the future.
[RT #23356]
2011-03-09 07:22:32 +00:00
Automatic Updater
9c1ec5aca2 update 2011-03-09 01:18:20 +00:00
Automatic Updater
87ff79ee66 regen HEAD 2011-03-09 01:14:23 +00:00
Mark Andrews
4c0e434f67 remove removed files 2011-03-09 00:59:19 +00:00
Paul Ebersman
112a82e52a corrected edns-udp-size min size to 512. 2011-03-09 00:48:17 +00:00
Automatic Updater
675ae0458e update 2011-03-08 01:18:21 +00:00
Mark Andrews
345d37dbb6 add 'sync' to ISC_PLATFORM_USEMACASM build as well 2011-03-08 00:52:42 +00:00
Mark Andrews
35efe74edb DNAME not DS 2011-03-08 00:36:56 +00:00
Automatic Updater
82a14e410f update 2011-03-08 00:18:26 +00:00
Mark Andrews
4dbae79cf5 new draft 2011-03-08 00:10:41 +00:00
Automatic Updater
5eee264bfa update copyright notice 2011-03-07 23:47:37 +00:00
Automatic Updater
aa620c4f3a newcopyrights 2011-03-07 23:31:08 +00:00
Automatic Updater
f16e2d1a49 auto update 2011-03-07 23:16:36 +00:00
Automatic Updater
f844798059 update 2011-03-07 22:17:50 +00:00
Evan Hunt
5d35a7a2fb Style cleanup in DLZ LDAP driver. No functional change, no CHANGES note. 2011-03-07 22:01:05 +00:00
Automatic Updater
c85677097d update 2011-03-07 16:17:37 +00:00
Francis Dupont
228bddfc12 update do_authors_lookup() 2011-03-07 15:29:32 +00:00
Automatic Updater
f09fa70e2b update 2011-03-07 14:17:46 +00:00
Mark Andrews
198be130e2 remove exit 2011-03-07 14:03:49 +00:00
Mark Andrews
4b583f0193 only reset first in multi-line mode 2011-03-07 13:42:11 +00:00
Automatic Updater
60ec11ed90 update 2011-03-07 01:18:20 +00:00
Mark Andrews
fea04b0ffe 3064. [bug] powerpc: add sync instructions to the end of atomic
operations. [RT #23469]
2011-03-07 00:17:08 +00:00
Automatic Updater
2b43274572 auto update 2011-03-06 23:16:48 +00:00
Automatic Updater
e1eda51595 update 2011-03-06 01:18:15 +00:00
Automatic Updater
be6c1c5061 regen HEAD 2011-03-06 01:14:21 +00:00
Automatic Updater
7f3cef2eb3 update 2011-03-06 00:18:12 +00:00
Automatic Updater
0e27506ce3 update copyright notice 2011-03-05 23:52:31 +00:00
Automatic Updater
8e9f3b6991 newcopyrights 2011-03-05 23:31:16 +00:00
Automatic Updater
357b35064d update 2011-03-05 23:17:54 +00:00
Evan Hunt
f02b5d87a5 3063. [contrib] More verbose error reporting from DLZ LDAP. [RT #23402] 2011-03-05 23:11:21 +00:00
Automatic Updater
e8dbc3ffcc update 2011-03-05 20:17:58 +00:00
Evan Hunt
9a859983d7 3062. [func] Made several changes to enhance human readability
of DNSSEC data in dig output and in generated
			zone files:
			 - DNSKEY record comments are more verbose, no
			   longer used in multiline mode only
			 - multiline RRSIG records reformatted
			 - multiline output mode for NSEC3PARAM records
			 - "dig +norrcomments" suppresses DNSKEY comments
			 - "dig +split=X" breaks hex/base64 records into
			   fields of width X; "dig +nosplit" disables this.
			[RT #22820]
2011-03-05 19:39:07 +00:00
Automatic Updater
59563d2a5d update 2011-03-05 07:17:39 +00:00
Mark Andrews
eff7f78bc6 3061. [func] New option "dnssec-signzone -D", only write out
generated DNSSEC records. [RT #22896]
2011-03-05 06:35:41 +00:00
Automatic Updater
3c618c6eaf update 2011-03-05 03:18:29 +00:00
Mark Andrews
7d09a0190b add #include <isc/file.h> 2011-03-05 03:03:57 +00:00
Automatic Updater
82447d835d update 2011-03-05 02:38:35 +00:00
Automatic Updater
d38126a85f update 2011-03-05 01:18:19 +00:00
Automatic Updater
60a900e83b regen HEAD 2011-03-05 01:14:22 +00:00
Automatic Updater
217653a5c3 update 2011-03-05 00:18:18 +00:00
Automatic Updater
26a7306397 update copyright notice 2011-03-04 23:47:47 +00:00
Automatic Updater
2b189d7bf5 update 2011-03-04 23:17:46 +00:00
Evan Hunt
61271cdee6 3060. [func] New option "dnssec-signzone -X <date>" allows
specification of a separate expiration date
			for DNSKEY RRSIGs and other RRSIGs. [RT #22141]
2011-03-04 22:20:21 +00:00
Automatic Updater
122e8dba8b update 2011-03-04 22:17:48 +00:00
Evan Hunt
c2f051aaaa 3059. [test] Added a regression test for change #3023. 2011-03-04 22:01:01 +00:00
Francis Dupont
13d1b15b18 export dns_ncache_current and dns_resolver_settimeout 2011-03-04 21:36:51 +00:00
Automatic Updater
9af3be2492 update 2011-03-04 15:17:44 +00:00
Scott Mann
be59d1eb72 Adding missing files for RT22771. 2011-03-04 14:43:58 +00:00
Automatic Updater
b467780aa0 update 2011-03-04 14:17:40 +00:00
Scott Mann
32babe43eb Ensure that log files are plain files. (RT #22771) 2011-03-04 14:07:03 +00:00
Automatic Updater
15852f1a77 update 2011-03-04 02:18:18 +00:00
Mark Andrews
990743075c update 2011-03-04 01:19:39 +00:00
Automatic Updater
7f9a323a55 update 2011-03-04 00:18:22 +00:00
Automatic Updater
7d9d170dbb update copyright notice 2011-03-03 23:47:32 +00:00
Automatic Updater
79cea03ba8 newcopyrights 2011-03-03 23:31:19 +00:00
Automatic Updater
ed4f4c721e auto update 2011-03-03 23:17:25 +00:00
Automatic Updater
b51f208552 update 2011-03-03 17:17:36 +00:00
Evan Hunt
020a733707 needed [placeholder] for change #3055. 2011-03-03 16:18:51 +00:00
Evan Hunt
f385bac3b9 3057. [bug] "rndc secroots" would abort after the first error
and so could miss some views. [RT #23488]
2011-03-03 16:16:47 +00:00
Automatic Updater
5a742faf60 update 2011-03-03 15:17:39 +00:00
Francis Dupont
2410a655d8 regen 2011-03-03 14:48:42 +00:00
Automatic Updater
7bcb075af1 update 2011-03-03 14:17:44 +00:00
Francis Dupont
11c282d8a4 3056. [func] Added support for URI resource record. [RT #23386] 2011-03-03 14:13:49 +00:00
Francis Dupont
2188d48d2d add URI support files 2011-03-03 14:12:04 +00:00
Francis Dupont
9fe8cca065 add URI support 2011-03-03 14:10:27 +00:00
Francis Dupont
d54394cbef 3054. [bug] Added elliptic curve support check in
GOST OpenSSL engine detection. [RT #23485]
2011-03-03 13:49:16 +00:00
Francis Dupont
8d32644639 add EC check for GOST 2011-03-03 13:42:49 +00:00
Automatic Updater
ad55b39b4f update 2011-03-03 12:17:42 +00:00
Mark Andrews
8e6ecf7d60 cat the output as atf-report truncates stdout 2011-03-03 11:22:40 +00:00
Automatic Updater
be6e465b1d update 2011-03-03 08:17:45 +00:00
Mark Andrews
90d75412b5 use csv output format. ticker not suitable for robie 2011-03-03 08:00:41 +00:00
Automatic Updater
29a2340b2c update 2011-03-03 05:18:05 +00:00
Evan Hunt
70c7f4fb4f 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:42:25 +00:00
Automatic Updater
7da206e578 update 2011-03-03 00:18:17 +00:00
Automatic Updater
ff62ab3c2e newcopyrights 2011-03-02 23:31:02 +00:00
Automatic Updater
f887ee4a1a auto update 2011-03-02 23:16:45 +00:00
Automatic Updater
a193996dd5 update 2011-03-02 16:17:43 +00:00
Automatic Updater
99c2f298e7 regen 2011-03-02 15:22:42 +00:00
Automatic Updater
ef2ad8043e update 2011-03-02 09:17:51 +00:00
Francis Dupont
624664e504 Fixed last autosign test report [RT #23256] 2011-03-02 09:03:45 +00:00
Automatic Updater
1a6b634428 update 2011-03-02 07:17:44 +00:00
Evan Hunt
dcfe99c905 add MISSING=: to ATF configure arguments to suppress checks for
missing autotools files
2011-03-02 06:40:01 +00:00
Automatic Updater
676e5f5db9 update 2011-03-02 05:17:55 +00:00
Mark Andrews
be789bc7eb 3045. [removed] Replaced by change #3050. 2011-03-02 04:52:25 +00:00
Mark Andrews
d819823fee 3051. [bug] NS records obsure DS records at the bottom of the
zone if both are present. [RT #23035]
2011-03-02 04:49:05 +00:00
Mark Andrews
c1ced49662 3051. [bug] NS records obsure DS records at the bottom of the
zone if both are present. [RT #23035]
2011-03-02 04:20:34 +00:00
Automatic Updater
1f614cf40b update 2011-03-02 04:18:17 +00:00
Mark Andrews
ba88bcf08b 3050. [bug] The autosign system test was timing dependent.
Wait for the initial autosigning to complete
                        before running the rest of the test. [RT #23035]
2011-03-02 04:08:58 +00:00
Automatic Updater
f594a53081 update 2011-03-02 03:18:27 +00:00
Mark Andrews
21d349b612 s/3039/3049/ 2011-03-02 02:52:07 +00:00
Automatic Updater
9dd73cfab0 update 2011-03-02 00:17:51 +00:00
Mark Andrews
88c63fe9c7 3039. [bug] Save and restore the gid when creating creating
named.pid at startup. [RT #23290]
2011-03-02 00:02:54 +00:00
Automatic Updater
c8175ece69 update copyright notice 2011-03-01 23:48:07 +00:00
Mark Andrews
e9ab17d95e update 2011-03-01 23:46:00 +00:00
Automatic Updater
1959fd489a newcopyrights 2011-03-01 23:30:55 +00:00
Automatic Updater
22b494dfe2 update 2011-03-01 23:18:20 +00:00
Automatic Updater
31564d6f70 auto update 2011-03-01 23:16:36 +00:00
Mark Andrews
4c05f9a6a3 3048. [bug] Fully seperate view key mangement. [RT #23419] 2011-03-01 22:44:04 +00:00
Automatic Updater
2e1000c331 update 2011-03-01 15:18:07 +00:00
Scott Mann
d31740ce28 Fixed DNSKEY NODATA responses not cached (RT #22908). 2011-03-01 14:40:39 +00:00
Automatic Updater
c2113136d2 update 2011-03-01 01:17:44 +00:00
Automatic Updater
6fe48fb46e update 2011-03-01 00:53:30 +00:00
Automatic Updater
b93ff2b310 update 2011-03-01 00:18:02 +00:00
Automatic Updater
bc171df6ca update copyright notice 2011-02-28 23:47:39 +00:00
Automatic Updater
ddc163d532 regen 2011-02-28 23:31:05 +00:00
Automatic Updater
b71564cdee auto update 2011-02-28 23:16:35 +00:00
Automatic Updater
a33f018b6a update 2011-02-28 17:17:56 +00:00
Automatic Updater
37fef4ce36 autoreconf in hopes of silencing robie warnings 2011-02-28 16:44:15 +00:00
Automatic Updater
c43c6d48ef update 2011-02-28 15:17:44 +00:00
Francis Dupont
664917beda Use RRSIG original TTL in validated RRset TTL [RT #23332] 2011-02-28 14:21:35 +00:00
Automatic Updater
5ba6059616 update 2011-02-28 14:17:43 +00:00
Francis Dupont
17bc56e321 ove the testsock.pl sleep to autosign test suite [RT #23400] 2011-02-28 14:08:36 +00:00
Automatic Updater
f41c298280 update 2011-02-28 13:17:51 +00:00
Mark Andrews
d3e3d7846d 3044. [bug] Hold the socket manager lock while freeing the socket.
[RT #23333]
2011-02-28 12:48:30 +00:00
Automatic Updater
eb6d3717e4 update 2011-02-28 04:57:56 +00:00
Mark Andrews
5a07c0eb26 timestampe 2011-02-28 04:12:29 +00:00
Automatic Updater
3a03c4d1c1 update 2011-02-28 01:16:21 +00:00
Mark Andrews
12a3ab37fe elseif -> elsif 2011-02-28 01:09:45 +00:00
Mark Andrews
f5cfcbf2f7 atf source maintains it's own copyright 2011-02-28 01:03:12 +00:00
Automatic Updater
cc9166285b update 2011-02-28 00:17:12 +00:00
Automatic Updater
1c743aa176 regen 2011-02-27 23:30:42 +00:00
Automatic Updater
848b3e73cc update 2011-02-27 14:16:00 +00:00
Mark Andrews
8e917272a9 only run test if ATFBIN defined 2011-02-27 14:13:51 +00:00
Mark Andrews
6c90d1f0d9 regen 2011-02-27 13:29:32 +00:00
Mark Andrews
a5ee263bea remove space between -L path 2011-02-27 13:29:11 +00:00
Automatic Updater
9298c45a55 update 2011-02-27 10:46:37 +00:00
Automatic Updater
bc7bded20d update 2011-02-27 10:33:41 +00:00
Mark Andrews
4417904b15 regen 2011-02-27 06:21:53 +00:00
Evan Hunt
fa1ebc6b4b use 'sh ./configure' since configure might not be executable 2011-02-26 02:53:42 +00:00
Evan Hunt
ef421f66f4 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 02:26:33 +00:00
Automatic Updater
9eecb34b66 auto update 2011-02-25 23:16:12 +00:00
Evan Hunt
7cc5632595 3042. [bug] dig +trace could fail attempting to use IPv6
addresses on systems with only IPv4 connectivity.
			[RT #23797]
2011-02-25 23:11:13 +00:00
Automatic Updater
d31e7b32ee auto update 2011-02-24 23:16:07 +00:00
Mark Andrews
2f09e7c3fc 3041. [bug] dnssec-signzone failed to generate new signatures on
ttl changes. [RT #23330]
2011-02-24 03:04:43 +00:00
Automatic Updater
8a8d38eb8e regen HEAD 2011-02-24 01:14:22 +00:00
Automatic Updater
45caada8cb update copyright notice 2011-02-23 23:47:20 +00:00
Automatic Updater
738c40ff67 auto update 2011-02-23 23:16:00 +00:00
Mark Andrews
4f07b2b00c 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 11:30:35 +00:00
Mark Andrews
ddd40390be changes # 2011-02-23 03:10:26 +00:00
Mark Andrews
0e507dbb81 2039. [func] Redirect on NXDOMAIN support. [RT #23146] 2011-02-23 03:08:11 +00:00
Scott Mann
3b46648b02 Revert the previous commit...made on wrong branch. 2011-02-22 22:57:23 +00:00
Scott Mann
44b49a34b1 Added some comments. 2011-02-22 22:50:45 +00:00
Mark Andrews
fd5d7b4b1c 2038. [bug] Install <dns/rpz.h>. [RT #23342] 2011-02-22 11:48:02 +00:00
Automatic Updater
5b17a70a35 update 2011-02-22 07:15:59 +00:00
Mark Andrews
5715e1c6f6 2037. [doc] Update COPYRIGHT to contain all the individual
copyright notices that cover various parts.
2011-02-22 06:29:42 +00:00
Automatic Updater
01e75ee673 update 2011-02-22 04:16:48 +00:00
Mark Andrews
b795de862b 2036. [bug] Check built-in zone arguments to see if the zone
is re-usable or not. [RT #21914]
2011-02-22 04:14:30 +00:00
Automatic Updater
be74b463a2 update 2011-02-22 00:16:37 +00:00
Automatic Updater
b01d422daf update copyright notice 2011-02-21 23:47:45 +00:00
Mark Andrews
4b45a8fc5a handle cname response 2011-02-21 23:37:31 +00:00
Automatic Updater
930f6069e5 newcopyrights 2011-02-21 23:30:44 +00:00
Automatic Updater
7a268f7584 auto update 2011-02-21 23:16:14 +00:00
Automatic Updater
1f4a8b7232 update 2011-02-21 08:15:54 +00:00
Mark Andrews
c12904ec53 3035. [cleanup] Simplify by using strlcpy. [RT #22521] 2011-02-21 07:34:57 +00:00
Mark Andrews
0a92db42c6 3034. [cleanup] nslookup: use strlcpy instead of safecopy. [RT #22521] 2011-02-21 07:22:21 +00:00
Automatic Updater
b062d1ba6d update 2011-02-21 07:15:51 +00:00
Mark Andrews
a360461b34 check for snprintf failure 2011-02-21 07:14:43 +00:00
Mark Andrews
17c98e7add 3033. [cleanup] Add two INSIST(bucket != DNS_ADB_INVALIDBUCKET).
[RT #22521]
2011-02-21 07:08:33 +00:00
Mark Andrews
699e00089f 3032. [bug] rdatalist.c: add missing REQUIREs. [RT #22521] 2011-02-21 07:01:09 +00:00
Mark Andrews
6883a918f7 3031. [bug] dns_rdataclass_format() handle a zero sized buffer.
[RT #22521]
2011-02-21 06:50:42 +00:00
Mark Andrews
e01f55daa4 3030. [bug] dns_rdatatype_format() handle a zero sized buffer.
[RT #22521]
2011-02-21 06:41:07 +00:00
Mark Andrews
4c577cbd1e 3029. [bug] isc_netaddr_format() handle a zero sized buffer.
[RT #22521]
2011-02-21 06:30:06 +00:00
Mark Andrews
2ba2a6e4be 3028. [bug] isc_sockaddr_format() handle a zero sized buffer.
[RT #22521]
2011-02-21 06:18:44 +00:00
Mark Andrews
0b8c40c8d8 CHANGES 2011-02-21 06:18:03 +00:00
Automatic Updater
4455a07e1a update 2011-02-21 06:15:57 +00:00
Mark Andrews
30aaec2122 3027. [bug] Add documented REQUIREs to cfg_obj_asnetprefix() to
catch NULL pointer dereferences before they happen.
                        [RT #22521]
2011-02-21 06:07:49 +00:00
Mark Andrews
17a0bbda33 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:55:09 +00:00
Automatic Updater
e06bc030b3 update 2011-02-21 00:16:49 +00:00
Mark Andrews
aae88005f2 spelling 2011-02-21 00:06:57 +00:00
Automatic Updater
cdb7ad6561 update 2011-02-20 01:15:55 +00:00
Mark Andrews
020120e3c7 spelling 2011-02-20 00:54:35 +00:00
Automatic Updater
e6013156ef update 2011-02-20 00:16:54 +00:00
Automatic Updater
d5a3595af8 update copyright notice 2011-02-19 23:47:38 +00:00
Automatic Updater
22efac9446 newcopyrights 2011-02-19 23:30:42 +00:00
Automatic Updater
f03c1c0edf update 2011-02-19 02:16:31 +00:00
Evan Hunt
b0c8948e37 Fixed incorrect library link order in libisccc and libisccfg 2011-02-19 01:30:52 +00:00
Evan Hunt
63b1c80af8 Fixed an error in change 3023, ensuring that journal file isn't
removed after IXFR.  No CHANGES note.
2011-02-19 01:24:46 +00:00
Automatic Updater
9e72291848 update 2011-02-19 00:16:51 +00:00
Automatic Updater
10aafc5aa3 update copyright notice 2011-02-18 23:47:25 +00:00
Michael Graff
b7f0ab323d catch two unused function params, followup to RT#23310 2011-02-18 23:39:55 +00:00
Automatic Updater
e6a6028987 newcopyrights 2011-02-18 23:30:49 +00:00
Evan Hunt
b32e391602 3025. [bug] Fixed a possible deadlock due to zone resigning.
[RT #22964]
2011-02-18 23:26:44 +00:00
Automatic Updater
ec519db9f2 auto update 2011-02-18 23:16:34 +00:00
Automatic Updater
38c3d881bb update 2011-02-18 23:15:40 +00:00
Michael Graff
e3fbbde8fc spaces -> tabs 2011-02-18 23:04:31 +00:00
Michael Graff
52d44117c8 Remove RTT banding [RT 23310] 2011-02-18 22:55:31 +00:00
Automatic Updater
151a7c4e94 update 2011-02-18 22:15:48 +00:00
Evan Hunt
2870e5fb54 s/[func]/[test]/ for change #3019 2011-02-18 21:30:50 +00:00
Evan Hunt
1d5981dd3f 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:22:12 +00:00
Automatic Updater
fcdbc61d18 update 2011-02-18 16:15:37 +00:00
Scott Mann
57b403c1e9 Fix prz SERVFAILs after failed zone transfers (RT23246). 2011-02-18 15:18:30 +00:00
Automatic Updater
6e2411592a update 2011-02-18 05:15:35 +00:00
Mark Andrews
9e4359b42e silence: warning: 'manager_log' defined but not used 2011-02-18 04:19:05 +00:00
Automatic Updater
7cced187a2 update 2011-02-18 00:16:45 +00:00
Automatic Updater
6885ca3220 update copyright notice 2011-02-17 23:47:24 +00:00
Automatic Updater
bcad5c48c0 auto update 2011-02-17 23:16:14 +00:00
Automatic Updater
d31e0e5764 update 2011-02-17 05:15:43 +00:00
Mark Andrews
293e500697 simplify zone_signwithkey call 2011-02-17 04:57:28 +00:00
Automatic Updater
6074716d63 update 2011-02-17 03:17:23 +00:00
Mark Andrews
19afa17960 ensure that the DNSKEY rrset get re-signed even if it hasn't been
updated in sign_apex.
2011-02-17 02:57:22 +00:00
Automatic Updater
f0ba3b1e31 update 2011-02-16 20:15:45 +00:00
Evan Hunt
29bd52e4ee 3021. [bug] Change #3010 was incomplete. [RT #22296] 2011-02-16 19:48:12 +00:00
Automatic Updater
eebee125a9 update 2011-02-16 00:16:57 +00:00
Automatic Updater
c41b2924a5 update copyright notice 2011-02-15 23:47:36 +00:00
Automatic Updater
c53a6f37de newcopyrights 2011-02-15 23:30:46 +00:00
Automatic Updater
f3325b2631 auto update 2011-02-15 23:16:34 +00:00
Automatic Updater
11cf7d678e update 2011-02-15 22:15:44 +00:00
Mark Andrews
b1b42b03b7 3020. [bug] auto-dnssec failed to correctly update the zone when changing the DNSKEY RRset. [RT #23232] 2011-02-15 22:02:36 +00:00
Automatic Updater
134deb3eda update 2011-02-15 19:15:34 +00:00
Francis Dupont
931814de4a typo in comment 2011-02-15 18:23:34 +00:00
Automatic Updater
0cb3f49d9e update 2011-02-15 00:16:59 +00:00
Mark Andrews
c5fa370695 3019. [func] Test: check apex NSEC3 records after adding DNSKEY
record via UPDATE. [RT #23229]
2011-02-14 23:53:44 +00:00
Automatic Updater
53a530ddaa auto update 2011-02-14 23:16:59 +00:00
Automatic Updater
5e7d30c39d auto update 2011-02-11 23:16:50 +00:00
Automatic Updater
b93f4fb82b auto update 2011-02-10 23:16:24 +00:00
Automatic Updater
3d3c6f73ef update 2011-02-08 23:17:38 +00:00
Automatic Updater
1914ea0df2 auto update 2011-02-08 23:16:44 +00:00
Automatic Updater
56748bc3d1 update copyright notice 2011-02-08 23:10:07 +00:00
Automatic Updater
5acd631070 newcopyrights 2011-02-08 23:07:19 +00:00
Automatic Updater
e36a534a31 update 2011-02-08 04:16:54 +00:00
Mark Andrews
37b017f2ca 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 03:47:02 +00:00
Automatic Updater
c098252bf4 update 2011-02-07 13:16:25 +00:00
Mark Andrews
74b7355f1e missing [ 2011-02-07 12:28:32 +00:00
Automatic Updater
5cc47f19a1 update 2011-02-07 00:16:51 +00:00
Mark Andrews
4d205bf79b 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:11:05 +00:00
Mark Andrews
462a97981f CHANGES 2011-02-07 00:10:36 +00:00
Automatic Updater
4d32726dd1 update 2011-02-04 01:15:39 +00:00
Automatic Updater
79cf9524b1 regen HEAD 2011-02-04 01:14:16 +00:00
Automatic Updater
6cc8095d2f update 2011-02-03 13:16:39 +00:00
Automatic Updater
784a904bd0 update copyright notice 2011-02-03 12:18:12 +00:00
Automatic Updater
8ccd7da886 newcopyrights 2011-02-03 12:15:34 +00:00
Mark Andrews
5cfe4bcb0a 3017. [doc] dnssec-keyfromlabel -I was not properly documented.
[RT #22887]
2011-02-03 12:01:44 +00:00
Mark Andrews
5b79d15401 3016. [bug] rndc usage missing '-b'. [RT #22937] 2011-02-03 11:46:17 +00:00
Automatic Updater
4ea6ae20a7 update 2011-02-03 08:15:50 +00:00
Mark Andrews
a8e5a59183 3015. [port] win32: fix IN6_IS_ADDR_LINKLOCAL and
IN6_IS_ADDR_SITELOCAL macros. [RT #22724]
2011-02-03 08:13:51 +00:00
Mark Andrews
69496e55a7 placeholder 2011-02-03 07:44:18 +00:00
Mark Andrews
c1ee8bb4ba 3013. [bug] The DNS64 ttl was not always being set as expected.
[RT #23034]
2011-02-03 07:35:56 +00:00
Automatic Updater
a3a75bc1fd update 2011-02-03 07:15:42 +00:00
Mark Andrews
63d9e735c4 spelling 2011-02-03 06:20:09 +00:00
Automatic Updater
cc904e5c83 update 2011-02-03 06:15:40 +00:00
Mark Andrews
16cc4a1f56 3012. [bug] Remove DNSKEY TTL change pairs before generating
signing records for any remaing DNSKEY changes.
                        [RT #22590]
2011-02-03 06:03:15 +00:00
Mark Andrews
07cc752057 regen 2011-02-03 05:51:56 +00:00
Mark Andrews
000a8970f8 3011. [func] Change the default query timeout from 30 seconds
to 10.  Allow setting this in named.conf using the new
                        'resolver-query-timeout' option, which specifies a max
                        time in seconds.  0 means 'default' and anything longer
                        than 30 will be silently set to 30. [RT #22852]
2011-02-03 05:41:55 +00:00
Automatic Updater
da6fe5c101 update 2011-02-03 01:15:42 +00:00
Evan Hunt
903b3c84e2 3010. [bug] Fixed a bug where "rndc reconfig" stopped the timer
for refreshing managed-keys. [RT #22296]
2011-02-03 00:21:55 +00:00
Automatic Updater
183234d5c4 update 2011-02-02 00:16:22 +00:00
Automatic Updater
2f76b9339e newcopyrights 2011-02-01 23:30:40 +00:00
Automatic Updater
6034d9bbaa auto update 2011-02-01 23:16:37 +00:00
Automatic Updater
c11a2cf31f update 2011-02-01 20:15:34 +00:00
Evan Hunt
439a6b2fbf created cvsignore 2011-02-01 20:12:16 +00:00
Automatic Updater
02732414a9 auto update 2011-01-30 23:16:50 +00:00
Automatic Updater
e2c942f6af auto update 2011-01-28 23:16:39 +00:00
Automatic Updater
310d6983fc update 2011-01-28 00:16:17 +00:00
Automatic Updater
b720af4cd4 update copyright notice 2011-01-27 23:47:21 +00:00
Automatic Updater
3c761103e8 newcopyrights 2011-01-27 23:30:42 +00:00
Automatic Updater
a26311e084 update 2011-01-27 03:16:56 +00:00
Mark Andrews
1fba20bd0b 3009. [bug] clients-per-query code didn't work as expected with
particular query patterns. [RT #22972]
2011-01-27 02:24:49 +00:00
Automatic Updater
e8f20fbef4 update 2011-01-25 05:15:28 +00:00
Mark Andrews
c656722ea7 whitespace 2011-01-25 04:27:38 +00:00
Automatic Updater
5eafc32634 auto update 2011-01-24 23:16:39 +00:00
Automatic Updater
c8389abcf8 update 2011-01-23 01:15:32 +00:00
Automatic Updater
66edf659b7 regen HEAD 2011-01-23 01:14:18 +00:00
Automatic Updater
cbb24dc55c update 2011-01-22 02:15:44 +00:00
Mark Andrews
6441e3675a recursion-only -> recursive-only 2011-01-22 01:21:05 +00:00
Automatic Updater
98a0438cd9 update 2011-01-21 01:15:28 +00:00
Automatic Updater
f7b2875691 regen HEAD 2011-01-21 01:14:13 +00:00
Automatic Updater
9c8f5f5e18 update 2011-01-20 11:15:32 +00:00
Mark Andrews
7292ae531b spelling 2011-01-20 10:17:23 +00:00
Automatic Updater
71e4fae3bb update 2011-01-20 00:16:13 +00:00
Automatic Updater
c674aacfd6 update copyright notice 2011-01-19 23:47:12 +00:00
Automatic Updater
16a8f020ff newcopyrights 2011-01-19 23:30:39 +00:00
Automatic Updater
fb4fa49974 update 2011-01-19 03:16:41 +00:00
Mark Andrews
f862994cbd explicitly initialise dump and restore 2011-01-19 03:09:14 +00:00
Automatic Updater
6ff513bc38 update 2011-01-17 05:15:31 +00:00
Mark Andrews
ee931bc7a3 silence warning: integer overflow detected: op "<<" 2011-01-17 04:27:23 +00:00
Automatic Updater
d0735483e5 update 2011-01-14 01:16:16 +00:00
Automatic Updater
a09fff7051 update copyright notice 2011-01-14 00:51:43 +00:00
Automatic Updater
3de6db3208 newcopyrights 2011-01-14 00:49:37 +00:00
Mark Andrews
638614fe02 silence: warning: format not a string literal and no format arguments 2011-01-14 00:44:53 +00:00
Mark Andrews
2c18cb2e9a explicit initialisation 2011-01-14 00:33:32 +00:00
Automatic Updater
a4bbf4d7cb update 2011-01-14 00:15:58 +00:00
Automatic Updater
3790d6b265 update 2011-01-13 23:16:45 +00:00
Mark Andrews
cc5e0baaef arguements out of order 2011-01-13 23:16:06 +00:00
Automatic Updater
02973ab414 newcopyrights 2011-01-13 22:28:45 +00:00
Automatic Updater
520ea669ac update 2011-01-13 19:54:50 +00:00
Evan Hunt
5645e0c82a Automatically-added copyright text was breaking the RPZ test. 2011-01-13 19:30:41 +00:00
Automatic Updater
7c3c764c75 update 2011-01-13 10:16:03 +00:00
Mark Andrews
481ebd6977 rpz require -DBIND9 2011-01-13 09:53:04 +00:00
Automatic Updater
34f84b54ef update 2011-01-13 09:16:19 +00:00
Mark Andrews
17acd2a230 remove -I "../..../lib/dns/sec/openssl/include" 2011-01-13 08:56:45 +00:00
Automatic Updater
2352050890 update copyright notice 2011-01-13 08:50:29 +00:00
Automatic Updater
c3fd32ed29 newcopyrights 2011-01-13 08:48:15 +00:00
Mark Andrews
16ae8f12c2 add -V to foreground flags 2011-01-13 08:46:34 +00:00
Mark Andrews
50fd8587a7 extra external symbols 2011-01-13 08:29:08 +00:00
Mark Andrews
6767b5b544 openssl include path 2011-01-13 08:15:30 +00:00
Automatic Updater
f00a2f4d6e update 2011-01-13 08:15:25 +00:00
Mark Andrews
0a24e3a8ae openssl include path 2011-01-13 07:51:06 +00:00
Mark Andrews
fd7b3477c3 openssl include path 2011-01-13 07:25:35 +00:00
Mark Andrews
000439ae98 isc_netaddr_getzone 2011-01-13 07:20:14 +00:00
Automatic Updater
51a510fd61 update 2011-01-13 07:15:28 +00:00
Mark Andrews
9e78a55d81 opensslgost_link.c 2011-01-13 07:12:14 +00:00
Mark Andrews
23784a729d dst_key_restory -> dst_key_restore 2011-01-13 07:06:50 +00:00
Mark Andrews
559b51e980 only look for sys/socket.h if we also have sys/un.h 2011-01-13 07:05:57 +00:00
Mark Andrews
93b81c6d0a explicit conversion from unsigned long to dns_rpz_cidr_bits_t 2011-01-13 06:48:14 +00:00
Mark Andrews
68f6e45d28 uint8_t -> unsigned char 2011-01-13 06:41:05 +00:00
Mark Andrews
c3e9221f3b prototype mismatch 2011-01-13 06:36:04 +00:00
Mark Andrews
119f627c82 uint32_t -> isc_uint32_t 2011-01-13 06:29:16 +00:00
Mark Andrews
98455e2090 missing semi-colon 2011-01-13 06:21:15 +00:00
Automatic Updater
d5a538a92a update 2011-01-13 06:15:26 +00:00
Mark Andrews
891b61c390 define HAVE_OPENSSL_GOST ENABLE_RPZ_NSDNAME ENABLE_RPZ_NSIP 2011-01-13 06:08:58 +00:00
Automatic Updater
19973813df 9.8.0b1 2011-01-13 05:25:47 +00:00
Automatic Updater
9d059cceef update 2011-01-13 05:16:36 +00:00
Automatic Updater
5329b4137e regen HEAD 2011-01-13 05:13:52 +00:00
Automatic Updater
9cee5bb028 update copyright notice 2011-01-13 04:59:26 +00:00
Automatic Updater
3f616e6f84 newcopyrights 2011-01-13 04:51:08 +00:00
Mark Andrews
bde1625cbc rpz 2011-01-13 04:49:59 +00:00
Mark Andrews
e02c1d738b 9.8.0b1 2011-01-13 04:45:17 +00:00
Mark Andrews
a3eb8b33ec unsigned constants 2011-01-13 04:20:03 +00:00
Automatic Updater
c2c4ca4c77 update 2011-01-13 04:16:09 +00:00
Mark Andrews
9d53927aa8 zone = NULL 2011-01-13 03:57:50 +00:00
Automatic Updater
32832d0597 update 2011-01-13 03:16:39 +00:00
Mark Andrews
6eba31815a #include <isc/print.h> 2011-01-13 03:03:31 +00:00
Mark Andrews
a04b5f6794 spelling 2011-01-13 02:35:58 +00:00
Automatic Updater
f7469b14f3 update 2011-01-13 02:16:31 +00:00
Mark Andrews
819f0ca24a regen 2011-01-13 02:06:40 +00:00
Mark Andrews
87708bde16 3008. [func] Response policy zones (RPZ) support. [RT #21726] 2011-01-13 01:59:28 +00:00
Automatic Updater
100b78748b update 2011-01-13 01:15:32 +00:00
Mark Andrews
38b84a1fcf 3007. [bug] Named failed to preserve the case of domain names in
rdata which is no compressable when writing master
                        files.  [RT #22863]
2011-01-13 00:55:49 +00:00
Automatic Updater
b70c6fb6ff auto update 2011-01-12 23:16:51 +00:00
Automatic Updater
e9eda341c9 update 2011-01-12 00:16:06 +00:00
Automatic Updater
135bcc2e42 update copyright notice 2011-01-11 23:47:14 +00:00
Automatic Updater
b13d89bd89 newcopyrights 2011-01-11 23:30:36 +00:00
Automatic Updater
e5b9f963cb update 2011-01-11 22:15:32 +00:00
Michael Graff
59b600ae73 commit Makefile.in, not Makefile 2011-01-11 21:40:35 +00:00
Michael Graff
beb52a4b18 add tests for isc_atomic_xadd() and isc_atomic_xaddq() since there is some suspicion that they may not be working properly on all platforms. This is committed direclty to the mainline as it's only a test. I did not regenerate configure from configure.in, but just added the one Makefile line. Evan will take a quick look at this after it's committed. 2011-01-11 21:36:22 +00:00
Automatic Updater
1978971774 update 2011-01-11 00:16:30 +00:00
Automatic Updater
3e5340279d newcopyrights 2011-01-10 23:30:44 +00:00
Automatic Updater
031ba34331 auto update 2011-01-10 23:16:33 +00:00
Automatic Updater
46b5b52e16 update 2011-01-10 13:15:27 +00:00
Mark Andrews
b053854c20 call dns_tsigkeyring_detach(&ring) 2011-01-10 13:09:49 +00:00
Automatic Updater
7d74de75b9 update 2011-01-10 08:15:30 +00:00
Mark Andrews
adccda3b4c &dstkey -> dstkey 2011-01-10 07:38:22 +00:00
Automatic Updater
e41e8a4fcf update 2011-01-10 06:15:30 +00:00
Mark Andrews
433e06a25c 3006. [func] Allow dynamically generated TSIG keys to be preserved
across restarts of named.  Initially this is for
                        TSIG keys generated using GSSAPI. [RT #22639]
2011-01-10 05:32:04 +00:00
Automatic Updater
f0238aceb9 update 2011-01-10 05:15:33 +00:00
Mark Andrews
fc5e97963d Check that ::1 is configured 2011-01-10 05:08:49 +00:00
Automatic Updater
21560605cc update 2011-01-10 04:15:54 +00:00
Mark Andrews
1403f9aa2f don't free memory passed to putenv(), use malloc and check for malloc failures 2011-01-10 03:49:49 +00:00
Automatic Updater
90482b5ba2 update 2011-01-09 00:16:27 +00:00
Automatic Updater
0e0be796a7 update copyright notice 2011-01-08 23:47:01 +00:00
Automatic Updater
572cb2c1c9 newcopyrights 2011-01-08 23:30:38 +00:00
Automatic Updater
ad857789e8 auto update 2011-01-08 23:16:51 +00:00
Automatic Updater
e189b22094 update 2011-01-08 02:15:43 +00:00
Evan Hunt
b156001ec1 Oops, omitted some commits from change #3005. 2011-01-08 01:26:01 +00:00
Automatic Updater
65ad89971e regen HEAD 2011-01-08 01:15:44 +00:00
Automatic Updater
e24e47f8ae update 2011-01-08 01:15:27 +00:00
Evan Hunt
8a743600dd 3005. [port] Solaris: Work around the lack of
gsskrb5_register_acceptor_identity() by setting
			the KRB5_KTNAME environment variable to the
			contents of tkey-gssapi-keytab.  Also fixed
			test errors on MacOSX.  [RT #22853]
2011-01-08 00:33:12 +00:00
Automatic Updater
b88393d56d update 2011-01-08 00:16:22 +00:00
Automatic Updater
93235c1cba update copyright notice 2011-01-07 23:47:07 +00:00
Automatic Updater
765c97d56c newcopyrights 2011-01-07 23:30:34 +00:00
Automatic Updater
2ebb8eda0b auto update 2011-01-07 23:16:41 +00:00
Automatic Updater
197c7a5351 update 2011-01-07 22:15:30 +00:00
Evan Hunt
a727690e8b HPUX: silence compiler warnings about signed/unsigned comparisons 2011-01-07 21:42:03 +00:00
Automatic Updater
f01cd4dc50 update 2011-01-07 07:15:28 +00:00
Evan Hunt
f9303c6db0 added missing .cvsignore entry 2011-01-07 07:11:41 +00:00
Evan Hunt
f686c5d700 Added missing .cvsignore entries 2011-01-07 07:10:34 +00:00
Evan Hunt
c23a9eed3e - Missed out authsock.pl when committing 3003.
- Remove auth.sock in clean.sh.
2011-01-07 07:01:58 +00:00
Automatic Updater
54cd2bb9d9 update 2011-01-07 06:15:31 +00:00
Evan Hunt
3df7f5a9d6 add ssu_external.c to win32 definitions 2011-01-07 05:32:49 +00:00
Evan Hunt
4ac6a44512 Forgot to add ssu_external.c when committing change #3003. 2011-01-07 05:29:08 +00:00
Automatic Updater
b432da33fe update 2011-01-07 05:15:38 +00:00
Mark Andrews
dc4fa197dd 3004. [func] DNS64 reverse support. [RT #22769] 2011-01-07 04:31:39 +00:00
Automatic Updater
26dffbd206 update 2011-01-07 01:15:32 +00:00
Automatic Updater
610cd6f845 regen HEAD 2011-01-07 01:13:04 +00:00
Evan Hunt
5a87f3439e Initialize a pointer to NULL in order to to silence a compiler warning.
Committing without review because the change is trivial.
2011-01-07 00:50:06 +00:00
Automatic Updater
a02bf5420c update 2011-01-07 00:16:38 +00:00
Automatic Updater
db69d5d53c update copyright notice 2011-01-06 23:47:00 +00:00
Automatic Updater
099b86fb81 newcopyrights 2011-01-06 23:30:38 +00:00
Evan Hunt
3916872f37 3003. [experimental] Added update-policy match type "external",
enabliing named to defer the decision of whether to
			allow a dynamic update to an external daemon.
			(Contributed by Andrew Tridgell.) [RT #22758]
2011-01-06 23:24:39 +00:00
Automatic Updater
419a6c5ae4 update 2011-01-06 00:16:28 +00:00
Automatic Updater
db85439621 newcopyrights 2011-01-05 23:30:47 +00:00
Automatic Updater
9412850a75 regen 2011-01-05 23:30:46 +00:00
Automatic Updater
e575ca66b2 update 2011-01-05 01:15:29 +00:00
Automatic Updater
dcfda24abf regen HEAD 2011-01-05 01:14:09 +00:00
Automatic Updater
0166a1879a update 2011-01-05 00:16:10 +00:00
Automatic Updater
1da9dbcf48 update copyright notice 2011-01-04 23:47:14 +00:00
Automatic Updater
229ea4644b newcopyrights 2011-01-04 23:30:38 +00:00
Automatic Updater
a184761e52 regen 2011-01-04 23:30:37 +00:00
Automatic Updater
4e4a9d2121 update 2011-01-04 05:15:44 +00:00
Mark Andrews
161429fc05 3002. [bug] isc_mutex_init_errcheck() failed to destroy attr.
[RT #22766]
2011-01-04 04:32:13 +00:00
Automatic Updater
3466bcb725 update 2011-01-04 01:15:27 +00:00
Automatic Updater
ebabe300b6 regen HEAD 2011-01-04 01:14:09 +00:00
Automatic Updater
08227c5ccb update 2011-01-04 00:16:07 +00:00
Evan Hunt
79bf7c874b 3001. [func] Added a default trust anchor for the root zone, which
can be switched on by setting "dnssec-validation auto;"
			in the named.conf options. [RT #21727]
2011-01-03 23:45:08 +00:00
Automatic Updater
f098c65191 update 2010-12-27 14:15:30 +00:00
Mark Andrews
ac78c47210 ! test -n -> test -z 2010-12-27 13:38:43 +00:00
Automatic Updater
14ffe33506 update 2010-12-27 00:16:12 +00:00
Mark Andrews
c2f37a77cc #include ISC_PLATFORM_KRB5HEADER [RT #22798] 2010-12-26 23:24:18 +00:00
Automatic Updater
dde1d911c1 update 2010-12-26 01:15:26 +00:00
Automatic Updater
66f25f2cee regen HEAD 2010-12-26 01:14:08 +00:00
Automatic Updater
89345e4c24 update 2010-12-25 22:15:24 +00:00
Mark Andrews
5aaac798d8 s;<command/>;</command>; 2010-12-25 22:01:35 +00:00
Automatic Updater
1fdedb1584 update 2010-12-25 00:16:31 +00:00
Automatic Updater
6764a1403a update copyright notice 2010-12-24 23:47:05 +00:00
Automatic Updater
348040cb26 newcopyrights 2010-12-24 23:30:29 +00:00
Automatic Updater
8a75f38e1d update 2010-12-24 08:15:26 +00:00
Mark Andrews
cd86950664 exit 255 2010-12-24 07:27:15 +00:00
Automatic Updater
11234b877c update 2010-12-24 03:16:37 +00:00
Evan Hunt
d9ad0a55bb 3000. [bug] More TKEY/GSS fixes:
- nsupdate can now get the default realm from
			   the user's Kerberos principal
			 - corrected gsstest compilation flags
			 - improved documentation
			 - fixed some NULL dereferences
			[RT #22795]
2010-12-24 02:20:47 +00:00
Automatic Updater
988e9fd7c0 update 2010-12-24 01:15:29 +00:00
Automatic Updater
0e9e255d16 regen HEAD 2010-12-24 01:14:21 +00:00
Automatic Updater
1b7daed82b update 2010-12-24 00:16:35 +00:00
Automatic Updater
a094c46640 update copyright notice 2010-12-23 23:47:08 +00:00
Automatic Updater
95cfad51a3 newcopyrights 2010-12-23 23:30:34 +00:00
Automatic Updater
62aefa60b7 update 2010-12-23 04:16:04 +00:00
Mark Andrews
9fffc937a9 rege 2010-12-23 04:09:28 +00:00
Mark Andrews
37dee1ff94 2999. [func] Add GOST support (RFC 5933). [RT #20639] 2010-12-23 04:08:00 +00:00
Automatic Updater
5c92589c90 update 2010-12-23 00:16:36 +00:00
Automatic Updater
557919588b update copyright notice 2010-12-22 23:46:59 +00:00
Automatic Updater
415827fa64 newcopyrights 2010-12-22 23:30:34 +00:00
Automatic Updater
41204e2f0f update 2010-12-22 13:15:26 +00:00
Mark Andrews
777b848142 2998. [func] Add isc_task_beginexclusive and isc_task_endexclusive
to the task api. [RT #22776]
2010-12-22 13:05:20 +00:00
Automatic Updater
0f6c33adb2 update 2010-12-22 09:15:38 +00:00
Mark Andrews
10e018f66d s/ISC_OPENSSL_INC/DST_OPENSSL_INC 2010-12-22 09:00:40 +00:00
Automatic Updater
3962b1c955 update 2010-12-22 06:15:30 +00:00
Mark Andrews
7a54dadeb5 2998. [func] Add isc_task_beginexclusive and isc_task_endexclusive
to the task api. [RT #22776]
2010-12-22 05:19:02 +00:00
Automatic Updater
b427cc266d update 2010-12-22 04:16:39 +00:00
Mark Andrews
78fcac2f19 2997. [func] named -V now reports the OpenSSL and libxml2 verions
it was compiled against. [RT #22687]
2010-12-22 04:05:41 +00:00
Mark Andrews
643935ac11 2997. [func] named -V now reports the OpenSSL and libxml2 verions
it was compiled against. [RT #22687]
2010-12-22 03:59:02 +00:00
Automatic Updater
687baa4f94 update 2010-12-22 03:16:24 +00:00
Mark Andrews
79344b9710 2996. [security] Temporarily disable SO_ACCEPTFILTER support.
[RT #22589]
2010-12-22 03:08:36 +00:00
Mark Andrews
179e028b35 2995. [bug] The Kerberos realm was not being correctly extracted
from the signer's identity. [RT #22770]
2010-12-22 02:33:12 +00:00
Automatic Updater
69c3b3c057 update 2010-12-22 01:15:23 +00:00
Automatic Updater
4cfcf67f81 regen HEAD 2010-12-22 01:14:07 +00:00
Automatic Updater
3b3e7fe622 update 2010-12-22 00:16:39 +00:00
Automatic Updater
8868ef9c64 update copyright notice 2010-12-21 23:47:08 +00:00
Automatic Updater
a3fdc395a6 newcopyrights 2010-12-21 23:30:37 +00:00
Automatic Updater
f2c99a20e3 update 2010-12-21 23:15:28 +00:00
Jeremy Reed
7c6972d6ca Remove duplicated check-mx explanation.
Ebersman told me about it.
I opened ticket #22778 for this.
2010-12-21 22:40:55 +00:00
Automatic Updater
ea2d37e4f1 update 2010-12-21 05:15:41 +00:00
Mark Andrews
bc650d355c regen 2010-12-21 04:31:27 +00:00
Mark Andrews
c2170a4bd0 2994. [port] NetBSD: use pthreads by default on NetBSD >= 5.0, and
do not use threads on earlier versions.  Also kill
                        the unproven-pthreads, mit-pthreads, and ptl2 support.
2010-12-21 04:20:23 +00:00
Automatic Updater
e1f024416a update 2010-12-21 03:16:10 +00:00
Mark Andrews
82f77687ab 2993. [func] Dynamically grow adb hash tables. [RT #21186] 2010-12-21 03:11:42 +00:00
Mark Andrews
72be2e5698 regen 2010-12-21 02:33:59 +00:00
Mark Andrews
0ece47f7c1 2992. [contrib] contrib/check-secure-delegation.pl: A simple tool
for looking at a secure delegation. [RT #22059]
2010-12-21 02:32:21 +00:00
Mark Andrews
1f512cd06b 2991. [contrib] contrib/zone-edit.sh: A simple zone editing tool for
dynamic zones. [RT #22365]
2010-12-21 02:19:06 +00:00
Automatic Updater
66b2016a91 update 2010-12-21 00:16:11 +00:00
Automatic Updater
ca103999e6 update copyright notice 2010-12-20 23:47:21 +00:00
Automatic Updater
6a71702b47 auto update 2010-12-20 23:17:15 +00:00
Automatic Updater
42bb7bf869 update 2010-12-20 22:15:24 +00:00
Evan Hunt
950aa1d752 When a prereq.sh file determines that a test can't run because the feature
to be tested was not configured in at build time, it can now return 255,
and run.sh will print "R:SKIPPED" instead of "R:UNTESTED".  Robie will be
able to flag this as green rather than yellow.
2010-12-20 21:35:45 +00:00
Automatic Updater
d39a94a1db update 2010-12-20 19:15:29 +00:00
Evan Hunt
8fda09fc85 Changed $(command) to command in tests.sh for compatibility with
older bourne shells.
2010-12-20 18:37:07 +00:00
Automatic Updater
72cfc80dab update 2010-12-20 00:16:14 +00:00
Automatic Updater
f7a71eef29 tsiggss dlzexternal 2010-12-19 23:50:14 +00:00
Mark Andrews
e11d10bbcc example.nil.zone -> example.nil.db 2010-12-19 23:39:28 +00:00
Automatic Updater
50e524aa29 update 2010-12-19 22:15:29 +00:00
Evan Hunt
db4c1bc48a Looks like "ifdef" should have been "ifndef". (Committing without review to
silence robie.)
2010-12-19 21:32:35 +00:00
Automatic Updater
8b840548ca update 2010-12-19 08:15:33 +00:00
Evan Hunt
584ad7dedd 2990. [bug] 'dnssec-settime -S' no longer tests prepublication
interval validity when the interval is set to 0.
			[RT #22761]
2010-12-19 07:29:36 +00:00
Automatic Updater
8ff031ed05 update 2010-12-19 03:16:40 +00:00
Evan Hunt
c445b2f648 Add #ifdef BIND9 to some of the new DLZ code to fix link errors
when building with --enable-exportlibs
2010-12-19 02:51:41 +00:00
Evan Hunt
9f453d9342 removed unnecessary "done" log message from dns_sdlzcreate(); it used
__FUNCTION__ which caused problems on some compilers.
2010-12-19 02:37:08 +00:00
Automatic Updater
dcaa912725 update 2010-12-19 01:15:28 +00:00
Automatic Updater
517ae3de96 regen HEAD 2010-12-19 01:14:08 +00:00
Automatic Updater
7bd57e7372 update 2010-12-19 00:16:32 +00:00
Automatic Updater
941c0792f2 update copyright notice 2010-12-18 23:47:11 +00:00
Automatic Updater
98179904c3 update 2010-12-18 17:15:25 +00:00
Evan Hunt
6c3eff861d tsiggss test needed a prereq.sh file. (Committing without review because
the script is simple, no one is available, and I want to shut robie up.)
2010-12-18 16:48:41 +00:00
Automatic Updater
ec310af18b update 2010-12-18 15:15:24 +00:00
Mark Andrews
aa5b977943 regen 2010-12-18 14:47:42 +00:00
Mark Andrews
c880d51849 gsskrb5_register_acceptor_identity is not available on all platforms 2010-12-18 14:46:21 +00:00
Automatic Updater
009b1debed update 2010-12-18 12:15:25 +00:00
Mark Andrews
6dcb804dc6 UNUSED(use_static_stub); 2010-12-18 11:47:13 +00:00
Mark Andrews
0faa11ab77 clean first 2010-12-18 11:45:01 +00:00
Automatic Updater
2aea9329b6 update 2010-12-18 10:15:29 +00:00
Automatic Updater
8aa53dcb1d staticstub 2010-12-18 09:41:37 +00:00
Automatic Updater
819d54a570 update 2010-12-18 02:16:16 +00:00
Evan Hunt
af903e5008 Added files to clean.sh scripts that have been left around after tests run.
Skipping the ticket/review steps because the change is trivial.
2010-12-18 02:12:44 +00:00
Evan Hunt
71bd858d8e 2989. [func] Added support for writable DLZ zones. (Contributed
by Andrew Tridgell of the Samba project.) [RT #22629]

2988.	[experimental]	Added a "dlopen" DLZ driver, allowing the creation
			of external DLZ drivers that can be loaded as
			shared objects at runtime rather than linked with
			named.  Currently this is switched on via a
			compile-time option, "configure --with-dlz-dlopen".
			Note: the syntax for configuring DLZ zones
			is likely to be refined in future releases.
			(Contributed by Andrew Tridgell of the Samba
			project.) [RT #22629]

2987.	[func]		Improve ease of configuring TKEY/GSS updates by
			adding a "tkey-gssapi-keytab" option.  If set,
			updates will be allowed with any key matching
			a principal in the specified keytab file.
			"tkey-gssapi-credential" is no longer required
			and is expected to be deprecated.  (Contributed
			by Andrew Tridgell of the Samba project.)
			[RT #22629]
2010-12-18 01:56:23 +00:00
Automatic Updater
21b13993dc update 2010-12-18 00:16:33 +00:00
Automatic Updater
b65282d612 auto update 2010-12-17 23:16:55 +00:00
Automatic Updater
15c1f38755 update 2010-12-17 04:16:05 +00:00
Mark Andrews
ffa806a294 fix change numbers 2010-12-17 03:21:10 +00:00
Automatic Updater
fa1c5519fd update 2010-12-17 01:15:29 +00:00
Automatic Updater
b6f3a9131e regen HEAD 2010-12-17 01:14:04 +00:00
Mark Andrews
273757406a .zone -> .db 2010-12-17 00:57:39 +00:00
Automatic Updater
8a40052676 update 2010-12-17 00:16:34 +00:00
Automatic Updater
0ccd663a83 update copyright notice 2010-12-16 23:47:08 +00:00
Automatic Updater
4482fc347c auto update 2010-12-16 23:16:54 +00:00
Automatic Updater
1027681624 update 2010-12-16 10:15:29 +00:00
Tatuya JINMEI 神明達哉
743bbdc18f 2947. [func] Add new zone type "static-stub". It's like a stub
zone, but the nameserver names and/or their IP
			addresses are statically configured. [RT #21474]

(for 9.8.0)
2010-12-16 09:51:30 +00:00
Automatic Updater
68918cc072 auto update 2010-12-15 23:16:50 +00:00
Automatic Updater
c00580a734 update 2010-12-15 19:15:27 +00:00
Evan Hunt
bbedadf76a 2985. [bug] Add a regression test for change #2896. [RT #21324] 2010-12-15 18:44:37 +00:00
Automatic Updater
47d4a3b457 update 2010-12-14 01:15:32 +00:00
Mark Andrews
8d8f0b4659 2984. [bug] Don't run MX checks when the target of the MX record is ".". [RT #22645] 2010-12-14 00:39:59 +00:00
Automatic Updater
2ed508c655 auto update 2010-12-13 23:16:47 +00:00
Automatic Updater
1c76184b2a update 2010-12-10 20:15:30 +00:00
johnd
858c4a86c1 Fixed positioning of change description in CHANGES 2010-12-10 20:03:43 +00:00
johnd
7659fdb3aa Include "loadkeys" in rndc help output. [RT #22493] 2010-12-10 19:20:47 +00:00
Automatic Updater
7872a10b39 update 2010-12-10 01:15:22 +00:00
Mark Andrews
a16d8521e4 re-base the api version for 9.8 2010-12-10 01:13:02 +00:00
Automatic Updater
7b3b32ea6d auto update 2010-12-09 23:16:37 +00:00
Automatic Updater
c15fc34dde update 2010-12-09 08:16:09 +00:00
Automatic Updater
5a28dc400e newcopyrights 2010-12-09 07:32:01 +00:00
Automatic Updater
abea197a5f update 2010-12-09 07:15:23 +00:00
Mark Andrews
cf5770e7b1 remove semi-colon 2010-12-09 06:17:33 +00:00
Automatic Updater
f4177a8d44 update 2010-12-09 06:15:24 +00:00
Mark Andrews
391b2f42eb dns64 2010-12-09 06:12:43 +00:00
Mark Andrews
187d99dc53 s/dev/sdev/ 2010-12-09 06:08:05 +00:00
Automatic Updater
e3930b84cf update 2010-12-09 05:16:31 +00:00
Mark Andrews
44c0cfd2be remove extraneos semicolon 2010-12-09 04:59:09 +00:00
Mark Andrews
987f2097a6 dns64 is BIND9 only 2010-12-09 04:53:48 +00:00
Automatic Updater
3a790f1a34 9.8.0a1 2010-12-09 04:44:56 +00:00
Mark Andrews
73dbd4e933 9.8.0a1 2010-12-09 04:39:10 +00:00
Automatic Updater
fd6a9d688c update copyright notice 2010-12-09 04:31:57 +00:00
Automatic Updater
d1cb7c4f74 newcopyrights 2010-12-09 04:29:55 +00:00
Mark Andrews
b44bb86068 add comment 2010-12-09 04:17:15 +00:00
Automatic Updater
655878ed91 update 2010-12-09 04:16:03 +00:00
Mark Andrews
1e442d1994 zero bind 64 to 71 if prefix len is 64 2010-12-09 04:01:43 +00:00
Automatic Updater
b68a79c329 update 2010-12-09 01:15:47 +00:00
Automatic Updater
d893c62484 regen HEAD 2010-12-09 01:14:12 +00:00
Mark Andrews
9f9b7f0e8d 2982. [bug] Reference count dst keys. dst_key_attach() can be used
increment the reference count.

                        Note: dns_tsigkey_createfromkey() callers should now
                        always call dst_key_free() rather than setting it
                        to NULL on success. [RT #22672]
2010-12-09 00:54:34 +00:00
Automatic Updater
c2ebdf2c49 update 2010-12-09 00:16:08 +00:00
Automatic Updater
b8a9a7bef2 update copyright notice 2010-12-08 23:51:56 +00:00
Automatic Updater
ead8aa3182 newcopyrights 2010-12-08 23:48:44 +00:00
Mark Andrews
7f9f8c13c5 support good*.conf bad*.conf 2010-12-08 23:47:25 +00:00
Automatic Updater
60073ed455 auto update 2010-12-08 23:16:36 +00:00
Automatic Updater
b470dc92cd update 2010-12-08 05:15:29 +00:00
Mark Andrews
b9f2d007c5 2981. [func] Partial DNS64 support (AAAA synthesis). [RT #21991] 2010-12-08 05:01:00 +00:00
Automatic Updater
69c4159e71 update 2010-12-08 03:16:30 +00:00
Mark Andrews
e334405421 2981. [func] Partial DNS64 support (AAAA synthesis). [RT #21991] 2010-12-08 02:46:17 +00:00
Automatic Updater
b59e6107bf update 2010-12-08 00:16:08 +00:00
Automatic Updater
a4b8846651 update copyright notice 2010-12-07 23:47:02 +00:00
Automatic Updater
cd839f5cf5 newcopyrights 2010-12-07 23:30:33 +00:00
Automatic Updater
9c007d5357 update 2010-12-07 03:16:29 +00:00
Mark Andrews
8aee18709f 2980. [bug] named didn't properly handle UPDATES that changed the
TTL of the NSEC3PARAM RRset. [RT #22363]
2010-12-07 02:53:34 +00:00
Automatic Updater
631e4420e1 update 2010-12-04 23:15:29 +00:00
Mark Andrews
ab39760512 silence warning. temporary 2010-12-04 22:27:29 +00:00
Automatic Updater
4d03133c8f update 2010-12-04 14:15:30 +00:00
Mark Andrews
b286683ae8 temporally make isc__task_exiting become isc_task_exiting so that the
export version of libisc has all the symbols to link.
2010-12-04 13:25:59 +00:00
Automatic Updater
b512b5b533 update 2010-12-04 00:16:33 +00:00
Automatic Updater
59b283de0a update copyright notice 2010-12-03 23:46:46 +00:00
Automatic Updater
edd5217152 newcopyrights 2010-12-03 23:30:56 +00:00
Automatic Updater
7c0d9e68f9 auto update 2010-12-03 23:16:47 +00:00
Automatic Updater
696195c373 update 2010-12-03 22:15:35 +00:00
Evan Hunt
e78c2b856b 2979. [bug] named could deadlock during shutdown if two
"rndc stop" commands were issued at the same
			time. [RT #22108]
2010-12-03 22:05:19 +00:00
Mark Andrews
310e10d536 pass the address of dstkey 2010-12-03 21:47:19 +00:00
Automatic Updater
3cc6284383 update 2010-12-03 12:15:28 +00:00
Mark Andrews
cc83084441 s/dns_key_free/dst_key_free/ 2010-12-03 12:03:22 +00:00
Automatic Updater
7a7c5c129c update 2010-12-03 01:15:38 +00:00
Mark Andrews
c0a76b3c0b 2978. [port] hpux: look for <devpoll.h> [RT #21919] 2010-12-03 00:57:57 +00:00
Mark Andrews
82f0630bae 2977. [bug] 'nsupdate -l' report if the session key is missing.
[RT #21670]
2010-12-03 00:37:33 +00:00
Mark Andrews
6c9e21b4ce remove CVSS scores 2010-12-03 00:31:39 +00:00
Automatic Updater
312b3af169 update 2010-12-03 00:16:28 +00:00
Mark Andrews
b44b120c66 update RT number 2010-12-03 00:09:53 +00:00
Automatic Updater
326a702a35 update copyright notice 2010-12-02 23:46:56 +00:00
Mark Andrews
36fc19f939 update 2976 description 2010-12-02 23:44:28 +00:00
Automatic Updater
da24e725ff newcopyrights 2010-12-02 23:30:41 +00:00
Mark Andrews
c87f15dac8 2976. [bug] named die on exit after negotiating a GSS-TSIG key. [RT #3415] 2010-12-02 23:22:42 +00:00
Automatic Updater
7fb319204e auto update 2010-12-02 23:16:39 +00:00
Automatic Updater
a1eabc2b3f update 2010-12-02 05:16:36 +00:00
Mark Andrews
97664670d0 2975. [bug] rbtdb.c:cleanup_dead_nodes_callback() aquired the
wrong lock which could lead to server deadlock.
                        [RT #22614]
2010-12-02 04:58:13 +00:00
Automatic Updater
3a54e5ab6c update 2010-12-01 00:16:13 +00:00
Automatic Updater
e085624e0f update copyright notice 2010-11-30 23:46:55 +00:00
Automatic Updater
5f0d1e7b82 newcopyrights 2010-11-30 23:30:34 +00:00
Automatic Updater
c93b0eedee auto update 2010-11-30 23:16:39 +00:00
Automatic Updater
625a52bf35 update 2010-11-30 03:16:34 +00:00
Evan Hunt
b5b934a0bb 2974. [bug] Some vaild UPDATE requests could fail due to a
consistency check examining the existing version
			of the zone rather than the new version resulting
			from the UPDATE. [RT #22413]
2010-11-30 02:27:08 +00:00
Automatic Updater
d80e5e2db1 auto update 2010-11-29 23:16:40 +00:00
Automatic Updater
d7f9d063f2 update 2010-11-25 05:15:54 +00:00
Mark Andrews
9f4f189847 CVE-2010-3613 Reduce complexity from M to L raising score from 7.1 to 7.8.
Just have the base CVSS vectors.
2010-11-25 04:44:36 +00:00
Automatic Updater
fab04c267f auto update 2010-11-24 23:16:46 +00:00
Automatic Updater
7b7c25290f auto update 2010-11-19 23:16:40 +00:00
Automatic Updater
ce74e6c3b4 update 2010-11-19 00:16:39 +00:00
Mark Andrews
5af195d1db 2973. [bug] bind.keys.h was being removed by the "make clean"
at the end of configure resulting in build failures
                        where there is very old version of perl installed.
                        Move it to "make maintainer-clean". [RT #22230]
2010-11-18 23:20:15 +00:00
Automatic Updater
22f9090a35 auto update 2010-11-18 23:16:39 +00:00
Automatic Updater
735be4878f update 2010-11-18 03:16:45 +00:00
Mark Andrews
7ffe86618c add CVE, VU and CVSS 2010-11-18 02:47:48 +00:00
Automatic Updater
bed39bdf3a update 2010-11-18 01:16:38 +00:00
Automatic Updater
bc7051ee3f update copyright notice 2010-11-18 00:59:43 +00:00
Mark Andrews
5a636f9951 2972. [bug] win32: address windows socket errors. [RT #21906] 2010-11-18 00:24:00 +00:00
Automatic Updater
fa1d4d0cd7 update 2010-11-18 00:16:21 +00:00
Automatic Updater
33cc94f04c update copyright notice 2010-11-17 23:47:09 +00:00
Automatic Updater
44e3b27290 newcopyrights 2010-11-17 23:30:40 +00:00
Automatic Updater
231faefc5c update 2010-11-17 04:16:23 +00:00
Mark Andrews
1f50a0a441 handle namedxx.conf 2010-11-17 03:16:21 +00:00
Automatic Updater
1718ef8379 update 2010-11-17 01:15:40 +00:00
Evan Hunt
8eb30f8dd3 2971. [bug] Fixed a bug that caused journal files not to be
compacted on Windows systems as a result of
			non-POSIX-compliant rename() semantics. [RT #22434]
2010-11-17 00:27:54 +00:00
Automatic Updater
412e1fba75 update 2010-11-17 00:16:26 +00:00
Automatic Updater
42f95abecc auto update 2010-11-16 23:16:46 +00:00
Automatic Updater
10f0c5e041 update 2010-11-16 07:15:32 +00:00
Mark Andrews
d48730a446 2970. [security] Adding a NO DATA negative cache entry failed to clear
any matching RRSIG records.  A subsequent lookup of
                        of NO DATA cache entry could trigger a INSIST when the
                        unexpected RRSIG was also returned with the NO DATA
                        cache entry.  [RT #22288]
2010-11-16 06:46:44 +00:00
Automatic Updater
70eef362e6 update 2010-11-16 06:15:29 +00:00
Mark Andrews
cd9d825a71 remove accidental commit 2010-11-16 05:38:31 +00:00
Automatic Updater
33453d8676 update 2010-11-16 02:16:31 +00:00
Shawn Routhier
380c874925 Fix acl type processing so that allow-query works in options and view
statements.  Also add a new set of tests to verify proper functioning.
[RT #22418]
2010-11-16 01:37:39 +00:00
Automatic Updater
f02bcd6262 update 2010-11-16 01:15:26 +00:00
Mark Andrews
a27b3757fd 2968. [security] Named could fail to prove a data set was insecure
before marking it as insecure.  One set of conditions
                        that can trigger this occurs naturally when rolling
                        DNSKEY algorithms.  [RT #22309]
2010-11-16 01:14:51 +00:00
Mark Andrews
7965c00ca8 check for size equal zero in _format(), replace snprintf of a fixed string with strlcpy 2010-11-16 00:53:36 +00:00
Mark Andrews
432e1ce402 check that grow_headerspace added enough space or re-call it 2010-11-16 00:51:41 +00:00
Mark Andrews
c5a3400f23 REQUIRE that rataset/rdatalist be non NULL 2010-11-16 00:50:28 +00:00
Mark Andrews
a158495f84 INSIST that bucket in no longer ISC_ADB_INVALIDBUCKET after find_*_and_lock calls 2010-11-16 00:49:18 +00:00
Mark Andrews
f85281de08 check for snprintf failure 2010-11-16 00:47:48 +00:00
Mark Andrews
73b1b8a6f1 safecpy -> strlcpy 2010-11-16 00:46:39 +00:00
Mark Andrews
2bd3a6e266 strncpy + array[end] = 0 -> strlcpy 2010-11-16 00:46:00 +00:00
Mark Andrews
c2f5ddeeec isc_netaddr_format() check for sies equal 0 2010-11-16 00:43:02 +00:00
Mark Andrews
baab444222 isc_sockaddr_format() check for sies equal 0 2010-11-16 00:42:35 +00:00
Mark Andrews
d775887f01 cfg_obj_asnetprefix() check that the destinations are non NULL before writing to them 2010-11-16 00:41:32 +00:00
Automatic Updater
7b87980ae4 update 2010-11-10 09:15:26 +00:00
Mark Andrews
d009bf089b new draft 2010-11-10 08:59:26 +00:00
Automatic Updater
ab900cbf0d auto update 2010-11-08 23:16:36 +00:00
Automatic Updater
0575faaa41 auto update 2010-11-04 23:16:45 +00:00
Automatic Updater
649345de09 auto update 2010-11-03 23:16:39 +00:00
Automatic Updater
e2e19bd90f update 2010-11-03 01:15:27 +00:00
Mark Andrews
7964553eb4 branch snapshots 2010-11-03 01:04:36 +00:00
Automatic Updater
ad6f23f3ef auto update 2010-11-01 23:16:51 +00:00
Automatic Updater
717988cd08 auto update 2010-10-30 23:17:02 +00:00
Automatic Updater
9ba813582b auto update 2010-10-26 23:16:35 +00:00
Automatic Updater
b20c38829d auto update 2010-10-25 23:16:39 +00:00
Automatic Updater
d749f780d4 update 2010-10-20 00:16:21 +00:00
Automatic Updater
4071d667be update copyright notice 2010-10-19 23:47:10 +00:00
Automatic Updater
e311702a89 newcopyrights 2010-10-19 23:30:33 +00:00
Automatic Updater
088245273f update 2010-10-19 03:16:23 +00:00
Mark Andrews
c9c2ffe729 2967. [bug] 'host -D' now turns on debugging messages earlier.
[RT #22361]
2010-10-19 02:48:17 +00:00
Automatic Updater
51bc77127c update 2010-10-19 00:16:41 +00:00
Automatic Updater
b3ff8e5ae7 update copyright notice 2010-10-18 23:47:08 +00:00
Automatic Updater
b16e2045ac newcopyrights 2010-10-18 23:30:34 +00:00
Automatic Updater
5411715767 update 2010-10-18 04:16:39 +00:00
Mark Andrews
7bce336186 2966. [bug] isc_print_vsnprintf() failed to check if there was
space available in the buffer when adding a left
                        justified character with a non zero width,
                        (e.g. "%-1c"). [RT #22270]
2010-10-18 03:59:05 +00:00
Automatic Updater
003a8945fe auto update 2010-10-15 23:16:35 +00:00
Automatic Updater
caafaf2813 auto update 2010-10-12 23:16:42 +00:00
Mark Andrews
d9686e346b update 2010-10-11 23:24:45 +00:00
Automatic Updater
13cd516991 auto update 2010-10-07 23:16:35 +00:00
Automatic Updater
4d7f39b621 update 2010-10-04 23:15:38 +00:00
Mark Andrews
13dae6ff58 silence 'Null terminator in string initializer ignored.' warning 2010-10-04 22:27:41 +00:00
Automatic Updater
634d31cb04 update 2010-10-02 07:15:26 +00:00
Mark Andrews
fadef3ce7e new draft 2010-10-02 06:54:51 +00:00
Automatic Updater
6e0d41fc62 auto update 2010-09-30 23:16:43 +00:00
Automatic Updater
2bb389f9a4 update 2010-09-30 01:15:27 +00:00
Mark Andrews
45fbce9f17 custom_WALMART_v9_7_2 2010-09-30 00:17:29 +00:00
Automatic Updater
cb05fd5e8f update 2010-09-30 00:16:23 +00:00
Automatic Updater
9b367fcfe6 update copyright notice 2010-09-29 23:47:05 +00:00
Automatic Updater
e01f44b37b newcopyrights 2010-09-29 23:30:44 +00:00
Automatic Updater
01311387fb auto update 2010-09-29 23:16:46 +00:00
Automatic Updater
a431c67d58 update 2010-09-29 05:16:28 +00:00
Mark Andrews
34f010449c #include <isc/print.h> 2010-09-29 04:30:13 +00:00
Automatic Updater
b2c7d2874a update 2010-09-29 04:18:27 +00:00
Mark Andrews
5e2f047a5e 2965. [func] Test HMAC functions using test data from RFC 2104 and
RFC 4634. [RT #21702]
2010-09-29 04:03:00 +00:00
Mark Andrews
2015023399 2965. [func] Test HMAC functions using test data from RFC 2104 and RFC 4634. [RT #21702] 2010-09-29 04:00:16 +00:00
Automatic Updater
560c6b3773 update 2010-09-24 09:16:21 +00:00
Automatic Updater
7041e86986 update copyright notice 2010-09-24 08:31:23 +00:00
Automatic Updater
9b1207058e newcopyrights 2010-09-24 08:28:07 +00:00
Automatic Updater
fbe2a88bda update 2010-09-24 08:15:33 +00:00
Mark Andrews
b2c8cc4f2d placeholder 2010-09-24 08:10:12 +00:00
Automatic Updater
246f9ea6d6 update 2010-09-24 05:15:42 +00:00
Mark Andrews
ed83fa75f5 2963. [security] The allow-query acl was being applied instead of the
allow-query-cache acl to cache lookups. [RT #22114]
2010-09-24 05:09:03 +00:00
Automatic Updater
02f42ed1d9 update 2010-09-22 01:15:24 +00:00
Automatic Updater
3ce014e9af regen HEAD 2010-09-22 01:13:54 +00:00
Automatic Updater
7c267be4aa auto update 2010-09-21 23:16:16 +00:00
Automatic Updater
7d70c8c834 update 2010-09-21 20:15:31 +00:00
Paul Ebersman
3b9a5b7cdd fixed typo from man.dnysssec to man.dnssec.
reviewed by jreed, currently just fixed in HEAD.
2010-09-21 19:47:57 +00:00
Automatic Updater
d738096795 update 2010-09-17 05:15:38 +00:00
Mark Andrews
9eba1cf5e5 spelling 2010-09-17 04:32:59 +00:00
Automatic Updater
cf86dfbe47 update 2010-09-16 05:15:38 +00:00
Mark Andrews
c470afc7ac 2962. [port] win32: add more dependancies to BINDBuild.dsw.
[RT #22062]
2010-09-16 04:56:06 +00:00
Automatic Updater
c083414f34 update 2010-09-15 23:30:26 +00:00
Mark Andrews
165501a801 simplify grep 2010-09-15 23:22:02 +00:00
Automatic Updater
f536c72a44 update 2010-09-15 16:15:36 +00:00
Evan Hunt
cff5da57d6 The "resolver" test was failing on systems with old versions of "grep". 2010-09-15 15:45:07 +00:00
Automatic Updater
27d8bdc81f update 2010-09-15 12:50:57 +00:00
Automatic Updater
3255640981 update copyright notice 2010-09-15 12:38:36 +00:00
Automatic Updater
2cdbfcdad9 newcopyrights 2010-09-15 12:34:00 +00:00
Mark Andrews
a6e1f63f50 ./bin/tests/system/resolver/ns4/named.noaa 2010-09-15 12:30:45 +00:00
Mark Andrews
506a2177bf 2961. [bug] Be still more selective about the non-authoritative
answers we apply change 2748 to. [RT #22074]
2010-09-15 12:21:27 +00:00
Automatic Updater
f636b969f0 update 2010-09-15 12:15:34 +00:00
Mark Andrews
082f42dcf2 2960. [func] Check that named accepts non-authoritative answers.
[RT #21594]
2010-09-15 12:07:56 +00:00
Automatic Updater
de6e3c1dc4 update 2010-09-15 04:16:34 +00:00
Mark Andrews
c75523bcb3 2959. [func] Check that named starts with a missing masterfile.
[RT #22076]

2958.   [bug]           named failed to start with a missing master file.
                        [RT #22076]
2010-09-15 03:32:34 +00:00
Automatic Updater
ca1b023107 update 2010-09-15 03:16:13 +00:00
Mark Andrews
70ba55161b 2957. [bug] entropy_get() and entropy_getpseudo() failed to match
the API for RAND_bytes() and RAND_pseudo_bytes()
                        respectively. [RT #21962]
2010-09-15 03:06:15 +00:00
Automatic Updater
2df9c63cad auto update 2010-09-14 23:16:31 +00:00
Automatic Updater
8e61f264fd update 2010-09-14 00:15:52 +00:00
Automatic Updater
dc9fa0be37 update copyright notice 2010-09-13 23:46:58 +00:00
Automatic Updater
ede7b1df75 newcopyrights 2010-09-13 23:30:39 +00:00
Automatic Updater
5970bec141 auto update 2010-09-13 23:16:34 +00:00
Automatic Updater
30c76ec787 update 2010-09-13 07:15:26 +00:00
Mark Andrews
ad9107efaa 2956. [port] Enable atomic operations on the PowerPC64. [RT #21899] 2010-09-13 07:06:05 +00:00
Automatic Updater
f56ced0b9d update 2010-09-13 04:16:04 +00:00
Mark Andrews
3f9f14055b 2955. [func] Provide more detail in the recursing log. [RT #22043] 2010-09-13 03:37:43 +00:00
Mark Andrews
75f48cecb3 2954. [bug] contrib: dlz_mysql_driver.c bad error handling on
build_sqldbinstance failure. [RT #21623]
2010-09-13 03:27:48 +00:00
Automatic Updater
8c13f838f5 auto update 2010-09-10 23:16:31 +00:00
Automatic Updater
b73d90b60b auto update 2010-09-09 23:16:34 +00:00
Automatic Updater
bbc604018c update 2010-09-08 00:16:23 +00:00
Automatic Updater
7306e8e4ee update copyright notice 2010-09-07 23:46:59 +00:00
Automatic Updater
e171a4137c newcopyrights 2010-09-07 23:30:44 +00:00
Automatic Updater
1e6b56b088 update 2010-09-07 03:16:18 +00:00
Mark Andrews
8fb412590e 2953. [bug] Silence spurious "expected covering NSEC3, got an
exact match" message when returning a wildcard
                        no data response. [RT #21744]
2010-09-07 02:28:17 +00:00
Automatic Updater
8bf7aca489 update 2010-09-07 02:15:58 +00:00
Mark Andrews
1b42401954 2952. [port] win32: named-checkzone and named-checkconf failed
to initialise winsock. [RT #21932]
2010-09-07 01:49:08 +00:00
Automatic Updater
ce9ba78d11 update 2010-09-07 01:15:33 +00:00
Mark Andrews
240a7dc59d 2951. [bug] named failed to generate a correct signed response
in a optout, delegation only zone with no secure
                        delegations. [RT #22007]
2010-09-07 00:58:36 +00:00
Automatic Updater
e92e62990b auto update 2010-09-06 23:16:32 +00:00
Automatic Updater
b8bb4e6e94 update 2010-09-06 05:15:44 +00:00
Mark Andrews
e588bfe689 2950. [bug] named failed to perform a SOA up to date check when
falling back to TCP on UDP timeouts when
                        ixfr-from-differences was set. [RT #21595]
2010-09-06 04:41:13 +00:00
Mark Andrews
02a211f4c4 2949. [bug] dns_view_setnewzones() contained a memory leak if
it was called multiple times. [RT #21942]
2010-09-06 04:31:11 +00:00
Automatic Updater
3045036e49 update 2010-09-05 12:15:17 +00:00
Francis Dupont
ec288f1a26 reindent 2010-09-05 12:14:26 +00:00
Automatic Updater
c2c67d6e47 auto update 2010-09-02 23:16:27 +00:00
Automatic Updater
e928ad8bf9 auto update 2010-08-31 23:16:31 +00:00
Automatic Updater
196f1cf015 auto update 2010-08-27 23:16:28 +00:00
Automatic Updater
d851310950 update 2010-08-26 00:16:01 +00:00
Automatic Updater
dac2623103 update copyright notice 2010-08-25 23:46:37 +00:00
Automatic Updater
ff69107b38 newcopyrights 2010-08-25 23:30:53 +00:00
Automatic Updater
5c7f849c70 update 2010-08-25 06:15:21 +00:00
Mark Andrews
fd8fb4df84 bin/tests/system/org.isc.bind.system.plist 2010-08-25 05:33:56 +00:00
Automatic Updater
ad901e21c0 update 2010-08-25 05:15:18 +00:00
Mark Andrews
17be07ab81 2948. [port] MacOS: provide a mechanism to configure the test
interfaces at reboot. See bin/tests/system/README
                        for details.
2010-08-25 04:51:51 +00:00
Automatic Updater
5fdcf9e935 update 2010-08-25 01:15:27 +00:00
Mark Andrews
0b57424d28 update 2010-08-25 01:09:53 +00:00
Automatic Updater
b7c24d4b8e update 2010-08-24 06:15:22 +00:00
Mark Andrews
684a4498ba cleanup 2010-08-24 05:27:37 +00:00
Automatic Updater
0a1bc4e536 update 2010-08-24 01:15:20 +00:00
Mark Andrews
b5fd149e7e silence signed/unsigned warning hpux 2010-08-24 01:00:31 +00:00
Automatic Updater
512d7c315f update 2010-08-23 23:15:49 +00:00
Tatuya JINMEI 神明達哉
708b78f157 placeholder for 9.7.1-P2-DENIC (RT #21886) 2010-08-23 23:08:52 +00:00
Automatic Updater
4cb4d7a110 update 2010-08-21 01:15:17 +00:00
Automatic Updater
fde6bfde6e regen HEAD 2010-08-21 01:14:00 +00:00
Automatic Updater
a3cd596c87 update 2010-08-20 02:15:26 +00:00
Mark Andrews
20599f3d0e 2946. [doc] Document the default values for the minimum and maximum zone refresh and retry values in the ARM. [RT #21886] 2010-08-20 01:31:10 +00:00
Automatic Updater
3a52f3444d update 2010-08-20 01:15:31 +00:00
Automatic Updater
c25877b363 regen HEAD 2010-08-20 01:14:19 +00:00
Automatic Updater
6010e5d622 update 2010-08-20 00:16:02 +00:00
Mark Andrews
38abdbf816 2945. [doc] Update empty-zones list in ARM. [RT #21772]
2944.   [maint]         Remove ORCHID prefix from built in empty zones.
                        [RT #21772]
2010-08-20 00:13:26 +00:00
Automatic Updater
ff61017de2 update 2010-08-18 00:16:06 +00:00
Automatic Updater
7202b5cf66 update copyright notice 2010-08-17 23:46:46 +00:00
Automatic Updater
255571ad34 newcopyrights 2010-08-17 23:30:46 +00:00
Automatic Updater
0aeba1af0d update 2010-08-17 04:16:10 +00:00
Mark Andrews
e0c50ca36a update default id range to match that used (1..7) 2010-08-17 04:08:57 +00:00
Automatic Updater
e8c1bd086f update 2010-08-17 02:15:21 +00:00
Automatic Updater
3acf5eb97c regen HEAD 2010-08-17 01:15:38 +00:00
Automatic Updater
56876f1e68 update 2010-08-17 00:15:48 +00:00
Automatic Updater
f428e385a4 update copyright notice 2010-08-16 23:46:52 +00:00
Automatic Updater
e23256e740 newcopyrights 2010-08-16 23:30:42 +00:00
Automatic Updater
8661637b9d auto update 2010-08-16 23:16:35 +00:00
Automatic Updater
2a9a0f406b update 2010-08-16 23:15:26 +00:00
Mark Andrews
10f9e687f5 silence redefinition warnings MacOS 2010-08-16 22:41:16 +00:00
Mark Andrews
c6f4972c74 2943. [func] Add support to load new keys into managed zones
without signing immediately with "rndc loadkeys".
                        Add support to link keys with "dnssec-keygen -S"
                        and "dnssec-settime -S".  [RT #21351]
2010-08-16 22:21:07 +00:00
Automatic Updater
6ee897e2b3 update 2010-08-16 06:15:25 +00:00
Mark Andrews
f94ec08c17 2942. [contrib] zone2sqlite failed to setup the entropy sources.
[RT #21610]
2010-08-16 05:32:44 +00:00
Automatic Updater
f0b944480e update 2010-08-16 05:15:24 +00:00
Mark Andrews
8bc194b266 2941. [bug] sdb and sdlz (dlz's zone database) failed to support
DNAME at the zone apex.  [RT #21610]
2010-08-16 04:49:14 +00:00
Automatic Updater
8171f2c3dd update 2010-08-14 00:15:51 +00:00
Automatic Updater
2b43d1d8c5 update copyright notice 2010-08-13 23:47:04 +00:00
Automatic Updater
665ba746c0 newcopyrights 2010-08-13 23:30:56 +00:00
Automatic Updater
6deb576114 auto update 2010-08-13 23:16:31 +00:00
Automatic Updater
30036552e4 update 2010-08-13 15:15:21 +00:00
Francis Dupont
7641867b4c fix win32 build 2010-08-13 14:33:31 +00:00
Automatic Updater
20dc3ddcd4 update 2010-08-13 11:15:20 +00:00
Francis Dupont
0395219694 remove connection aborted error message [#21549] 2010-08-13 10:49:58 +00:00
Francis Dupont
bcb444aed0 remove connection aborted error message 2010-08-13 10:45:32 +00:00
Automatic Updater
bdc3114b56 update 2010-08-13 08:15:23 +00:00
Mark Andrews
7c681d0750 2939. [func] Check that named successfully skips NSEC3 records
that fail to match the NSEC3PARAM record currently
                        in use. [RT# 21868]
2010-08-13 07:32:42 +00:00
Mark Andrews
da45cdaf79 placeholder 2010-08-13 07:26:50 +00:00
Automatic Updater
c115a50963 update 2010-08-13 07:15:20 +00:00
Mark Andrews
c73d8c1b72 2938. [bug] When skipping NSEC3 records that don't match the
current NSEC3PARAM record in use for zone named
                        could dereference a uninitialised pointer attempting
                        to obtain a lock. [RT# 21868]
2010-08-13 06:46:25 +00:00
Automatic Updater
ef0d20244d update 2010-08-13 04:15:32 +00:00
Mark Andrews
e8c17c7453 ./bin/tests/system/addzone/ns2/default.nzf.in 2010-08-13 03:35:38 +00:00
Automatic Updater
0d5a43e21a update 2010-08-13 00:15:59 +00:00
Automatic Updater
87be41dc7b update 2010-08-12 22:15:20 +00:00
Tatuya JINMEI 神明達哉
d0b75b9ff6 define the wrapper function for mem_isovermem().
(a regression in rt21818)
2010-08-12 21:30:26 +00:00
Automatic Updater
1d41be16c7 update 2010-08-12 10:15:20 +00:00
Francis Dupont
bf22bad528 removing unused 2010-08-12 09:52:35 +00:00
Francis Dupont
13f0ecd037 re-indent 2010-08-12 09:31:50 +00:00
Automatic Updater
d1fa703c08 update 2010-08-12 04:15:32 +00:00
Evan Hunt
9b7efe7aca Removed a leftover UNUSED statement referencing a parameter that doesn't
exist anymore.
2010-08-12 04:04:14 +00:00
Automatic Updater
e52171437f update 2010-08-12 03:15:44 +00:00
Mark Andrews
020b3b1379 new draft 2010-08-12 02:30:25 +00:00
Automatic Updater
75f004c92b update 2010-08-12 02:15:21 +00:00
Mark Andrews
bde46569f3 .orig -> .in as .orig is used by patch 2010-08-12 01:31:36 +00:00
Automatic Updater
0a93c74a35 update 2010-08-12 01:15:17 +00:00
Automatic Updater
82d13321f4 regen HEAD 2010-08-12 01:14:30 +00:00
Automatic Updater
0e3b06fb84 update 2010-08-12 00:15:59 +00:00
Automatic Updater
cc4dd0d08d update copyright notice 2010-08-11 23:46:42 +00:00
Automatic Updater
30e7870023 update 2010-08-11 23:15:34 +00:00
Tatuya JINMEI 神明達哉
253ae50e09 required ctx is valid in mem_isovermem(). 2010-08-11 23:11:45 +00:00
Tatuya JINMEI 神明達哉
27fe1966c9 2937. [bug] Worked around an apparent race condition in over
memory conditions.  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.
			This fix prevents this problem from happening by
			polling the state of the memory context, rather than
			making a copy of the state, which appeared to cause
			a race.  This is a "workaround" in that it doesn't
			solve the possible race per se, but several experiments
			proved this change solves the symptom.  Also, the
			polling overhead hasn't been reported to be an issue.
			This bug should only affect a caching server that
			specifies a finite max-cache-size.  It's also quite
			likely that the bug happens only when enabling threads,
			but it's not confirmed yet. [RT #21818]
2010-08-11 22:54:58 +00:00
Automatic Updater
fc7bf6dcad update 2010-08-11 18:15:22 +00:00
Evan Hunt
cfd262045c 2936. [func] Improved configuration syntax and multiple-view
support for addzone/delzone feature (see change
			#2930).  Removed "new-zone-file" option, replaced
			with "allow-new-zones (yes|no)".  The new-zone-file
			for each view is now created automatically, with
			a filename generated from a hash of the view name.
			It is no longer necessary to "include" the
			new-zone-file in named.conf; this happens
			automatically.  Zones that were not added via
			"rndc addzone" can no longer be removed with
			"rndc delzone". [RT #19447]
2010-08-11 18:14:20 +00:00
Automatic Updater
7d7cdecee6 update 2010-08-11 13:15:16 +00:00
Francis Dupont
26f55cbdf6 trivial fix in comment 2010-08-11 12:37:36 +00:00
Automatic Updater
d8ba58b392 update 2010-08-11 01:15:31 +00:00
Mark Andrews
999ffe78c4 new draft 2010-08-11 00:58:20 +00:00
Automatic Updater
2fa731eafb update 2010-08-11 00:16:06 +00:00
Automatic Updater
548317f929 update copyright notice 2010-08-10 23:48:19 +00:00
Automatic Updater
93bd88e172 newcopyrights 2010-08-10 23:30:37 +00:00
Automatic Updater
b5ef90b267 auto update 2010-08-10 23:16:25 +00:00
Automatic Updater
9a55ac6af1 update 2010-08-10 10:15:26 +00:00
Mark Andrews
4b6cb8d09e 2935. [bug] nsupdate: improve 'file not found' error message.
[RT #21871]
2010-08-10 09:51:47 +00:00
Mark Andrews
712b976a06 2934. [bug] Use ANSI C compliant shift range in lib/isc/entropy.c. [RT #21871] 2010-08-10 09:32:06 +00:00
Automatic Updater
c567a85061 update 2010-08-10 09:15:24 +00:00
Mark Andrews
f083530138 2933. [bug] 'dig +nsid' used stack memory after it went out of
scope.  This could potentially result in a unknown,
                        potentially malformed, EDNS option being sent instead
                        of the desired NSID option. [RT #21781]
2010-08-10 08:39:15 +00:00
Automatic Updater
2d9248490c auto update 2010-08-09 23:16:32 +00:00
Automatic Updater
577582dd68 update 2010-08-09 23:15:30 +00:00
Evan Hunt
cb933b69ff 2932. [cleanup] Corrected a numbering error in the "dnssec" test.
[RT #21597]
2010-08-09 22:34:56 +00:00
Automatic Updater
8e9eb313e7 auto update 2010-08-05 23:16:30 +00:00
Automatic Updater
efee6b51c7 update 2010-08-04 00:16:01 +00:00
Automatic Updater
8ac1f6a48c update copyright notice 2010-08-03 23:46:39 +00:00
Automatic Updater
be63e68c51 newcopyrights 2010-08-03 23:30:45 +00:00
Automatic Updater
b8848eded7 update 2010-08-03 17:15:29 +00:00
Tatuya JINMEI 神明達哉
dbae1499ba added me to authors. approved by Evan. 2010-08-03 16:40:45 +00:00
Automatic Updater
26d137dd7d update 2010-07-20 05:15:21 +00:00
Mark Andrews
7b830cb17f while (1) -> for (;;) to silence compiler warning 2010-07-20 04:52:21 +00:00
Mark Andrews
0ddcd0c0ce format/arg mismatch solaris 2010-07-20 04:46:49 +00:00
Automatic Updater
168903d09b update 2010-07-19 06:15:19 +00:00
Mark Andrews
7a8d1e1e2e 0 -> 0U 2010-07-19 06:13:28 +00:00
Automatic Updater
a7a94ab93a update 2010-07-19 04:15:24 +00:00
Mark Andrews
dfbda37366 silence compiler warnings about (char) as index to array 2010-07-19 04:13:38 +00:00
Automatic Updater
06573b9f35 auto update 2010-07-16 23:16:21 +00:00
Automatic Updater
c48e03b9a3 update 2010-07-15 02:15:23 +00:00
Tatuya JINMEI 神明達哉
f1f39b7e07 2931. [bug] Temporarily and partially disable change 2864
because it would cause inifinite attempts of RRSIG
			queries.  This is an urgent care fix; we'll
			revisit the issue and complete the fix later.
			[RT #21710]
2010-07-15 01:17:45 +00:00
Automatic Updater
1c3359e8f7 auto update 2010-07-14 23:16:22 +00:00
Automatic Updater
7759bb4896 update 2010-07-12 04:15:21 +00:00
Mark Andrews
b24b6ddab7 5933: Use of GOST Signature Algorithms in DNSKEY
and RRSIG Resource Records for DNSSEC
2010-07-12 03:17:37 +00:00
Automatic Updater
3101b7bd21 update 2010-07-12 01:15:17 +00:00
Automatic Updater
5d9e1d7500 regen HEAD 2010-07-12 01:14:20 +00:00
Automatic Updater
c7578930ec update 2010-07-12 00:15:57 +00:00
Automatic Updater
a90aca78aa update copyright notice 2010-07-11 23:46:54 +00:00
Automatic Updater
e5fe07a7eb newcopyrights 2010-07-11 23:30:36 +00:00
Automatic Updater
239df719b0 update 2010-07-11 06:15:19 +00:00
Evan Hunt
a207cfc5d1 Removed a duplicate entry in namedconf.c. 2010-07-11 05:44:15 +00:00
Automatic Updater
99ab3cfce2 update 2010-07-11 02:15:23 +00:00
Evan Hunt
5312c2ffbe dnssec and dlv tests included master zones whose master files were missing.
this was a bug that hadn't been noticed before, but 19447 added a test for
that condition and it caused test failures.
2010-07-11 01:18:24 +00:00
Automatic Updater
816e5bac7d update 2010-07-11 01:15:20 +00:00
Automatic Updater
ae80331be3 regen HEAD 2010-07-11 01:14:16 +00:00
Automatic Updater
0733592092 update 2010-07-11 00:15:54 +00:00
Evan Hunt
86dcc40058 2930. [experimental] New "rndc addzone" and "rndc delzone" commads
allow dynamic addition and deletion of zones.
			To enable this feature, specify a "new-zone-file"
			option at the view or options level in named.conf.
			Zone configuration information for the new zones
			will be written into that file.  To make the new
			zones persist after a restart, "include" the file
			into named.conf in the appropriate view.  (Note:
			This feature is not yet documented, and its syntax
			is expected to change.) [RT #19447]
2010-07-11 00:12:57 +00:00
Automatic Updater
773896a200 update 2010-07-10 01:15:17 +00:00
Automatic Updater
7c6b9b2638 regen HEAD 2010-07-10 01:14:20 +00:00
Automatic Updater
2a69cdc964 update 2010-07-10 00:16:01 +00:00
Automatic Updater
1b892cf691 update copyright notice 2010-07-09 23:46:51 +00:00
Automatic Updater
7858b0168b newcopyrights 2010-07-09 23:33:38 +00:00
Automatic Updater
df23bca11a update 2010-07-09 05:15:54 +00:00
Evan Hunt
bf9b852c3e 2929. [bug] Improved handling of GSS security contexts:
- added LRU expiration for generated TSIGs
			 - added the ability to use a non-default realm
                         - added new "realm" keyword in nsupdate
			 - limited lifetime of generated keys to 1 hour
			   or the lifetime of the context (whichever is
			   smaller)
			[RT #19737]
2010-07-09 05:13:15 +00:00
Automatic Updater
385c6ae102 auto update 2010-07-07 23:16:25 +00:00
Automatic Updater
0ec2958f5e update 2010-07-07 08:15:17 +00:00
Mark Andrews
7738656b90 new draft 2010-07-07 08:05:29 +00:00
Automatic Updater
c964b0b9bd update 2010-07-04 01:15:22 +00:00
Mark Andrews
922e80affe new draft 2010-07-04 01:13:13 +00:00
Mark Andrews
ff5864ef42 2928. [bug] Be more selective about the non-authoritative
answer we apply change 2748 to. [RT #21594]
2010-07-04 00:48:57 +00:00
Automatic Updater
86532a6230 auto update 2010-07-02 23:16:22 +00:00
Automatic Updater
60ddb8f01e update 2010-07-02 00:15:43 +00:00
Automatic Updater
817ae21947 newcopyrights 2010-07-01 23:30:35 +00:00
Automatic Updater
51ad8ab5e5 auto update 2010-07-01 23:16:19 +00:00
Tatuya JINMEI 神明達哉
4c517d66b5 canceled previous commit (wrong branch) 2010-07-01 19:26:08 +00:00
Tatuya JINMEI 神明達哉
cd98628ca6 regen 2010-07-01 19:19:27 +00:00
Automatic Updater
27c982c86d update 2010-07-01 18:15:22 +00:00
Tatuya JINMEI 神明達哉
f3792d4bda placeholdr for RT #21474 2010-07-01 17:36:09 +00:00
Automatic Updater
80114610e4 auto update 2010-06-29 23:16:20 +00:00
Automatic Updater
11d742eaba update 2010-06-29 23:15:21 +00:00
Mark Andrews
9ad05226e8 new draft 2010-06-29 23:09:13 +00:00
Automatic Updater
0b45829b11 update 2010-06-29 03:15:58 +00:00
Mark Andrews
45d9b38097 placeholder 2010-06-29 02:51:13 +00:00
Automatic Updater
20c9d11bab update 2010-06-29 00:15:56 +00:00
Automatic Updater
b2f875a535 update copyright notice 2010-06-28 23:46:44 +00:00
Automatic Updater
96249c843a newcopyrights 2010-06-28 23:30:41 +00:00
Automatic Updater
d045e9694c auto update 2010-06-28 23:16:23 +00:00
Automatic Updater
e7fb023fd0 update 2010-06-28 04:15:44 +00:00
Mark Andrews
ea72c1dff0 new draft 2010-06-28 03:43:05 +00:00
Automatic Updater
3a3dba4431 update 2010-06-28 02:15:24 +00:00
Mark Andrews
a7d2b922ee match the dig.out.ns#.$n to the nameserver 2010-06-28 01:34:11 +00:00
Mark Andrews
8fa6ca58b6 check that we have non-cachable answers to test against 2010-06-28 01:31:49 +00:00
Automatic Updater
2bd0d8b03f update 2010-06-28 00:16:02 +00:00
Mark Andrews
9408328f1d handle very short source files 2010-06-27 23:42:22 +00:00
Automatic Updater
56a67f949b update 2010-06-27 00:15:50 +00:00
Automatic Updater
1b67d9b719 update copyright notice 2010-06-26 23:46:49 +00:00
Automatic Updater
e628576d3b newcopyrights 2010-06-26 23:30:44 +00:00
Automatic Updater
57606549c0 update 2010-06-26 06:15:21 +00:00
Mark Andrews
2cf74a72fd isc_boolean_t -> dns_v4_aaaa_t 2010-06-26 05:30:30 +00:00
Automatic Updater
cc455423fd update 2010-06-26 03:16:03 +00:00
Mark Andrews
f8a9a38ee4 bin/tests/system/dnssec/ns7/named.nosoa 2010-06-26 02:19:32 +00:00
Automatic Updater
370c8e69a1 update 2010-06-26 01:15:26 +00:00
Automatic Updater
1238b38c9f regen HEAD 2010-06-26 01:14:19 +00:00
Mark Andrews
73134bd1c7 add /* NOT DOCUMENTED */ 2010-06-26 00:20:33 +00:00
Automatic Updater
05b821a31a update 2010-06-26 00:16:02 +00:00
Mark Andrews
810656a187 2925. [bug] Named failed to accept uncachable negative responses
from insecure zones. [RT# 21555]
2010-06-25 23:50:13 +00:00
Automatic Updater
cf309ffeee update copyright notice 2010-06-25 23:46:51 +00:00
Automatic Updater
f4029eb746 newcopyrights 2010-06-25 23:30:34 +00:00
Automatic Updater
08b233c101 auto update 2010-06-25 23:16:18 +00:00
Automatic Updater
e7c1818c2c update 2010-06-25 07:30:49 +00:00
Mark Andrews
f35a87f58f remove leading zeros on keyid
account for trusted keys not applying to _bind anymore
2010-06-25 07:28:46 +00:00
Automatic Updater
49887c2aa7 update 2010-06-25 04:15:32 +00:00
Mark Andrews
bf13e709db 2924. [func] 'rndc secroots' dump a combined summary of the
current managed keys combined with trusted keys.
                        [RT #20904]
2010-06-25 03:24:05 +00:00
Automatic Updater
256b56f440 update 2010-06-24 08:15:31 +00:00
Mark Andrews
bdc1d1b1bf changes number 2010-06-24 07:34:41 +00:00
Mark Andrews
43888c2315 2922. [bug] 'dig +trace' could drop core after "connection
timeout". [RT #21514]
2010-06-24 07:22:18 +00:00
Automatic Updater
9f1e86e4ef update 2010-06-24 00:15:55 +00:00
Automatic Updater
b8d4e96e95 update copyright notice 2010-06-23 23:46:58 +00:00
Automatic Updater
782b50b4eb newcopyrights 2010-06-23 23:30:33 +00:00
Automatic Updater
1227b00357 auto update 2010-06-23 23:16:24 +00:00
Automatic Updater
d7e4ff21da update 2010-06-23 04:15:54 +00:00
Mark Andrews
0627874ff8 s/to soon/too soon/ 2010-06-23 03:31:17 +00:00
Mark Andrews
b7ba273d32 add period 2010-06-23 03:29:11 +00:00
Automatic Updater
96118efd9a update 2010-06-23 03:15:53 +00:00
Mark Andrews
c52235e52e 2922 [contrib] Update zkt to version 1.0.: 2010-06-23 02:42:10 +00:00
Automatic Updater
0123677dc3 update 2010-06-23 02:15:34 +00:00
Mark Andrews
4a8dc5f8ef 2921. [bug] The resolver could attempt to destroy a fetch context
to soon.  [RT #19878]
2010-06-23 01:31:43 +00:00
Automatic Updater
945b6a3ae4 update 2010-06-23 01:15:17 +00:00
Automatic Updater
07ee99c7d0 regen HEAD 2010-06-23 01:14:18 +00:00
Automatic Updater
4a7d0ef87c update 2010-06-23 00:15:46 +00:00
Automatic Updater
b61690dbad update copyright notice 2010-06-22 23:46:52 +00:00
Mark Andrews
8c9c79e5fe regen 2010-06-22 23:34:57 +00:00
Automatic Updater
3899610326 auto update 2010-06-22 23:16:15 +00:00
Automatic Updater
d138a6bfe3 update 2010-06-22 07:15:27 +00:00
Mark Andrews
c5ff97f471 2920. [func] Allow 'filter-aaaa-on-v4' to be applied selectively
to IPv4 clients.  New acl 'filter-aaaa' (default any).
2010-06-22 06:16:34 +00:00
Automatic Updater
25c92b85f0 update 2010-06-22 06:15:17 +00:00
Mark Andrews
511995ed11 reverse accidental commit 2010-06-22 06:14:20 +00:00
Automatic Updater
713cd334b6 update 2010-06-22 04:15:31 +00:00
Mark Andrews
48dfee7150 2920. [func] Allow 'filter-aaaa-on-v4' to be applied selectively
to IPv4 clients.  New acl 'filter-aaaa' (default any).
2010-06-22 04:03:38 +00:00
Automatic Updater
86d12575ff update 2010-06-22 00:15:57 +00:00
Automatic Updater
c7c7ba3977 update copyright notice 2010-06-21 23:46:48 +00:00
Automatic Updater
c07cdac6cf newcopyrights 2010-06-21 23:30:36 +00:00
Automatic Updater
cc2adcaa10 regen 2010-06-21 23:30:33 +00:00
Automatic Updater
8d1ee9c8db update 2010-06-21 03:15:58 +00:00
Mark Andrews
718c4becc5 2919. [func] Add autosign-ksk and autosign-zsk virtual time tests.
[RT #20840]
2010-06-21 02:31:46 +00:00
Automatic Updater
8bb6a55bb5 update 2010-06-21 00:16:03 +00:00
Automatic Updater
673ed6391e update copyright notice 2010-06-20 23:46:45 +00:00
Automatic Updater
27794bebe2 newcopyrights 2010-06-20 23:30:41 +00:00
Automatic Updater
d5289b74fe regen 2010-06-20 23:30:40 +00:00
Automatic Updater
32064fc67f update 2010-06-20 08:15:55 +00:00
Mark Andrews
be28cc55c5 regen 2010-06-20 07:19:18 +00:00
Mark Andrews
ea7760e72a report bind.keys and bindkeys.pl versions in output 2010-06-20 07:18:30 +00:00
Mark Andrews
56b9fb463c add bind.keys.h dependancy on ${srcdir}/bindkeys.pl 2010-06-20 07:17:02 +00:00
Mark Andrews
1154295949 cvs version identifier 2010-06-20 07:15:28 +00:00
Automatic Updater
0d57f20843 update 2010-06-19 01:15:19 +00:00
Mark Andrews
4ccc69f808 new draft 2010-06-19 00:39:55 +00:00
Automatic Updater
6f4608e30c update 2010-06-19 00:15:55 +00:00
Automatic Updater
efa460418c update copyright notice 2010-06-18 23:46:43 +00:00
Automatic Updater
7c899ff8af newcopyrights 2010-06-18 23:30:39 +00:00
Automatic Updater
35dffd7e21 update 2010-06-18 05:39:24 +00:00
Mark Andrews
ae538374fe AAAA not A 2010-06-18 05:36:24 +00:00
Automatic Updater
3b4e78c7df update 2010-06-18 03:16:33 +00:00
Mark Andrews
de73ef7ecd /bin/tests/virtual-time/common/controls.conf 2010-06-18 02:48:28 +00:00
Mark Andrews
17198e77b8 ./bin/tests/virtual-time/README 2010-06-18 02:45:30 +00:00
Automatic Updater
e05203a2ff update 2010-06-18 02:15:31 +00:00
Mark Andrews
081b36ff95 2918. [maint] Add AAAA address for I.ROOT-SERVERS.NET. 2010-06-18 02:11:44 +00:00
Mark Andrews
4b0355d885 9.8.0a1 2010-06-18 02:05:02 +00:00
Automatic Updater
e1527490c1 update 2010-06-18 00:15:58 +00:00
Automatic Updater
0062141398 auto update 2010-06-17 23:16:27 +00:00
Automatic Updater
e4f2caddfa update 2010-06-17 06:15:23 +00:00
Mark Andrews
43c770b998 2917. [func] Virtual time test framework. [RT #20801] 2010-06-17 05:39:19 +00:00
Automatic Updater
0c175b2bc8 update 2010-06-17 00:15:41 +00:00
Mark Andrews
afa4e998ed custom_YAHOO_v9_7_1 2010-06-16 23:50:01 +00:00
Automatic Updater
9c208977a1 auto update 2010-06-15 23:16:21 +00:00
Automatic Updater
14f17e6406 update 2010-06-15 15:15:16 +00:00
Mark Andrews
9565427120 new draft 2010-06-15 14:20:40 +00:00
Automatic Updater
fcd9888d1e update 2010-06-12 00:16:00 +00:00
Automatic Updater
263874836b update copyright notice 2010-06-11 23:46:49 +00:00
Automatic Updater
06795359e2 newcopyrights 2010-06-11 23:30:43 +00:00
Automatic Updater
74f4de925d update 2010-06-11 02:15:48 +00:00
Mark Andrews
96fae19c97 restore export of PERL PK11GEN PK11LIST PK11DEL 2010-06-11 01:57:36 +00:00
Automatic Updater
7cad85e750 update 2010-06-11 00:49:48 +00:00
Automatic Updater
d1de56d808 update 2010-06-10 07:17:42 +00:00
3802 changed files with 538882 additions and 224446 deletions

View File

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

51
.gitignore vendored Normal file
View File

@@ -0,0 +1,51 @@
Makefile
config.log
config.h
config.cache
config.status
libtool
/isc-config.sh
/configure.lineno
autom4te.cache/
*.o
*.lo
*.so
*.a
*.la
*_test
timestamp
named.run
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
bin/named/named

5
Atffile Normal file
View File

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

4239
CHANGES

File diff suppressed because it is too large Load Diff

514
COPYRIGHT
View File

@@ -1,4 +1,4 @@
Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
Copyright (C) 2004-2014 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,13 @@ 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.13.130.4 2011/02/28 23:45:26 tbox Exp $
Portions of this code release fall under one or more of the
following Copyright notices. Please see individual source
files for details.
Portions Copyright (C) 1996-2001 Nominum, Inc.
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 +32,507 @@ 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. 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.
-----------------------------------------------------------------------------
Copyright (c) 1995, 1997, 1998 The NetBSD Foundation, Inc.
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 NETBSD FOUNDATION, INC. 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 FOUNDATION 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.

111
EXCLUDED Normal file
View File

@@ -0,0 +1,111 @@
3624. [bug] Look for 'json_object_new_int64' when looking for a
the json library. [RT #34449]
3622. [tuning] Eliminate an unnecessary lock when incrementing
cache statistics. [RT #34339]
3619. [bug] Fixed a bug in RPZ with "recursive-only no;"
[RT #33776]
3612. [port] Check whether to use -ljson or -ljson-c. [RT #34115]
3609. [bug] Corrected a possible deadlock in applications using
the export version of the isc_app API. [RT #33967]
3604. [bug] Fixed a compile-time error when building with
JSON but not XML. [RT #33959]
3602. [contrib] Added DLZ Perl module, allowing Perl scripts to
integrate with named and serve DNS data.
(Contributed by John Eaglesham of Yahoo.)
3598. [cleanup] Improved portability of map file code. [RT #33820]
3597. [bug] Ensure automatic-resigning heaps are reconstructed
when loading zones in map format. [RT #33381]
3595. [port] win32: Fix build problems introduced by change #3550.
[RT #33807]
3570. [bug] Check internal pointers are valid when loading map
files. [RT #33403]
3569. [contrib] Ported mysql DLZ driver to dynamically-loadable
module, and added multithread support. [RT #33394]
3564. [bug] Improved handling of corrupted map files. [RT #33380]
3554. [bug] RRL failed to correctly rate-limit upward
referrals and failed to count dropped error
responses in the statistics. [RT #33225]
3551. [bug] resolver.querydscp[46] were uninitialized. [RT #32686]
3545. [bug] RRL slip behavior was incorrect when set to 1.
[RT #33111]
3523. [contrib] Ported filesystem and ldap DLZ drivers to
dynamically-loadable modules, and added the
"wildcard" module based on a contribution from
Vadim Goncharov <vgoncharov@nic.ru>. [RT #23569]
3522. [bug] DLZ lookups could fail to return SERVFAIL when
they ought to. [RT #32685]
3518. [bug] Increase the size of dns_rrl_key.s.rtype by one bit
so that all dns_rrl_rtype_t enum values fit regardless
of whether it is teated as signed or unsigned by
the compiler. [RT #32792]
3507. [bug] Statistics channel XSL had a glitch when attempting
to chart query data before any queries had been
received. [RT #32620]
3494. [func] DNS RRL: Blunt the impact of DNS reflection and
amplification attacks by rate-limiting substantially-
identical responses. To enable, use "configure
--enable-rrl". [RT #28130]
3490. [bug] When logging RDATA during update, truncate if it's
too long. [RT #32365]
3489. [bug] --enable-developer now turns on ISC_LIST_CHECKINIT.
When cloning a rdataset do not copy the link contents.
[RT #32651]
3484. [bug] Some statistics were incorrectly rendered in XML.
[RT #32587]
3476. [bug] "rndc zonestatus" could report a spurious "not
found" error on inline-signing zones. [RT #29226]
3475. [cleanup] Changed name of 'map' zone file format (previously
'fast'). [RT #32458]
3472. [bug] The active-connections counter in the socket
statistics could underflow. [RT #31747]
3469. [bug] Handle DLZ lookup failures more gracefully. Improve
backward compatibility between versions of DLZ dlopen
API. [RT #32275]
3434. [bug] Pass client info to the DLZ findzone() entry
point in addition to lookup(). This makes it
possible for a database to answer differently
whether it's authoritative for a name depending
on the address of the client. [RT #31775]
3433. [bug] dlz_findzone() did not correctly handle
ISC_R_NOMORE. [RT #31172]
3375. [bug] 'rndc dumpdb' failed on empty caches. [RT #30808]
3324. [test] Add better tests for ADB stats [RT #27057]
3316. [tuning] Improved locking performance when recursing.
[RT #28836]
3315. [tuning] Use multiple dispatch objects for sending upstream
queries; this can improve performance on busy
multiprocessor systems by reducing lock contention.
[RT #28605]

15
FAQ
View File

@@ -1,6 +1,7 @@
Frequently Asked Questions about BIND 9
Copyright © 2004-2010 Internet Systems Consortium, Inc. ("ISC")
Copyright © 2004-2010, 2013, 2014 Internet Systems Consortium, Inc.
("ISC")
Copyright © 2000-2003 Internet Software Consortium.
@@ -28,8 +29,8 @@ A: Short Answer: No.
What addresses to listen on? For a laptop on the move a lot you may
only want to listen on the loop back interfaces.
Who do you offer recursive service to? Is there are firewall to
consider? If so is it stateless or stateful. Are you directly on the
To whom do you offer recursive service? Is there a firewall to
consider? If so, is it stateless or stateful? Are you directly on the
Internet? Are you on a private network? Are you on a NAT'd network? The
answers to all these questions change how you configure even a caching
name server.
@@ -104,8 +105,8 @@ A: You are most likely running named as a non-root user, and that user
fixing this are to create a /var/run/named directory owned by the named
user and set pid-file to "/var/run/named/named.pid", or set pid-file to
"named.pid", which will put the file in the directory specified by the
directory option (which, in this case, must be writable by the named
user).
directory option (which, in this case, must be writable by the user
named is running as).
Q: I can query the nameserver from the nameserver but not from other
machines. Why?
@@ -264,7 +265,7 @@ Q: I get a error message like "zone wireless.ietf56.ietf.org/IN: loading
master file primaries/wireless.ietf56.ietf.org: no owner".
A: This error is produced when a line in the master file contains leading
white space (tab/space) but the is no current record owner name to
white space (tab/space) but there is no current record owner name to
inherit the name from. Usually this is the result of putting white
space before a comment, forgetting the "@" for the SOA record, or
indenting the master file.
@@ -869,7 +870,7 @@ A: If you run Tiger(Mac OS 10.4) or later then this is all you need to do:
Copy the key statement from /etc/rndc.conf into /etc/rndc.key, e.g.:
key "rndc-key" {
algorithm hmac-md5;
algorithm hmac-sha256;
secret "uvceheVuqf17ZwIcTydddw==";
};

16
FAQ.xml
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, 2013, 2014 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.30.26.14 2010/01/20 23:46:55 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,8 @@
<year>2008</year>
<year>2009</year>
<year>2010</year>
<year>2013</year>
<year>2014</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
@@ -82,8 +84,8 @@
you may only want to listen on the loop back interfaces.
</para>
<para>
Who do you offer recursive service to? Is there are firewall
to consider? If so is it stateless or stateful. Are you
To whom do you offer recursive service? Is there a firewall
to consider? If so, is it stateless or stateful? Are you
directly on the Internet? Are you on a private network? Are
you on a NAT'd network? The answers
to all these questions change how you configure even a
@@ -245,7 +247,7 @@ view "chaos" chaos {
"/var/run/named/named.pid", or set pid-file to "named.pid",
which will put the file in the directory specified by the
directory option (which, in this case, must be writable by
the named user).
the user named is running as).
</para>
</answer>
</qandaentry>
@@ -479,7 +481,7 @@ Master 10.0.1.1:
<answer>
<para>
This error is produced when a line in the master file
contains leading white space (tab/space) but the is no
contains leading white space (tab/space) but there is no
current record owner name to inherit the name from. Usually
this is the result of putting white space before a comment,
forgetting the "@" for the SOA record, or indenting the master
@@ -1564,7 +1566,7 @@ rand_irqs="3 14 15"</programlisting>
<informalexample>
<programlisting>
key "rndc-key" {
algorithm hmac-md5;
algorithm hmac-sha256;
secret "uvceheVuqf17ZwIcTydddw==";
};</programlisting>
</informalexample>

365
HISTORY Normal file
View File

@@ -0,0 +1,365 @@
Summary of functional enhancements from prior major releases of BIND 9:
BIND 9.8.0
BIND 9.8.0 includes a number of changes from BIND 9.7 and earlier
releases. New features include:
- Built-in trust anchor for the root zone, which can be
switched on via "dnssec-validation auto;"
- Support for DNS64.
- Support for response policy zones (RPZ).
- Support for writable DLZ zones.
- Improved ease of configuration of GSS/TSIG for
interoperability with Active Directory
- Support for GOST signing algorithm for DNSSEC.
- Removed RTT Banding from server selection algorithm.
- New "static-stub" zone type.
- Allow configuration of resolver timeouts via
"resolver-query-timeout" option.
- The DLZ "dlopen" driver is now built by default.
- Added a new include file with function typedefs
for the DLZ "dlopen" driver.
- Made "--with-gssapi" default.
- More verbose error reporting from DLZ LDAP.
BIND 9.7.0
BIND 9.7.0 includes a number of changes from BIND 9.6 and earlier
releases. Most are intended to simplify DNSSEC configuration.
New features include:
- Fully automatic signing of zones by "named".
- Simplified configuration of DNSSEC Lookaside Validation (DLV).
- Simplified configuration of Dynamic DNS, using the "ddns-confgen"
command line tool or the "local" update-policy option. (As a side
effect, this also makes it easier to configure automatic zone
re-signing.)
- New named option "attach-cache" that allows multiple views to
share a single cache.
- DNS rebinding attack prevention.
- New default values for dnssec-keygen parameters.
- Support for RFC 5011 automated trust anchor maintenance
- Smart signing: simplified tools for zone signing and key
maintenance.
- The "statistics-channels" option is now available on Windows.
- A new DNSSEC-aware libdns API for use by non-BIND9 applications
- On some platforms, named and other binaries can now print out
a stack backtrace on assertion failure, to aid in debugging.
- A "tools only" installation mode on Windows, which only installs
dig, host, nslookup and nsupdate.
- Improved PKCS#11 support, including Keyper support and explicit
OpenSSL engine selection.
BIND 9.6.0
Full NSEC3 support
Automatic zone re-signing
New update-policy methods tcp-self and 6to4-self
The BIND 8 resolver library, libbind, has been removed from the
BIND 9 distribution and is now available as a separate download.
Change the default pid file location from /var/run to
/var/run/{named,lwresd} for improved chroot/setuid support.
BIND 9.5.0
GSS-TSIG support (RFC 3645).
DHCID support.
Experimental http server and statistics support for named via xml.
More detailed statistics counters including those supported in BIND 8.
Faster ACL processing.
Use Doxygen to generate internal documentation.
Efficient LRU cache-cleaning mechanism.
NSID support.
BIND 9.4.0
Implemented "additional section caching (or acache)", an
internal cache framework for additional section content to
improve response performance. Several configuration options
were provided to control the behavior.
New notify type 'master-only'. Enable notify for master
zones only.
Accept 'notify-source' style syntax for query-source.
rndc now allows addresses to be set in the server clauses.
New option "allow-query-cache". This lets "allow-query"
be used to specify the default zone access level rather
than having to have every zone override the global value.
"allow-query-cache" can be set at both the options and view
levels. If "allow-query-cache" is not set then "allow-recursion"
is used if set, otherwise "allow-query" is used if set
unless "recursion no;" is set in which case "none;" is used,
otherwise the default (localhost; localnets;) is used.
rndc: the source address can now be specified.
ixfr-from-differences now takes master and slave in addition
to yes and no at the options and view levels.
Allow the journal's name to be changed via named.conf.
'rndc notify zone [class [view]]' resend the NOTIFY messages
for the specified zone.
'dig +trace' now randomly selects the next servers to try.
Report if there is a bad delegation.
Improve check-names error messages.
Make public the function to read a key file, dst_key_read_public().
dig now returns the byte count for axfr/ixfr.
allow-update is now settable at the options / view level.
named-checkconf now checks the logging configuration.
host now can turn on memory debugging flags with '-m'.
Don't send notify messages to self.
Perform sanity checks on NS records which refer to 'in zone' names.
New zone option "notify-delay". Specify a minimum delay
between sets of NOTIFY messages.
Extend adjusting TTL warning messages.
Named and named-checkzone can now both check for non-terminal
wildcard records.
"rndc freeze/thaw" now freezes/thaws all zones.
named-checkconf now check acls to verify that they only
refer to existing acls.
The server syntax has been extended to support a range of
servers.
Report differences between hints and real NS rrset and
associated address records.
Preserve the case of domain names in rdata during zone
transfers.
Restructured the data locking framework using architecture
dependent atomic operations (when available), improving
response performance on multi-processor machines significantly.
x86, x86_64, alpha, powerpc, and mips are currently supported.
UNIX domain controls are now supported.
Add support for additional zone file formats for improving
loading performance. The masterfile-format option in
named.conf can be used to specify a non-default format. A
separate command named-compilezone was provided to generate
zone files in the new format. Additionally, the -I and -O
options for dnssec-signzone specify the input and output
formats.
dnssec-signzone can now randomize signature end times
(dnssec-signzone -j jitter).
Add support for CH A record.
Add additional zone data constancy checks. named-checkzone
has extended checking of NS, MX and SRV record and the hosts
they reference. named has extended post zone load checks.
New zone options: check-mx and integrity-check.
edns-udp-size can now be overridden on a per server basis.
dig can now specify the EDNS version when making a query.
Added framework for handling multiple EDNS versions.
Additional memory debugging support to track size and mctx
arguments.
Detect duplicates of UDP queries we are recursing on and
drop them. New stats category "duplicates".
"USE INTERNAL MALLOC" is now runtime selectable.
The lame cache is now done on a <qname,qclass,qtype> basis
as some servers only appear to be lame for certain query
types.
Limit the number of recursive clients that can be waiting
for a single query (<qname,qtype,qclass>) to resolve. New
options clients-per-query and max-clients-per-query.
dig: report the number of extra bytes still left in the
packet after processing all the records.
Support for IPSECKEY rdata type.
Raise the UDP recieve buffer size to 32k if it is less than 32k.
x86 and x86_64 now have seperate atomic locking implementations.
named-checkconf now validates update-policy entries.
Attempt to make the amount of work performed in a iteration
self tuning. The covers nodes clean from the cache per
iteration, nodes written to disk when rewriting a master
file and nodes destroyed per iteration when destroying a
zone or a cache.
ISC string copy API.
Automatic empty zone creation for D.F.IP6.ARPA and friends.
Note: RFC 1918 zones are not yet covered by this but are
likely to be in a future release.
New options: empty-server, empty-contact, empty-zones-enable
and disable-empty-zone.
dig now has a '-q queryname' and '+showsearch' options.
host/nslookup now continue (default)/fail on SERVFAIL.
dig now warns if 'RA' is not set in the answer when 'RD'
was set in the query. host/nslookup skip servers that fail
to set 'RA' when 'RD' is set unless a server is explicitly
set.
Integrate contibuted DLZ code into named.
Integrate contibuted IDN code from JPNIC.
libbind: corresponds to that from BIND 8.4.7.
BIND 9.3.0
DNSSEC is now DS based (RFC 3658).
See also RFC 3845, doc/draft/draft-ietf-dnsext-dnssec-*.
DNSSEC lookaside validation.
check-names is now implemented.
rrset-order in more complete.
IPv4/IPv6 transition support, dual-stack-servers.
IXFR deltas can now be generated when loading master files,
ixfr-from-differences.
It is now possible to specify the size of a journal, max-journal-size.
It is now possible to define a named set of master servers to be
used in masters clause, masters.
The advertised EDNS UDP size can now be set, edns-udp-size.
allow-v6-synthesis has been obsoleted.
NOTE:
* Zones containing MD and MF will now be rejected.
* dig, nslookup name. now report "Not Implemented" as
NOTIMP rather than NOTIMPL. This will have impact on scripts
that are looking for NOTIMPL.
libbind: corresponds to that from BIND 8.4.5.
BIND 9.2.0
The size of the cache can now be limited using the
"max-cache-size" option.
The server can now automatically convert RFC1886-style recursive
lookup requests into RFC2874-style lookups, when enabled using the
new option "allow-v6-synthesis". This allows stub resolvers that
support AAAA records but not A6 record chains or binary labels to
perform lookups in domains that make use of these IPv6 DNS
features.
Performance has been improved.
The man pages now use the more portable "man" macros rather than
the "mandoc" macros, and are installed by "make install".
The named.conf parser has been completely rewritten. It now
supports "include" directives in more places such as inside "view"
statements, and it no longer has any reserved words.
The "rndc status" command is now implemented.
rndc can now be configured automatically.
A BIND 8 compatible stub resolver library is now included in
lib/bind.
OpenSSL has been removed from the distribution. This means that to
use DNSSEC, OpenSSL must be installed and the --with-openssl option
must be supplied to configure. This does not apply to the use of
TSIG, which does not require OpenSSL.
The source distribution now builds on Windows. See
win32utils/readme1.txt and win32utils/win32-build.txt for details.
This distribution also includes a new lightweight stub
resolver library and associated resolver daemon that fully
support forward and reverse lookups of both IPv4 and IPv6
addresses. This library is considered experimental and
is not a complete replacement for the BIND 8 resolver library.
Applications that use the BIND 8 res_* functions to perform
DNS lookups or dynamic updates still need to be linked against
the BIND 8 libraries. For DNS lookups, they can also use the
new "getrrsetbyname()" API.
BIND 9.2 is capable of acting as an authoritative server
for DNSSEC secured zones. This functionality is believed to
be stable and complete except for lacking support for
verifications involving wildcard records in secure zones.
When acting as a caching server, BIND 9.2 can be configured
to perform DNSSEC secure resolution on behalf of its clients.
This part of the DNSSEC implementation is still considered
experimental. For detailed information about the state of the
DNSSEC implementation, see the file doc/misc/dnssec.
There are a few known bugs:
On some systems, IPv6 and IPv4 sockets interact in
unexpected ways. For details, see doc/misc/ipv6.
To reduce the impact of these problems, the server
no longer listens for requests on IPv6 addresses
by default. If you need to accept DNS queries over
IPv6, you must specify "listen-on-v6 { any; };"
in the named.conf options statement.
FreeBSD prior to 4.2 (and 4.2 if running as non-root)
and OpenBSD prior to 2.8 log messages like
"fcntl(8, F_SETFL, 4): Inappropriate ioctl for device".
This is due to a bug in "/dev/random" and impacts the
server's DNSSEC support.
OS X 10.1.4 (Darwin 5.4), OS X 10.1.5 (Darwin 5.5) and
OS X 10.2 (Darwin 6.0) reports errors like
"fcntl(3, F_SETFL, 4): Operation not supported by device".
This is due to a bug in "/dev/random" and impacts the
server's DNSSEC support.
--with-libtool does not work on AIX.
A bug in some versions of the Microsoft DNS server can cause zone
transfers from a BIND 9 server to a W2K server to fail. For details,
see the "Zone Transfers" section in doc/misc/migration.

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004-2009, 2011-2014 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.50.86.2 2009/02/20 23:46:49 tbox Exp $
# $Id: Makefile.in,v 1.62 2011/09/06 04:06:37 marka Exp $
srcdir = @srcdir@
VPATH = @srcdir@
@@ -21,24 +21,17 @@ top_srcdir = @top_srcdir@
@BIND9_VERSION@
SUBDIRS = make lib bin doc @LIBBIND@
SUBDIRS = make unit lib bin doc @LIBEXPORT@
TARGETS =
MANPAGES = isc-config.sh.1
HTMLPAGES = isc-config.sh.html
MANOBJS = ${MANPAGES} ${HTMLPAGES}
@BIND9_MAKE_RULES@
distclean::
@if [ "X@LIBBIND@" = "X" ] ; then \
i=lib/bind; \
echo "making $@ in `pwd`/$$i"; \
(cd $$i; ${MAKE} ${MAKEDEFS} $@) || exit 1; \
fi
distclean::
rm -f config.cache config.h config.log config.status TAGS
rm -f libtool isc-config.sh configure.lineno
@@ -61,21 +54,44 @@ installdirs:
install:: isc-config.sh installdirs
${INSTALL_SCRIPT} isc-config.sh ${DESTDIR}${bindir}
${INSTALL_DATA} ${srcdir}/isc-config.sh.1 ${DESTDIR}${mandir}/man1
rm -f ${DESTDIR}${bindir}/bind9-config
@LN@ ${DESTDIR}${bindir}/isc-config.sh ${DESTDIR}${bindir}/bind9-config
${INSTALL_DATA} ${top_srcdir}/isc-config.sh.1 ${DESTDIR}${mandir}/man1
rm -f ${DESTDIR}${mandir}/man1/bind9-config.1
@LN@ ${DESTDIR}${mandir}/man1/isc-config.sh.1 ${DESTDIR}${mandir}/man1/bind9-config.1
${INSTALL_DATA} ${top_srcdir}/bind.keys ${DESTDIR}${sysconfdir}
tags:
rm -f TAGS
find lib bin -name "*.[ch]" -print | @ETAGS@ -
check: test
test check:
@if test -n "`${PERL} ${top_srcdir}/bin/tests/system/testsock.pl 2>&- || echo fail`"; then \
echo I: NOTE: The tests were not run because they require that; \
echo I: the IP addresses 10.53.0.1 through 10.53.0.8 are configured; \
echo I: as alias addresses on the loopback interface. Please run; \
echo I: \'bin/tests/system/ifconfig.sh up\' as root to configure; \
echo I: them, then rerun the tests. Run make force-test to run the; \
echo I: tests anyway.; \
exit 1; \
fi
${MAKE} test-force
test:
(cd bin/tests && ${MAKE} ${MAKEDEFS} test)
force-test: test-force
test-force:
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 | \
LC_ALL=C ${W3M} -T text/html -dump -cols 72 >$@.tmp
mv $@.tmp $@
unit::
sh ${top_srcdir}/unit/unittest.sh
clean::
rm -f FAQ.tmp

546
README
View File

@@ -42,334 +42,115 @@ BIND 9
Stichting NLnet - NLnet Foundation
Nominum, Inc.
BIND 9.5.3
BIND 9.5.3 is a maintenance release, fixing bugs in 9.5.2.
BIND 9.5.3 is intended to be the last release in the BIND 9.5.x
series.
BIND 9.5.2
BIND 9.5.2 is a maintenance release, fixing bugs in 9.5.1.
BIND 9.5.1
BIND 9.5.1 is a maintenance release, fixing bugs in 9.5.0.
BIND 9.5.0
BIND 9.5.0 has a number of new features over 9.4,
including:
- GSS-TSIG support (RFC 3645).
- DHCID support.
- Experimental http server and statistics support for named via xml.
- More detailed statistics counters including those supported in
BIND 8.
- Faster ACL processing.
- Internal documentation generated by Doxygen.
- Efficient LRU cache-cleaning mechanism.
- NSID support (RFC 5001).
BIND 9.4.0
BIND 9.4.0 has a number of new features over 9.3,
including:
Implemented "additional section caching (or acache)", an
internal cache framework for additional section content to
improve response performance. Several configuration options
were provided to control the behavior.
New notify type 'master-only'. Enable notify for master
zones only.
Accept 'notify-source' style syntax for query-source.
rndc now allows addresses to be set in the server clauses.
New option "allow-query-cache". This lets "allow-query"
be used to specify the default zone access level rather
than having to have every zone override the global value.
"allow-query-cache" can be set at both the options and view
levels. If "allow-query-cache" is not set then "allow-recursion"
is used if set, otherwise "allow-query" is used if set
unless "recursion no;" is set in which case "none;" is used,
otherwise the default (localhost; localnets;) is used.
rndc: the source address can now be specified.
ixfr-from-differences now takes master and slave in addition
to yes and no at the options and view levels.
Allow the journal's name to be changed via named.conf.
'rndc notify zone [class [view]]' resend the NOTIFY messages
for the specified zone.
'dig +trace' now randomly selects the next servers to try.
Report if there is a bad delegation.
Improve check-names error messages.
Make public the function to read a key file, dst_key_read_public().
dig now returns the byte count for axfr/ixfr.
allow-update is now settable at the options / view level.
named-checkconf now checks the logging configuration.
host now can turn on memory debugging flags with '-m'.
Don't send notify messages to self.
Perform sanity checks on NS records which refer to 'in zone' names.
New zone option "notify-delay". Specify a minimum delay
between sets of NOTIFY messages.
Extend adjusting TTL warning messages.
Named and named-checkzone can now both check for non-terminal
wildcard records.
"rndc freeze/thaw" now freezes/thaws all zones.
named-checkconf now check acls to verify that they only
refer to existing acls.
The server syntax has been extended to support a range of
servers.
Report differences between hints and real NS rrset and
associated address records.
Preserve the case of domain names in rdata during zone
transfers.
Restructured the data locking framework using architecture
dependent atomic operations (when available), improving
response performance on multi-processor machines significantly.
x86, x86_64, alpha, powerpc, and mips are currently supported.
UNIX domain controls are now supported.
Add support for additional zone file formats for improving
loading performance. The masterfile-format option in
named.conf can be used to specify a non-default format. A
separate command named-compilezone was provided to generate
zone files in the new format. Additionally, the -I and -O
options for dnssec-signzone specify the input and output
formats.
dnssec-signzone can now randomize signature end times
(dnssec-signzone -j jitter).
Add support for CH A record.
Add additional zone data constancy checks. named-checkzone
has extended checking of NS, MX and SRV record and the hosts
they reference. named has extended post zone load checks.
New zone options: check-mx and integrity-check.
edns-udp-size can now be overridden on a per server basis.
dig can now specify the EDNS version when making a query.
Added framework for handling multiple EDNS versions.
Additional memory debugging support to track size and mctx
arguments.
Detect duplicates of UDP queries we are recursing on and
drop them. New stats category "duplicates".
"USE INTERNAL MALLOC" is now runtime selectable.
The lame cache is now done on a <qname,qclass,qtype> basis
as some servers only appear to be lame for certain query
types.
Limit the number of recursive clients that can be waiting
for a single query (<qname,qtype,qclass>) to resolve. New
options clients-per-query and max-clients-per-query.
dig: report the number of extra bytes still left in the
packet after processing all the records.
Support for IPSECKEY rdata type.
Raise the UDP recieve buffer size to 32k if it is less than 32k.
x86 and x86_64 now have seperate atomic locking implementations.
named-checkconf now validates update-policy entries.
Attempt to make the amount of work performed in a iteration
self tuning. The covers nodes clean from the cache per
iteration, nodes written to disk when rewriting a master
file and nodes destroyed per iteration when destroying a
zone or a cache.
ISC string copy API.
Automatic empty zone creation for D.F.IP6.ARPA and friends.
Note: RFC 1918 zones are not yet covered by this but are
likely to be in a future release.
New options: empty-server, empty-contact, empty-zones-enable
and disable-empty-zone.
dig now has a '-q queryname' and '+showsearch' options.
host/nslookup now continue (default)/fail on SERVFAIL.
dig now warns if 'RA' is not set in the answer when 'RD'
was set in the query. host/nslookup skip servers that fail
to set 'RA' when 'RD' is set unless a server is explicitly
set.
Integrate contibuted DLZ code into named.
Integrate contibuted IDN code from JPNIC.
libbind: corresponds to that from BIND 8.4.7.
BIND 9.3.0
BIND 9.3.0 has a number of new features over 9.2,
including:
DNSSEC is now DS based (RFC 3658).
See also RFC 3845, doc/draft/draft-ietf-dnsext-dnssec-*.
DNSSEC lookaside validation.
check-names is now implemented.
rrset-order in more complete.
IPv4/IPv6 transition support, dual-stack-servers.
IXFR deltas can now be generated when loading master files,
ixfr-from-differences.
It is now possible to specify the size of a journal, max-journal-size.
It is now possible to define a named set of master servers to be
used in masters clause, masters.
The advertised EDNS UDP size can now be set, edns-udp-size.
allow-v6-synthesis has been obsoleted.
NOTE:
* Zones containing MD and MF will now be rejected.
* dig, nslookup name. now report "Not Implemented" as
NOTIMP rather than NOTIMPL. This will have impact on scripts
that are looking for NOTIMPL.
libbind: corresponds to that from BIND 8.4.5.
BIND 9.2.0
BIND 9.2.0 has a number of new features over 9.1,
including:
- The size of the cache can now be limited using the
"max-cache-size" option.
- The server can now automatically convert RFC1886-style
recursive lookup requests into RFC2874-style lookups,
when enabled using the new option "allow-v6-synthesis".
This allows stub resolvers that support AAAA records
but not A6 record chains or binary labels to perform
lookups in domains that make use of these IPv6 DNS
features.
- Performance has been improved.
- The man pages now use the more portable "man" macros
rather than the "mandoc" macros, and are installed
by "make install".
- The named.conf parser has been completely rewritten.
It now supports "include" directives in more
places such as inside "view" statements, and it no
longer has any reserved words.
- The "rndc status" command is now implemented.
- rndc can now be configured automatically.
- A BIND 8 compatible stub resolver library is now
included in lib/bind.
- OpenSSL has been removed from the distribution. This
means that to use DNSSEC, OpenSSL must be installed and
the --with-openssl option must be supplied to configure.
This does not apply to the use of TSIG, which does not
require OpenSSL.
- The source distribution now builds on Windows.
See win32utils/readme1.txt and win32utils/win32-build.txt
for details.
This distribution also includes a new lightweight stub
resolver library and associated resolver daemon that fully
support forward and reverse lookups of both IPv4 and IPv6
addresses. This library is considered experimental and
is not a complete replacement for the BIND 8 resolver library.
Applications that use the BIND 8 res_* functions to perform
DNS lookups or dynamic updates still need to be linked against
the BIND 8 libraries. For DNS lookups, they can also use the
new "getrrsetbyname()" API.
BIND 9.2 is capable of acting as an authoritative server
for DNSSEC secured zones. This functionality is believed to
be stable and complete except for lacking support for
verifications involving wildcard records in secure zones.
When acting as a caching server, BIND 9.2 can be configured
to perform DNSSEC secure resolution on behalf of its clients.
This part of the DNSSEC implementation is still considered
experimental. For detailed information about the state of the
DNSSEC implementation, see the file doc/misc/dnssec.
There are a few known bugs:
On some systems, IPv6 and IPv4 sockets interact in
unexpected ways. For details, see doc/misc/ipv6.
To reduce the impact of these problems, the server
no longer listens for requests on IPv6 addresses
by default. If you need to accept DNS queries over
IPv6, you must specify "listen-on-v6 { any; };"
in the named.conf options statement.
FreeBSD prior to 4.2 (and 4.2 if running as non-root)
and OpenBSD prior to 2.8 log messages like
"fcntl(8, F_SETFL, 4): Inappropriate ioctl for device".
This is due to a bug in "/dev/random" and impacts the
server's DNSSEC support.
OS X 10.1.4 (Darwin 5.4), OS X 10.1.5 (Darwin 5.5) and
OS X 10.2 (Darwin 6.0) reports errors like
"fcntl(3, F_SETFL, 4): Operation not supported by device".
This is due to a bug in "/dev/random" and impacts the
server's DNSSEC support.
--with-libtool does not work on AIX.
A bug in some versions of the Microsoft DNS server can cause zone
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 summary of functional enhancements in previous
releases, see the HISTORY file.
For a detailed list of user-visible changes from
previous releases, see the CHANGES file.
For up-to-date release notes and errata, see
http://www.isc.org/software/bind9/releasenotes
BIND 9.9.7
BIND 9.9.7 is a maintenance release and addresses bugs
found in BIND 9.9.6 and earlier, as well as the security
flaw described in CVE-2014-8500.
BIND 9.9.6
BIND 9.9.6 is a maintenance release, and also includes
the following new functionality.
- The former behavior with respect to capitalization of names
(prior to BIND 9.9.5) can be restored for specific clients via
the new "no-case-compress" ACL.
BIND 9.9.5
BIND 9.9.5 is a maintenance release, and patches the security
flaws described in CVE-2013-6320 and CVE-2014-0591. It also
includes the following functional enhancements:
- "named" now preserves the capitalization of names when
responding to queries.
- new "dnssec-importkey" command allows the use of offline
DNSSEC keys with automatic DNSKEY management.
- When re-signing a zone, the new "dnssec-signzone -Q" option
drops signatures from keys that are still published but are
no longer active.
- "named-checkconf -px" will print the contents of configuration
files with the shared secrets obscured, making it easier to
share configuration (e.g. when submitting a bug report)
without revealing private information.
BIND 9.9.4
BIND 9.9.4 is a maintenance release, and patches the security
flaws described in CVE-2013-3919 and CVE-2013-4854. It also
introduces DNS Response Rate Limiting (DNS RRL) as a
compile-time option. To use this feature, configure with
the "--enable-rrl" option.
BIND 9.9.3
BIND 9.9.3 is a maintenance release and patches the security
flaws described in CVE-2012-5688, CVE-2012-5689 and CVE-2013-2266.
BIND 9.9.2
BIND 9.9.2 is a maintenance release and patches the security
flaw described in CVE-2012-4244.
BIND 9.9.1
BIND 9.9.1 is a maintenance release.
BIND 9.9.0
BIND 9.9.0 includes a number of changes from BIND 9.8 and earlier
releases. New features include:
- Inline signing, allowing automatic DNSSEC signing of
master zones without modification of the zonefile, or
"bump in the wire" signing in slaves.
- NXDOMAIN redirection.
- New 'rndc flushtree' command clears all data under a given
name from the DNS cache.
- New 'rndc sync' command dumps pending changes in a dynamic
zone to disk without a freeze/thaw cycle.
- New 'rndc signing' command displays or clears signing status
records in 'auto-dnssec' zones.
- NSEC3 parameters for 'auto-dnssec' zones can now be set prior
to signing, eliminating the need to initially sign with NSEC.
- Startup time improvements on large authoritative servers.
- Slave zones are now saved in raw format by default.
- Several improvements to response policy zones (RPZ).
- Improved hardware scalability by using multiple threads
to listen for queries and using finer-grained client locking
- The 'also-notify' option now takes the same syntax as
'masters', so it can used named masterlists and TSIG keys.
- 'dnssec-signzone -D' writes an output file containing only DNSSEC
data, which can be included by the primary zone file.
- 'dnssec-signzone -R' forces removal of signatures that are
not expired but were created by a key which no longer exists.
- 'dnssec-signzone -X' allows a separate expiration date to
be specified for DNSKEY signatures from other signatures.
- New '-L' option to dnssec-keygen, dnssec-settime, and
dnssec-keyfromlabel sets the default TTL for the key.
- dnssec-dsfromkey now supports reading from standard input,
to make it easier to convert DNSKEY to DS.
- RFC 1918 reverse zones have been added to the empty-zones
table per RFC 6303.
- Dynamic updates can now optionally set the zone's SOA serial
number to the current UNIX time.
- DLZ modules can now retrieve the source IP address of
the querying client.
- 'request-ixfr' option can now be set at the per-zone level.
- 'dig +rrcomments' turns on comments about DNSKEY records,
indicating their key ID, algorithm and function
- Simplified nsupdate syntax and added readline support
Building
@@ -383,15 +164,15 @@ Building
FreeBSD 4.10, 5.2.1, 6.2
HP-UX 11.11
Mac OS X 10.5
NetBSD 3.x and 4.0-beta
NetBSD 3.x, 4.0-beta, 5.0-beta
OpenBSD 3.3 and up
Solaris 8, 9, 9 (x86), 10
Ubuntu 7.04, 7.10
Windows XP/2003/2008
NOTE: As of BIND 9.5.1, 9.4.3, and 9.3.6, older versions of
Windows, including Windows NT and Windows 2000, are no longer
supported.
NOTE: As of BIND 9.5.1, 9.4.3, and 9.3.6, older versions of
Windows, including Windows NT and Windows 2000, are no longer
supported.
We have recent reports from the user community that a supported
version of BIND will build and run on the following systems:
@@ -399,12 +180,12 @@ Building
AIX 4.3, 5L
CentOS 4, 4.5, 5
Darwin 9.0.0d1/ARM
Debian 4
Fedora Core 5, 7
FreeBSD 6.1
Debian 4, 5, 6
Fedora Core 5, 7, 8
FreeBSD 6, 7, 8
HP-UX 11.23 PA
MacOS X 10.4, 10.5
Red Hat Enterprise Linux 4, 5
MacOS X 10.5, 10.6, 10.7
Red Hat Enterprise Linux 4, 5, 6
SCO OpenServer 5.0.6
Slackware 9, 10
SuSE 9, 10
@@ -425,7 +206,8 @@ Building
CFLAGS
C compiler flags. Defaults to include -g and/or -O2
as supported by the compiler.
as supported by the compiler. Please include '-g'
if you need to set CFLAGS.
STD_CINCLUDES
System header file directories. Can be used to specify
@@ -444,10 +226,13 @@ Building
-DDIG_SIGCHASE_BU=1)
Disable dropping queries from particular well known ports.
-DNS_CLIENT_DROPPORT=0
Sibling glue checking in named-checkzone is enabled by default.
Sibling glue checking in named-checkzone is enabled by default.
To disable the default check set. -DCHECK_SIBLING=0
named-checkzone checks out-of-zone addresses by default.
To disable this default set. -DCHECK_LOCAL=0
To create the default pid files in ${localstatedir}/run rather
than ${localstatedir}/run/{named,lwresd}/ set.
-DNS_RUN_PID_DIR=0
Enable workaround for Solaris kernel bug about /dev/poll
-DISC_SOCKET_USE_POLLWATCH=1
The watch timeout is also configurable, e.g.,
@@ -477,9 +262,6 @@ Building
a nonstandard prefix, you can tell configure where to
look for it using "--with-openssl=/prefix".
To build libbind (the BIND 8 resolver library), specify
"--enable-libbind" on the configure command line.
On some platforms it is necessary to explictly request large
file support to handle files bigger than 2GB. This can be
done by "--enable-largefile" on the configure command line.
@@ -491,10 +273,10 @@ Building
on the configure command line. The default is operating
system dependent.
Support for the "fixed" rrset-order option can be enabled
or disabled by specifying "--enable-fixed-rrset" or
"--disable-fixed-rrset" on the configure command line.
The default is "disabled", to reduce memory footprint.
Support for the "fixed" rrset-order option can be enabled
or disabled by specifying "--enable-fixed-rrset" or
"--disable-fixed-rrset" on the configure command line.
The default is "disabled", to reduce memory footprint.
If your operating system has integrated support for IPv6, it
will be used automatically. If you have installed KAME IPv6
@@ -542,6 +324,11 @@ Building
libraries. sh-utils-1.16 provides a "printf" which compiles
on SunOS 4.
Known limitations
Linux requires kernel build 2.6.39 or later to get the
performance benefits from using multiple sockets.
Documentation
The BIND 9 Administrator Reference Manual is included with the
@@ -560,25 +347,84 @@ Documentation
Frequently asked questions and their answers can be found in
FAQ.
Additional information on various subjects can be found
in the other README files.
Change Log
A detailed list of all changes to BIND 9 is included in the
file CHANGES, with the most recent changes listed first.
Change notes include tags indicating the category of the
change that was made; these categories are:
[func] New feature
[bug] General bug fix
[security] Fix for a significant security flaw
[experimental] Used for new features when the syntax
or other aspects of the design are still
in flux and may change
[port] Portability enhancement
[maint] Updates to built-in data such as root
server addresses and keys
[tuning] Changes to built-in configuration defaults
and constants to improve performanceo
[protocol] Updates to the DNS protocol such as new
RR types
[test] Changes to the automatic tests, not
affecting server functionality
[cleanup] Minor corrections and refactoring
[doc] Documentation
[contrib] Changes to the contributed tools and
libraries in the 'contrib' subdirectory
[placeholder] Used in the master development branch to
reserve change numbers for use in other
branches, e.g. when fixing a bug that only
exists in older releases
In general, [func] and [experimental] tags will only appear
in new-feature releases (i.e., those with version numbers
ending in zero). Some new functionality may be backported to
older releases on a case-by-case basis. All other change
types may be applied to all currently-supported releases.
Bug Reports and Mailing Lists
Bugs reports should be sent to
Bug reports should be sent to:
bind9-bugs@isc.org
To join the BIND Users mailing list, send mail to
Feature requests can be sent to:
bind-users-request@isc.org
bind-suggest@isc.org
archives of which can be found via
To join or view the archives of the BIND Users mailing list,
visit:
http://www.isc.org/ops/lists/
https://lists.isc.org/mailman/listinfo/bind-users
If you're planning on making changes to the BIND 9 source
code, you might want to join the BIND Workers mailing list.
Send mail to
code, you may also want to join the BIND Workers mailing
list:
bind-workers-request@isc.org
https://lists.isc.org/mailman/listinfo/bind-workers
Information on read-only Git access, coding style and developer
guidelines can be found at:
http://www.isc.org/git/

View File

@@ -1,112 +0,0 @@
BIND-9 IDN patch
Japan Network Information Center (JPNIC)
* What is this patch for?
This patch adds internationalized domain name (IDN) support to BIND-9.
You'll get internationalized version of dig/host/nslookup commands.
+ internationalized dig/host/nslookup
dig/host/nslookup accepts non-ASCII domain names in the local
codeset (such as Shift JIS, Big5 or ISO8859-1) determined by
the locale information. The domain names are normalized and
converted to the encoding on the DNS protocol, and sent to DNS
servers. The replies are converted back to the local codeset
and displayed.
* Compilation & installation
0. Prerequisite
You have to build and install idnkit before building this patched version
of bind-9.
1. Running configure script
Run `configure' in the top directory. See `README' for the
configuration options.
This patch adds the following 4 options to `configure'. You should
at least specify `--with-idn' option to enable IDN support.
--with-idn[=IDN_PREFIX]
To enable IDN support, you have to specify `--with-idn' option.
The argument IDN_PREFIX is the install prefix of idnkit. If
IDN_PREFIX is omitted, PREFIX (derived from `--prefix=PREFIX')
is assumed.
--with-libiconv[=LIBICONV_PREFIX]
Specify this option if idnkit you have installed links GNU
libiconv. The argument LIBICONV_PREFIX is install prefix of
GNU libiconv. If the argument is omitted, PREFIX (derived
from `--prefix=PREFIX') is assumed.
`--with-libiconv' is shorthand option for GNU libiconv.
--with-libiconv=/usr/local
This is equivalent to:
--with-iconv='-L/usr/local/lib -R/usr/local/lib -liconv'
`--with-libiconv' assumes that your C compiler has `-R'
option, and that the option adds the specified run-time path
to an executable binary. If `-R' option of your compiler has
different meaning, or your compiler lacks the option, you
should use `--with-iconv' option instead. Binary command
without run-time path information might be unexecutable.
In that case, you would see an error message like:
error in loading shared libraries: libiconv.so.2: cannot
open shared object file
If both `--with-libiconv' and `--with-iconv' options are
specified, `--with-iconv' is prior to `--with-libiconv'.
--with-iconv=ICONV_LIBSPEC
If your libc doesn't provide iconv(), you need to specify the
library containing iconv() with this option. `ICONV_LIBSPEC'
is the argument(s) to `cc' or `ld' to link the library, for
example, `--with-iconv="-L/usr/local/lib -liconv"'.
You don't need to specify the header file directory for "iconv.h"
to the compiler, as it isn't included directly by bind-9 with
this patch.
--with-idnlib=IDN_LIBSPEC
With this option, you can explicitly specify the argument(s)
to `cc' or `ld' to link the idnkit's library, `libidnkit'. If
this option is not specified, `-L${PREFIX}/lib -lidnkit' is
assumed, where ${PREFIX} is the installation prefix specified
with `--with-idn' option above. You may need to use this
option to specify extra arguments, for example,
`--with-idnlib="-L/usr/local/lib -R/usr/local/lib -lidnkit"'.
Please consult `README' for other configuration options.
Note that if you want to specify some extra header file directories,
you should use the environment variable STD_CINCLUDES instead of
CFLAGS, as described in README.
2. Compilation and installation
After running "configure", just do
make
make install
for compiling and installing.
* Contact information
Please see http//www.nic.ad.jp/en/idn/ for the latest news
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.558.1 2009/01/19 00:01:09 marka Exp $

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2008, 2012, 2014 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.130.2 2009/02/16 23:46:44 tbox Exp $ */
/* $Id: acconfig.h,v 1.53 2008/12/01 23:47:44 tbox Exp $ */
/*! \file */
@@ -73,6 +73,9 @@
/** define if arc4random() exists */
#undef HAVE_ARC4RANDOM
/** define if arc4random_addrandom() exists */
#undef HAVE_ARC4RANDOM_ADDRANDOM
/**
* define if pthread_setconcurrency() should be called to tell the
* OS how many threads we might want to run.
@@ -138,6 +141,9 @@ int sigwait(const unsigned int *set, int *sig);
/* Define if OpenSSL includes DSA support */
#undef HAVE_OPENSSL_DSA
/* Define if OpenSSL includes ECDSA support */
#undef HAVE_OPENSSL_ECDSA
/* Define to the length type used by the socket API (socklen_t, size_t, int). */
#undef ISC_SOCKADDR_LEN_T

17
aclocal.m4 vendored
View File

@@ -1,2 +1,17 @@
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
m4_divert_text(HELP_CANON, [[
NOTE: If PREFIX is not set, then the default values for --sysconfdir
and --localstatedir are /etc and /var, respectively.]])
m4_divert_text(HELP_END, [[
Professional support for BIND is provided by Internet Systems Consortium,
Inc. Information about paid support and training options is available at
https://www.isc.org/support.
Help can also often be found on the BIND Users mailing list
(https://lists.isc.org/mailman/listinfo/bind-users) or in the #bind
channel of the Freenode IRC service.]])

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004, 2007, 2009, 2012, 2013 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,13 +13,14 @@
# 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: Makefile.in,v 1.29 2009/10/05 12:07:08 fdupont Exp $
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
SUBDIRS = named rndc dig dnssec tests nsupdate check
SUBDIRS = named rndc dig dnssec tools tests nsupdate \
check confgen @PYTHON_TOOLS@ @PKCS11_TOOLS@
TARGETS =
@BIND9_MAKE_RULES@

View File

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

3
bin/check/.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
.libs
named-checkconf
named-checkzone

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004-2007, 2009, 2012, 2014 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: Makefile.in,v 1.36 2009/12/05 23:31:40 each Exp $
srcdir = @srcdir@
VPATH = @srcdir@
@@ -32,6 +32,7 @@ CWARNINGS =
DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
ISCLIBS = ../../lib/isc/libisc.@A@
ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@
BIND9LIBS = ../../lib/bind9/libbind9.@A@
DNSDEPLIBS = ../../lib/dns/libdns.@A@
@@ -39,7 +40,8 @@ ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
ISCDEPLIBS = ../../lib/isc/libisc.@A@
BIND9DEPLIBS = ../../lib/bind9/libbind9.@A@
LIBS = @LIBS@
LIBS = ${ISCLIBS} @LIBS@
NOSYMLIBS = ${ISCNOSYMLIBS} @LIBS@
SUBDIRS =
@@ -68,15 +70,15 @@ named-checkzone.@O@: named-checkzone.c
-c ${srcdir}/named-checkzone.c
named-checkconf@EXEEXT@: named-checkconf.@O@ check-tool.@O@ ${ISCDEPLIBS} \
${ISCCFGDEPLIBS} ${BIND9DEPLIBS}
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
named-checkconf.@O@ check-tool.@O@ ${BIND9LIBS} ${ISCCFGLIBS} \
${DNSLIBS} ${ISCLIBS} ${LIBS}
${DNSDEPLIBS} ${ISCCFGDEPLIBS} ${BIND9DEPLIBS}
export BASEOBJS="named-checkconf.@O@ check-tool.@O@"; \
export LIBS0="${BIND9LIBS} ${ISCCFGLIBS} ${DNSLIBS}"; \
${FINALBUILDCMD}
named-checkzone@EXEEXT@: named-checkzone.@O@ check-tool.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
named-checkzone.@O@ check-tool.@O@ ${ISCCFGLIBS} ${DNSLIBS} \
${ISCLIBS} ${LIBS}
export BASEOBJS="named-checkzone.@O@ check-tool.@O@"; \
export LIBS0="${ISCCFGLIBS} ${DNSLIBS}"; \
${FINALBUILDCMD}
doc man:: ${MANOBJS}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-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.31.62.5 2009/01/27 21:17:39 jinmei Exp $ */
/* $Id: check-tool.c,v 1.44 2011/12/22 07:32:39 each Exp $ */
/*! \file */
@@ -23,6 +23,10 @@
#include <stdio.h>
#ifdef _WIN32
#include <Winsock2.h>
#endif
#include "check-tool.h"
#include <isc/buffer.h>
#include <isc/log.h>
@@ -192,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;
@@ -223,8 +231,9 @@ checkns(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner,
!logged(namebuf, ERR_IS_CNAME)) {
dns_zone_log(zone, ISC_LOG_ERROR,
"%s/NS '%s' (out of zone) "
"is a CNAME (illegal)",
ownerbuf, namebuf);
"is a CNAME '%s' (illegal)",
ownerbuf, namebuf,
cur->ai_canonname);
/* XXX950 make fatal for 9.5.0 */
/* answer = ISC_FALSE; */
add(namebuf, ERR_IS_CNAME);
@@ -253,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.
*/
@@ -415,8 +423,10 @@ checkmx(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
if (!logged(namebuf, ERR_IS_MXCNAME)) {
dns_zone_log(zone, level,
"%s/MX '%s' (out of zone)"
" is a CNAME (illegal)",
ownerbuf, namebuf);
" is a CNAME '%s' "
"(illegal)",
ownerbuf, namebuf,
cur->ai_canonname);
add(namebuf, ERR_IS_MXCNAME);
}
if (level == ISC_LOG_ERROR)
@@ -498,8 +508,9 @@ checksrv(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
if (!logged(namebuf, ERR_IS_SRVCNAME)) {
dns_zone_log(zone, level, "%s/SRV '%s'"
" (out of zone) is a "
"CNAME (illegal)",
ownerbuf, namebuf);
"CNAME '%s' (illegal)",
ownerbuf, namebuf,
cur->ai_canonname);
add(namebuf, ERR_IS_SRVCNAME);
}
if (level == ISC_LOG_ERROR)
@@ -589,12 +600,11 @@ 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);
CHECK(dns_name_fromtext(origin, &buffer, dns_rootname,
ISC_FALSE, NULL));
CHECK(dns_name_fromtext(origin, &buffer, dns_rootname, 0, NULL));
CHECK(dns_zone_setorigin(zone, origin));
CHECK(dns_zone_setdbtype(zone, 1, (const char * const *) dbtype));
CHECK(dns_zone_setfile2(zone, filename, fileformat));
@@ -628,10 +638,14 @@ load_zone(isc_mem_t *mctx, const char *zonename, const char *filename,
/*% dump the zone */
isc_result_t
dump_zone(const char *zonename, dns_zone_t *zone, const char *filename,
dns_masterformat_t fileformat, const dns_master_style_t *style)
dns_masterformat_t fileformat, const dns_master_style_t *style,
const isc_uint32_t rawversion)
{
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)
@@ -642,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 "
@@ -651,10 +665,33 @@ dump_zone(const char *zonename, dns_zone_t *zone, const char *filename,
}
}
result = dns_zone_dumptostream2(zone, output, fileformat, style);
result = dns_zone_dumptostream3(zone, output, fileformat, style,
rawversion);
if (output != stdout)
(void)isc_stdio_close(output);
return (result);
}
#ifdef _WIN32
void
InitSockets(void) {
WORD wVersionRequested;
WSADATA wsaData;
int err;
wVersionRequested = MAKEWORD(2, 0);
err = WSAStartup( wVersionRequested, &wsaData );
if (err != 0) {
fprintf(stderr, "WSAStartup() failed: %d\n", err);
exit(1);
}
}
void
DestroySockets(void) {
WSACleanup();
}
#endif

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2010, 2011 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 2007/06/18 23:47:17 tbox Exp $ */
/* $Id: check-tool.h,v 1.18 2011/12/09 23:47:02 tbox Exp $ */
#ifndef CHECK_TOOL_H
#define CHECK_TOOL_H
@@ -41,7 +41,13 @@ load_zone(isc_mem_t *mctx, const char *zonename, const char *filename,
isc_result_t
dump_zone(const char *zonename, dns_zone_t *zone, const char *filename,
dns_masterformat_t fileformat, const dns_master_style_t *style);
dns_masterformat_t fileformat, const dns_master_style_t *style,
const isc_uint32_t rawversion);
#ifdef _WIN32
void InitSockets(void);
void DestroySockets(void);
#endif
extern int debug;
extern isc_boolean_t nomerge;

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004, 2005, 2007, 2009, 2014 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,18 +13,18 @@
.\" 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.130.1 2009/07/11 01:43:26 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
.\" Title: named\-checkconf
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
.\" Date: June 14, 2000
.\" Date: January 10, 2014
.\" Manual: BIND9
.\" Source: BIND9
.\"
.TH "NAMED\-CHECKCONF" "8" "June 14, 2000" "BIND9" "BIND9"
.TH "NAMED\-CHECKCONF" "8" "January 10, 2014" "BIND9" "BIND9"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@@ -33,11 +33,29 @@
named\-checkconf \- named configuration file syntax checking tool
.SH "SYNOPSIS"
.HP 16
\fBnamed\-checkconf\fR [\fB\-h\fR] [\fB\-v\fR] [\fB\-j\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] {filename} [\fB\-z\fR]
\fBnamed\-checkconf\fR [\fB\-h\fR] [\fB\-v\fR] [\fB\-j\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] {filename} [\fB\-p\fR] [\fB\-x\fR] [\fB\-z\fR]
.SH "DESCRIPTION"
.PP
\fBnamed\-checkconf\fR
checks the syntax, but not the semantics, of a named configuration file.
checks the syntax, but not the semantics, of a
\fBnamed\fR
configuration file. The file is parsed and checked for syntax errors, along with all files included by it. If no file is specified,
\fI/etc/named.conf\fR
is read by default.
.PP
Note: files that
\fBnamed\fR
reads in separate parser contexts, such as
\fIrndc.key\fR
and
\fIbind.keys\fR, are not automatically read by
\fBnamed\-checkconf\fR. Configuration errors in these files may cause
\fBnamed\fR
to fail to run, even if
\fBnamed\-checkconf\fR
was successful.
\fBnamed\-checkconf\fR
can be run on these files explicitly, however.
.SH "OPTIONS"
.PP
\-h
@@ -59,6 +77,21 @@ Print the version of the
program and exit.
.RE
.PP
\-p
.RS 4
Print out the
\fInamed.conf\fR
and included files in canonical form if no errors were detected.
.RE
.PP
\-x
.RS 4
When printing the configuration files in canonical form, obscure shared secrets by replacing them with strings of question marks ('?'). This allows the contents of
\fInamed.conf\fR
and related files to be shared \(em for example, when submitting bug reports \(em without compromising private data. This option cannot be used without
\fB\-p\fR.
.RE
.PP
\-z
.RS 4
Perform a test load of all master zones found in
@@ -88,7 +121,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, 2009, 2014 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 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2009-2014 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.18.2 2009/02/16 23:46:44 tbox Exp $ */
/* $Id: named-checkconf.c,v 1.56 2011/03/12 04:59:46 tbox Exp $ */
/*! \file */
@@ -39,10 +39,13 @@
#include <bind9/check.h>
#include <dns/db.h>
#include <dns/fixedname.h>
#include <dns/log.h>
#include <dns/name.h>
#include <dns/rdataclass.h>
#include <dns/result.h>
#include <dns/rootns.h>
#include <dns/zone.h>
#include "check-tool.h"
@@ -59,9 +62,12 @@ 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] "
fprintf(stderr, "usage: %s [-h] [-j] [-p] [-v] [-z] [-t directory] "
"[named.conf]\n", program);
exit(1);
}
@@ -137,15 +143,27 @@ get_checknames(const cfg_obj_t **maps, const cfg_obj_t **obj) {
}
static isc_result_t
config_get(const cfg_obj_t **maps, const char *name, const cfg_obj_t **obj) {
int i;
configure_hint(const char *zfile, const char *zclass, isc_mem_t *mctx) {
isc_result_t result;
dns_db_t *db = NULL;
dns_rdataclass_t rdclass;
isc_textregion_t r;
for (i = 0;; i++) {
if (maps[i] == NULL)
return (ISC_R_NOTFOUND);
if (cfg_map_get(maps[i], name, obj) == ISC_R_SUCCESS)
return (ISC_R_SUCCESS);
}
if (zfile == NULL)
return (ISC_R_FAILURE);
DE_CONST(zclass, r.base);
r.length = strlen(zclass);
result = dns_rdataclass_fromtext(&rdclass, &r);
if (result != ISC_R_SUCCESS)
return (result);
result = dns_rootns_create(mctx, rdclass, zfile, &db);
if (result != ISC_R_SUCCESS)
return (result);
dns_db_detach(&db);
return (ISC_R_SUCCESS);
}
/*% configure the zone */
@@ -158,8 +176,9 @@ configure_zone(const char *vclass, const char *view,
isc_result_t result;
const char *zclass;
const char *zname;
const char *zfile;
const char *zfile = NULL;
const cfg_obj_t *maps[4];
const cfg_obj_t *mastersobj = NULL;
const cfg_obj_t *zoptions = NULL;
const cfg_obj_t *classobj = NULL;
const cfg_obj_t *typeobj = NULL;
@@ -187,20 +206,65 @@ 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)
return (ISC_R_FAILURE);
if (strcasecmp(cfg_obj_asstring(typeobj), "master") != 0)
return (ISC_R_SUCCESS);
/*
* Skip checks when using an alternate data source.
*/
cfg_map_get(zoptions, "database", &dbobj);
if (dbobj != NULL)
if (dbobj != NULL &&
strcmp("rbt", cfg_obj_asstring(dbobj)) != 0 &&
strcmp("rbt64", cfg_obj_asstring(dbobj)) != 0)
return (ISC_R_SUCCESS);
cfg_map_get(zoptions, "file", &fileobj);
if (fileobj == NULL)
if (fileobj != NULL)
zfile = cfg_obj_asstring(fileobj);
/*
* Check hints files for hint zones.
* Skip loading checks for any type other than
* master and redirect
*/
if (strcasecmp(cfg_obj_asstring(typeobj), "hint") == 0)
return (configure_hint(zfile, zclass, mctx));
else if ((strcasecmp(cfg_obj_asstring(typeobj), "master") != 0) &&
(strcasecmp(cfg_obj_asstring(typeobj), "redirect") != 0))
return (ISC_R_SUCCESS);
/*
* Is the redirect zone configured as a slave?
*/
if (strcasecmp(cfg_obj_asstring(typeobj), "redirect") == 0) {
cfg_map_get(zoptions, "masters", &mastersobj);
if (mastersobj != NULL)
return (ISC_R_SUCCESS);
}
if (zfile == NULL)
return (ISC_R_FAILURE);
zfile = cfg_obj_asstring(fileobj);
obj = NULL;
if (get_maps(maps, "check-dup-records", &obj)) {
if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
zone_options |= DNS_ZONEOPT_CHECKDUPRR;
zone_options &= ~DNS_ZONEOPT_CHECKDUPRRFAIL;
} else if (strcasecmp(cfg_obj_asstring(obj), "fail") == 0) {
zone_options |= DNS_ZONEOPT_CHECKDUPRR;
zone_options |= DNS_ZONEOPT_CHECKDUPRRFAIL;
} else if (strcasecmp(cfg_obj_asstring(obj), "ignore") == 0) {
zone_options &= ~DNS_ZONEOPT_CHECKDUPRR;
zone_options &= ~DNS_ZONEOPT_CHECKDUPRRFAIL;
} else
INSIST(0);
} else {
zone_options |= DNS_ZONEOPT_CHECKDUPRR;
zone_options &= ~DNS_ZONEOPT_CHECKDUPRRFAIL;
}
obj = NULL;
if (get_maps(maps, "check-mx", &obj)) {
@@ -273,6 +337,18 @@ configure_zone(const char *vclass, const char *view,
zone_options &= ~DNS_ZONEOPT_CHECKSIBLING;
}
obj = NULL;
if (get_maps(maps, "check-spf", &obj)) {
if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
zone_options |= DNS_ZONEOPT_CHECKSPF;
} else if (strcasecmp(cfg_obj_asstring(obj), "ignore") == 0) {
zone_options &= ~DNS_ZONEOPT_CHECKSPF;
} else
INSIST(0);
} else {
zone_options |= DNS_ZONEOPT_CHECKSPF;
}
obj = NULL;
if (get_checknames(maps, &obj)) {
if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
@@ -293,8 +369,7 @@ configure_zone(const char *vclass, const char *view,
masterformat = dns_masterformat_text;
fmtobj = NULL;
result = config_get(maps, "masterfile-format", &fmtobj);
if (result == ISC_R_SUCCESS) {
if (get_maps(maps, "masterfile-format", &fmtobj)) {
const char *masterformatstr = cfg_obj_asstring(fmtobj);
if (strcasecmp(masterformatstr, "text") == 0)
masterformat = dns_masterformat_text;
@@ -308,7 +383,7 @@ configure_zone(const char *vclass, const char *view,
if (result != ISC_R_SUCCESS)
fprintf(stderr, "%s/%s/%s: %s\n", view, zname, zclass,
dns_result_totext(result));
return(result);
return (result);
}
/*% configure a view */
@@ -387,6 +462,15 @@ load_zones_fromconfig(const cfg_obj_t *config, isc_mem_t *mctx) {
return (result);
}
static void
output(void *closure, const char *text, int textlen) {
UNUSED(closure);
if (fwrite(text, 1, textlen, stdout) != (size_t)textlen) {
perror("fwrite");
exit(1);
}
}
/*% The main processing routine */
int
main(int argc, char **argv) {
@@ -399,10 +483,38 @@ main(int argc, char **argv) {
int exit_status = 0;
isc_entropy_t *ectx = NULL;
isc_boolean_t load_zones = ISC_FALSE;
isc_boolean_t print = ISC_FALSE;
unsigned int flags = 0;
isc_commandline_errprint = ISC_FALSE;
while ((c = isc_commandline_parse(argc, argv, "dhjt:vz")) != EOF) {
/*
* Process memory debugging argument first.
*/
#define CMDLINE_FLAGS "dhjm:t:pvxz"
while ((c = isc_commandline_parse(argc, argv, CMDLINE_FLAGS)) != -1) {
switch (c) {
case 'm':
if (strcasecmp(isc_commandline_argument, "record") == 0)
isc_mem_debugging |= ISC_MEM_DEBUGRECORD;
if (strcasecmp(isc_commandline_argument, "trace") == 0)
isc_mem_debugging |= ISC_MEM_DEBUGTRACE;
if (strcasecmp(isc_commandline_argument, "usage") == 0)
isc_mem_debugging |= ISC_MEM_DEBUGUSAGE;
if (strcasecmp(isc_commandline_argument, "size") == 0)
isc_mem_debugging |= ISC_MEM_DEBUGSIZE;
if (strcasecmp(isc_commandline_argument, "mctx") == 0)
isc_mem_debugging |= ISC_MEM_DEBUGCTX;
break;
default:
break;
}
}
isc_commandline_reset = ISC_TRUE;
RUNTIME_CHECK(isc_mem_create(0, 0, &mctx) == ISC_R_SUCCESS);
while ((c = isc_commandline_parse(argc, argv, CMDLINE_FLAGS)) != EOF) {
switch (c) {
case 'd':
debug++;
@@ -412,6 +524,9 @@ main(int argc, char **argv) {
nomerge = ISC_FALSE;
break;
case 'm':
break;
case 't':
result = isc_dir_chroot(isc_commandline_argument);
if (result != ISC_R_SUCCESS) {
@@ -421,10 +536,18 @@ main(int argc, char **argv) {
}
break;
case 'p':
print = ISC_TRUE;
break;
case 'v':
printf(VERSION "\n");
exit(0);
case 'x':
flags |= CFG_PRINTER_XKEY;
break;
case 'z':
load_zones = ISC_TRUE;
docheckmx = ISC_FALSE;
@@ -436,6 +559,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();
@@ -446,6 +570,11 @@ main(int argc, char **argv) {
}
}
if (((flags & CFG_PRINTER_XKEY) != 0) && !print) {
fprintf(stderr, "%s: -x cannot be used without -p\n", program);
exit(1);
}
if (isc_commandline_index + 1 < argc)
usage();
if (argv[isc_commandline_index] != NULL)
@@ -453,7 +582,9 @@ main(int argc, char **argv) {
if (conffile == NULL || conffile[0] == '\0')
conffile = NAMED_CONFFILE;
RUNTIME_CHECK(isc_mem_create(0, 0, &mctx) == ISC_R_SUCCESS);
#ifdef _WIN32
InitSockets();
#endif
RUNTIME_CHECK(setup_logging(mctx, stdout, &logc) == ISC_R_SUCCESS);
@@ -481,6 +612,8 @@ main(int argc, char **argv) {
exit_status = 1;
}
if (print && exit_status == 0)
cfg_printx(config, flags, output, NULL);
cfg_obj_destroy(parser, &config);
cfg_parser_destroy(&parser);
@@ -494,5 +627,9 @@ main(int argc, char **argv) {
isc_mem_destroy(&mctx);
#ifdef _WIN32
DestroySockets();
#endif
return (exit_status);
}

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, 2009, 2014 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,10 +18,9 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkconf.docbook,v 1.19 2007/06/19 06:58:03 marka Exp $ -->
<refentry id="man.named-checkconf">
<refentryinfo>
<date>June 14, 2000</date>
<date>January 10, 2014</date>
</refentryinfo>
<refmeta>
@@ -35,6 +34,8 @@
<year>2004</year>
<year>2005</year>
<year>2007</year>
<year>2009</year>
<year>2014</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
@@ -58,6 +59,8 @@
<arg><option>-j</option></arg>
<arg><option>-t <replaceable class="parameter">directory</replaceable></option></arg>
<arg choice="req">filename</arg>
<arg><option>-p</option></arg>
<arg><option>-x</option></arg>
<arg><option>-z</option></arg>
</cmdsynopsis>
</refsynopsisdiv>
@@ -65,8 +68,21 @@
<refsect1>
<title>DESCRIPTION</title>
<para><command>named-checkconf</command>
checks the syntax, but not the semantics, of a named
configuration file.
checks the syntax, but not the semantics, of a
<command>named</command> configuration file. The file is parsed
and checked for syntax errors, along with all files included by it.
If no file is specified, <filename>/etc/named.conf</filename> is read
by default.
</para>
<para>
Note: files that <command>named</command> reads in separate
parser contexts, such as <filename>rndc.key</filename> and
<filename>bind.keys</filename>, are not automatically read
by <command>named-checkconf</command>. Configuration
errors in these files may cause <command>named</command> to
fail to run, even if <command>named-checkconf</command> was
successful. <command>named-checkconf</command> can be run
on these files explicitly, however.
</para>
</refsect1>
@@ -87,8 +103,7 @@
<term>-t <replaceable class="parameter">directory</replaceable></term>
<listitem>
<para>
Chroot to <filename>directory</filename> so that
include
Chroot to <filename>directory</filename> so that include
directives in the configuration file are processed as if
run by a similarly chrooted named.
</para>
@@ -105,6 +120,31 @@
</listitem>
</varlistentry>
<varlistentry>
<term>-p</term>
<listitem>
<para>
Print out the <filename>named.conf</filename> and included files
in canonical form if no errors were detected.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-x</term>
<listitem>
<para>
When printing the configuration files in canonical
form, obscure shared secrets by replacing them with
strings of question marks ('?'). This allows the
contents of <filename>named.conf</filename> and related
files to be shared &mdash; for example, when submitting
bug reports &mdash; without compromising private data.
This option cannot be used without <option>-p</option>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-z</term>
<listitem>

View File

@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007, 2009, 2014 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.130.1 2009/07/11 01:43:26 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -29,17 +29,30 @@
</div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<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 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">-p</code>] [<code class="option">-x</code>] [<code class="option">-z</code>]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543387"></a><h2>DESCRIPTION</h2>
<a name="id2543411"></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.
checks the syntax, but not the semantics, of a
<span><strong class="command">named</strong></span> configuration file. The file is parsed
and checked for syntax errors, along with all files included by it.
If no file is specified, <code class="filename">/etc/named.conf</code> is read
by default.
</p>
<p>
Note: files that <span><strong class="command">named</strong></span> reads in separate
parser contexts, such as <code class="filename">rndc.key</code> and
<code class="filename">bind.keys</code>, are not automatically read
by <span><strong class="command">named-checkconf</strong></span>. Configuration
errors in these files may cause <span><strong class="command">named</strong></span> to
fail to run, even if <span><strong class="command">named-checkconf</strong></span> was
successful. <span><strong class="command">named-checkconf</strong></span> can be run
on these files explicitly, however.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543399"></a><h2>OPTIONS</h2>
<a name="id2543460"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-h</span></dt>
<dd><p>
@@ -47,8 +60,7 @@
</p></dd>
<dt><span class="term">-t <em class="replaceable"><code>directory</code></em></span></dt>
<dd><p>
Chroot to <code class="filename">directory</code> so that
include
Chroot to <code class="filename">directory</code> so that include
directives in the configuration file are processed as if
run by a similarly chrooted named.
</p></dd>
@@ -57,6 +69,21 @@
Print the version of the <span><strong class="command">named-checkconf</strong></span>
program and exit.
</p></dd>
<dt><span class="term">-p</span></dt>
<dd><p>
Print out the <code class="filename">named.conf</code> and included files
in canonical form if no errors were detected.
</p></dd>
<dt><span class="term">-x</span></dt>
<dd><p>
When printing the configuration files in canonical
form, obscure shared secrets by replacing them with
strings of question marks ('?'). This allows the
contents of <code class="filename">named.conf</code> and related
files to be shared &#8212; for example, when submitting
bug reports &#8212; without compromising private data.
This option cannot be used without <code class="option">-p</code>.
</p></dd>
<dt><span class="term">-z</span></dt>
<dd><p>
Perform a test load of all master zones found in
@@ -74,21 +101,21 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543507"></a><h2>RETURN VALUES</h2>
<a name="id2543604"></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="id2543616"></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="id2543645"></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-2011, 2013, 2014 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,18 +13,18 @@
.\" 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.130.3 2009/11/11 01:45:15 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
.\" Title: named\-checkzone
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
.\" Date: June 13, 2000
.\" Date: April 29, 2013
.\" Manual: BIND9
.\" Source: BIND9
.\"
.TH "NAMED\-CHECKZONE" "8" "June 13, 2000" "BIND9" "BIND9"
.TH "NAMED\-CHECKZONE" "8" "April 29, 2013" "BIND9" "BIND9"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@@ -33,9 +33,9 @@
named\-checkzone, named\-compilezone \- zone file validity checking or converting tool
.SH "SYNOPSIS"
.HP 16
\fBnamed\-checkzone\fR [\fB\-d\fR] [\fB\-h\fR] [\fB\-j\fR] [\fB\-q\fR] [\fB\-v\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-f\ \fR\fB\fIformat\fR\fR] [\fB\-F\ \fR\fB\fIformat\fR\fR] [\fB\-i\ \fR\fB\fImode\fR\fR] [\fB\-k\ \fR\fB\fImode\fR\fR] [\fB\-m\ \fR\fB\fImode\fR\fR] [\fB\-M\ \fR\fB\fImode\fR\fR] [\fB\-n\ \fR\fB\fImode\fR\fR] [\fB\-s\ \fR\fB\fIstyle\fR\fR] [\fB\-S\ \fR\fB\fImode\fR\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-w\ \fR\fB\fIdirectory\fR\fR] [\fB\-D\fR] [\fB\-W\ \fR\fB\fImode\fR\fR] {zonename} {filename}
\fBnamed\-checkzone\fR [\fB\-d\fR] [\fB\-h\fR] [\fB\-j\fR] [\fB\-q\fR] [\fB\-v\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-f\ \fR\fB\fIformat\fR\fR] [\fB\-F\ \fR\fB\fIformat\fR\fR] [\fB\-i\ \fR\fB\fImode\fR\fR] [\fB\-k\ \fR\fB\fImode\fR\fR] [\fB\-m\ \fR\fB\fImode\fR\fR] [\fB\-M\ \fR\fB\fImode\fR\fR] [\fB\-n\ \fR\fB\fImode\fR\fR] [\fB\-L\ \fR\fB\fIserial\fR\fR] [\fB\-o\ \fR\fB\fIfilename\fR\fR] [\fB\-r\ \fR\fB\fImode\fR\fR] [\fB\-s\ \fR\fB\fIstyle\fR\fR] [\fB\-S\ \fR\fB\fImode\fR\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-T\ \fR\fB\fImode\fR\fR] [\fB\-w\ \fR\fB\fIdirectory\fR\fR] [\fB\-D\fR] [\fB\-W\ \fR\fB\fImode\fR\fR] {zonename} {filename}
.HP 18
\fBnamed\-compilezone\fR [\fB\-d\fR] [\fB\-j\fR] [\fB\-q\fR] [\fB\-v\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-C\ \fR\fB\fImode\fR\fR] [\fB\-f\ \fR\fB\fIformat\fR\fR] [\fB\-F\ \fR\fB\fIformat\fR\fR] [\fB\-i\ \fR\fB\fImode\fR\fR] [\fB\-k\ \fR\fB\fImode\fR\fR] [\fB\-m\ \fR\fB\fImode\fR\fR] [\fB\-n\ \fR\fB\fImode\fR\fR] [\fB\-o\ \fR\fB\fIfilename\fR\fR] [\fB\-s\ \fR\fB\fIstyle\fR\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-w\ \fR\fB\fIdirectory\fR\fR] [\fB\-D\fR] [\fB\-W\ \fR\fB\fImode\fR\fR] {\fB\-o\ \fR\fB\fIfilename\fR\fR} {zonename} {filename}
\fBnamed\-compilezone\fR [\fB\-d\fR] [\fB\-j\fR] [\fB\-q\fR] [\fB\-v\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-C\ \fR\fB\fImode\fR\fR] [\fB\-f\ \fR\fB\fIformat\fR\fR] [\fB\-F\ \fR\fB\fIformat\fR\fR] [\fB\-i\ \fR\fB\fImode\fR\fR] [\fB\-k\ \fR\fB\fImode\fR\fR] [\fB\-m\ \fR\fB\fImode\fR\fR] [\fB\-n\ \fR\fB\fImode\fR\fR] [\fB\-L\ \fR\fB\fIserial\fR\fR] [\fB\-r\ \fR\fB\fImode\fR\fR] [\fB\-s\ \fR\fB\fIstyle\fR\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-T\ \fR\fB\fImode\fR\fR] [\fB\-w\ \fR\fB\fIdirectory\fR\fR] [\fB\-D\fR] [\fB\-W\ \fR\fB\fImode\fR\fR] {\fB\-o\ \fR\fB\fIfilename\fR\fR} {zonename} {filename}
.SH "DESCRIPTION"
.PP
\fBnamed\-checkzone\fR
@@ -139,11 +139,19 @@ Specify the format of the zone file. Possible formats are
.PP
\-F \fIformat\fR
.RS 4
Specify the format of the output file specified. Possible formats are
Specify the format of the output file specified. For
\fBnamed\-checkzone\fR, this does not cause any effects unless it dumps the zone contents.
.sp
Possible formats are
\fB"text"\fR
(default) and
\fB"raw"\fR. For
\fBnamed\-checkzone\fR, this does not cause any effects unless it dumps the zone contents.
\fB"raw"\fR
or
\fB"raw=N"\fR, which store the zone in a binary format for rapid loading by
\fBnamed\fR.
\fB"raw=N"\fR
specifies the format version of the raw zone file: if N is 0, the raw file can be read by any version of
\fBnamed\fR; if N is 1, the file can be read by release 9.9.0 or higher. The default is 1.
.RE
.PP
\-k \fImode\fR
@@ -160,6 +168,11 @@ checks with the specified failure mode. Possible modes are
\fB"ignore"\fR.
.RE
.PP
\-L \fIserial\fR
.RS 4
When compiling a zone to 'raw' format, set the "source serial" value in the header to the specified serial number. (This is expected to be used primarily for testing purposes.)
.RE
.PP
\-m \fImode\fR
.RS 4
Specify whether MX records should be checked to see if they are addresses. Possible modes are
@@ -201,6 +214,15 @@ then write to standard out. This is mandatory for
\fBnamed\-compilezone\fR.
.RE
.PP
\-r \fImode\fR
.RS 4
Check for records that are treated as different by DNSSEC but are semantically equal in plain DNS. Possible modes are
\fB"fail"\fR,
\fB"warn"\fR
(default) and
\fB"ignore"\fR.
.RE
.PP
\-s \fIstyle\fR
.RS 4
Specify the style of the dumped zone file. Possible styles are
@@ -227,6 +249,14 @@ Chroot to
so that include directives in the configuration file are processed as if run by a similarly chrooted named.
.RE
.PP
\-T \fImode\fR
.RS 4
Check if Sender Policy Framework (SPF) records exist and issues a warning if an SPF\-formatted TXT record is not also present. Possible modes are
\fB"warn"\fR
(default),
\fB"ignore"\fR.
.RE
.PP
\-w \fIdirectory\fR
.RS 4
chdir to
@@ -272,7 +302,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\-2011, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000\-2002 Internet Software Consortium.
.br

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2009 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: named-checkzone.c,v 1.49.130.6 2009/11/10 20:01:15 each Exp $ */
/* $Id: named-checkzone.c,v 1.65 2011/12/22 17:29:22 each Exp $ */
/*! \file */
@@ -39,6 +39,7 @@
#include <dns/db.h>
#include <dns/fixedname.h>
#include <dns/log.h>
#include <dns/master.h>
#include <dns/masterdump.h>
#include <dns/name.h>
#include <dns/rdataclass.h>
@@ -70,6 +71,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,
@@ -77,12 +81,13 @@ usage(void) {
"[-f inputformat] [-F outputformat] "
"[-t directory] [-w directory] [-k (ignore|warn|fail)] "
"[-n (ignore|warn|fail)] [-m (ignore|warn|fail)] "
"[-r (ignore|warn|fail)] "
"[-i (full|full-sibling|local|local-sibling|none)] "
"[-M (ignore|warn|fail)] [-S (ignore|warn|fail)] "
"[-W (ignore|warn)] "
"%s zonename filename\n",
prog_name,
progmode == progmode_check ? "[-o filename]" : "{-o filename}");
progmode == progmode_check ? "[-o filename]" : "-o filename");
exit(1);
}
@@ -108,7 +113,12 @@ main(int argc, char **argv) {
const char *outputformatstr = NULL;
dns_masterformat_t inputformat = dns_masterformat_text;
dns_masterformat_t outputformat = dns_masterformat_text;
dns_masterrawheader_t header;
isc_uint32_t rawversion = 1, serialnum = 0;
isc_boolean_t snset = ISC_FALSE;
isc_boolean_t logdump = ISC_FALSE;
FILE *errout = stdout;
char *endp;
outputstyle = &dns_master_style_full;
@@ -140,17 +150,21 @@ main(int argc, char **argv) {
if (progmode == progmode_compile) {
zone_options |= (DNS_ZONEOPT_CHECKNS |
DNS_ZONEOPT_FATALNS |
DNS_ZONEOPT_CHECKSPF |
DNS_ZONEOPT_CHECKDUPRR |
DNS_ZONEOPT_CHECKNAMES |
DNS_ZONEOPT_CHECKNAMESFAIL |
DNS_ZONEOPT_CHECKWILDCARD);
}
} else
zone_options |= (DNS_ZONEOPT_CHECKDUPRR |
DNS_ZONEOPT_CHECKSPF);
#define ARGCMP(X) (strcmp(isc_commandline_argument, X) == 0)
isc_commandline_errprint = ISC_FALSE;
while ((c = isc_commandline_parse(argc, argv,
"c:df:hi:jk:m:n:qs:t:o:vw:DF:M:S:W:"))
"c:df:hi:jk:L:m:n:qr:s:t:o:vw:DF:M:S:T:W:"))
!= EOF) {
switch (c) {
case 'c':
@@ -228,6 +242,17 @@ main(int argc, char **argv) {
}
break;
case 'L':
snset = ISC_TRUE;
endp = NULL;
serialnum = strtol(isc_commandline_argument, &endp, 0);
if (*endp != '\0') {
fprintf(stderr, "source serial number "
"must be numeric");
exit(1);
}
break;
case 'n':
if (ARGCMP("ignore")) {
zone_options &= ~(DNS_ZONEOPT_CHECKNS|
@@ -262,16 +287,27 @@ main(int argc, char **argv) {
}
break;
case 'o':
output_filename = isc_commandline_argument;
break;
case 'q':
quiet++;
break;
case 't':
result = isc_dir_chroot(isc_commandline_argument);
if (result != ISC_R_SUCCESS) {
fprintf(stderr, "isc_dir_chroot: %s: %s\n",
isc_commandline_argument,
isc_result_totext(result));
case 'r':
if (ARGCMP("warn")) {
zone_options |= DNS_ZONEOPT_CHECKDUPRR;
zone_options &= ~DNS_ZONEOPT_CHECKDUPRRFAIL;
} else if (ARGCMP("fail")) {
zone_options |= DNS_ZONEOPT_CHECKDUPRR |
DNS_ZONEOPT_CHECKDUPRRFAIL;
} else if (ARGCMP("ignore")) {
zone_options &= ~(DNS_ZONEOPT_CHECKDUPRR |
DNS_ZONEOPT_CHECKDUPRRFAIL);
} else {
fprintf(stderr, "invalid argument to -r: %s\n",
isc_commandline_argument);
exit(1);
}
break;
@@ -289,8 +325,14 @@ main(int argc, char **argv) {
}
break;
case 'o':
output_filename = isc_commandline_argument;
case 't':
result = isc_dir_chroot(isc_commandline_argument);
if (result != ISC_R_SUCCESS) {
fprintf(stderr, "isc_dir_chroot: %s: %s\n",
isc_commandline_argument,
isc_result_totext(result));
exit(1);
}
break;
case 'v':
@@ -339,6 +381,18 @@ main(int argc, char **argv) {
}
break;
case 'T':
if (ARGCMP("warn")) {
zone_options |= DNS_ZONEOPT_CHECKSPF;
} else if (ARGCMP("ignore")) {
zone_options &= ~DNS_ZONEOPT_CHECKSPF;
} else {
fprintf(stderr, "invalid argument to -T: %s\n",
isc_commandline_argument);
exit(1);
}
break;
case 'W':
if (ARGCMP("warn"))
zone_options |= DNS_ZONEOPT_CHECKWILDCARD;
@@ -350,6 +404,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();
@@ -374,7 +429,11 @@ main(int argc, char **argv) {
inputformat = dns_masterformat_text;
else if (strcasecmp(inputformatstr, "raw") == 0)
inputformat = dns_masterformat_raw;
else {
else if (strncasecmp(inputformatstr, "raw=", 4) == 0) {
inputformat = dns_masterformat_raw;
fprintf(stderr,
"WARNING: input format raw, version ignored\n");
} else {
fprintf(stderr, "unknown file format: %s\n",
inputformatstr);
exit(1);
@@ -382,11 +441,22 @@ main(int argc, char **argv) {
}
if (outputformatstr != NULL) {
if (strcasecmp(outputformatstr, "text") == 0)
if (strcasecmp(outputformatstr, "text") == 0) {
outputformat = dns_masterformat_text;
else if (strcasecmp(outputformatstr, "raw") == 0)
} else if (strcasecmp(outputformatstr, "raw") == 0) {
outputformat = dns_masterformat_raw;
else {
} else if (strncasecmp(outputformatstr, "raw=", 4) == 0) {
char *end;
outputformat = dns_masterformat_raw;
rawversion = strtol(outputformatstr + 4, &end, 10);
if (end == outputformatstr + 4 || *end != '\0' ||
rawversion > 1U) {
fprintf(stderr,
"unknown raw format version\n");
exit(1);
}
} else {
fprintf(stderr, "unknown file format: %s\n",
outputformatstr);
exit(1);
@@ -395,6 +465,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,12 +484,18 @@ 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();
#ifdef _WIN32
InitSockets();
#endif
RUNTIME_CHECK(isc_mem_create(0, 0, &mctx) == ISC_R_SUCCESS);
if (!quiet)
RUNTIME_CHECK(setup_logging(mctx, errout, &lctx)
@@ -434,14 +511,21 @@ main(int argc, char **argv) {
result = load_zone(mctx, origin, filename, inputformat, classname,
&zone);
if (snset) {
dns_master_initrawheader(&header);
header.flags = DNS_MASTERRAW_SOURCESERIALSET;
header.sourceserial = serialnum;
dns_zone_setrawdata(zone, &header);
}
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)
outputformat, outputstyle, rawversion);
if (logdump)
fprintf(errout, "done\n");
}
@@ -453,5 +537,8 @@ main(int argc, char **argv) {
isc_hash_destroy();
isc_entropy_detach(&ectx);
isc_mem_destroy(&mctx);
#ifdef _WIN32
DestroySockets();
#endif
return ((result == ISC_R_SUCCESS) ? 0 : 1);
}

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-2011, 2013, 2014 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,10 +18,9 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkzone.docbook,v 1.34.130.3 2009/11/10 20:01:15 each Exp $ -->
<refentry id="man.named-checkzone">
<refentryinfo>
<date>June 13, 2000</date>
<date>April 29, 2013</date>
</refentryinfo>
<refmeta>
@@ -37,6 +36,10 @@
<year>2006</year>
<year>2007</year>
<year>2009</year>
<year>2010</year>
<year>2011</year>
<year>2013</year>
<year>2014</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
@@ -69,9 +72,13 @@
<arg><option>-m <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-M <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-n <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-L <replaceable class="parameter">serial</replaceable></option></arg>
<arg><option>-o <replaceable class="parameter">filename</replaceable></option></arg>
<arg><option>-r <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-s <replaceable class="parameter">style</replaceable></option></arg>
<arg><option>-S <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-t <replaceable class="parameter">directory</replaceable></option></arg>
<arg><option>-T <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-w <replaceable class="parameter">directory</replaceable></option></arg>
<arg><option>-D</option></arg>
<arg><option>-W <replaceable class="parameter">mode</replaceable></option></arg>
@@ -92,9 +99,11 @@
<arg><option>-k <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-m <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-n <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-o <replaceable class="parameter">filename</replaceable></option></arg>
<arg><option>-L <replaceable class="parameter">serial</replaceable></option></arg>
<arg><option>-r <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-s <replaceable class="parameter">style</replaceable></option></arg>
<arg><option>-t <replaceable class="parameter">directory</replaceable></option></arg>
<arg><option>-T <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-w <replaceable class="parameter">directory</replaceable></option></arg>
<arg><option>-D</option></arg>
<arg><option>-W <replaceable class="parameter">mode</replaceable></option></arg>
@@ -244,12 +253,20 @@
<listitem>
<para>
Specify the format of the output file specified.
Possible formats are <command>"text"</command> (default)
and <command>"raw"</command>.
For <command>named-checkzone</command>,
this does not cause any effects unless it dumps the zone
contents.
</para>
<para>
Possible formats are <command>"text"</command> (default)
and <command>"raw"</command> or <command>"raw=N"</command>,
which store the zone in a binary format for rapid loading
by <command>named</command>. <command>"raw=N"</command>
specifies the format version of the raw zone file: if N
is 0, the raw file can be read by any version of
<command>named</command>; if N is 1, the file can be read
by release 9.9.0 or higher. The default is 1.
</para>
</listitem>
</varlistentry>
@@ -268,6 +285,17 @@
</listitem>
</varlistentry>
<varlistentry>
<term>-L <replaceable class="parameter">serial</replaceable></term>
<listitem>
<para>
When compiling a zone to 'raw' format, set the "source serial"
value in the header to the specified serial number. (This is
expected to be used primarily for testing purposes.)
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-m <replaceable class="parameter">mode</replaceable></term>
<listitem>
@@ -319,6 +347,19 @@
</listitem>
</varlistentry>
<varlistentry>
<term>-r <replaceable class="parameter">mode</replaceable></term>
<listitem>
<para>
Check for records that are treated as different by DNSSEC but
are semantically equal in plain DNS.
Possible modes are <command>"fail"</command>,
<command>"warn"</command> (default) and
<command>"ignore"</command>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-s <replaceable class="parameter">style</replaceable></term>
<listitem>
@@ -363,6 +404,18 @@
</listitem>
</varlistentry>
<varlistentry>
<term>-T <replaceable class="parameter">mode</replaceable></term>
<listitem>
<para>
Check if Sender Policy Framework (SPF) records exist
and issues a warning if an SPF-formatted TXT record is
not also present. Possible modes are <command>"warn"</command>
(default), <command>"ignore"</command>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-w <replaceable class="parameter">directory</replaceable></term>
<listitem>

View File

@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2007, 2009-2011, 2013, 2014 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.130.3 2009/11/11 01:45:15 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -29,11 +29,11 @@
</div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">named-checkzone</code> [<code class="option">-d</code>] [<code class="option">-h</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">-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">-M <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-n <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-s <em class="replaceable"><code>style</code></em></code>] [<code class="option">-S <em class="replaceable"><code>mode</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>] {zonename} {filename}</p></div>
<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 class="cmdsynopsis"><p><code class="command">named-checkzone</code> [<code class="option">-d</code>] [<code class="option">-h</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">-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">-M <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-n <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-L <em class="replaceable"><code>serial</code></em></code>] [<code class="option">-o <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-r <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-s <em class="replaceable"><code>style</code></em></code>] [<code class="option">-S <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-T <em class="replaceable"><code>mode</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>] {zonename} {filename}</p></div>
<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">-L <em class="replaceable"><code>serial</code></em></code>] [<code class="option">-r <em class="replaceable"><code>mode</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">-T <em class="replaceable"><code>mode</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="id2543747"></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="id2543782"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-d</span></dt>
<dd><p>
@@ -128,14 +128,24 @@
and <span><strong class="command">"raw"</strong></span>.
</p></dd>
<dt><span class="term">-F <em class="replaceable"><code>format</code></em></span></dt>
<dd><p>
<dd>
<p>
Specify the format of the output file specified.
Possible formats are <span><strong class="command">"text"</strong></span> (default)
and <span><strong class="command">"raw"</strong></span>.
For <span><strong class="command">named-checkzone</strong></span>,
this does not cause any effects unless it dumps the zone
contents.
</p></dd>
</p>
<p>
Possible formats are <span><strong class="command">"text"</strong></span> (default)
and <span><strong class="command">"raw"</strong></span> or <span><strong class="command">"raw=N"</strong></span>,
which store the zone in a binary format for rapid loading
by <span><strong class="command">named</strong></span>. <span><strong class="command">"raw=N"</strong></span>
specifies the format version of the raw zone file: if N
is 0, the raw file can be read by any version of
<span><strong class="command">named</strong></span>; if N is 1, the file can be read
by release 9.9.0 or higher. The default is 1.
</p>
</dd>
<dt><span class="term">-k <em class="replaceable"><code>mode</code></em></span></dt>
<dd><p>
Perform <span><strong class="command">"check-names"</strong></span> checks with the
@@ -146,6 +156,12 @@
(default for <span><strong class="command">named-checkzone</strong></span>) and
<span><strong class="command">"ignore"</strong></span>.
</p></dd>
<dt><span class="term">-L <em class="replaceable"><code>serial</code></em></span></dt>
<dd><p>
When compiling a zone to 'raw' format, set the "source serial"
value in the header to the specified serial number. (This is
expected to be used primarily for testing purposes.)
</p></dd>
<dt><span class="term">-m <em class="replaceable"><code>mode</code></em></span></dt>
<dd><p>
Specify whether MX records should be checked to see if they
@@ -177,6 +193,14 @@
write to standard out.
This is mandatory for <span><strong class="command">named-compilezone</strong></span>.
</p></dd>
<dt><span class="term">-r <em class="replaceable"><code>mode</code></em></span></dt>
<dd><p>
Check for records that are treated as different by DNSSEC but
are semantically equal in plain DNS.
Possible modes are <span><strong class="command">"fail"</strong></span>,
<span><strong class="command">"warn"</strong></span> (default) and
<span><strong class="command">"ignore"</strong></span>.
</p></dd>
<dt><span class="term">-s <em class="replaceable"><code>style</code></em></span></dt>
<dd><p>
Specify the style of the dumped zone file.
@@ -206,6 +230,13 @@
directives in the configuration file are processed as if
run by a similarly chrooted named.
</p></dd>
<dt><span class="term">-T <em class="replaceable"><code>mode</code></em></span></dt>
<dd><p>
Check if Sender Policy Framework (SPF) records exist
and issues a warning if an SPF-formatted TXT record is
not also present. Possible modes are <span><strong class="command">"warn"</strong></span>
(default), <span><strong class="command">"ignore"</strong></span>.
</p></dd>
<dt><span class="term">-w <em class="replaceable"><code>directory</code></em></span></dt>
<dd><p>
chdir to <code class="filename">directory</code> so that
@@ -239,14 +270,14 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2544330"></a><h2>RETURN VALUES</h2>
<a name="id2544622"></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="id2544634"></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 +285,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544375"></a><h2>AUTHOR</h2>
<a name="id2544667"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>

View File

@@ -0,0 +1,107 @@
# Microsoft Developer Studio Project File - Name="checkconf" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "@PLATFORM@ (x86) Console Application" 0x0103
CFG=checkconf - @PLATFORM@ Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "checkconf.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "checkconf.mak" CFG="checkconf - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "checkconf - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE "checkconf - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "checkconf - @PLATFORM@ Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 @COPTX@ @COPTI@ /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /c
# ADD CPP /nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/isccfg/include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "__STDC__" /FR @COPTY@ /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console @MACHINE@
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Release/checktool.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/bind9/win32/Release/libbind9.lib /nologo /subsystem:console @MACHINE@ /out:"../../../Build/Release/named-checkconf.exe"
!ELSEIF "$(CFG)" == "checkconf - @PLATFORM@ Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/isccfg/include" /D "_DEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X @COPTY@
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug @MACHINE@ /pdbtype:sept
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Debug/checktool.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/bind9/win32/Debug/libbind9.lib ../../../lib/bind9/win32/Debug/libbind9.lib /nologo /subsystem:console /debug @MACHINE@ /out:"../../../Build/Debug/named-checkconf.exe" /pdbtype:sept
!ENDIF
# Begin Target
# Name "checkconf - @PLATFORM@ Release"
# Name "checkconf - @PLATFORM@ Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE="..\named-checkconf.c"
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
SOURCE="..\check-tool.h"
# End Source File
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# End Group
# End Target
# End Project

View File

@@ -0,0 +1,29 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "checkconf"=".\checkconf.dsp" - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################

View File

@@ -0,0 +1,404 @@
# Microsoft Developer Studio Generated NMAKE File, Based on checkconf.dsp
!IF "$(CFG)" == ""
CFG=checkconf - @PLATFORM@ Debug
!MESSAGE No configuration specified. Defaulting to checkconf - @PLATFORM@ Debug.
!ENDIF
!IF "$(CFG)" != "checkconf - @PLATFORM@ Release" && "$(CFG)" != "checkconf - @PLATFORM@ Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "checkconf.mak" CFG="checkconf - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "checkconf - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE "checkconf - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "checkconf - @PLATFORM@ Release"
_VC_MANIFEST_INC=0
_VC_MANIFEST_BASENAME=__VC80
!ELSE
_VC_MANIFEST_INC=1
_VC_MANIFEST_BASENAME=__VC80.Debug
!ENDIF
####################################################
# Specifying name of temporary resource file used only in incremental builds:
!if "$(_VC_MANIFEST_INC)" == "1"
_VC_MANIFEST_AUTO_RES=$(_VC_MANIFEST_BASENAME).auto.res
!else
_VC_MANIFEST_AUTO_RES=
!endif
####################################################
# _VC_MANIFEST_EMBED_EXE - command to embed manifest in EXE:
!if "$(_VC_MANIFEST_INC)" == "1"
#MT_SPECIAL_RETURN=1090650113
#MT_SPECIAL_SWITCH=-notify_resource_update
MT_SPECIAL_RETURN=0
MT_SPECIAL_SWITCH=
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
link $** /out:$@ $(LFLAGS)
!else
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;1
!endif
####################################################
# _VC_MANIFEST_EMBED_DLL - command to embed manifest in DLL:
!if "$(_VC_MANIFEST_INC)" == "1"
#MT_SPECIAL_RETURN=1090650113
#MT_SPECIAL_SWITCH=-notify_resource_update
MT_SPECIAL_RETURN=0
MT_SPECIAL_SWITCH=
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
link $** /out:$@ $(LFLAGS)
!else
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;2
!endif
####################################################
# _VC_MANIFEST_CLEAN - command to clean resources files generated temporarily:
!if "$(_VC_MANIFEST_INC)" == "1"
_VC_MANIFEST_CLEAN=-del $(_VC_MANIFEST_BASENAME).auto.res \
$(_VC_MANIFEST_BASENAME).auto.rc \
$(_VC_MANIFEST_BASENAME).auto.manifest
!else
_VC_MANIFEST_CLEAN=
!endif
!IF "$(CFG)" == "checkconf - @PLATFORM@ Release"
OUTDIR=.\Release
INTDIR=.\Release
# Begin Custom Macros
OutDir=.\Release
# End Custom Macros
!IF "$(RECURSE)" == "0"
ALL : "..\..\..\Build\Release\named-checkconf.exe" "$(OUTDIR)\checkconf.bsc"
!ELSE
ALL : "libdns - @PLATFORM@ Release" "libisccfg - @PLATFORM@ Release" "libisc - @PLATFORM@ Release" "..\..\..\Build\Release\named-checkconf.exe" "$(OUTDIR)\checkconf.bsc"
!ENDIF
!IF "$(RECURSE)" == "1"
CLEAN :"libisc - @PLATFORM@ ReleaseCLEAN" "libisccfg - @PLATFORM@ ReleaseCLEAN" "libdns - @PLATFORM@ ReleaseCLEAN"
!ELSE
CLEAN :
!ENDIF
-@erase "$(INTDIR)\check-tool.obj"
-@erase "$(INTDIR)\check-tool.sbr"
-@erase "$(INTDIR)\named-checkconf.obj"
-@erase "$(INTDIR)\named-checkconf.sbr"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(OUTDIR)\checkconf.bsc"
-@erase "..\..\..\Build\Release\named-checkconf.exe"
-@$(_VC_MANIFEST_CLEAN)
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/isccfg/include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "__STDC__" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\checkconf.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\checkconf.bsc"
BSC32_SBRS= \
"$(INTDIR)\check-tool.sbr" \
"$(INTDIR)\named-checkconf.sbr"
"$(OUTDIR)\checkconf.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
$(BSC32) @<<
$(BSC32_FLAGS) $(BSC32_SBRS)
<<
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/bind9/win32/Release/libbind9.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\named-checkconf.pdb" @MACHINE@ /out:"../../../Build/Release/named-checkconf.exe"
LINK32_OBJS= \
"$(INTDIR)\check-tool.obj" \
"$(INTDIR)\named-checkconf.obj" \
"..\..\..\lib\isc\win32\Release\libisc.lib" \
"..\..\..\lib\isccfg\win32\Release\libisccfg.lib" \
"..\..\..\lib\dns\win32\Release\libdns.lib"
"..\..\..\Build\Release\named-checkconf.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
$(_VC_MANIFEST_EMBED_EXE)
!ELSEIF "$(CFG)" == "checkconf - @PLATFORM@ Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
# Begin Custom Macros
OutDir=.\Debug
# End Custom Macros
!IF "$(RECURSE)" == "0"
ALL : "..\..\..\Build\Debug\named-checkconf.exe" "$(OUTDIR)\checkconf.bsc"
!ELSE
ALL : "libdns - @PLATFORM@ Debug" "libisccfg - @PLATFORM@ Debug" "libisc - @PLATFORM@ Debug" "..\..\..\Build\Debug\named-checkconf.exe" "$(OUTDIR)\checkconf.bsc"
!ENDIF
!IF "$(RECURSE)" == "1"
CLEAN :"libisc - @PLATFORM@ DebugCLEAN" "libisccfg - @PLATFORM@ DebugCLEAN" "libdns - @PLATFORM@ DebugCLEAN"
!ELSE
CLEAN :
!ENDIF
-@erase "$(INTDIR)\check-tool.obj"
-@erase "$(INTDIR)\check-tool.sbr"
-@erase "$(INTDIR)\named-checkconf.obj"
-@erase "$(INTDIR)\named-checkconf.sbr"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(INTDIR)\vc60.pdb"
-@erase "$(OUTDIR)\named-checkconf.pdb"
-@erase "$(OUTDIR)\checkconf.bsc"
-@erase "..\..\..\Build\Debug\named-checkconf.exe"
-@erase "..\..\..\Build\Debug\named-checkconf.ilk"
-@$(_VC_MANIFEST_CLEAN)
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/isccfg/include" /D "_DEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\checkconf.bsc"
BSC32_SBRS= \
"$(INTDIR)\check-tool.sbr" \
"$(INTDIR)\named-checkconf.sbr"
"$(OUTDIR)\checkconf.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
$(BSC32) @<<
$(BSC32_FLAGS) $(BSC32_SBRS)
<<
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/bind9/win32/Debug/libbind9.lib ../../../lib/bind9/win32/Debug/libbind9.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\named-checkconf.pdb" /debug @MACHINE@ /out:"../../../Build/Debug/named-checkconf.exe" /pdbtype:sept
LINK32_OBJS= \
"$(INTDIR)\check-tool.obj" \
"$(INTDIR)\named-checkconf.obj" \
"..\..\..\lib\isc\win32\Debug\libisc.lib" \
"..\..\..\lib\isccfg\win32\Debug\libisccfg.lib" \
"..\..\..\lib\dns\win32\Debug\libdns.lib"
"..\..\..\Build\Debug\named-checkconf.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
$(_VC_MANIFEST_EMBED_EXE)
!ENDIF
.c{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
!IF "$(NO_EXTERNAL_DEPS)" != "1"
!IF EXISTS("checkconf.dep")
!INCLUDE "checkconf.dep"
!ELSE
!MESSAGE Warning: cannot find "checkconf.dep"
!ENDIF
!ENDIF
!IF "$(CFG)" == "checkconf - @PLATFORM@ Release" || "$(CFG)" == "checkconf - @PLATFORM@ Debug"
SOURCE="..\check-tool.c"
"$(INTDIR)\check-tool.obj" "$(INTDIR)\check-tool.sbr" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE="..\named-checkconf.c"
"$(INTDIR)\named-checkconf.obj" "$(INTDIR)\named-checkconf.sbr" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!IF "$(CFG)" == "checkconf - @PLATFORM@ Release"
"libisc - @PLATFORM@ Release" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release"
cd "..\..\..\bin\check\win32"
"libisc - @PLATFORM@ ReleaseCLEAN" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ELSEIF "$(CFG)" == "checkconf - @PLATFORM@ Debug"
"libisc - @PLATFORM@ Debug" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug"
cd "..\..\..\bin\check\win32"
"libisc - @PLATFORM@ DebugCLEAN" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ENDIF
!IF "$(CFG)" == "checkconf - @PLATFORM@ Release"
"libisccfg - @PLATFORM@ Release" :
cd "..\..\..\lib\isccfg\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - @PLATFORM@ Release"
cd "..\..\..\bin\check\win32"
"libisccfg - @PLATFORM@ ReleaseCLEAN" :
cd "..\..\..\lib\isccfg\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - @PLATFORM@ Release" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ELSEIF "$(CFG)" == "checkconf - @PLATFORM@ Debug"
"libisccfg - @PLATFORM@ Debug" :
cd "..\..\..\lib\isccfg\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - @PLATFORM@ Debug"
cd "..\..\..\bin\check\win32"
"libisccfg - @PLATFORM@ DebugCLEAN" :
cd "..\..\..\lib\isccfg\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - @PLATFORM@ Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ENDIF
!IF "$(CFG)" == "checkconf - @PLATFORM@ Release"
"libdns - @PLATFORM@ Release" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release"
cd "..\..\..\bin\check\win32"
"libdns - @PLATFORM@ ReleaseCLEAN" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ELSEIF "$(CFG)" == "checkconf - @PLATFORM@ Debug"
"libdns - @PLATFORM@ Debug" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug"
cd "..\..\..\bin\check\win32"
"libdns - @PLATFORM@ DebugCLEAN" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ENDIF
!ENDIF
####################################################
# Commands to generate initial empty manifest file and the RC file
# that references it, and for generating the .res file:
$(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
$(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
type <<$@
#include <winuser.h>
1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
<< KEEP
$(_VC_MANIFEST_BASENAME).auto.manifest :
type <<$@
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
</assembly>
<< KEEP
####################################################
# Commands to generate initial empty manifest file and the RC file
# that references it, and for generating the .res file:
$(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
$(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
type <<$@
#include <winuser.h>
1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
<< KEEP
$(_VC_MANIFEST_BASENAME).auto.manifest :
type <<$@
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
</assembly>
<< KEEP

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\check-tool.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\named-checkconf.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,113 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|@PLATFORM@">
<Configuration>Debug</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|@PLATFORM@">
<Configuration>Release</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{03A96113-CB14-43AA-AEB2-48950E3915C5}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>checkconf</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<LinkIncremental>true</LinkIncremental>
<OutDir>..\..\..\Build\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
<TargetName>named-$(ProjectName)</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\..\..\Build\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
<TargetName>named-$(ProjectName)</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<FunctionLevelLinking>false</FunctionLevelLinking>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(ProjectName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<BrowseInformation>true</BrowseInformation>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\dns\include;..\..\..\lib\bind9\include;..\..\..\lib\isccfg\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<AdditionalLibraryDirectories>$(Configuration);..\..\..\lib\isc\win32\$(Configuration);..\..\..\lib\dns\win32\$(Configuration);..\..\..\lib\isccfg\win32\$(Configuration);..\..\..\lib\isccc\win32\$(Configuration);..\..\..\lib\bind9\win32\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>checktool.lib;libisc.lib;libdns.lib;libisccfg.lib;libisccc.lib;libbind9.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>@INTRINSIC@</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<WholeProgramOptimization>false</WholeProgramOptimization>
<StringPooling>true</StringPooling>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(ProjectName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\dns\include;..\..\..\lib\bind9\include;..\..\..\lib\isccfg\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>false</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<AdditionalLibraryDirectories>$(Configuration);..\..\..\lib\isc\win32\$(Configuration);..\..\..\lib\dns\win32\$(Configuration);..\..\..\lib\isccfg\win32\$(Configuration);..\..\..\lib\isccc\win32\$(Configuration);..\..\..\lib\bind9\win32\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>checktool.lib;libisc.lib;libdns.lib;libisccfg.lib;libisccc.lib;libbind9.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\check-tool.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\named-checkconf.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -1,113 +0,0 @@
# Microsoft Developer Studio Project File - Name="checktool" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Static-Link Library" 0x0104
CFG=checktool - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "checktool.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "checktool.mak" CFG="checktool - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "checktool - Win32 Release" (based on "Win32 (x86) Static-Link Library")
!MESSAGE "checktool - Win32 Debug" (based on "Win32 (x86) Static-Link Library")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
!IF "$(CFG)" == "checktool - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "./" /I "../../../" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /YX /FD /c /Fdchecktool
# SUBTRACT CPP /X
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32
# ADD LINK32 /out:"Release/checktool.lib"
!ELSEIF "$(CFG)" == "checktool - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /FR /YX /FD /GZ /c /Fdchecktool
# SUBTRACT CPP /X
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32
# ADD LINK32 /debug out:"Debug/checktool.lib"
!ENDIF
# Begin Target
# Name "checktool - Win32 Release"
# Name "checktool - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# End Group
# Begin Group "Main Dns Lib"
# PROP Default_Filter "c"
# Begin Source File
SOURCE=..\check-tool.c
# End Source File
# End Group
# End Target
# End Project

View File

@@ -0,0 +1,113 @@
# Microsoft Developer Studio Project File - Name="checktool" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "@PLATFORM@ (x86) Static-Link Library" 0x0104
CFG=checktool - @PLATFORM@ Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "checktool.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "checktool.mak" CFG="checktool - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "checktool - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Static-Link Library")
!MESSAGE "checktool - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Static-Link Library")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
!IF "$(CFG)" == "checktool - @PLATFORM@ Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 @COPTX@ @COPTI@ /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" @COPTY@ /FD /c
# ADD CPP /nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" @COPTY@ /FD /c /Fdchecktool
# SUBTRACT CPP /X
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32
# ADD LINK32 /out:"Release/checktool.lib"
!ELSEIF "$(CFG)" == "checktool - @PLATFORM@ Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MTd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" @COPTY@ /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /FR @COPTY@ /FD /GZ /c /Fdchecktool
# SUBTRACT CPP /X
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32
# ADD LINK32 /debug out:"Debug/checktool.lib"
!ENDIF
# Begin Target
# Name "checktool - @PLATFORM@ Release"
# Name "checktool - @PLATFORM@ Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# End Group
# Begin Group "Main Dns Lib"
# PROP Default_Filter "c"
# Begin Source File
SOURCE=..\check-tool.c
# End Source File
# End Group
# End Target
# End Project

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\check-tool.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,99 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|@PLATFORM@">
<Configuration>Debug</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|@PLATFORM@">
<Configuration>Release</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\check-tool.c" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{2C1F7096-C5B5-48D4-846F-A7ACA454335D}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>checktool</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<OutDir>.\$(Configuration)\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<IntDir>.\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<OutDir>.\$(Configuration)\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<IntDir>.\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<FunctionLevelLinking>false</FunctionLevelLinking>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(TargetName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<BrowseInformation>true</BrowseInformation>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\include;..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\isccfg\include;..\..\..\lib\dns\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Lib>
<OutputFile>.\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>@INTRINSIC@</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<WholeProgramOptimization>false</WholeProgramOptimization>
<StringPooling>true</StringPooling>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(TargetName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\include;..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\isccfg\include;..\..\..\lib\dns\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Lib>
<OutputFile>.\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
</Lib>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -0,0 +1,108 @@
# Microsoft Developer Studio Project File - Name="checkzone" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "@PLATFORM@ (x86) Console Application" 0x0103
CFG=checkzone - @PLATFORM@ Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "checkzone.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "checkzone.mak" CFG="checkzone - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "checkzone - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE "checkzone - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "checkzone - @PLATFORM@ Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 @COPTX@ @COPTI@ /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /c
# ADD CPP /nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /I "../../../lib/isccfg/include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "__STDC__" @COPTY@ /FD /c
# SUBTRACT CPP /Fr
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console @MACHINE@
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Release/checktool.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/dns/win32/Release/libdns.lib /nologo /subsystem:console @MACHINE@ /out:"../../../Build/Release/named-checkzone.exe"
!ELSEIF "$(CFG)" == "checkzone - @PLATFORM@ Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /I "../../../lib/isccfg/include" /D "_DEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X @COPTY@
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug @MACHINE@ /pdbtype:sept
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Debug/checktool.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/dns/win32/Debug/libdns.lib /nologo /subsystem:console /debug @MACHINE@ /out:"../../../Build/Debug/named-checkzone.exe" /pdbtype:sept
!ENDIF
# Begin Target
# Name "checkzone - @PLATFORM@ Release"
# Name "checkzone - @PLATFORM@ Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE="..\named-checkzone.c"
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
SOURCE="..\check-tool.h"
# End Source File
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# End Group
# End Target
# End Project

View File

@@ -0,0 +1,29 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "checkzone"=".\checkzone.dsp" - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################

View File

@@ -0,0 +1,404 @@
# Microsoft Developer Studio Generated NMAKE File, Based on checkzone.dsp
!IF "$(CFG)" == ""
CFG=checkzone - @PLATFORM@ Debug
!MESSAGE No configuration specified. Defaulting to checkzone - @PLATFORM@ Debug.
!ENDIF
!IF "$(CFG)" != "checkzone - @PLATFORM@ Release" && "$(CFG)" != "checkzone - @PLATFORM@ Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "checkzone.mak" CFG="checkzone - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "checkzone - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE "checkzone - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
!IF "$(CFG)" == "checkzone - @PLATFORM@ Release"
_VC_MANIFEST_INC=0
_VC_MANIFEST_BASENAME=__VC80
!ELSE
_VC_MANIFEST_INC=1
_VC_MANIFEST_BASENAME=__VC80.Debug
!ENDIF
####################################################
# Specifying name of temporary resource file used only in incremental builds:
!if "$(_VC_MANIFEST_INC)" == "1"
_VC_MANIFEST_AUTO_RES=$(_VC_MANIFEST_BASENAME).auto.res
!else
_VC_MANIFEST_AUTO_RES=
!endif
####################################################
# _VC_MANIFEST_EMBED_EXE - command to embed manifest in EXE:
!if "$(_VC_MANIFEST_INC)" == "1"
#MT_SPECIAL_RETURN=1090650113
#MT_SPECIAL_SWITCH=-notify_resource_update
MT_SPECIAL_RETURN=0
MT_SPECIAL_SWITCH=
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
link $** /out:$@ $(LFLAGS)
!else
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;1
!endif
####################################################
# _VC_MANIFEST_EMBED_DLL - command to embed manifest in DLL:
!if "$(_VC_MANIFEST_INC)" == "1"
#MT_SPECIAL_RETURN=1090650113
#MT_SPECIAL_SWITCH=-notify_resource_update
MT_SPECIAL_RETURN=0
MT_SPECIAL_SWITCH=
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
link $** /out:$@ $(LFLAGS)
!else
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;2
!endif
####################################################
# _VC_MANIFEST_CLEAN - command to clean resources files generated temporarily:
!if "$(_VC_MANIFEST_INC)" == "1"
_VC_MANIFEST_CLEAN=-del $(_VC_MANIFEST_BASENAME).auto.res \
$(_VC_MANIFEST_BASENAME).auto.rc \
$(_VC_MANIFEST_BASENAME).auto.manifest
!else
_VC_MANIFEST_CLEAN=
!endif
!IF "$(CFG)" == "checkzone - @PLATFORM@ Release"
OUTDIR=.\Release
INTDIR=.\Release
!IF "$(RECURSE)" == "0"
ALL : "..\..\..\Build\Release\named-checkzone.exe"
!ELSE
ALL : "libisc - @PLATFORM@ Release" "libdns - @PLATFORM@ Release" "..\..\..\Build\Release\named-checkzone.exe"
!ENDIF
!IF "$(RECURSE)" == "1"
CLEAN :"libdns - @PLATFORM@ ReleaseCLEAN" "libisc - @PLATFORM@ ReleaseCLEAN"
!ELSE
CLEAN :
!ENDIF
-@erase "$(INTDIR)\check-tool.obj"
-@erase "$(INTDIR)\named-checkzone.obj"
-@erase "$(INTDIR)\vc60.idb"
-@erase "..\..\..\Build\Release\named-checkzone.exe"
-@$(_VC_MANIFEST_CLEAN)
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /I "../../../lib/isccfg/include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "__STDC__" /Fp"$(INTDIR)\checkzone.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
.c{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
RSC=rc.exe
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\checkzone.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/dns/win32/Release/libdns.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\named-checkzone.pdb" @MACHINE@ /out:"../../../Build/Release/named-checkzone.exe"
LINK32_OBJS= \
"$(INTDIR)\check-tool.obj" \
"$(INTDIR)\named-checkzone.obj" \
"..\..\..\lib\dns\win32\Release\libdns.lib" \
"..\..\..\lib\isccfg\win32\Release\libisccfg.lib" \
"..\..\..\lib\isc\win32\Release\libisc.lib"
"..\..\..\Build\Release\named-checkzone.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
$(_VC_MANIFEST_EMBED_EXE)
!ELSEIF "$(CFG)" == "checkzone - @PLATFORM@ Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
# Begin Custom Macros
OutDir=.\Debug
# End Custom Macros
!IF "$(RECURSE)" == "0"
ALL : "..\..\..\Build\Debug\named-checkzone.exe" "$(OUTDIR)\checkzone.bsc"
!ELSE
ALL : "libisc - @PLATFORM@ Debug" "libdns - @PLATFORM@ Debug" "..\..\..\Build\Debug\named-checkzone.exe" "$(OUTDIR)\checkzone.bsc"
!ENDIF
!IF "$(RECURSE)" == "1"
CLEAN :"libdns - @PLATFORM@ DebugCLEAN" "libisc - @PLATFORM@ DebugCLEAN"
!ELSE
CLEAN :
!ENDIF
-@erase "$(INTDIR)\check-tool.obj"
-@erase "$(INTDIR)\check-tool.sbr"
-@erase "$(INTDIR)\named-checkzone.obj"
-@erase "$(INTDIR)\named-checkzone.sbr"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(INTDIR)\vc60.pdb"
-@erase "$(OUTDIR)\named-checkzone.pdb"
-@erase "$(OUTDIR)\checkzone.bsc"
-@erase "..\..\..\Build\Debug\named-checkzone.exe"
-@erase "..\..\..\Build\Debug\named-checkzone.ilk"
-@$(_VC_MANIFEST_CLEAN)
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /I "../../../lib/isccfg/include" /D "_DEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
.c{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
RSC=rc.exe
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\checkzone.bsc"
BSC32_SBRS= \
"$(INTDIR)\check-tool.sbr" \
"$(INTDIR)\named-checkzone.sbr"
"$(OUTDIR)\checkzone.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
$(BSC32) @<<
$(BSC32_FLAGS) $(BSC32_SBRS)
<<
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/dns/win32/Debug/libdns.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\named-checkzone.pdb" /debug @MACHINE@ /out:"../../../Build/Debug/named-checkzone.exe" /pdbtype:sept
LINK32_OBJS= \
"$(INTDIR)\check-tool.obj" \
"$(INTDIR)\named-checkzone.obj" \
"..\..\..\lib\dns\win32\Debug\libdns.lib" \
"..\..\..\lib\isccfg\win32\Debug\libisccfg.lib" \
"..\..\..\lib\isc\win32\Debug\libisc.lib"
"..\..\..\Build\Debug\named-checkzone.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
$(_VC_MANIFEST_EMBED_EXE)
!ENDIF
!IF "$(NO_EXTERNAL_DEPS)" != "1"
!IF EXISTS("checkzone.dep")
!INCLUDE "checkzone.dep"
!ELSE
!MESSAGE Warning: cannot find "checkzone.dep"
!ENDIF
!ENDIF
!IF "$(CFG)" == "checkzone - @PLATFORM@ Release" || "$(CFG)" == "checkzone - @PLATFORM@ Debug"
SOURCE="..\check-tool.c"
!IF "$(CFG)" == "checkzone - @PLATFORM@ Release"
"$(INTDIR)\check-tool.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "checkzone - @PLATFORM@ Debug"
"$(INTDIR)\check-tool.obj" "$(INTDIR)\check-tool.sbr" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ENDIF
SOURCE="..\named-checkzone.c"
!IF "$(CFG)" == "checkzone - @PLATFORM@ Release"
"$(INTDIR)\named-checkzone.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "checkzone - @PLATFORM@ Debug"
"$(INTDIR)\named-checkzone.obj" "$(INTDIR)\named-checkzone.sbr" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ENDIF
!IF "$(CFG)" == "checkzone - @PLATFORM@ Release"
"libdns - @PLATFORM@ Release" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release"
cd "..\..\..\bin\check\win32"
"libdns - @PLATFORM@ ReleaseCLEAN" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ELSEIF "$(CFG)" == "checkzone - @PLATFORM@ Debug"
"libdns - @PLATFORM@ Debug" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug"
cd "..\..\..\bin\check\win32"
"libdns - @PLATFORM@ DebugCLEAN" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ENDIF
!IF "$(CFG)" == "checkzone - @PLATFORM@ Release"
"libisc - @PLATFORM@ Release" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release"
cd "..\..\..\bin\check\win32"
"libisc - @PLATFORM@ ReleaseCLEAN" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ELSEIF "$(CFG)" == "checkzone - @PLATFORM@ Debug"
"libisc - @PLATFORM@ Debug" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug"
cd "..\..\..\bin\check\win32"
"libisc - @PLATFORM@ DebugCLEAN" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ENDIF
!ENDIF
####################################################
# Commands to generate initial empty manifest file and the RC file
# that references it, and for generating the .res file:
$(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
$(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
type <<$@
#include <winuser.h>
1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
<< KEEP
$(_VC_MANIFEST_BASENAME).auto.manifest :
type <<$@
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
</assembly>
<< KEEP

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\check-tool.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\named-checkzone.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,124 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|@PLATFORM@">
<Configuration>Debug</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|@PLATFORM@">
<Configuration>Release</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{66028555-7DD5-4016-B601-9EF9A1EE8BFA}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>checkzone</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<LinkIncremental>true</LinkIncremental>
<OutDir>..\..\..\Build\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
<TargetName>named-$(ProjectName)</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\..\..\Build\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
<TargetName>named-$(ProjectName)</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<FunctionLevelLinking>false</FunctionLevelLinking>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(ProjectName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<BrowseInformation>true</BrowseInformation>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\dns\include;..\..\..\lib\bind9\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<AdditionalLibraryDirectories>$(Configuration);..\..\..\lib\isc\win32\$(Configuration);..\..\..\lib\dns\win32\$(Configuration);..\..\..\lib\isccfg\win32\$(Configuration);..\..\..\lib\bind9\win32\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>checktool.lib;libisc.lib;libdns.lib;libisccfg.lib;libbind9.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>cd ..\..\..\Build\$(Configuration)
copy /Y named-checkzone.exe named-compilezone.exe
copy /Y named-checkzone.ilk named-compilezone.ilk
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>@INTRINSIC@</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<WholeProgramOptimization>false</WholeProgramOptimization>
<StringPooling>true</StringPooling>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(ProjectName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\dns\include;..\..\..\lib\bind9\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>false</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<AdditionalLibraryDirectories>$(Configuration);..\..\..\lib\isc\win32\$(Configuration);..\..\..\lib\dns\win32\$(Configuration);..\..\..\lib\isccfg\win32\$(Configuration);..\..\..\lib\bind9\win32\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>checktool.lib;libisc.lib;libdns.lib;libisccfg.lib;libbind9.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
</Link>
<PostBuildEvent>
<Command>cd ..\..\..\Build\$(Configuration)
copy /Y named-checkzone.exe named-compilezone.exe
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\check-tool.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\named-checkzone.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -1,107 +0,0 @@
# Microsoft Developer Studio Project File - Name="namedcheckconf" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
CFG=namedcheckconf - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "namedcheckconf.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "namedcheckconf.mak" CFG="namedcheckconf - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "namedcheckconf - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "namedcheckconf - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "namedcheckconf - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "./" /I "../../../" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/isccfg/include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "__STDC__" /FR /YX /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Release/checktool.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/bind9/win32/Release/libbind9.lib /nologo /subsystem:console /machine:I386 /out:"../../../Build/Release/named-checkconf.exe"
!ELSEIF "$(CFG)" == "namedcheckconf - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/isccfg/include" /D "_DEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X /YX
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Debug/checktool.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/bind9/win32/Debug/libbind9.lib ../../../lib/bind9/win32/Debug/libbind9.lib /nologo /subsystem:console /debug /machine:I386 /out:"../../../Build/Debug/named-checkconf.exe" /pdbtype:sept
!ENDIF
# Begin Target
# Name "namedcheckconf - Win32 Release"
# Name "namedcheckconf - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE="..\named-checkconf.c"
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
SOURCE="..\check-tool.h"
# End Source File
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# End Group
# End Target
# End Project

View File

@@ -1,29 +0,0 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "namedcheckconf"=".\namedcheckconf.dsp" - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################

View File

@@ -1,404 +0,0 @@
# Microsoft Developer Studio Generated NMAKE File, Based on namedcheckconf.dsp
!IF "$(CFG)" == ""
CFG=namedcheckconf - Win32 Debug
!MESSAGE No configuration specified. Defaulting to namedcheckconf - Win32 Debug.
!ENDIF
!IF "$(CFG)" != "namedcheckconf - Win32 Release" && "$(CFG)" != "namedcheckconf - Win32 Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "namedcheckconf.mak" CFG="namedcheckconf - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "namedcheckconf - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "namedcheckconf - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "namedcheckconf - Win32 Release"
_VC_MANIFEST_INC=0
_VC_MANIFEST_BASENAME=__VC80
!ELSE
_VC_MANIFEST_INC=1
_VC_MANIFEST_BASENAME=__VC80.Debug
!ENDIF
####################################################
# Specifying name of temporary resource file used only in incremental builds:
!if "$(_VC_MANIFEST_INC)" == "1"
_VC_MANIFEST_AUTO_RES=$(_VC_MANIFEST_BASENAME).auto.res
!else
_VC_MANIFEST_AUTO_RES=
!endif
####################################################
# _VC_MANIFEST_EMBED_EXE - command to embed manifest in EXE:
!if "$(_VC_MANIFEST_INC)" == "1"
#MT_SPECIAL_RETURN=1090650113
#MT_SPECIAL_SWITCH=-notify_resource_update
MT_SPECIAL_RETURN=0
MT_SPECIAL_SWITCH=
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
link $** /out:$@ $(LFLAGS)
!else
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;1
!endif
####################################################
# _VC_MANIFEST_EMBED_DLL - command to embed manifest in DLL:
!if "$(_VC_MANIFEST_INC)" == "1"
#MT_SPECIAL_RETURN=1090650113
#MT_SPECIAL_SWITCH=-notify_resource_update
MT_SPECIAL_RETURN=0
MT_SPECIAL_SWITCH=
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
link $** /out:$@ $(LFLAGS)
!else
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;2
!endif
####################################################
# _VC_MANIFEST_CLEAN - command to clean resources files generated temporarily:
!if "$(_VC_MANIFEST_INC)" == "1"
_VC_MANIFEST_CLEAN=-del $(_VC_MANIFEST_BASENAME).auto.res \
$(_VC_MANIFEST_BASENAME).auto.rc \
$(_VC_MANIFEST_BASENAME).auto.manifest
!else
_VC_MANIFEST_CLEAN=
!endif
!IF "$(CFG)" == "namedcheckconf - Win32 Release"
OUTDIR=.\Release
INTDIR=.\Release
# Begin Custom Macros
OutDir=.\Release
# End Custom Macros
!IF "$(RECURSE)" == "0"
ALL : "..\..\..\Build\Release\named-checkconf.exe" "$(OUTDIR)\namedcheckconf.bsc"
!ELSE
ALL : "libdns - Win32 Release" "libisccfg - Win32 Release" "libisc - Win32 Release" "..\..\..\Build\Release\named-checkconf.exe" "$(OUTDIR)\namedcheckconf.bsc"
!ENDIF
!IF "$(RECURSE)" == "1"
CLEAN :"libisc - Win32 ReleaseCLEAN" "libisccfg - Win32 ReleaseCLEAN" "libdns - Win32 ReleaseCLEAN"
!ELSE
CLEAN :
!ENDIF
-@erase "$(INTDIR)\check-tool.obj"
-@erase "$(INTDIR)\check-tool.sbr"
-@erase "$(INTDIR)\named-checkconf.obj"
-@erase "$(INTDIR)\named-checkconf.sbr"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(OUTDIR)\namedcheckconf.bsc"
-@erase "..\..\..\Build\Release\named-checkconf.exe"
-@$(_VC_MANIFEST_CLEAN)
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "./" /I "../../../" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/isccfg/include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "__STDC__" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\namedcheckconf.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\namedcheckconf.bsc"
BSC32_SBRS= \
"$(INTDIR)\check-tool.sbr" \
"$(INTDIR)\named-checkconf.sbr"
"$(OUTDIR)\namedcheckconf.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
$(BSC32) @<<
$(BSC32_FLAGS) $(BSC32_SBRS)
<<
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/bind9/win32/Release/libbind9.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\named-checkconf.pdb" /machine:I386 /out:"../../../Build/Release/named-checkconf.exe"
LINK32_OBJS= \
"$(INTDIR)\check-tool.obj" \
"$(INTDIR)\named-checkconf.obj" \
"..\..\..\lib\isc\win32\Release\libisc.lib" \
"..\..\..\lib\isccfg\win32\Release\libisccfg.lib" \
"..\..\..\lib\dns\win32\Release\libdns.lib"
"..\..\..\Build\Release\named-checkconf.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
$(_VC_MANIFEST_EMBED_EXE)
!ELSEIF "$(CFG)" == "namedcheckconf - Win32 Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
# Begin Custom Macros
OutDir=.\Debug
# End Custom Macros
!IF "$(RECURSE)" == "0"
ALL : "..\..\..\Build\Debug\named-checkconf.exe" "$(OUTDIR)\namedcheckconf.bsc"
!ELSE
ALL : "libdns - Win32 Debug" "libisccfg - Win32 Debug" "libisc - Win32 Debug" "..\..\..\Build\Debug\named-checkconf.exe" "$(OUTDIR)\namedcheckconf.bsc"
!ENDIF
!IF "$(RECURSE)" == "1"
CLEAN :"libisc - Win32 DebugCLEAN" "libisccfg - Win32 DebugCLEAN" "libdns - Win32 DebugCLEAN"
!ELSE
CLEAN :
!ENDIF
-@erase "$(INTDIR)\check-tool.obj"
-@erase "$(INTDIR)\check-tool.sbr"
-@erase "$(INTDIR)\named-checkconf.obj"
-@erase "$(INTDIR)\named-checkconf.sbr"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(INTDIR)\vc60.pdb"
-@erase "$(OUTDIR)\named-checkconf.pdb"
-@erase "$(OUTDIR)\namedcheckconf.bsc"
-@erase "..\..\..\Build\Debug\named-checkconf.exe"
-@erase "..\..\..\Build\Debug\named-checkconf.ilk"
-@$(_VC_MANIFEST_CLEAN)
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/isccfg/include" /D "_DEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\namedcheckconf.bsc"
BSC32_SBRS= \
"$(INTDIR)\check-tool.sbr" \
"$(INTDIR)\named-checkconf.sbr"
"$(OUTDIR)\namedcheckconf.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
$(BSC32) @<<
$(BSC32_FLAGS) $(BSC32_SBRS)
<<
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/bind9/win32/Debug/libbind9.lib ../../../lib/bind9/win32/Debug/libbind9.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\named-checkconf.pdb" /debug /machine:I386 /out:"../../../Build/Debug/named-checkconf.exe" /pdbtype:sept
LINK32_OBJS= \
"$(INTDIR)\check-tool.obj" \
"$(INTDIR)\named-checkconf.obj" \
"..\..\..\lib\isc\win32\Debug\libisc.lib" \
"..\..\..\lib\isccfg\win32\Debug\libisccfg.lib" \
"..\..\..\lib\dns\win32\Debug\libdns.lib"
"..\..\..\Build\Debug\named-checkconf.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
$(_VC_MANIFEST_EMBED_EXE)
!ENDIF
.c{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
!IF "$(NO_EXTERNAL_DEPS)" != "1"
!IF EXISTS("namedcheckconf.dep")
!INCLUDE "namedcheckconf.dep"
!ELSE
!MESSAGE Warning: cannot find "namedcheckconf.dep"
!ENDIF
!ENDIF
!IF "$(CFG)" == "namedcheckconf - Win32 Release" || "$(CFG)" == "namedcheckconf - Win32 Debug"
SOURCE="..\check-tool.c"
"$(INTDIR)\check-tool.obj" "$(INTDIR)\check-tool.sbr" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE="..\named-checkconf.c"
"$(INTDIR)\named-checkconf.obj" "$(INTDIR)\named-checkconf.sbr" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!IF "$(CFG)" == "namedcheckconf - Win32 Release"
"libisc - Win32 Release" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Release"
cd "..\..\..\bin\check\win32"
"libisc - Win32 ReleaseCLEAN" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Release" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ELSEIF "$(CFG)" == "namedcheckconf - Win32 Debug"
"libisc - Win32 Debug" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Debug"
cd "..\..\..\bin\check\win32"
"libisc - Win32 DebugCLEAN" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ENDIF
!IF "$(CFG)" == "namedcheckconf - Win32 Release"
"libisccfg - Win32 Release" :
cd "..\..\..\lib\isccfg\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - Win32 Release"
cd "..\..\..\bin\check\win32"
"libisccfg - Win32 ReleaseCLEAN" :
cd "..\..\..\lib\isccfg\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - Win32 Release" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ELSEIF "$(CFG)" == "namedcheckconf - Win32 Debug"
"libisccfg - Win32 Debug" :
cd "..\..\..\lib\isccfg\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - Win32 Debug"
cd "..\..\..\bin\check\win32"
"libisccfg - Win32 DebugCLEAN" :
cd "..\..\..\lib\isccfg\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - Win32 Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ENDIF
!IF "$(CFG)" == "namedcheckconf - Win32 Release"
"libdns - Win32 Release" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Release"
cd "..\..\..\bin\check\win32"
"libdns - Win32 ReleaseCLEAN" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Release" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ELSEIF "$(CFG)" == "namedcheckconf - Win32 Debug"
"libdns - Win32 Debug" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Debug"
cd "..\..\..\bin\check\win32"
"libdns - Win32 DebugCLEAN" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ENDIF
!ENDIF
####################################################
# Commands to generate initial empty manifest file and the RC file
# that references it, and for generating the .res file:
$(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
$(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
type <<$@
#include <winuser.h>
1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
<< KEEP
$(_VC_MANIFEST_BASENAME).auto.manifest :
type <<$@
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
</assembly>
<< KEEP
####################################################
# Commands to generate initial empty manifest file and the RC file
# that references it, and for generating the .res file:
$(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
$(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
type <<$@
#include <winuser.h>
1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
<< KEEP
$(_VC_MANIFEST_BASENAME).auto.manifest :
type <<$@
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
</assembly>
<< KEEP

View File

@@ -1,108 +0,0 @@
# Microsoft Developer Studio Project File - Name="namedcheckzone" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
CFG=namedcheckzone - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "namedcheckzone.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "namedcheckzone.mak" CFG="namedcheckzone - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "namedcheckzone - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "namedcheckzone - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "namedcheckzone - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "./" /I "../../../" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /I "../../../lib/isccfg/include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "__STDC__" /YX /FD /c
# SUBTRACT CPP /Fr
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Release/checktool.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/dns/win32/Release/libdns.lib /nologo /subsystem:console /machine:I386 /out:"../../../Build/Release/named-checkzone.exe"
!ELSEIF "$(CFG)" == "namedcheckzone - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /I "../../../lib/isccfg/include" /D "_DEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X /YX
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Debug/checktool.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/dns/win32/Debug/libdns.lib /nologo /subsystem:console /debug /machine:I386 /out:"../../../Build/Debug/named-checkzone.exe" /pdbtype:sept
!ENDIF
# Begin Target
# Name "namedcheckzone - Win32 Release"
# Name "namedcheckzone - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE="..\named-checkzone.c"
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
SOURCE="..\check-tool.h"
# End Source File
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# End Group
# End Target
# End Project

View File

@@ -1,29 +0,0 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "namedcheckzone"=".\namedcheckzone.dsp" - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################

View File

@@ -1,404 +0,0 @@
# Microsoft Developer Studio Generated NMAKE File, Based on namedcheckzone.dsp
!IF "$(CFG)" == ""
CFG=namedcheckzone - Win32 Debug
!MESSAGE No configuration specified. Defaulting to namedcheckzone - Win32 Debug.
!ENDIF
!IF "$(CFG)" != "namedcheckzone - Win32 Release" && "$(CFG)" != "namedcheckzone - Win32 Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "namedcheckzone.mak" CFG="namedcheckzone - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "namedcheckzone - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "namedcheckzone - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
!IF "$(CFG)" == "namedcheckzone - Win32 Release"
_VC_MANIFEST_INC=0
_VC_MANIFEST_BASENAME=__VC80
!ELSE
_VC_MANIFEST_INC=1
_VC_MANIFEST_BASENAME=__VC80.Debug
!ENDIF
####################################################
# Specifying name of temporary resource file used only in incremental builds:
!if "$(_VC_MANIFEST_INC)" == "1"
_VC_MANIFEST_AUTO_RES=$(_VC_MANIFEST_BASENAME).auto.res
!else
_VC_MANIFEST_AUTO_RES=
!endif
####################################################
# _VC_MANIFEST_EMBED_EXE - command to embed manifest in EXE:
!if "$(_VC_MANIFEST_INC)" == "1"
#MT_SPECIAL_RETURN=1090650113
#MT_SPECIAL_SWITCH=-notify_resource_update
MT_SPECIAL_RETURN=0
MT_SPECIAL_SWITCH=
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
link $** /out:$@ $(LFLAGS)
!else
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;1
!endif
####################################################
# _VC_MANIFEST_EMBED_DLL - command to embed manifest in DLL:
!if "$(_VC_MANIFEST_INC)" == "1"
#MT_SPECIAL_RETURN=1090650113
#MT_SPECIAL_SWITCH=-notify_resource_update
MT_SPECIAL_RETURN=0
MT_SPECIAL_SWITCH=
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
link $** /out:$@ $(LFLAGS)
!else
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;2
!endif
####################################################
# _VC_MANIFEST_CLEAN - command to clean resources files generated temporarily:
!if "$(_VC_MANIFEST_INC)" == "1"
_VC_MANIFEST_CLEAN=-del $(_VC_MANIFEST_BASENAME).auto.res \
$(_VC_MANIFEST_BASENAME).auto.rc \
$(_VC_MANIFEST_BASENAME).auto.manifest
!else
_VC_MANIFEST_CLEAN=
!endif
!IF "$(CFG)" == "namedcheckzone - Win32 Release"
OUTDIR=.\Release
INTDIR=.\Release
!IF "$(RECURSE)" == "0"
ALL : "..\..\..\Build\Release\named-checkzone.exe"
!ELSE
ALL : "libisc - Win32 Release" "libdns - Win32 Release" "..\..\..\Build\Release\named-checkzone.exe"
!ENDIF
!IF "$(RECURSE)" == "1"
CLEAN :"libdns - Win32 ReleaseCLEAN" "libisc - Win32 ReleaseCLEAN"
!ELSE
CLEAN :
!ENDIF
-@erase "$(INTDIR)\check-tool.obj"
-@erase "$(INTDIR)\named-checkzone.obj"
-@erase "$(INTDIR)\vc60.idb"
-@erase "..\..\..\Build\Release\named-checkzone.exe"
-@$(_VC_MANIFEST_CLEAN)
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "./" /I "../../../" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /I "../../../lib/isccfg/include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "__STDC__" /Fp"$(INTDIR)\namedcheckzone.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
.c{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
RSC=rc.exe
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\namedcheckzone.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/dns/win32/Release/libdns.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\named-checkzone.pdb" /machine:I386 /out:"../../../Build/Release/named-checkzone.exe"
LINK32_OBJS= \
"$(INTDIR)\check-tool.obj" \
"$(INTDIR)\named-checkzone.obj" \
"..\..\..\lib\dns\win32\Release\libdns.lib" \
"..\..\..\lib\isccfg\win32\Release\libisccfg.lib" \
"..\..\..\lib\isc\win32\Release\libisc.lib"
"..\..\..\Build\Release\named-checkzone.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
$(_VC_MANIFEST_EMBED_EXE)
!ELSEIF "$(CFG)" == "namedcheckzone - Win32 Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
# Begin Custom Macros
OutDir=.\Debug
# End Custom Macros
!IF "$(RECURSE)" == "0"
ALL : "..\..\..\Build\Debug\named-checkzone.exe" "$(OUTDIR)\namedcheckzone.bsc"
!ELSE
ALL : "libisc - Win32 Debug" "libdns - Win32 Debug" "..\..\..\Build\Debug\named-checkzone.exe" "$(OUTDIR)\namedcheckzone.bsc"
!ENDIF
!IF "$(RECURSE)" == "1"
CLEAN :"libdns - Win32 DebugCLEAN" "libisc - Win32 DebugCLEAN"
!ELSE
CLEAN :
!ENDIF
-@erase "$(INTDIR)\check-tool.obj"
-@erase "$(INTDIR)\check-tool.sbr"
-@erase "$(INTDIR)\named-checkzone.obj"
-@erase "$(INTDIR)\named-checkzone.sbr"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(INTDIR)\vc60.pdb"
-@erase "$(OUTDIR)\named-checkzone.pdb"
-@erase "$(OUTDIR)\namedcheckzone.bsc"
-@erase "..\..\..\Build\Debug\named-checkzone.exe"
-@erase "..\..\..\Build\Debug\named-checkzone.ilk"
-@$(_VC_MANIFEST_CLEAN)
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /I "../../../lib/isccfg/include" /D "_DEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
.c{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
RSC=rc.exe
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\namedcheckzone.bsc"
BSC32_SBRS= \
"$(INTDIR)\check-tool.sbr" \
"$(INTDIR)\named-checkzone.sbr"
"$(OUTDIR)\namedcheckzone.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
$(BSC32) @<<
$(BSC32_FLAGS) $(BSC32_SBRS)
<<
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/dns/win32/Debug/libdns.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\named-checkzone.pdb" /debug /machine:I386 /out:"../../../Build/Debug/named-checkzone.exe" /pdbtype:sept
LINK32_OBJS= \
"$(INTDIR)\check-tool.obj" \
"$(INTDIR)\named-checkzone.obj" \
"..\..\..\lib\dns\win32\Debug\libdns.lib" \
"..\..\..\lib\isccfg\win32\Debug\libisccfg.lib" \
"..\..\..\lib\isc\win32\Debug\libisc.lib"
"..\..\..\Build\Debug\named-checkzone.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
$(_VC_MANIFEST_EMBED_EXE)
!ENDIF
!IF "$(NO_EXTERNAL_DEPS)" != "1"
!IF EXISTS("namedcheckzone.dep")
!INCLUDE "namedcheckzone.dep"
!ELSE
!MESSAGE Warning: cannot find "namedcheckzone.dep"
!ENDIF
!ENDIF
!IF "$(CFG)" == "namedcheckzone - Win32 Release" || "$(CFG)" == "namedcheckzone - Win32 Debug"
SOURCE="..\check-tool.c"
!IF "$(CFG)" == "namedcheckzone - Win32 Release"
"$(INTDIR)\check-tool.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "namedcheckzone - Win32 Debug"
"$(INTDIR)\check-tool.obj" "$(INTDIR)\check-tool.sbr" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ENDIF
SOURCE="..\named-checkzone.c"
!IF "$(CFG)" == "namedcheckzone - Win32 Release"
"$(INTDIR)\named-checkzone.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "namedcheckzone - Win32 Debug"
"$(INTDIR)\named-checkzone.obj" "$(INTDIR)\named-checkzone.sbr" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ENDIF
!IF "$(CFG)" == "namedcheckzone - Win32 Release"
"libdns - Win32 Release" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Release"
cd "..\..\..\bin\check\win32"
"libdns - Win32 ReleaseCLEAN" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Release" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ELSEIF "$(CFG)" == "namedcheckzone - Win32 Debug"
"libdns - Win32 Debug" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Debug"
cd "..\..\..\bin\check\win32"
"libdns - Win32 DebugCLEAN" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ENDIF
!IF "$(CFG)" == "namedcheckzone - Win32 Release"
"libisc - Win32 Release" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Release"
cd "..\..\..\bin\check\win32"
"libisc - Win32 ReleaseCLEAN" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Release" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ELSEIF "$(CFG)" == "namedcheckzone - Win32 Debug"
"libisc - Win32 Debug" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Debug"
cd "..\..\..\bin\check\win32"
"libisc - Win32 DebugCLEAN" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ENDIF
!ENDIF
####################################################
# Commands to generate initial empty manifest file and the RC file
# that references it, and for generating the .res file:
$(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
$(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
type <<$@
#include <winuser.h>
1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
<< KEEP
$(_VC_MANIFEST_BASENAME).auto.manifest :
type <<$@
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
</assembly>
<< KEEP

2
bin/confgen/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
ddns-confgen
rndc-confgen

101
bin/confgen/Makefile.in Normal file
View File

@@ -0,0 +1,101 @@
# Copyright (C) 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
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND ISC 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.
# $Id: Makefile.in,v 1.8 2009/12/05 23:31:40 each Exp $
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
@BIND9_VERSION@
@BIND9_MAKE_INCLUDES@
CINCLUDES = -I${srcdir}/include ${ISC_INCLUDES} ${ISCCC_INCLUDES} \
${ISCCFG_INCLUDES} ${DNS_INCLUDES} ${BIND9_INCLUDES}
CDEFINES =
CWARNINGS =
ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
ISCCCLIBS = ../../lib/isccc/libisccc.@A@
ISCLIBS = ../../lib/isc/libisc.@A@
ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@
DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
BIND9LIBS = ../../lib/bind9/libbind9.@A@
ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
ISCCCDEPLIBS = ../../lib/isccc/libisccc.@A@
ISCDEPLIBS = ../../lib/isc/libisc.@A@
DNSDEPLIBS = ../../lib/dns/libdns.@A@
BIND9DEPLIBS = ../../lib/bind9/libbind9.@A@
RNDCLIBS = ${ISCCFGLIBS} ${ISCCCLIBS} ${BIND9LIBS} ${DNSLIBS} ${ISCLIBS} @LIBS@
RNDCDEPLIBS = ${ISCCFGDEPLIBS} ${ISCCCDEPLIBS} ${BIND9DEPLIBS} ${DNSDEPLIBS} ${ISCDEPLIBS}
LIBS = ${DNSLIBS} ${ISCLIBS} @LIBS@
NOSYMLIBS = ${DNSLIBS} ${ISCNOSYMLIBS} @LIBS@
CONFDEPLIBS = ${DNSDEPLIBS} ${ISCDEPLIBS}
SRCS= rndc-confgen.c ddns-confgen.c
SUBDIRS = unix
TARGETS = rndc-confgen@EXEEXT@ ddns-confgen@EXEEXT@
MANPAGES = rndc-confgen.8 ddns-confgen.8
HTMLPAGES = rndc-confgen.html ddns-confgen.html
MANOBJS = ${MANPAGES} ${HTMLPAGES}
UOBJS = unix/os.@O@
@BIND9_MAKE_RULES@
rndc-confgen.@O@: rndc-confgen.c
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
-DRNDC_KEYFILE=\"${sysconfdir}/rndc.key\" \
-c ${srcdir}/rndc-confgen.c
ddns-confgen.@O@: ddns-confgen.c
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} -c ${srcdir}/ddns-confgen.c
rndc-confgen@EXEEXT@: rndc-confgen.@O@ util.@O@ keygen.@O@ ${UOBJS} ${CONFDEPLIBS}
export BASEOBJS="rndc-confgen.@O@ util.@O@ keygen.@O@ ${UOBJS}"; \
${FINALBUILDCMD}
ddns-confgen@EXEEXT@: ddns-confgen.@O@ util.@O@ keygen.@O@ ${UOBJS} ${CONFDEPLIBS}
export BASEOBJS="ddns-confgen.@O@ util.@O@ keygen.@O@ ${UOBJS}"; \
${FINALBUILDCMD}
doc man:: ${MANOBJS}
docclean manclean maintainer-clean::
rm -f ${MANOBJS}
installdirs:
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
install:: rndc-confgen@EXEEXT@ ddns-confgen@EXEEXT@ installdirs
${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} rndc-confgen@EXEEXT@ ${DESTDIR}${sbindir}
${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} ddns-confgen@EXEEXT@ ${DESTDIR}${sbindir}
${INSTALL_DATA} ${srcdir}/rndc-confgen.8 ${DESTDIR}${mandir}/man8
${INSTALL_DATA} ${srcdir}/ddns-confgen.8 ${DESTDIR}${mandir}/man8
clean distclean maintainer-clean::
rm -f ${TARGETS}

143
bin/confgen/ddns-confgen.8 Normal file
View File

@@ -0,0 +1,143 @@
.\" Copyright (C) 2009, 2014 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
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC 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.
.\"
.\" $Id$
.\"
.hy 0
.ad l
.\" Title: ddns\-confgen
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
.\" Date: September 18, 2009
.\" Manual: BIND9
.\" Source: BIND9
.\"
.TH "DDNS\-CONFGEN" "8" "September 18, 2009" "BIND9" "BIND9"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.SH "NAME"
ddns\-confgen \- ddns key generation tool
.SH "SYNOPSIS"
.HP 13
\fBddns\-confgen\fR [\fB\-a\ \fR\fB\fIalgorithm\fR\fR] [\fB\-h\fR] [\fB\-k\ \fR\fB\fIkeyname\fR\fR] [\fB\-r\ \fR\fB\fIrandomfile\fR\fR] [\-s\ \fIname\fR | \-z\ \fIzone\fR] [\fB\-q\fR] [name]
.SH "DESCRIPTION"
.PP
\fBddns\-confgen\fR
generates a key for use by
\fBnsupdate\fR
and
\fBnamed\fR. It simplifies configuration of dynamic zones by generating a key and providing the
\fBnsupdate\fR
and
\fBnamed.conf\fR
syntax that will be needed to use it, including an example
\fBupdate\-policy\fR
statement.
.PP
If a domain name is specified on the command line, it will be used in the name of the generated key and in the sample
\fBnamed.conf\fR
syntax. For example,
\fBddns\-confgen example.com\fR
would generate a key called "ddns\-key.example.com", and sample
\fBnamed.conf\fR
command that could be used in the zone definition for "example.com".
.PP
Note that
\fBnamed\fR
itself can configure a local DDNS key for use with
\fBnsupdate \-l\fR.
\fBddns\-confgen\fR
is only needed when a more elaborate configuration is required: for instance, if
\fBnsupdate\fR
is to be used from a remote system.
.SH "OPTIONS"
.PP
\-a \fIalgorithm\fR
.RS 4
Specifies the algorithm to use for the TSIG key. Available choices are: hmac\-md5, hmac\-sha1, hmac\-sha224, hmac\-sha256, hmac\-sha384 and hmac\-sha512. The default is hmac\-sha256.
.RE
.PP
\-h
.RS 4
Prints a short summary of the options and arguments to
\fBddns\-confgen\fR.
.RE
.PP
\-k \fIkeyname\fR
.RS 4
Specifies the key name of the DDNS authentication key. The default is
\fBddns\-key\fR
when neither the
\fB\-s\fR
nor
\fB\-z\fR
option is specified; otherwise, the default is
\fBddns\-key\fR
as a separate label followed by the argument of the option, e.g.,
\fBddns\-key.example.com.\fR
The key name must have the format of a valid domain name, consisting of letters, digits, hyphens and periods.
.RE
.PP
\-q
.RS 4
Quiet mode: Print only the key, with no explanatory text or usage examples.
.RE
.PP
\-r \fIrandomfile\fR
.RS 4
Specifies a source of random data for generating the authorization. If the operating system does not provide a
\fI/dev/random\fR
or equivalent device, the default source of randomness is keyboard input.
\fIrandomdev\fR
specifies the name of a character device or file containing random data to be used instead of the default. The special value
\fIkeyboard\fR
indicates that keyboard input should be used.
.RE
.PP
\-s \fIname\fR
.RS 4
Single host mode: The example
\fBnamed.conf\fR
text shows how to set an update policy for the specified
\fIname\fR
using the "name" nametype. The default key name is ddns\-key.\fIname\fR. Note that the "self" nametype cannot be used, since the name to be updated may differ from the key name. This option cannot be used with the
\fB\-z\fR
option.
.RE
.PP
\-z \fIzone\fR
.RS 4
zone mode: The example
\fBnamed.conf\fR
text shows how to set an update policy for the specified
\fIzone\fR
using the "zonesub" nametype, allowing updates to all subdomain names within that
\fIzone\fR. This option cannot be used with the
\fB\-s\fR
option.
.RE
.SH "SEE ALSO"
.PP
\fBnsupdate\fR(1),
\fBnamed.conf\fR(5),
\fBnamed\fR(8),
BIND 9 Administrator Reference Manual.
.SH "AUTHOR"
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2009, 2014 Internet Systems Consortium, Inc. ("ISC")
.br

261
bin/confgen/ddns-confgen.c Normal file
View File

@@ -0,0 +1,261 @@
/*
* Copyright (C) 2009, 2011, 2014 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
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC 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.
*/
/* $Id: ddns-confgen.c,v 1.11 2011/03/12 04:59:46 tbox Exp $ */
/*! \file */
/**
* ddns-confgen generates configuration files for dynamic DNS. It can
* be used as a convenient alternative to writing the ddns.key file
* and the corresponding key and update-policy statements in named.conf.
*/
#include <config.h>
#include <stdlib.h>
#include <stdarg.h>
#include <isc/assertions.h>
#include <isc/base64.h>
#include <isc/buffer.h>
#include <isc/commandline.h>
#include <isc/entropy.h>
#include <isc/file.h>
#include <isc/keyboard.h>
#include <isc/mem.h>
#include <isc/net.h>
#include <isc/print.h>
#include <isc/result.h>
#include <isc/string.h>
#include <isc/time.h>
#include <isc/util.h>
#include <dns/keyvalues.h>
#include <dns/name.h>
#include <dns/result.h>
#include <dst/dst.h>
#include <confgen/os.h>
#include "util.h"
#include "keygen.h"
#define DEFAULT_KEYNAME "ddns-key"
static char program[256];
const char *progname;
isc_boolean_t verbose = ISC_FALSE;
ISC_PLATFORM_NORETURN_PRE static void
usage(int status) ISC_PLATFORM_NORETURN_POST;
static void
usage(int status) {
fprintf(stderr, "\
Usage:\n\
%s [-a alg] [-k keyname] [-r randomfile] [-q] [-s name | -z zone]\n\
-a alg: algorithm (default hmac-sha256)\n\
-k keyname: name of the key as it will be used in named.conf\n\
-r randomfile: source of random data (use \"keyboard\" for key timing)\n\
-s name: domain name to be updated using the created key\n\
-z zone: name of the zone as it will be used in named.conf\n\
-q: quiet mode: print the key, with no explanatory text\n",
progname);
exit (status);
}
int
main(int argc, char **argv) {
isc_boolean_t show_final_mem = ISC_FALSE;
isc_boolean_t quiet = ISC_FALSE;
isc_buffer_t key_txtbuffer;
char key_txtsecret[256];
isc_mem_t *mctx = NULL;
isc_result_t result = ISC_R_SUCCESS;
const char *randomfile = NULL;
const char *keyname = NULL;
const char *zone = NULL;
const char *self_domain = NULL;
char *keybuf = NULL;
dns_secalg_t alg = DST_ALG_HMACSHA256;
const char *algname = alg_totext(alg);
int keysize = 256;
int len = 0;
int ch;
dns_result_register();
result = isc_file_progname(*argv, program, sizeof(program));
if (result != ISC_R_SUCCESS)
memmove(program, "ddns-confgen", 13);
progname = program;
isc_commandline_errprint = ISC_FALSE;
while ((ch = isc_commandline_parse(argc, argv,
"a:hk:Mmr:qs:Vy:z:")) != -1) {
switch (ch) {
case 'a':
algname = isc_commandline_argument;
alg = alg_fromtext(algname);
if (alg == DST_ALG_UNKNOWN)
fatal("Unsupported algorithm '%s'", algname);
keysize = alg_bits(alg);
break;
case 'h':
usage(0);
case 'k':
case 'y':
keyname = isc_commandline_argument;
break;
case 'M':
isc_mem_debugging = ISC_MEM_DEBUGTRACE;
break;
case 'm':
show_final_mem = ISC_TRUE;
break;
case 'q':
quiet = ISC_TRUE;
break;
case 'r':
randomfile = isc_commandline_argument;
break;
case 's':
self_domain = isc_commandline_argument;
break;
case 'V':
verbose = ISC_TRUE;
break;
case 'z':
zone = isc_commandline_argument;
break;
case '?':
if (isc_commandline_option != '?') {
fprintf(stderr, "%s: invalid argument -%c\n",
program, isc_commandline_option);
usage(1);
} else
usage(0);
break;
default:
fprintf(stderr, "%s: unhandled option -%c\n",
program, isc_commandline_option);
exit(1);
}
}
argc -= isc_commandline_index;
argv += isc_commandline_index;
POST(argv);
if (self_domain != NULL && zone != NULL)
usage(1); /* -s and -z cannot coexist */
if (argc > 0)
usage(1);
DO("create memory context", isc_mem_create(0, 0, &mctx));
if (keyname == NULL) {
const char *suffix = NULL;
keyname = DEFAULT_KEYNAME;
if (self_domain != NULL)
suffix = self_domain;
else if (zone != NULL)
suffix = zone;
if (suffix != NULL) {
len = strlen(keyname) + strlen(suffix) + 2;
keybuf = isc_mem_get(mctx, len);
if (keybuf == NULL)
fatal("failed to allocate memory for keyname");
snprintf(keybuf, len, "%s.%s", keyname, suffix);
keyname = (const char *) keybuf;
}
}
isc_buffer_init(&key_txtbuffer, &key_txtsecret, sizeof(key_txtsecret));
generate_key(mctx, randomfile, alg, keysize, &key_txtbuffer);
if (!quiet)
printf("\
# To activate this key, place the following in named.conf, and\n\
# in a separate keyfile on the system or systems from which nsupdate\n\
# will be run:\n");
printf("\
key \"%s\" {\n\
algorithm %s;\n\
secret \"%.*s\";\n\
};\n",
keyname, algname,
(int)isc_buffer_usedlength(&key_txtbuffer),
(char *)isc_buffer_base(&key_txtbuffer));
if (!quiet) {
if (self_domain != NULL) {
printf("\n\
# Then, in the \"zone\" statement for the zone containing the\n\
# name \"%s\", place an \"update-policy\" statement\n\
# like this one, adjusted as needed for your preferred permissions:\n\
update-policy {\n\
grant %s name %s ANY;\n\
};\n",
self_domain, keyname, self_domain);
} else if (zone != NULL) {
printf("\n\
# Then, in the \"zone\" definition statement for \"%s\",\n\
# place an \"update-policy\" statement like this one, adjusted as \n\
# needed for your preferred permissions:\n\
update-policy {\n\
grant %s zonesub ANY;\n\
};\n",
zone, keyname);
} else {
printf("\n\
# Then, in the \"zone\" statement for each zone you wish to dynamically\n\
# update, place an \"update-policy\" statement granting update permission\n\
# to this key. For example, the following statement grants this key\n\
# permission to update any name within the zone:\n\
update-policy {\n\
grant %s zonesub ANY;\n\
};\n",
keyname);
}
printf("\n\
# After the keyfile has been placed, the following command will\n\
# execute nsupdate using this key:\n\
nsupdate -k <keyfile>\n");
}
if (keybuf != NULL)
isc_mem_put(mctx, keybuf, len);
if (show_final_mem)
isc_mem_stats(mctx, stderr);
isc_mem_destroy(&mctx);
return (0);
}

View File

@@ -0,0 +1,218 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2009, 2014 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
- copyright notice and this permission notice appear in all copies.
-
- THE SOFTWARE IS PROVIDED "AS IS" AND ISC 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.
-->
<refentry id="man.ddns-confgen">
<refentryinfo>
<date>September 18, 2009</date>
</refentryinfo>
<refmeta>
<refentrytitle><application>ddns-confgen</application></refentrytitle>
<manvolnum>8</manvolnum>
<refmiscinfo>BIND9</refmiscinfo>
</refmeta>
<refnamediv>
<refname><application>ddns-confgen</application></refname>
<refpurpose>ddns key generation tool</refpurpose>
</refnamediv>
<docinfo>
<copyright>
<year>2009</year>
<year>2014</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
</docinfo>
<refsynopsisdiv>
<cmdsynopsis>
<command>ddns-confgen</command>
<arg><option>-a <replaceable class="parameter">algorithm</replaceable></option></arg>
<arg><option>-h</option></arg>
<arg><option>-k <replaceable class="parameter">keyname</replaceable></option></arg>
<arg><option>-r <replaceable class="parameter">randomfile</replaceable></option></arg>
<group>
<arg choice="plain">-s <replaceable class="parameter">name</replaceable></arg>
<arg choice="plain">-z <replaceable class="parameter">zone</replaceable></arg>
</group>
<arg><option>-q</option></arg>
<arg choice="opt">name</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<para><command>ddns-confgen</command>
generates a key for use by <command>nsupdate</command>
and <command>named</command>. It simplifies configuration
of dynamic zones by generating a key and providing the
<command>nsupdate</command> and <command>named.conf</command>
syntax that will be needed to use it, including an example
<command>update-policy</command> statement.
</para>
<para>
If a domain name is specified on the command line, it will
be used in the name of the generated key and in the sample
<command>named.conf</command> syntax. For example,
<command>ddns-confgen example.com</command> would
generate a key called "ddns-key.example.com", and sample
<command>named.conf</command> command that could be used
in the zone definition for "example.com".
</para>
<para>
Note that <command>named</command> itself can configure a
local DDNS key for use with <command>nsupdate -l</command>.
<command>ddns-confgen</command> is only needed when a
more elaborate configuration is required: for instance, if
<command>nsupdate</command> is to be used from a remote system.
</para>
</refsect1>
<refsect1>
<title>OPTIONS</title>
<variablelist>
<varlistentry>
<term>-a <replaceable class="parameter">algorithm</replaceable></term>
<listitem>
<para>
Specifies the algorithm to use for the TSIG key. Available
choices are: hmac-md5, hmac-sha1, hmac-sha224, hmac-sha256,
hmac-sha384 and hmac-sha512. The default is hmac-sha256.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-h</term>
<listitem>
<para>
Prints a short summary of the options and arguments to
<command>ddns-confgen</command>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-k <replaceable class="parameter">keyname</replaceable></term>
<listitem>
<para>
Specifies the key name of the DDNS authentication key.
The default is <constant>ddns-key</constant> when neither
the <option>-s</option> nor <option>-z</option> option is
specified; otherwise, the default
is <constant>ddns-key</constant> as a separate label
followed by the argument of the option, e.g.,
<constant>ddns-key.example.com.</constant>
The key name must have the format of a valid domain name,
consisting of letters, digits, hyphens and periods.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-q</term>
<listitem>
<para>
Quiet mode: Print only the key, with no explanatory text or
usage examples.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-r <replaceable class="parameter">randomfile</replaceable></term>
<listitem>
<para>
Specifies a source of random data for generating the
authorization. If the operating system does not provide a
<filename>/dev/random</filename> or equivalent device, the
default source of randomness is keyboard input.
<filename>randomdev</filename> specifies the name of a
character device or file containing random data to be used
instead of the default. The special value
<filename>keyboard</filename> indicates that keyboard input
should be used.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-s <replaceable class="parameter">name</replaceable></term>
<listitem>
<para>
Single host mode: The example <command>named.conf</command> text
shows how to set an update policy for the specified
<replaceable class="parameter">name</replaceable>
using the "name" nametype.
The default key name is
ddns-key.<replaceable class="parameter">name</replaceable>.
Note that the "self" nametype cannot be used, since
the name to be updated may differ from the key name.
This option cannot be used with the <option>-z</option> option.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-z <replaceable class="parameter">zone</replaceable></term>
<listitem>
<para>
zone mode: The example <command>named.conf</command> text
shows how to set an update policy for the specified
<replaceable class="parameter">zone</replaceable>
using the "zonesub" nametype, allowing updates to all subdomain
names within
that <replaceable class="parameter">zone</replaceable>.
This option cannot be used with the <option>-s</option> option.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>SEE ALSO</title>
<para><citerefentry>
<refentrytitle>nsupdate</refentrytitle><manvolnum>1</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>named.conf</refentrytitle><manvolnum>5</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>named</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citetitle>BIND 9 Administrator Reference Manual</citetitle>.
</para>
</refsect1>
<refsect1>
<title>AUTHOR</title>
<para><corpauthor>Internet Systems Consortium</corpauthor>
</para>
</refsect1>
</refentry><!--
- Local variables:
- mode: sgml
- End:
-->

View File

@@ -0,0 +1,141 @@
<!--
- Copyright (C) 2009, 2014 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
- copyright notice and this permission notice appear in all copies.
-
- THE SOFTWARE IS PROVIDED "AS IS" AND ISC 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.
-->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>ddns-confgen</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en">
<a name="man.ddns-confgen"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2>Name</h2>
<p><span class="application">ddns-confgen</span> &#8212; ddns key generation tool</p>
</div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">ddns-confgen</code> [<code class="option">-a <em class="replaceable"><code>algorithm</code></em></code>] [<code class="option">-h</code>] [<code class="option">-k <em class="replaceable"><code>keyname</code></em></code>] [<code class="option">-r <em class="replaceable"><code>randomfile</code></em></code>] [ -s <em class="replaceable"><code>name</code></em> | -z <em class="replaceable"><code>zone</code></em> ] [<code class="option">-q</code>] [name]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543406"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">ddns-confgen</strong></span>
generates a key for use by <span><strong class="command">nsupdate</strong></span>
and <span><strong class="command">named</strong></span>. It simplifies configuration
of dynamic zones by generating a key and providing the
<span><strong class="command">nsupdate</strong></span> and <span><strong class="command">named.conf</strong></span>
syntax that will be needed to use it, including an example
<span><strong class="command">update-policy</strong></span> statement.
</p>
<p>
If a domain name is specified on the command line, it will
be used in the name of the generated key and in the sample
<span><strong class="command">named.conf</strong></span> syntax. For example,
<span><strong class="command">ddns-confgen example.com</strong></span> would
generate a key called "ddns-key.example.com", and sample
<span><strong class="command">named.conf</strong></span> command that could be used
in the zone definition for "example.com".
</p>
<p>
Note that <span><strong class="command">named</strong></span> itself can configure a
local DDNS key for use with <span><strong class="command">nsupdate -l</strong></span>.
<span><strong class="command">ddns-confgen</strong></span> is only needed when a
more elaborate configuration is required: for instance, if
<span><strong class="command">nsupdate</strong></span> is to be used from a remote system.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543466"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-a <em class="replaceable"><code>algorithm</code></em></span></dt>
<dd><p>
Specifies the algorithm to use for the TSIG key. Available
choices are: hmac-md5, hmac-sha1, hmac-sha224, hmac-sha256,
hmac-sha384 and hmac-sha512. The default is hmac-sha256.
</p></dd>
<dt><span class="term">-h</span></dt>
<dd><p>
Prints a short summary of the options and arguments to
<span><strong class="command">ddns-confgen</strong></span>.
</p></dd>
<dt><span class="term">-k <em class="replaceable"><code>keyname</code></em></span></dt>
<dd><p>
Specifies the key name of the DDNS authentication key.
The default is <code class="constant">ddns-key</code> when neither
the <code class="option">-s</code> nor <code class="option">-z</code> option is
specified; otherwise, the default
is <code class="constant">ddns-key</code> as a separate label
followed by the argument of the option, e.g.,
<code class="constant">ddns-key.example.com.</code>
The key name must have the format of a valid domain name,
consisting of letters, digits, hyphens and periods.
</p></dd>
<dt><span class="term">-q</span></dt>
<dd><p>
Quiet mode: Print only the key, with no explanatory text or
usage examples.
</p></dd>
<dt><span class="term">-r <em class="replaceable"><code>randomfile</code></em></span></dt>
<dd><p>
Specifies a source of random data for generating the
authorization. If the operating system does not provide a
<code class="filename">/dev/random</code> or equivalent device, the
default source of randomness is keyboard input.
<code class="filename">randomdev</code> specifies the name of a
character device or file containing random data to be used
instead of the default. The special value
<code class="filename">keyboard</code> indicates that keyboard input
should be used.
</p></dd>
<dt><span class="term">-s <em class="replaceable"><code>name</code></em></span></dt>
<dd><p>
Single host mode: The example <span><strong class="command">named.conf</strong></span> text
shows how to set an update policy for the specified
<em class="replaceable"><code>name</code></em>
using the "name" nametype.
The default key name is
ddns-key.<em class="replaceable"><code>name</code></em>.
Note that the "self" nametype cannot be used, since
the name to be updated may differ from the key name.
This option cannot be used with the <code class="option">-z</code> option.
</p></dd>
<dt><span class="term">-z <em class="replaceable"><code>zone</code></em></span></dt>
<dd><p>
zone mode: The example <span><strong class="command">named.conf</strong></span> text
shows how to set an update policy for the specified
<em class="replaceable"><code>zone</code></em>
using the "zonesub" nametype, allowing updates to all subdomain
names within
that <em class="replaceable"><code>zone</code></em>.
This option cannot be used with the <code class="option">-s</code> option.
</p></dd>
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543654"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">nsupdate</span>(1)</span>,
<span class="citerefentry"><span class="refentrytitle">named.conf</span>(5)</span>,
<span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
<em class="citetitle">BIND 9 Administrator Reference Manual</em>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543692"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
</div></body>
</html>

View File

@@ -0,0 +1,39 @@
/*
* Copyright (C) 2009 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
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC 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.
*/
/* $Id: os.h,v 1.3 2009/06/11 23:47:55 tbox Exp $ */
/*! \file */
#ifndef RNDC_OS_H
#define RNDC_OS_H 1
#include <isc/lang.h>
#include <stdio.h>
ISC_LANG_BEGINDECLS
int set_user(FILE *fd, const char *user);
/*%<
* Set the owner of the file referenced by 'fd' to 'user'.
* Returns:
* 0 success
* -1 insufficient permissions, or 'user' does not exist.
*/
ISC_LANG_ENDDECLS
#endif

222
bin/confgen/keygen.c Normal file
View File

@@ -0,0 +1,222 @@
/*
* Copyright (C) 2009, 2012, 2013 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
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC 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.
*/
/* $Id: keygen.c,v 1.4 2009/11/12 14:02:38 marka Exp $ */
/*! \file */
#include <config.h>
#include <stdlib.h>
#include <stdarg.h>
#include <isc/base64.h>
#include <isc/buffer.h>
#include <isc/entropy.h>
#include <isc/file.h>
#include <isc/keyboard.h>
#include <isc/mem.h>
#include <isc/result.h>
#include <isc/string.h>
#include <dns/keyvalues.h>
#include <dns/name.h>
#include <dst/dst.h>
#include <confgen/os.h>
#include "util.h"
#include "keygen.h"
/*%
* Convert algorithm type to string.
*/
const char *
alg_totext(dns_secalg_t alg) {
switch (alg) {
case DST_ALG_HMACMD5:
return "hmac-md5";
case DST_ALG_HMACSHA1:
return "hmac-sha1";
case DST_ALG_HMACSHA224:
return "hmac-sha224";
case DST_ALG_HMACSHA256:
return "hmac-sha256";
case DST_ALG_HMACSHA384:
return "hmac-sha384";
case DST_ALG_HMACSHA512:
return "hmac-sha512";
default:
return "(unknown)";
}
}
/*%
* Convert string to algorithm type.
*/
dns_secalg_t
alg_fromtext(const char *name) {
if (strcmp(name, "hmac-md5") == 0)
return DST_ALG_HMACMD5;
if (strcmp(name, "hmac-sha1") == 0)
return DST_ALG_HMACSHA1;
if (strcmp(name, "hmac-sha224") == 0)
return DST_ALG_HMACSHA224;
if (strcmp(name, "hmac-sha256") == 0)
return DST_ALG_HMACSHA256;
if (strcmp(name, "hmac-sha384") == 0)
return DST_ALG_HMACSHA384;
if (strcmp(name, "hmac-sha512") == 0)
return DST_ALG_HMACSHA512;
return DST_ALG_UNKNOWN;
}
/*%
* Return default keysize for a given algorithm type.
*/
int
alg_bits(dns_secalg_t alg) {
switch (alg) {
case DST_ALG_HMACMD5:
return 128;
case DST_ALG_HMACSHA1:
return 160;
case DST_ALG_HMACSHA224:
return 224;
case DST_ALG_HMACSHA256:
return 256;
case DST_ALG_HMACSHA384:
return 384;
case DST_ALG_HMACSHA512:
return 512;
default:
return 0;
}
}
/*%
* Generate a key of size 'keysize' using entropy source 'randomfile',
* and place it in 'key_txtbuffer'
*/
void
generate_key(isc_mem_t *mctx, const char *randomfile, dns_secalg_t alg,
int keysize, isc_buffer_t *key_txtbuffer) {
isc_result_t result = ISC_R_SUCCESS;
isc_entropysource_t *entropy_source = NULL;
int open_keyboard = ISC_ENTROPY_KEYBOARDMAYBE;
int entropy_flags = 0;
isc_entropy_t *ectx = NULL;
isc_buffer_t key_rawbuffer;
isc_region_t key_rawregion;
char key_rawsecret[64];
dst_key_t *key = NULL;
switch (alg) {
case DST_ALG_HMACMD5:
case DST_ALG_HMACSHA1:
case DST_ALG_HMACSHA224:
case DST_ALG_HMACSHA256:
if (keysize < 1 || keysize > 512)
fatal("keysize %d out of range (must be 1-512)\n",
keysize);
break;
case DST_ALG_HMACSHA384:
case DST_ALG_HMACSHA512:
if (keysize < 1 || keysize > 1024)
fatal("keysize %d out of range (must be 1-1024)\n",
keysize);
break;
default:
fatal("unsupported algorithm %d\n", alg);
}
DO("create entropy context", isc_entropy_create(mctx, &ectx));
if (randomfile != NULL && strcmp(randomfile, "keyboard") == 0) {
randomfile = NULL;
open_keyboard = ISC_ENTROPY_KEYBOARDYES;
}
DO("start entropy source", isc_entropy_usebestsource(ectx,
&entropy_source,
randomfile,
open_keyboard));
entropy_flags = ISC_ENTROPY_BLOCKING | ISC_ENTROPY_GOODONLY;
DO("initialize dst library", dst_lib_init(mctx, ectx, entropy_flags));
DO("generate key", dst_key_generate(dns_rootname, alg,
keysize, 0, 0,
DNS_KEYPROTO_ANY,
dns_rdataclass_in, mctx, &key));
isc_buffer_init(&key_rawbuffer, &key_rawsecret, sizeof(key_rawsecret));
DO("dump key to buffer", dst_key_tobuffer(key, &key_rawbuffer));
isc_buffer_usedregion(&key_rawbuffer, &key_rawregion);
DO("bsse64 encode secret", isc_base64_totext(&key_rawregion, -1, "",
key_txtbuffer));
/*
* Shut down the entropy source now so the "stop typing" message
* does not muck with the output.
*/
if (entropy_source != NULL)
isc_entropy_destroysource(&entropy_source);
if (key != NULL)
dst_key_free(&key);
isc_entropy_detach(&ectx);
dst_lib_destroy();
}
/*%
* Write a key file to 'keyfile'. If 'user' is non-NULL,
* make that user the owner of the file. The key will have
* the name 'keyname' and the secret in the buffer 'secret'.
*/
void
write_key_file(const char *keyfile, const char *user,
const char *keyname, isc_buffer_t *secret,
dns_secalg_t alg) {
isc_result_t result;
const char *algname = alg_totext(alg);
FILE *fd = NULL;
DO("create keyfile", isc_file_safecreate(keyfile, &fd));
if (user != NULL) {
if (set_user(fd, user) == -1)
fatal("unable to set file owner\n");
}
fprintf(fd, "key \"%s\" {\n\talgorithm %s;\n"
"\tsecret \"%.*s\";\n};\n",
keyname, algname,
(int)isc_buffer_usedlength(secret),
(char *)isc_buffer_base(secret));
fflush(fd);
if (ferror(fd))
fatal("write to %s failed\n", keyfile);
if (fclose(fd))
fatal("fclose(%s) failed\n", keyfile);
fprintf(stderr, "wrote key file \"%s\"\n", keyfile);
}

41
bin/confgen/keygen.h Normal file
View File

@@ -0,0 +1,41 @@
/*
* Copyright (C) 2009 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
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC 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.
*/
/* $Id: keygen.h,v 1.3 2009/06/11 23:47:55 tbox Exp $ */
#ifndef RNDC_KEYGEN_H
#define RNDC_KEYGEN_H 1
/*! \file */
#include <isc/lang.h>
ISC_LANG_BEGINDECLS
void generate_key(isc_mem_t *mctx, const char *randomfile, dns_secalg_t alg,
int keysize, isc_buffer_t *key_txtbuffer);
void write_key_file(const char *keyfile, const char *user,
const char *keyname, isc_buffer_t *secret,
dns_secalg_t alg);
const char *alg_totext(dns_secalg_t alg);
dns_secalg_t alg_fromtext(const char *name);
int alg_bits(dns_secalg_t alg);
ISC_LANG_ENDDECLS
#endif /* RNDC_KEYGEN_H */

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004, 2005, 2007, 2009, 2014 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2001, 2003 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
@@ -13,18 +13,18 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: rndc-confgen.8,v 1.20.214.1 2009/07/11 01:43:30 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
.\" Title: rndc\-confgen
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
.\" Date: Aug 27, 2001
.\" Date: June 15, 2009
.\" Manual: BIND9
.\" Source: BIND9
.\"
.TH "RNDC\-CONFGEN" "8" "Aug 27, 2001" "BIND9" "BIND9"
.TH "RNDC\-CONFGEN" "8" "June 15, 2009" "BIND9" "BIND9"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@@ -205,7 +205,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, 2009, 2014 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2001, 2003 Internet Software Consortium.
.br

269
bin/confgen/rndc-confgen.c Normal file
View File

@@ -0,0 +1,269 @@
/*
* Copyright (C) 2004, 2005, 2007-2009, 2011, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001, 2003 Internet Software Consortium.
*
* 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 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.
*/
/* $Id: rndc-confgen.c,v 1.7 2011/03/12 04:59:46 tbox Exp $ */
/*! \file */
/**
* rndc-confgen generates configuration files for rndc. It can be used
* as a convenient alternative to writing the rndc.conf file and the
* corresponding controls and key statements in named.conf by hand.
* Alternatively, it can be run with the -a option to set up a
* rndc.key file and avoid the need for a rndc.conf file and a
* controls statement altogether.
*/
#include <config.h>
#include <stdlib.h>
#include <stdarg.h>
#include <isc/assertions.h>
#include <isc/base64.h>
#include <isc/buffer.h>
#include <isc/commandline.h>
#include <isc/entropy.h>
#include <isc/file.h>
#include <isc/keyboard.h>
#include <isc/mem.h>
#include <isc/net.h>
#include <isc/print.h>
#include <isc/result.h>
#include <isc/string.h>
#include <isc/time.h>
#include <isc/util.h>
#include <dns/keyvalues.h>
#include <dns/name.h>
#include <dst/dst.h>
#include <confgen/os.h>
#include "util.h"
#include "keygen.h"
#define DEFAULT_KEYLENGTH 128 /*% Bits. */
#define DEFAULT_KEYNAME "rndc-key"
#define DEFAULT_SERVER "127.0.0.1"
#define DEFAULT_PORT 953
static char program[256];
const char *progname;
isc_boolean_t verbose = ISC_FALSE;
const char *keyfile, *keydef;
ISC_PLATFORM_NORETURN_PRE static void
usage(int status) ISC_PLATFORM_NORETURN_POST;
static void
usage(int status) {
fprintf(stderr, "\
Usage:\n\
%s [-a] [-b bits] [-c keyfile] [-k keyname] [-p port] [-r randomfile] \
[-s addr] [-t chrootdir] [-u user]\n\
-a: generate just the key clause and write it to keyfile (%s)\n\
-b bits: from 1 through 512, default %d; total length of the secret\n\
-c keyfile: specify an alternate key file (requires -a)\n\
-k keyname: the name as it will be used in named.conf and rndc.conf\n\
-p port: the port named will listen on and rndc will connect to\n\
-r randomfile: source of random data (use \"keyboard\" for key timing)\n\
-s addr: the address to which rndc should connect\n\
-t chrootdir: write a keyfile in chrootdir as well (requires -a)\n\
-u user: set the keyfile owner to \"user\" (requires -a)\n",
progname, keydef, DEFAULT_KEYLENGTH);
exit (status);
}
int
main(int argc, char **argv) {
isc_boolean_t show_final_mem = ISC_FALSE;
isc_buffer_t key_txtbuffer;
char key_txtsecret[256];
isc_mem_t *mctx = NULL;
isc_result_t result = ISC_R_SUCCESS;
const char *keyname = NULL;
const char *randomfile = NULL;
const char *serveraddr = NULL;
dns_secalg_t alg = DST_ALG_HMACMD5;
const char *algname = alg_totext(alg);
char *p;
int ch;
int port;
int keysize;
struct in_addr addr4_dummy;
struct in6_addr addr6_dummy;
char *chrootdir = NULL;
char *user = NULL;
isc_boolean_t keyonly = ISC_FALSE;
int len;
keydef = keyfile = RNDC_KEYFILE;
result = isc_file_progname(*argv, program, sizeof(program));
if (result != ISC_R_SUCCESS)
memmove(program, "rndc-confgen", 13);
progname = program;
keyname = DEFAULT_KEYNAME;
keysize = DEFAULT_KEYLENGTH;
serveraddr = DEFAULT_SERVER;
port = DEFAULT_PORT;
isc_commandline_errprint = ISC_FALSE;
while ((ch = isc_commandline_parse(argc, argv,
"ab:c:hk:Mmp:r:s:t:u:Vy")) != -1) {
switch (ch) {
case 'a':
keyonly = ISC_TRUE;
break;
case 'b':
keysize = strtol(isc_commandline_argument, &p, 10);
if (*p != '\0' || keysize < 0)
fatal("-b requires a non-negative number");
break;
case 'c':
keyfile = isc_commandline_argument;
break;
case 'h':
usage(0);
case 'k':
case 'y': /* Compatible with rndc -y. */
keyname = isc_commandline_argument;
break;
case 'M':
isc_mem_debugging = ISC_MEM_DEBUGTRACE;
break;
case 'm':
show_final_mem = ISC_TRUE;
break;
case 'p':
port = strtol(isc_commandline_argument, &p, 10);
if (*p != '\0' || port < 0 || port > 65535)
fatal("port '%s' out of range",
isc_commandline_argument);
break;
case 'r':
randomfile = isc_commandline_argument;
break;
case 's':
serveraddr = isc_commandline_argument;
if (inet_pton(AF_INET, serveraddr, &addr4_dummy) != 1 &&
inet_pton(AF_INET6, serveraddr, &addr6_dummy) != 1)
fatal("-s should be an IPv4 or IPv6 address");
break;
case 't':
chrootdir = isc_commandline_argument;
break;
case 'u':
user = isc_commandline_argument;
break;
case 'V':
verbose = ISC_TRUE;
break;
case '?':
if (isc_commandline_option != '?') {
fprintf(stderr, "%s: invalid argument -%c\n",
program, isc_commandline_option);
usage(1);
} else
usage(0);
break;
default:
fprintf(stderr, "%s: unhandled option -%c\n",
program, isc_commandline_option);
exit(1);
}
}
argc -= isc_commandline_index;
argv += isc_commandline_index;
POST(argv);
if (argc > 0)
usage(1);
DO("create memory context", isc_mem_create(0, 0, &mctx));
isc_buffer_init(&key_txtbuffer, &key_txtsecret, sizeof(key_txtsecret));
generate_key(mctx, randomfile, alg, keysize, &key_txtbuffer);
if (keyonly) {
write_key_file(keyfile, chrootdir == NULL ? user : NULL,
keyname, &key_txtbuffer, alg);
if (chrootdir != NULL) {
char *buf;
len = strlen(chrootdir) + strlen(keyfile) + 2;
buf = isc_mem_get(mctx, len);
if (buf == NULL)
fatal("isc_mem_get(%d) failed\n", len);
snprintf(buf, len, "%s%s%s", chrootdir,
(*keyfile != '/') ? "/" : "", keyfile);
write_key_file(buf, user, keyname, &key_txtbuffer, alg);
isc_mem_put(mctx, buf, len);
}
} else {
printf("\
# Start of rndc.conf\n\
key \"%s\" {\n\
algorithm %s;\n\
secret \"%.*s\";\n\
};\n\
\n\
options {\n\
default-key \"%s\";\n\
default-server %s;\n\
default-port %d;\n\
};\n\
# End of rndc.conf\n\
\n\
# Use with the following in named.conf, adjusting the allow list as needed:\n\
# key \"%s\" {\n\
# algorithm %s;\n\
# secret \"%.*s\";\n\
# };\n\
# \n\
# controls {\n\
# inet %s port %d\n\
# allow { %s; } keys { \"%s\"; };\n\
# };\n\
# End of named.conf\n",
keyname, algname,
(int)isc_buffer_usedlength(&key_txtbuffer),
(char *)isc_buffer_base(&key_txtbuffer),
keyname, serveraddr, port,
keyname, algname,
(int)isc_buffer_usedlength(&key_txtbuffer),
(char *)isc_buffer_base(&key_txtbuffer),
serveraddr, port, serveraddr, keyname);
}
if (show_final_mem)
isc_mem_stats(mctx, stderr);
isc_mem_destroy(&mctx);
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 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007, 2009, 2014 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2001, 2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -18,10 +18,9 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: rndc-confgen.docbook,v 1.13 2007/06/18 23:47:25 tbox Exp $ -->
<refentry id="man.rndc-confgen">
<refentryinfo>
<date>Aug 27, 2001</date>
<date>June 15, 2009</date>
</refentryinfo>
<refmeta>
@@ -40,6 +39,8 @@
<year>2004</year>
<year>2005</year>
<year>2007</year>
<year>2009</year>
<year>2014</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, 2009, 2014 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2001, 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: rndc-confgen.html,v 1.25.214.1 2009/07/11 01:43:30 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">rndc-confgen</code> [<code class="option">-a</code>] [<code class="option">-b <em class="replaceable"><code>keysize</code></em></code>] [<code class="option">-c <em class="replaceable"><code>keyfile</code></em></code>] [<code class="option">-h</code>] [<code class="option">-k <em class="replaceable"><code>keyname</code></em></code>] [<code class="option">-p <em class="replaceable"><code>port</code></em></code>] [<code class="option">-r <em class="replaceable"><code>randomfile</code></em></code>] [<code class="option">-s <em class="replaceable"><code>address</code></em></code>] [<code class="option">-t <em class="replaceable"><code>chrootdir</code></em></code>] [<code class="option">-u <em class="replaceable"><code>user</code></em></code>]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543429"></a><h2>DESCRIPTION</h2>
<a name="id2543444"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">rndc-confgen</strong></span>
generates configuration files
for <span><strong class="command">rndc</strong></span>. It can be used as a
@@ -48,7 +48,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543474"></a><h2>OPTIONS</h2>
<a name="id2543489"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-a</span></dt>
<dd>
@@ -155,7 +155,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543787"></a><h2>EXAMPLES</h2>
<a name="id2543802"></a><h2>EXAMPLES</h2>
<p>
To allow <span><strong class="command">rndc</strong></span> to be used with
no manual configuration, run
@@ -172,7 +172,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543829"></a><h2>SEE ALSO</h2>
<a name="id2543844"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">rndc</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">rndc.conf</span>(5)</span>,
<span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
@@ -180,7 +180,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543867"></a><h2>AUTHOR</h2>
<a name="id2543882"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>

View File

@@ -0,0 +1,35 @@
# Copyright (C) 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
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND ISC 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.
# $Id: Makefile.in,v 1.3 2009/06/11 23:47:55 tbox Exp $
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
@BIND9_MAKE_INCLUDES@
CINCLUDES = -I${srcdir}/include -I${srcdir}/../include \
${DNS_INCLUDES} ${ISC_INCLUDES}
CDEFINES =
CWARNINGS =
OBJS = os.@O@
SRCS = os.c
TARGETS = ${OBJS}
@BIND9_MAKE_RULES@

43
bin/confgen/unix/os.c Normal file
View File

@@ -0,0 +1,43 @@
/*
* Copyright (C) 2009 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
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC 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.
*/
/* $Id: os.c,v 1.3 2009/06/11 23:47:55 tbox Exp $ */
/*! \file */
#include <config.h>
#include <confgen/os.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/types.h>
#include <pwd.h>
#include <errno.h>
#include <stdio.h>
#include <sys/stat.h>
int
set_user(FILE *fd, const char *user) {
struct passwd *pw;
pw = getpwnam(user);
if (pw == NULL) {
errno = EINVAL;
return (-1);
}
return (fchown(fileno(fd), pw->pw_uid, -1));
}

56
bin/confgen/util.c Normal file
View File

@@ -0,0 +1,56 @@
/*
* Copyright (C) 2009 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
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC 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.
*/
/* $Id: util.c,v 1.3 2009/06/11 23:47:55 tbox Exp $ */
/*! \file */
#include <config.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <isc/boolean.h>
#include "util.h"
extern isc_boolean_t verbose;
extern const char *progname;
void
notify(const char *fmt, ...) {
va_list ap;
if (verbose) {
va_start(ap, fmt);
vfprintf(stderr, fmt, ap);
va_end(ap);
fputs("\n", stderr);
}
}
void
fatal(const char *format, ...) {
va_list args;
fprintf(stderr, "%s: ", progname);
va_start(args, format);
vfprintf(stderr, format, args);
va_end(args);
fprintf(stderr, "\n");
exit(1);
}

52
bin/confgen/util.h Normal file
View File

@@ -0,0 +1,52 @@
/*
* Copyright (C) 2009 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
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC 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.
*/
/* $Id: util.h,v 1.4 2009/09/29 15:06:05 fdupont Exp $ */
#ifndef RNDC_UTIL_H
#define RNDC_UTIL_H 1
/*! \file */
#include <isc/lang.h>
#include <isc/platform.h>
#include <isc/formatcheck.h>
#define NS_CONTROL_PORT 953
#undef DO
#define DO(name, function) \
do { \
result = function; \
if (result != ISC_R_SUCCESS) \
fatal("%s: %s", name, isc_result_totext(result)); \
else \
notify("%s", name); \
} while (0)
ISC_LANG_BEGINDECLS
void
notify(const char *fmt, ...) ISC_FORMAT_PRINTF(1, 2);
ISC_PLATFORM_NORETURN_PRE void
fatal(const char *format, ...)
ISC_FORMAT_PRINTF(1, 2) ISC_PLATFORM_NORETURN_POST;
ISC_LANG_ENDDECLS
#endif /* RNDC_UTIL_H */

View File

@@ -0,0 +1,135 @@
# Microsoft Developer Studio Project File - Name="confgentool" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "@PLATFORM@ (x86) Static-Link Library" 0x0104
CFG=confgentool - @PLATFORM@ Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "confgentool.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "confgentool.mak" CFG="confgentool - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "confgentool - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Static-Link Library")
!MESSAGE "confgentool - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Static-Link Library")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
!IF "$(CFG)" == "confgentool - @PLATFORM@ Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 @COPTX@ @COPTI@ /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" @COPTY@ /FD /c
# ADD CPP /nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" @COPTY@ /FD /c /Fdconfgentool
# SUBTRACT CPP /X
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32
# ADD LINK32 /out:"Release/confgentool.lib"
LIB32=lib.exe
# ADD BASE LIB32
# ADD LIB32 /out:"Release/confgentool.lib"
!ELSEIF "$(CFG)" == "confgentool - @PLATFORM@ Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MTd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" @COPTY@ /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /FR @COPTY@ /FD /GZ /c /Fdconfgentool
# SUBTRACT CPP /X
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32
# ADD LINK32 /debug /out:"Debug/confgentool.lib"
LIB32=lib.exe
# ADD BASE LIB32
# ADD LIB32 /out:"Debug/confgentool.lib"
!ENDIF
# Begin Target
# Name "confgentool - @PLATFORM@ Release"
# Name "confgentool - @PLATFORM@ Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
SOURCE=..\keygen.h
# End Source File
# Begin Source File
SOURCE=..\util.h
# End Source File
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# End Group
# Begin Group "Main Dns Lib"
# PROP Default_Filter "c"
# Begin Source File
SOURCE=..\keygen.c
# End Source File
# Begin Source File
SOURCE=..\util.c
# End Source File
# Begin Source File
SOURCE=.\os.c
# End Source File
# End Group
# End Target
# End Project

View File

@@ -0,0 +1,29 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "confgentool"=".\confgentool.dsp" - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################

View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\keygen.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\util.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\include\confgen\os.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\keygen.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\util.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="os.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,109 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|@PLATFORM@">
<Configuration>Debug</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|@PLATFORM@">
<Configuration>Release</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{64964B03-4815-41F0-9057-E766A94AF197}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>confgentool</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<LinkIncremental>true</LinkIncremental>
<OutDir>.\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<LinkIncremental>false</LinkIncremental>
<OutDir>.\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<FunctionLevelLinking>false</FunctionLevelLinking>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(TargetName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<BrowseInformation>true</BrowseInformation>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\include;..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\dns\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>@INTRINSIC@</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<WholeProgramOptimization>false</WholeProgramOptimization>
<StringPooling>true</StringPooling>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(TargetName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\include;..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\dns\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<LinkTimeCodeGeneration>false</LinkTimeCodeGeneration>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\include\confgen\os.h" />
<ClInclude Include="..\keygen.h" />
<ClInclude Include="..\util.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\keygen.c" />
<ClCompile Include="..\util.c" />
<ClCompile Include="os.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -0,0 +1,103 @@
# Microsoft Developer Studio Project File - Name="ddnsconfgen" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "@PLATFORM@ (x86) Console Application" 0x0103
CFG=ddnsconfgen - @PLATFORM@ Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "ddnsconfgen.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "ddnsconfgen.mak" CFG="ddnsconfgen - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "ddnsconfgen - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE "ddnsconfgen - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 @COPTX@ @COPTI@ /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /c
# ADD CPP /nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console @MACHINE@
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Release/confgentool.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/isccc/win32/Release/libisccc.lib /nologo /subsystem:console @MACHINE@ /out:"../../../Build/Release/ddns-confgen.exe"
!ELSEIF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X @COPTY@
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug @MACHINE@ /pdbtype:sept
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Debug/confgentool.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/isccc/win32/Debug/libisccc.lib /nologo /subsystem:console /debug @MACHINE@ /out:"../../../Build/Debug/ddns-confgen.exe" /pdbtype:sept
!ENDIF
# Begin Target
# Name "ddnsconfgen - @PLATFORM@ Release"
# Name "ddnsconfgen - @PLATFORM@ Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE="..\ddns-confgen.c"
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# End Group
# End Target
# End Project

View File

@@ -0,0 +1,29 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "ddnsconfgen"=".\ddnsconfgen.dsp" - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################

View File

@@ -0,0 +1,337 @@
# Microsoft Developer Studio Generated NMAKE File, Based on ddnsconfgen.dsp
!IF "$(CFG)" == ""
CFG=ddnsconfgen - @PLATFORM@ Debug
!MESSAGE No configuration specified. Defaulting to ddnsconfgen - @PLATFORM@ Debug.
!ENDIF
!IF "$(CFG)" != "ddnsconfgen - @PLATFORM@ Release" && "$(CFG)" != "ddnsconfgen - @PLATFORM@ Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "ddnsconfgen.mak" CFG="ddnsconfgen - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "ddnsconfgen - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE "ddnsconfgen - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Release"
_VC_MANIFEST_INC=0
_VC_MANIFEST_BASENAME=__VC80
!ELSE
_VC_MANIFEST_INC=1
_VC_MANIFEST_BASENAME=__VC80.Debug
!ENDIF
####################################################
# Specifying name of temporary resource file used only in incremental builds:
!if "$(_VC_MANIFEST_INC)" == "1"
_VC_MANIFEST_AUTO_RES=$(_VC_MANIFEST_BASENAME).auto.res
!else
_VC_MANIFEST_AUTO_RES=
!endif
####################################################
# _VC_MANIFEST_EMBED_EXE - command to embed manifest in EXE:
!if "$(_VC_MANIFEST_INC)" == "1"
#MT_SPECIAL_RETURN=1090650113
#MT_SPECIAL_SWITCH=-notify_resource_update
MT_SPECIAL_RETURN=0
MT_SPECIAL_SWITCH=
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
link $** /out:$@ $(LFLAGS)
!else
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;1
!endif
####################################################
# _VC_MANIFEST_EMBED_DLL - command to embed manifest in DLL:
!if "$(_VC_MANIFEST_INC)" == "1"
#MT_SPECIAL_RETURN=1090650113
#MT_SPECIAL_SWITCH=-notify_resource_update
MT_SPECIAL_RETURN=0
MT_SPECIAL_SWITCH=
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
link $** /out:$@ $(LFLAGS)
!else
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;2
!endif
####################################################
# _VC_MANIFEST_CLEAN - command to clean resources files generated temporarily:
!if "$(_VC_MANIFEST_INC)" == "1"
_VC_MANIFEST_CLEAN=-del $(_VC_MANIFEST_BASENAME).auto.res \
$(_VC_MANIFEST_BASENAME).auto.rc \
$(_VC_MANIFEST_BASENAME).auto.manifest
!else
_VC_MANIFEST_CLEAN=
!endif
!IF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Release"
OUTDIR=.\Release
INTDIR=.\Release
ALL : "..\..\..\Build\Release\ddns-confgen.exe"
CLEAN :
-@erase "$(INTDIR)\os.obj"
-@erase "$(INTDIR)\ddns-confgen.obj"
-@erase "$(INTDIR)\keygen.obj"
-@erase "$(INTDIR)\util.obj"
-@erase "$(INTDIR)\vc60.idb"
-@erase "..\..\..\Build\Release\ddns-confgen.exe"
-@$(_VC_MANIFEST_CLEAN)
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\ddnsconfgen.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\ddnsconfgen.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/isccc/win32/Release/libisccc.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\ddns-confgen.pdb" @MACHINE@ /out:"../../../Build/Release/ddns-confgen.exe"
LINK32_OBJS= \
"$(INTDIR)\os.obj" \
"$(INTDIR)\ddns-confgen.obj" \
"$(INTDIR)\keygen.obj" \
"$(INTDIR)\util.obj"
"..\..\..\Build\Release\ddns-confgen.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
$(_VC_MANIFEST_EMBED_EXE)
!ELSEIF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
# Begin Custom Macros
OutDir=.\Debug
# End Custom Macros
ALL : "..\..\..\Build\Debug\ddns-confgen.exe" "$(OUTDIR)\ddnsconfgen.bsc"
CLEAN :
-@erase "$(INTDIR)\os.obj"
-@erase "$(INTDIR)\os.sbr"
-@erase "$(INTDIR)\ddns-confgen.obj"
-@erase "$(INTDIR)\ddns-confgen.sbr"
-@erase "$(INTDIR)\keygen.obj"
-@erase "$(INTDIR)\keygen.sbr"
-@erase "$(INTDIR)\util.obj"
-@erase "$(INTDIR)\util.sbr"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(INTDIR)\vc60.pdb"
-@erase "$(OUTDIR)\ddnsconfgen.bsc"
-@erase "$(OUTDIR)\ddns-confgen.pdb"
-@erase "..\..\..\Build\Debug\ddns-confgen.exe"
-@erase "..\..\..\Build\Debug\ddns-confgen.ilk"
-@$(_VC_MANIFEST_CLEAN)
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\ddnsconfgen.bsc"
BSC32_SBRS= \
"$(INTDIR)\os.sbr" \
"$(INTDIR)\ddns-confgen.sbr" \
"$(INTDIR)\keygen.sbr" \
"$(INTDIR)\util.sbr"
"$(OUTDIR)\ddnsconfgen.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
$(BSC32) @<<
$(BSC32_FLAGS) $(BSC32_SBRS)
<<
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/isccc/win32/Debug/libisccc.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\ddns-confgen.pdb" /debug @MACHINE@ /out:"../../../Build/Debug/ddns-confgen.exe" /pdbtype:sept
LINK32_OBJS= \
"$(INTDIR)\os.obj" \
"$(INTDIR)\ddns-confgen.obj" \
"$(INTDIR)\keygen.obj" \
"$(INTDIR)\util.obj"
"..\..\..\Build\Debug\ddns-confgen.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
$(_VC_MANIFEST_EMBED_EXE)
!ENDIF
.c{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
!IF "$(NO_EXTERNAL_DEPS)" != "1"
!IF EXISTS("ddnsconfgen.dep")
!INCLUDE "ddnsconfgen.dep"
!ELSE
!MESSAGE Warning: cannot find "ddnsconfgen.dep"
!ENDIF
!ENDIF
!IF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Release" || "$(CFG)" == "ddnsconfgen - @PLATFORM@ Debug"
SOURCE=.\os.c
!IF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Release"
"$(INTDIR)\os.obj" : $(SOURCE) "$(INTDIR)"
!ELSEIF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Debug"
"$(INTDIR)\os.obj" "$(INTDIR)\os.sbr" : $(SOURCE) "$(INTDIR)"
!ENDIF
SOURCE="..\ddns-confgen.c"
!IF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Release"
"$(INTDIR)\ddns-confgen.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Debug"
"$(INTDIR)\ddns-confgen.obj" "$(INTDIR)\ddns-confgen.sbr" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ENDIF
SOURCE=..\keygen.c
!IF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Release"
"$(INTDIR)\keygen.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Debug"
"$(INTDIR)\keygen.obj" "$(INTDIR)\keygen.sbr" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ENDIF
SOURCE=..\util.c
!IF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Release"
"$(INTDIR)\util.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Debug"
"$(INTDIR)\util.obj" "$(INTDIR)\util.sbr" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ENDIF
!ENDIF
####################################################
# Commands to generate initial empty manifest file and the RC file
# that references it, and for generating the .res file:
$(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
$(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
type <<$@
#include <winuser.h>
1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
<< KEEP
$(_VC_MANIFEST_BASENAME).auto.manifest :
type <<$@
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
</assembly>
<< KEEP

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\ddns-confgen.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,110 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|@PLATFORM@">
<Configuration>Debug</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|@PLATFORM@">
<Configuration>Release</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{1EA4FC64-F33B-4A50-970A-EA052BBE9CF1}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>ddnsconfgen</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<LinkIncremental>true</LinkIncremental>
<OutDir>..\..\..\Build\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
<TargetName>ddns-confgen</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\..\..\Build\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
<TargetName>ddns-confgen</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<FunctionLevelLinking>false</FunctionLevelLinking>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(ProjectName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<BrowseInformation>true</BrowseInformation>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\include;..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\dns\include;..\..\..\lib\isccc\include;..\..\..\lib\isccfg\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<AdditionalLibraryDirectories>$(Configuration);..\..\..\lib\isc\win32\$(Configuration);..\..\..\lib\dns\win32\$(Configuration);..\..\..\lib\isccfg\win32\$(Configuration);..\..\..\lib\isccc\win32\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>confgentool.lib;libisc.lib;libdns.lib;libisccfg.lib;libisccc.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>@INTRINSIC@</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<WholeProgramOptimization>false</WholeProgramOptimization>
<StringPooling>true</StringPooling>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(ProjectName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\include;..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\dns\include;..\..\..\lib\isccc\include;..\..\..\lib\isccfg\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>false</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
<AdditionalLibraryDirectories>$(Configuration);..\..\..\lib\isc\win32\$(Configuration);..\..\..\lib\dns\win32\$(Configuration);..\..\..\lib\isccfg\win32\$(Configuration);..\..\..\lib\isccc\win32\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>confgentool.lib;libisc.lib;libdns.lib;libisccfg.lib;libisccc.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\ddns-confgen.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

34
bin/confgen/win32/os.c Normal file
View File

@@ -0,0 +1,34 @@
/*
* Copyright (C) 2009 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
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC 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.
*/
/* $Id: os.c,v 1.3 2009/06/11 23:47:55 tbox Exp $ */
#include <config.h>
#include <confgen/os.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/types.h>
#include <errno.h>
#include <stdio.h>
#include <io.h>
#include <sys/stat.h>
int
set_user(FILE *fd, const char *user) {
return (0);
}

View File

@@ -0,0 +1,103 @@
# Microsoft Developer Studio Project File - Name="rndcconfgen" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "@PLATFORM@ (x86) Console Application" 0x0103
CFG=rndcconfgen - @PLATFORM@ Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "rndcconfgen.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "rndcconfgen.mak" CFG="rndcconfgen - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "rndcconfgen - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE "rndcconfgen - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "rndcconfgen - @PLATFORM@ Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 @COPTX@ @COPTI@ /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /c
# ADD CPP /nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console @MACHINE@
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Release/confgentool.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/isccc/win32/Release/libisccc.lib /nologo /subsystem:console @MACHINE@ /out:"../../../Build/Release/rndc-confgen.exe"
!ELSEIF "$(CFG)" == "rndcconfgen - @PLATFORM@ Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X @COPTY@
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug @MACHINE@ /pdbtype:sept
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Debug/confgentool.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/isccc/win32/Debug/libisccc.lib /nologo /subsystem:console /debug @MACHINE@ /out:"../../../Build/Debug/rndc-confgen.exe" /pdbtype:sept
!ENDIF
# Begin Target
# Name "rndcconfgen - @PLATFORM@ Release"
# Name "rndcconfgen - @PLATFORM@ Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE="..\rndc-confgen.c"
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# End Group
# End Target
# End Project

View File

@@ -0,0 +1,29 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "rndconfgen"=".\rndconfgen.dsp" - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################

View File

@@ -0,0 +1,336 @@
# Microsoft Developer Studio Generated NMAKE File, Based on confgen.dsp
!IF "$(CFG)" == ""
CFG=rndcconfgen - @PLATFORM@ Debug
!MESSAGE No configuration specified. Defaulting to rndcconfgen - @PLATFORM@ Debug.
!ENDIF
!IF "$(CFG)" != "rndcconfgen - @PLATFORM@ Release" && "$(CFG)" != "rndcconfgen - @PLATFORM@ Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "rndcconfgen.mak" CFG="rndcconfgen - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "rndcconfgen - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE "rndcconfgen - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "rndcconfgen - @PLATFORM@ Release"
_VC_MANIFEST_INC=0
_VC_MANIFEST_BASENAME=__VC80
!ELSE
_VC_MANIFEST_INC=1
_VC_MANIFEST_BASENAME=__VC80.Debug
!ENDIF
####################################################
# Specifying name of temporary resource file used only in incremental builds:
!if "$(_VC_MANIFEST_INC)" == "1"
_VC_MANIFEST_AUTO_RES=$(_VC_MANIFEST_BASENAME).auto.res
!else
_VC_MANIFEST_AUTO_RES=
!endif
####################################################
# _VC_MANIFEST_EMBED_EXE - command to embed manifest in EXE:
!if "$(_VC_MANIFEST_INC)" == "1"
#MT_SPECIAL_RETURN=1090650113
#MT_SPECIAL_SWITCH=-notify_resource_update
MT_SPECIAL_RETURN=0
MT_SPECIAL_SWITCH=
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
link $** /out:$@ $(LFLAGS)
!else
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;1
!endif
####################################################
# _VC_MANIFEST_EMBED_DLL - command to embed manifest in DLL:
!if "$(_VC_MANIFEST_INC)" == "1"
#MT_SPECIAL_RETURN=1090650113
#MT_SPECIAL_SWITCH=-notify_resource_update
MT_SPECIAL_RETURN=0
MT_SPECIAL_SWITCH=
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
link $** /out:$@ $(LFLAGS)
!else
_VC_MANIFEST_EMBED_EXE= \
if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;2
!endif
####################################################
# _VC_MANIFEST_CLEAN - command to clean resources files generated temporarily:
!if "$(_VC_MANIFEST_INC)" == "1"
_VC_MANIFEST_CLEAN=-del $(_VC_MANIFEST_BASENAME).auto.res \
$(_VC_MANIFEST_BASENAME).auto.rc \
$(_VC_MANIFEST_BASENAME).auto.manifest
!else
_VC_MANIFEST_CLEAN=
!endif
!IF "$(CFG)" == "rndcconfgen - @PLATFORM@ Release"
OUTDIR=.\Release
INTDIR=.\Release
ALL : "..\..\..\Build\Release\rndc-confgen.exe"
CLEAN :
-@erase "$(INTDIR)\os.obj"
-@erase "$(INTDIR)\rndc-confgen.obj"
-@erase "$(INTDIR)\keygen.obj"
-@erase "$(INTDIR)\util.obj"
-@erase "$(INTDIR)\vc60.idb"
-@erase "..\..\..\Build\Release\rndc-confgen.exe"
-@$(_VC_MANIFEST_CLEAN)
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\confgen.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\confgen.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/isccc/win32/Release/libisccc.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\rndc-confgen.pdb" @MACHINE@ /out:"../../../Build/Release/rndc-confgen.exe"
LINK32_OBJS= \
"$(INTDIR)\os.obj" \
"$(INTDIR)\rndc-confgen.obj" \
"$(INTDIR)\keygen.obj" \
"$(INTDIR)\util.obj"
"..\..\..\Build\Release\rndc-confgen.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
$(_VC_MANIFEST_EMBED_EXE)
!ELSEIF "$(CFG)" == "rndcconfgen - @PLATFORM@ Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
# Begin Custom Macros
OutDir=.\Debug
# End Custom Macros
ALL : "..\..\..\Build\Debug\rndc-confgen.exe" "$(OUTDIR)\confgen.bsc"
CLEAN :
-@erase "$(INTDIR)\os.obj"
-@erase "$(INTDIR)\os.sbr"
-@erase "$(INTDIR)\rndc-confgen.obj"
-@erase "$(INTDIR)\rndc-confgen.sbr"
-@erase "$(INTDIR)\keygen.obj"
-@erase "$(INTDIR)\keygen.sbr"
-@erase "$(INTDIR)\util.obj"
-@erase "$(INTDIR)\util.sbr"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(INTDIR)\vc60.pdb"
-@erase "$(OUTDIR)\confgen.bsc"
-@erase "$(OUTDIR)\rndc-confgen.pdb"
-@erase "..\..\..\Build\Debug\rndc-confgen.exe"
-@erase "..\..\..\Build\Debug\rndc-confgen.ilk"
-@$(_VC_MANIFEST_CLEAN)
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\confgen.bsc"
BSC32_SBRS= \
"$(INTDIR)\os.sbr" \
"$(INTDIR)\rndc-confgen.sbr" \
"$(INTDIR)\keygen.sbr" \
"$(INTDIR)\util.sbr"
"$(OUTDIR)\confgen.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
$(BSC32) @<<
$(BSC32_FLAGS) $(BSC32_SBRS)
<<
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/isccc/win32/Debug/libisccc.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\rndc-confgen.pdb" /debug @MACHINE@ /out:"../../../Build/Debug/rndc-confgen.exe" /pdbtype:sept
LINK32_OBJS= \
"$(INTDIR)\os.obj" \
"$(INTDIR)\rndc-confgen.obj" \
"$(INTDIR)\keygen.obj" \
"$(INTDIR)\util.obj"
"..\..\..\Build\Debug\rndc-confgen.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
$(_VC_MANIFEST_EMBED_EXE)
!ENDIF
.c{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
!IF "$(NO_EXTERNAL_DEPS)" != "1"
!IF EXISTS("confgen.dep")
!INCLUDE "confgen.dep"
!ELSE
!MESSAGE Warning: cannot find "confgen.dep"
!ENDIF
!ENDIF
!IF "$(CFG)" == "rndcconfgen - @PLATFORM@ Release" || "$(CFG)" == "rndcconfgen - @PLATFORM@ Debug"
SOURCE=.\os.c
!IF "$(CFG)" == "rndcconfgen - @PLATFORM@ Release"
"$(INTDIR)\os.obj" : $(SOURCE) "$(INTDIR)"
!ELSEIF "$(CFG)" == "rndcconfgen - @PLATFORM@ Debug"
"$(INTDIR)\os.obj" "$(INTDIR)\os.sbr" : $(SOURCE) "$(INTDIR)"
!ENDIF
SOURCE="..\rndc-confgen.c"
!IF "$(CFG)" == "rndcconfgen - @PLATFORM@ Release"
"$(INTDIR)\rndc-confgen.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "rndcconfgen - @PLATFORM@ Debug"
"$(INTDIR)\rndc-confgen.obj" "$(INTDIR)\rndc-confgen.sbr" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ENDIF
SOURCE=..\keygen.c
!IF "$(CFG)" == "rndcconfgen - @PLATFORM@ Release"
"$(INTDIR)\keygen.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "rndcconfgen - @PLATFORM@ Debug"
"$(INTDIR)\keygen.obj" "$(INTDIR)\keygen.sbr" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ENDIF
SOURCE=..\util.c
!IF "$(CFG)" == "rndcconfgen - @PLATFORM@ Release"
"$(INTDIR)\util.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "rndcconfgen - @PLATFORM@ Debug"
"$(INTDIR)\util.obj" "$(INTDIR)\util.sbr" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ENDIF
!ENDIF
####################################################
# Commands to generate initial empty manifest file and the RC file
# that references it, and for generating the .res file:
$(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
$(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
type <<$@
#include <winuser.h>
1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
<< KEEP
$(_VC_MANIFEST_BASENAME).auto.manifest :
type <<$@
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
</assembly>
<< KEEP

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\rndc-confgen.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,110 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|@PLATFORM@">
<Configuration>Debug</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|@PLATFORM@">
<Configuration>Release</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{1E2C1635-3093-4D59-80E7-4743AC10F22F}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>rndcconfgen</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<LinkIncremental>true</LinkIncremental>
<OutDir>..\..\..\Build\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
<TargetName>rndc-confgen</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\..\..\Build\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
<TargetName>rndc-confgen</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<FunctionLevelLinking>false</FunctionLevelLinking>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(ProjectName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<BrowseInformation>true</BrowseInformation>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\include;..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\dns\include;..\..\..\lib\isccc\include;..\..\..\lib\isccfg\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<AdditionalLibraryDirectories>$(Configuration);..\..\..\lib\isc\win32\$(Configuration);..\..\..\lib\dns\win32\$(Configuration);..\..\..\lib\isccfg\win32\$(Configuration);..\..\..\lib\isccc\win32\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>confgentool.lib;libisc.lib;libdns.lib;libisccfg.lib;libisccc.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>@INTRINSIC@</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<WholeProgramOptimization>false</WholeProgramOptimization>
<StringPooling>true</StringPooling>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(ProjectName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\include;..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\dns\include;..\..\..\lib\isccc\include;..\..\..\lib\isccfg\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>false</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
<AdditionalLibraryDirectories>$(Configuration);..\..\..\lib\isc\win32\$(Configuration);..\..\..\lib\dns\win32\$(Configuration);..\..\..\lib\isccfg\win32\$(Configuration);..\..\..\lib\isccc\win32\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>confgentool.lib;libisc.lib;libdns.lib;libisccfg.lib;libisccc.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\rndc-confgen.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

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

7
bin/dig/.gitignore vendored Normal file
View File

@@ -0,0 +1,7 @@
/dig
/host
/nslookup
.libs
dig-symtbl.c
host-symtbl.c
nslookup-symtbl.c

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004, 2005, 2007, 2009, 2012, 2013 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: Makefile.in,v 1.47 2009/12/05 23:31:40 each Exp $
srcdir = @srcdir@
VPATH = @srcdir@
@@ -23,8 +23,10 @@ top_srcdir = @top_srcdir@
@BIND9_MAKE_INCLUDES@
READLINE_LIB = @READLINE_LIB@
CINCLUDES = -I${srcdir}/include ${DNS_INCLUDES} ${BIND9_INCLUDES} \
${ISC_INCLUDES} ${LWRES_INCLUDES}
${ISC_INCLUDES} ${LWRES_INCLUDES} ${ISCCFG_INCLUDES}
CDEFINES = -DVERSION=\"${VERSION}\"
CWARNINGS =
@@ -33,6 +35,7 @@ ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
BIND9LIBS = ../../lib/bind9/libbind9.@A@
ISCLIBS = ../../lib/isc/libisc.@A@
ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@
LWRESLIBS = ../../lib/lwres/liblwres.@A@
ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
@@ -44,8 +47,11 @@ LWRESDEPLIBS = ../../lib/lwres/liblwres.@A@
DEPLIBS = ${DNSDEPLIBS} ${BIND9DEPLIBS} ${ISCDEPLIBS} ${ISCCFGDEPLIBS} \
${LWRESDEPLIBS}
LIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCLIBS} \
${ISCCFGLIBS} @IDNLIBS@ @LIBS@
LIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCCFGLIBS} \
${ISCLIBS} @IDNLIBS@ @LIBS@
NOSYMLIBS = ${LWRESLIBS} ${DNSLIBS} ${BIND9LIBS} ${ISCCFGLIBS} \
${ISCNOSYMLIBS} @IDNLIBS@ @LIBS@
SUBDIRS =
@@ -66,16 +72,16 @@ MANOBJS = ${MANPAGES} ${HTMLPAGES}
@BIND9_MAKE_RULES@
dig@EXEEXT@: dig.@O@ dighost.@O@ ${UOBJS} ${DEPLIBS}
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
dig.@O@ dighost.@O@ ${UOBJS} ${LIBS}
export BASEOBJS="dig.@O@ dighost.@O@ ${UOBJS}"; \
${FINALBUILDCMD}
host@EXEEXT@: host.@O@ dighost.@O@ ${UOBJS} ${DEPLIBS}
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
host.@O@ dighost.@O@ ${UOBJS} ${LIBS}
export BASEOBJS="host.@O@ dighost.@O@ ${UOBJS}"; \
${FINALBUILDCMD}
nslookup@EXEEXT@: nslookup.@O@ dighost.@O@ ${UOBJS} ${DEPLIBS}
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
nslookup.@O@ dighost.@O@ ${UOBJS} ${LIBS}
export BASEOBJS="nslookup.@O@ dighost.@O@ ${READLINE_LIB} ${UOBJS}"; \
${FINALBUILDCMD}
doc man:: ${MANOBJS}

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004-2011, 2013, 2014 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,18 +13,18 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: dig.1,v 1.45.150.8 2009/07/11 01:43:26 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
.\" Title: dig
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
.\" Date: Jun 30, 2000
.\" Date: February 12, 2014
.\" Manual: BIND9
.\" Source: BIND9
.\"
.TH "DIG" "1" "Jun 30, 2000" "BIND9" "BIND9"
.TH "DIG" "1" "February 12, 2014" "BIND9" "BIND9"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@@ -33,7 +33,7 @@
dig \- DNS lookup utility
.SH "SYNOPSIS"
.HP 4
\fBdig\fR [@server] [\fB\-b\ \fR\fB\fIaddress\fR\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-f\ \fR\fB\fIfilename\fR\fR] [\fB\-k\ \fR\fB\fIfilename\fR\fR] [\fB\-m\fR] [\fB\-p\ \fR\fB\fIport#\fR\fR] [\fB\-q\ \fR\fB\fIname\fR\fR] [\fB\-t\ \fR\fB\fItype\fR\fR] [\fB\-x\ \fR\fB\fIaddr\fR\fR] [\fB\-y\ \fR\fB\fI[hmac:]\fR\fIname:key\fR\fR] [\fB\-4\fR] [\fB\-6\fR] [name] [type] [class] [queryopt...]
\fBdig\fR [@server] [\fB\-b\ \fR\fB\fIaddress\fR\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-f\ \fR\fB\fIfilename\fR\fR] [\fB\-k\ \fR\fB\fIfilename\fR\fR] [\fB\-m\fR] [\fB\-p\ \fR\fB\fIport#\fR\fR] [\fB\-q\ \fR\fB\fIname\fR\fR] [\fB\-t\ \fR\fB\fItype\fR\fR] [\fB\-v\fR] [\fB\-x\ \fR\fB\fIaddr\fR\fR] [\fB\-y\ \fR\fB\fI[hmac:]\fR\fIname:key\fR\fR] [\fB\-4\fR] [\fB\-6\fR] [name] [type] [class] [queryopt...]
.HP 4
\fBdig\fR [\fB\-h\fR]
.HP 4
@@ -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 addresses are found,
\fBdig\fR
will send the query to the local host.
.PP
When no command line arguments or options are given,
\fBdig\fR
@@ -68,7 +70,7 @@ It is possible to set per\-user defaults for
via
\fI${HOME}/.digrc\fR. This file is read and any options in it are applied before the command line arguments.
.PP
The IN and CH class names overlap with the IN and CH top level domains names. Either use the
The IN and CH class names overlap with the IN and CH top level domain names. Either use the
\fB\-t\fR
and
\fB\-c\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
@@ -177,10 +186,16 @@ ixfr=N. The incremental zone transfer will contain the changes made to the zone
The
\fB\-q\fR
option sets the query name to
\fIname\fR. This useful do distinguish the
\fIname\fR. This is useful to distinguish the
\fIname\fR
from other arguments.
.PP
The
\fB\-v\fR
causes
\fBdig\fR
to print the version number and exit.
.PP
Reverse lookups \(em mapping addresses to names \(em are simplified by the
\fB\-x\fR
option.
@@ -232,21 +247,85 @@ no
to negate the meaning of that keyword. Other keywords assign values to options like the timeout interval. They have the form
\fB+keyword=value\fR. The query options are:
.PP
\fB+[no]tcp\fR
\fB+[no]aaflag\fR
.RS 4
Use [do not use] TCP when querying name servers. The default behavior is to use UDP unless an AXFR or IXFR query is requested, in which case a TCP connection is used.
A synonym for
\fI+[no]aaonly\fR.
.RE
.PP
\fB+[no]vc\fR
\fB+[no]aaonly\fR
.RS 4
Use [do not use] TCP when querying name servers. This alternate syntax to
\fI+[no]tcp\fR
is provided for backwards compatibility. The "vc" stands for "virtual circuit".
Sets the "aa" flag in the query.
.RE
.PP
\fB+[no]ignore\fR
\fB+[no]additional\fR
.RS 4
Ignore truncation in UDP responses instead of retrying with TCP. By default, TCP retries are performed.
Display [do not display] the additional section of a reply. The default is to display it.
.RE
.PP
\fB+[no]adflag\fR
.RS 4
Set [do not set] the AD (authentic data) bit in the query. This requests the server to return whether all of the answer and authority sections have all been validated as secure according to the security policy of the server. AD=1 indicates that all records have been validated as secure and the answer is not from a OPT\-OUT range. AD=0 indicate that some part of the answer was insecure or not validated. This bit is set by default.
.RE
.PP
\fB+[no]all\fR
.RS 4
Set or clear all display flags.
.RE
.PP
\fB+[no]answer\fR
.RS 4
Display [do not display] the answer section of a reply. The default is to display it.
.RE
.PP
\fB+[no]authority\fR
.RS 4
Display [do not display] the authority section of a reply. The default is to display it.
.RE
.PP
\fB+[no]besteffort\fR
.RS 4
Attempt to display the contents of messages which are malformed. The default is to not display malformed answers.
.RE
.PP
\fB+bufsize=B\fR
.RS 4
Set the UDP message buffer size advertised using EDNS0 to
\fIB\fR
bytes. The maximum and minimum sizes of this buffer are 65535 and 0 respectively. Values outside this range are rounded up or down appropriately. Values other than zero will cause a EDNS query to be sent.
.RE
.PP
\fB+[no]cdflag\fR
.RS 4
Set [do not set] the CD (checking disabled) bit in the query. This requests the server to not perform DNSSEC validation of responses.
.RE
.PP
\fB+[no]cl\fR
.RS 4
Display [do not display] the CLASS when printing the record.
.RE
.PP
\fB+[no]cmd\fR
.RS 4
Toggles the printing of the initial comment in the output identifying the version of
\fBdig\fR
and the query options that have been applied. This comment is printed by default.
.RE
.PP
\fB+[no]comments\fR
.RS 4
Toggle the display of comment lines in the output. The default is to print comments.
.RE
.PP
\fB+[no]defname\fR
.RS 4
Deprecated, treated as a synonym for
\fI+[no]search\fR
.RE
.PP
\fB+[no]dnssec\fR
.RS 4
Requests DNSSEC records be sent by setting the DNSSEC OK bit (DO) in the OPT record in the additional section of the query.
.RE
.PP
\fB+domain=somename\fR
@@ -260,90 +339,16 @@ directive in
option were given.
.RE
.PP
\fB+[no]search\fR
\fB+[no]edns[=#]\fR
.RS 4
Use [do not use] the search list defined by the searchlist or domain directive in
\fIresolv.conf\fR
(if any). The search list is not used by default.
Specify the EDNS version to query with. Valid values are 0 to 255. Setting the EDNS version will cause a EDNS query to be sent.
\fB+noedns\fR
clears the remembered EDNS version. EDNS is set to 0 by default.
.RE
.PP
\fB+[no]showsearch\fR
\fB+[no]fail\fR
.RS 4
Perform [do not perform] a search showing intermediate results.
.RE
.PP
\fB+[no]defname\fR
.RS 4
Deprecated, treated as a synonym for
\fI+[no]search\fR
.RE
.PP
\fB+[no]aaonly\fR
.RS 4
Sets the "aa" flag in the query.
.RE
.PP
\fB+[no]aaflag\fR
.RS 4
A synonym for
\fI+[no]aaonly\fR.
.RE
.PP
\fB+[no]adflag\fR
.RS 4
Set [do not set] the AD (authentic data) bit in the query. This requests the server to return whether all of the answer and authority sections have all been validated as secure according to the security policy of the server. AD=1 indicates that all records have been validated as secure and the answer is not from a OPT\-OUT range. AD=0 indicate that some part of the answer was insecure or not validated.
.RE
.PP
\fB+[no]cdflag\fR
.RS 4
Set [do not set] the CD (checking disabled) bit in the query. This requests the server to not perform DNSSEC validation of responses.
.RE
.PP
\fB+[no]cl\fR
.RS 4
Display [do not display] the CLASS when printing the record.
.RE
.PP
\fB+[no]ttlid\fR
.RS 4
Display [do not display] the TTL when printing the record.
.RE
.PP
\fB+[no]recurse\fR
.RS 4
Toggle the setting of the RD (recursion desired) bit in the query. This bit is set by default, which means
\fBdig\fR
normally sends recursive queries. Recursion is automatically disabled when the
\fI+nssearch\fR
or
\fI+trace\fR
query options are used.
.RE
.PP
\fB+[no]nssearch\fR
.RS 4
When this option is set,
\fBdig\fR
attempts to find the authoritative name servers for the zone containing the name being looked up and display the SOA record that each name server has for the zone.
.RE
.PP
\fB+[no]trace\fR
.RS 4
Toggle tracing of the delegation path from the root name servers for the name being looked up. Tracing is disabled by default. When tracing is enabled,
\fBdig\fR
makes iterative queries to resolve the name being looked up. It will follow referrals from the root servers, showing the answer from each server that was used to resolve the lookup.
.RE
.PP
\fB+[no]cmd\fR
.RS 4
Toggles the printing of the initial comment in the output identifying the version of
\fBdig\fR
and the query options that have been applied. This comment is printed by default.
.RE
.PP
\fB+[no]short\fR
.RS 4
Provide a terse answer. The default is to print the answer in a verbose form.
Do not try the next server if you receive a SERVFAIL. The default is to not try the next server which is the reverse of normal stub resolver behavior.
.RE
.PP
\fB+[no]identify\fR
@@ -353,70 +358,22 @@ Show [or do not show] the IP address and port number that supplied the answer wh
option is enabled. If short form answers are requested, the default is not to show the source address and port number of the server that provided the answer.
.RE
.PP
\fB+[no]comments\fR
\fB+[no]ignore\fR
.RS 4
Toggle the display of comment lines in the output. The default is to print comments.
Ignore truncation in UDP responses instead of retrying with TCP. By default, TCP retries are performed.
.RE
.PP
\fB+[no]stats\fR
\fB+[no]keepopen\fR
.RS 4
This query option toggles the printing of statistics: when the query was made, the size of the reply and so on. The default behavior is to print the query statistics.
Keep the TCP socket open between queries and reuse it rather than creating a new TCP socket for each lookup. The default is
\fB+nokeepopen\fR.
.RE
.PP
\fB+[no]qr\fR
\fB+[no]multiline\fR
.RS 4
Print [do not print] the query as it is sent. By default, the query is not printed.
.RE
.PP
\fB+[no]question\fR
.RS 4
Print [do not print] the question section of a query when an answer is returned. The default is to print the question section as a comment.
.RE
.PP
\fB+[no]answer\fR
.RS 4
Display [do not display] the answer section of a reply. The default is to display it.
.RE
.PP
\fB+[no]authority\fR
.RS 4
Display [do not display] the authority section of a reply. The default is to display it.
.RE
.PP
\fB+[no]additional\fR
.RS 4
Display [do not display] the additional section of a reply. The default is to display it.
.RE
.PP
\fB+[no]all\fR
.RS 4
Set or clear all display flags.
.RE
.PP
\fB+time=T\fR
.RS 4
Sets the timeout for a query to
\fIT\fR
seconds. The default timeout is 5 seconds. An attempt to set
\fIT\fR
to less than 1 will result in a query timeout of 1 second being applied.
.RE
.PP
\fB+tries=T\fR
.RS 4
Sets the number of times to try UDP queries to server to
\fIT\fR
instead of the default, 3. If
\fIT\fR
is less than or equal to zero, the number of tries is silently rounded up to 1.
.RE
.PP
\fB+retry=T\fR
.RS 4
Sets the number of times to retry UDP queries to server to
\fIT\fR
instead of the default, 2. Unlike
\fI+tries\fR, this does not include the initial query.
Print records like the SOA records in a verbose multi\-line format with human\-readable comments. The default is to print each record on a single line, to facilitate machine parsing of the
\fBdig\fR
output.
.RE
.PP
\fB+ndots=D\fR
@@ -431,43 +388,84 @@ for it to be considered absolute. The default value is that defined using the nd
or
\fBdomain\fR
directive in
\fI/etc/resolv.conf\fR.
\fI/etc/resolv.conf\fR
if
\fB+search\fR
is set.
.RE
.PP
\fB+bufsize=B\fR
\fB+[no]nsid\fR
.RS 4
Set the UDP message buffer size advertised using EDNS0 to
\fIB\fR
bytes. The maximum and minimum sizes of this buffer are 65535 and 0 respectively. Values outside this range are rounded up or down appropriately. Values other than zero will cause a EDNS query to be sent.
Include an EDNS name server ID request when sending a query.
.RE
.PP
\fB+edns=#\fR
\fB+[no]nssearch\fR
.RS 4
Specify the EDNS version to query with. Valid values are 0 to 255. Setting the EDNS version will cause a EDNS query to be sent.
\fB+noedns\fR
clears the remembered EDNS version.
.RE
.PP
\fB+[no]multiline\fR
.RS 4
Print records like the SOA records in a verbose multi\-line format with human\-readable comments. The default is to print each record on a single line, to facilitate machine parsing of the
When this option is set,
\fBdig\fR
output.
attempts to find the authoritative name servers for the zone containing the name being looked up and display the SOA record that each name server has for the zone.
.RE
.PP
\fB+[no]fail\fR
\fB+[no]onesoa\fR
.RS 4
Do not try the next server if you receive a SERVFAIL. The default is to not try the next server which is the reverse of normal stub resolver behavior.
Print only one (starting) SOA record when performing an AXFR. The default is to print both the starting and ending SOA records.
.RE
.PP
\fB+[no]besteffort\fR
\fB+[no]qr\fR
.RS 4
Attempt to display the contents of messages which are malformed. The default is to not display malformed answers.
Print [do not print] the query as it is sent. By default, the query is not printed.
.RE
.PP
\fB+[no]dnssec\fR
\fB+[no]question\fR
.RS 4
Requests DNSSEC records be sent by setting the DNSSEC OK bit (DO) in the OPT record in the additional section of the query.
Print [do not print] the question section of a query when an answer is returned. The default is to print the question section as a comment.
.RE
.PP
\fB+[no]recurse\fR
.RS 4
Toggle the setting of the RD (recursion desired) bit in the query. This bit is set by default, which means
\fBdig\fR
normally sends recursive queries. Recursion is automatically disabled when the
\fI+nssearch\fR
or
\fI+trace\fR
query options are used.
.RE
.PP
\fB+retry=T\fR
.RS 4
Sets the number of times to retry UDP queries to server to
\fIT\fR
instead of the default, 2. Unlike
\fI+tries\fR, this does not include the initial query.
.RE
.PP
\fB+[no]rrcomments\fR
.RS 4
Toggle the display of per\-record comments in the output (for example, human\-readable key information about DNSKEY records). The default is not to print record comments unless multiline mode is active.
.RE
.PP
\fB+[no]search\fR
.RS 4
Use [do not use] the search list defined by the searchlist or domain directive in
\fIresolv.conf\fR
(if any). The search list is not used by default.
.sp
\'ndots' from
\fIresolv.conf\fR
(default 1) which may be overridden by
\fI+ndots\fR
determines if the name will be treated as relative or not and hence whether a search is eventually performed or not.
.RE
.PP
\fB+[no]short\fR
.RS 4
Provide a terse answer. The default is to print the answer in a verbose form.
.RE
.PP
\fB+[no]showsearch\fR
.RS 4
Perform [do not perform] a search showing intermediate results.
.RE
.PP
\fB+[no]sigchase\fR
@@ -475,6 +473,64 @@ Requests DNSSEC records be sent by setting the DNSSEC OK bit (DO) in the OPT rec
Chase DNSSEC signature chains. Requires dig be compiled with \-DDIG_SIGCHASE.
.RE
.PP
\fB+split=W\fR
.RS 4
Split long hex\- or base64\-formatted fields in resource records into chunks of
\fIW\fR
characters (where
\fIW\fR
is rounded up to the nearest multiple of 4).
\fI+nosplit\fR
or
\fI+split=0\fR
causes fields not to be split at all. The default is 56 characters, or 44 characters when multiline mode is active.
.RE
.PP
\fB+[no]stats\fR
.RS 4
This query option toggles the printing of statistics: when the query was made, the size of the reply and so on. The default behavior is to print the query statistics.
.RE
.PP
\fB+[no]tcp\fR
.RS 4
Use [do not use] TCP when querying name servers. The default behavior is to use UDP unless an
ixfr=N
query is requested, in which case the default is TCP. AXFR queries always use TCP.
.RE
.PP
\fB+time=T\fR
.RS 4
Sets the timeout for a query to
\fIT\fR
seconds. The default timeout is 5 seconds. An attempt to set
\fIT\fR
to less than 1 will result in a query timeout of 1 second being applied.
.RE
.PP
\fB+[no]topdown\fR
.RS 4
When chasing DNSSEC signature chains perform a top\-down validation. Requires dig be compiled with \-DDIG_SIGCHASE.
.RE
.PP
\fB+[no]trace\fR
.RS 4
Toggle tracing of the delegation path from the root name servers for the name being looked up. Tracing is disabled by default. When tracing is enabled,
\fBdig\fR
makes iterative queries to resolve the name being looked up. It will follow referrals from the root servers, showing the answer from each server that was used to resolve the lookup.
.sp
\fB+dnssec\fR
is also set when +trace is set to better emulate the default queries from a nameserver.
.RE
.PP
\fB+tries=T\fR
.RS 4
Sets the number of times to try UDP queries to server to
\fIT\fR
instead of the default, 3. If
\fIT\fR
is less than or equal to zero, the number of tries is silently rounded up to 1.
.RE
.PP
\fB+trusted\-key=####\fR
.RS 4
Specifies a file containing trusted keys to be used with
@@ -491,14 +547,16 @@ in the current directory.
Requires dig be compiled with \-DDIG_SIGCHASE.
.RE
.PP
\fB+[no]topdown\fR
\fB+[no]ttlid\fR
.RS 4
When chasing DNSSEC signature chains perform a top\-down validation. Requires dig be compiled with \-DDIG_SIGCHASE.
Display [do not display] the TTL when printing the record.
.RE
.PP
\fB+[no]nsid\fR
\fB+[no]vc\fR
.RS 4
Include an EDNS name server ID request when sending a query.
Use [do not use] TCP when querying name servers. This alternate syntax to
\fI+[no]tcp\fR
is provided for backwards compatibility. The "vc" stands for "virtual circuit".
.RE
.SH "MULTIPLE QUERIES"
.PP
@@ -562,7 +620,7 @@ RFC1035.
.PP
There are probably too many query options.
.SH "COPYRIGHT"
Copyright \(co 2004\-2009 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004\-2011, 2013, 2014 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-2014 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.218.12.12 2010/05/13 00:45:00 marka Exp $ */
/* $Id: dig.c,v 1.245 2011/12/07 17:23:28 each Exp $ */
/*! \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) { \
@@ -68,7 +66,9 @@ static char domainopt[DNS_NAME_MAXTEXT];
static isc_boolean_t short_form = ISC_FALSE, printcmd = ISC_TRUE,
ip6_int = ISC_FALSE, plusquest = ISC_FALSE, pluscomm = ISC_FALSE,
multiline = ISC_FALSE, nottl = ISC_FALSE, noclass = ISC_FALSE;
multiline = ISC_FALSE, nottl = ISC_FALSE, noclass = ISC_FALSE,
onesoa = ISC_FALSE, rrcomments = ISC_FALSE;
static isc_uint32_t splitwidth = 0xffffffff;
/*% opcode text */
static const char * const opcodetext[] = {
@@ -138,6 +138,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);
@@ -184,7 +187,7 @@ help(void) {
" +domain=### (Set default domainname)\n"
" +bufsize=### (Set EDNS0 Max UDP packet size)\n"
" +ndots=### (Set NDOTS value)\n"
" +edns=### (Set EDNS version)\n"
" +[no]edns[=###] (Set EDNS version) [0]\n"
" +[no]search (Set whether to use searchlist)\n"
" +[no]showsearch (Search with intermediate results)\n"
" +[no]defname (Ditto)\n"
@@ -199,6 +202,8 @@ help(void) {
" +[no]cl (Control display of class in records)\n"
" +[no]cmd (Control display of command line)\n"
" +[no]comments (Control display of comment lines)\n"
" +[no]rrcomments (Control display of per-record "
"comments)\n"
" +[no]question (Control display of question)\n"
" +[no]answer (Control display of answer)\n"
" +[no]authority (Control display of authority)\n"
@@ -211,7 +216,7 @@ help(void) {
" +[no]qr (Print question before sending)\n"
" +[no]nssearch (Search all authoritative nameservers)\n"
" +[no]identify (ID responders in short answers)\n"
" +[no]trace (Trace delegation down from root)\n"
" +[no]trace (Trace delegation down from root [+dnssec])\n"
" +[no]dnssec (Request DNSSEC records)\n"
" +[no]nsid (Request Name Server ID)\n"
#ifdef DIG_SIGCHASE
@@ -221,7 +226,10 @@ help(void) {
" +[no]topdown (Do DNSSEC validation top down mode)\n"
#endif
#endif
" +[no]split=## (Split hex/base64 fields into chunks)\n"
" +[no]multiline (Print records in an expanded format)\n"
" +[no]onesoa (AXFR prints only one soa record)\n"
" +[no]keepopen (Keep the TCP socket open between queries)\n"
" global d-opts and servers (before host name) affect all queries.\n"
" local d-opts and servers (after host name) affect only that lookup.\n"
" -h (print help and exit)\n"
@@ -235,20 +243,22 @@ help(void) {
void
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));
TIME_NOW(&now);
if (query->lookup->stats && !short_form) {
diff = isc_time_microdiff(&now, &query->time_sent);
diff = isc_time_microdiff(&query->time_recv, &query->time_sent);
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 +266,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)
@@ -268,12 +277,12 @@ received(int bytes, isc_sockaddr_t *from, dig_query_t *query) {
}
puts("");
} else if (query->lookup->identify && !short_form) {
diff = isc_time_microdiff(&now, &query->time_sent);
diff = isc_time_microdiff(&query->time_recv, &query->time_sent);
printf(";; Received %" ISC_PRINT_QUADFORMAT "u bytes "
"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);
}
}
@@ -296,7 +305,6 @@ static isc_result_t
say_message(dns_rdata_t *rdata, dig_query_t *query, isc_buffer_t *buf) {
isc_result_t result;
isc_uint64_t diff;
isc_time_t now;
char store[sizeof("12345678901234567890")];
if (query->lookup->trace || query->lookup->ns_search_only) {
@@ -310,8 +318,7 @@ say_message(dns_rdata_t *rdata, dig_query_t *query, isc_buffer_t *buf) {
return (result);
check_result(result, "dns_rdata_totext");
if (query->lookup->identify) {
TIME_NOW(&now);
diff = isc_time_microdiff(&now, &query->time_sent);
diff = isc_time_microdiff(&query->time_recv, &query->time_sent);
ADD_STRING(buf, " from server ");
ADD_STRING(buf, query->servname);
snprintf(store, 19, " in %d ms.", (int)diff/1000);
@@ -388,6 +395,8 @@ printrdataset(dns_name_t *owner_name, dns_rdataset_t *rdataset,
styleflags |= DNS_STYLEFLAG_NO_TTL;
if (noclass)
styleflags |= DNS_STYLEFLAG_NO_CLASS;
if (rrcomments)
styleflags |= DNS_STYLEFLAG_RRCOMMENT;
if (multiline) {
styleflags |= DNS_STYLEFLAG_OMIT_OWNER;
styleflags |= DNS_STYLEFLAG_OMIT_CLASS;
@@ -396,16 +405,21 @@ printrdataset(dns_name_t *owner_name, dns_rdataset_t *rdataset,
styleflags |= DNS_STYLEFLAG_TTL;
styleflags |= DNS_STYLEFLAG_MULTILINE;
styleflags |= DNS_STYLEFLAG_COMMENT;
styleflags |= DNS_STYLEFLAG_RRCOMMENT;
}
if (multiline || (nottl && noclass))
result = dns_master_stylecreate(&style, styleflags,
24, 24, 24, 32, 80, 8, mctx);
result = dns_master_stylecreate2(&style, styleflags,
24, 24, 24, 32, 80, 8,
splitwidth, mctx);
else if (nottl || noclass)
result = dns_master_stylecreate(&style, styleflags,
24, 24, 32, 40, 80, 8, mctx);
result = dns_master_stylecreate2(&style, styleflags,
24, 24, 32, 40, 80, 8,
splitwidth, mctx);
else
result = dns_master_stylecreate(&style, styleflags,
24, 32, 40, 48, 80, 8, mctx);
result = dns_master_stylecreate2(&style, styleflags,
24, 32, 40, 48, 80, 8,
splitwidth, mctx);
check_result(result, "dns_master_stylecreate");
result = dns_master_rdatasettotext(owner_name, rdataset, style, target);
@@ -430,6 +444,10 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
unsigned int styleflags = 0;
styleflags |= DNS_STYLEFLAG_REL_OWNER;
if (query->lookup->comments)
styleflags |= DNS_STYLEFLAG_COMMENT;
if (rrcomments)
styleflags |= DNS_STYLEFLAG_RRCOMMENT;
if (nottl)
styleflags |= DNS_STYLEFLAG_NO_TTL;
if (noclass)
@@ -441,17 +459,20 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
styleflags |= DNS_STYLEFLAG_OMIT_TTL;
styleflags |= DNS_STYLEFLAG_TTL;
styleflags |= DNS_STYLEFLAG_MULTILINE;
styleflags |= DNS_STYLEFLAG_COMMENT;
styleflags |= DNS_STYLEFLAG_RRCOMMENT;
}
if (multiline || (nottl && noclass))
result = dns_master_stylecreate(&style, styleflags,
24, 24, 24, 32, 80, 8, mctx);
result = dns_master_stylecreate2(&style, styleflags,
24, 24, 24, 32, 80, 8,
splitwidth, mctx);
else if (nottl || noclass)
result = dns_master_stylecreate(&style, styleflags,
24, 24, 32, 40, 80, 8, mctx);
result = dns_master_stylecreate2(&style, styleflags,
24, 24, 32, 40, 80, 8,
splitwidth, mctx);
else
result = dns_master_stylecreate(&style, styleflags,
24, 32, 40, 48, 80, 8, mctx);
result = dns_master_stylecreate2(&style, styleflags,
24, 32, 40, 48, 80, 8,
splitwidth, mctx);
check_result(result, "dns_master_stylecreate");
if (query->lookup->cmdline[0] != 0) {
@@ -468,11 +489,12 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
flags |= DNS_MESSAGETEXTFLAG_NOHEADERS;
flags |= DNS_MESSAGETEXTFLAG_NOCOMMENTS;
}
if (onesoa && query->lookup->rdtype == dns_rdatatype_axfr)
flags |= (query->msg_count == 0) ? DNS_MESSAGETEXTFLAG_ONESOA :
DNS_MESSAGETEXTFLAG_OMITSOA;
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");
@@ -521,8 +543,16 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
printf(";; WARNING: recursion requested "
"but not available\n");
}
if (msg != query->lookup->sendmsg &&
query->lookup->edns != -1 && msg->opt == NULL &&
(msg->rcode == dns_rcode_formerr ||
msg->rcode == dns_rcode_notimp))
printf("\n;; WARNING: EDNS query returned status "
"%s - retry with '%s+noedns'\n",
rcode_totext(msg->rcode),
query->lookup->dnssec ? "+nodnssec ": "");
if (msg != query->lookup->sendmsg && extrabytes != 0U)
printf(";; WARNING: Messages has %u extra byte%s at "
printf(";; WARNING: Message has %u extra byte%s at "
"end\n", extrabytes, extrabytes != 0 ? "s" : "");
}
@@ -662,9 +692,9 @@ printgreeting(int argc, char **argv, dig_lookup_t *lookup) {
}
if (first) {
snprintf(append, sizeof(append),
";; global options: %s %s\n",
short_form ? "short_form" : "",
printcmd ? "printcmd" : "");
";; global options:%s%s\n",
short_form ? " +short" : "",
printcmd ? " +cmd" : "");
first = ISC_FALSE;
remaining = sizeof(lookup->cmdline) -
strlen(lookup->cmdline) - 1;
@@ -673,19 +703,6 @@ printgreeting(int argc, char **argv, dig_lookup_t *lookup) {
}
}
static isc_uint32_t
parse_uint(char *arg, const char *desc, isc_uint32_t max) {
isc_result_t result;
isc_uint32_t tmp;
result = isc_parse_uint32(&tmp, arg, 10);
if (result == ISC_R_SUCCESS && tmp > max)
result = ISC_R_RANGE;
if (result != ISC_R_SUCCESS)
fatal("%s '%s': %s", desc, arg, isc_result_totext(result));
return (tmp);
}
/*%
* We're not using isc_commandline_parse() here since the command line
* syntax of dig is quite a bit different from that which can be described
@@ -697,8 +714,10 @@ static void
plus_option(char *option, isc_boolean_t is_batchfile,
dig_lookup_t *lookup)
{
isc_result_t result;
char option_store[256];
char *cmd, *value, *ptr;
isc_uint32_t num;
isc_boolean_t state = ISC_TRUE;
#ifdef DIG_SIGCHASE
size_t n;
@@ -746,6 +765,7 @@ plus_option(char *option, isc_boolean_t is_batchfile,
lookup->section_additional = state;
break;
case 'f': /* adflag */
case '\0': /* +ad is a synonym for +adflag */
FULLCHECK("adflag");
lookup->adflag = state;
break;
@@ -760,6 +780,7 @@ plus_option(char *option, isc_boolean_t is_batchfile,
lookup->section_answer = state;
lookup->section_additional = state;
lookup->comments = state;
rrcomments = state;
lookup->stats = state;
printcmd = state;
break;
@@ -787,8 +808,11 @@ plus_option(char *option, isc_boolean_t is_batchfile,
goto need_value;
if (!state)
goto invalid_option;
lookup->udpsize = (isc_uint16_t) parse_uint(value,
"buffer size", COMMSIZE);
result = parse_uint(&num, value, COMMSIZE,
"buffer size");
if (result != ISC_R_SUCCESS)
fatal("Couldn't parse buffer size");
lookup->udpsize = num;
break;
default:
goto invalid_option;
@@ -797,8 +821,15 @@ plus_option(char *option, isc_boolean_t is_batchfile,
case 'c':
switch (cmd[1]) {
case 'd':/* cdflag */
FULLCHECK("cdflag");
lookup->cdflag = state;
switch (cmd[2]) {
case 'f': /* cdflag */
case '\0': /* +cd is a synonym for +cdflag */
FULLCHECK("cdflag");
lookup->cdflag = state;
break;
default:
goto invalid_option;
}
break;
case 'l': /* cl */
FULLCHECK("cl");
@@ -851,9 +882,14 @@ plus_option(char *option, isc_boolean_t is_batchfile,
lookup->edns = -1;
break;
}
if (value == NULL)
goto need_value;
lookup->edns = (isc_int16_t) parse_uint(value, "edns", 255);
if (value == NULL) {
lookup->edns = 0;
break;
}
result = parse_uint(&num, value, 255, "edns");
if (result != ISC_R_SUCCESS)
fatal("Couldn't parse edns");
lookup->edns = num;
break;
case 'f': /* fail */
FULLCHECK("fail");
@@ -871,6 +907,10 @@ plus_option(char *option, isc_boolean_t is_batchfile,
lookup->ignore = ISC_TRUE;
}
break;
case 'k':
FULLCHECK("keepopen");
keep_open = state;
break;
case 'm': /* multiline */
FULLCHECK("multiline");
multiline = state;
@@ -883,7 +923,10 @@ plus_option(char *option, isc_boolean_t is_batchfile,
goto need_value;
if (!state)
goto invalid_option;
ndots = parse_uint(value, "ndots", MAXNDOTS);
result = parse_uint(&num, value, MAXNDOTS, "ndots");
if (result != ISC_R_SUCCESS)
fatal("Couldn't parse ndots");
ndots = num;
break;
case 's':
switch (cmd[2]) {
@@ -902,6 +945,7 @@ plus_option(char *option, isc_boolean_t is_batchfile,
lookup->identify = ISC_TRUE;
lookup->stats = ISC_FALSE;
lookup->comments = ISC_FALSE;
rrcomments = ISC_FALSE;
lookup->section_additional = ISC_FALSE;
lookup->section_authority = ISC_FALSE;
lookup->section_question = ISC_FALSE;
@@ -918,6 +962,10 @@ plus_option(char *option, isc_boolean_t is_batchfile,
goto invalid_option;
}
break;
case 'o':
FULLCHECK("onesoa");
onesoa = state;
break;
case 'q':
switch (cmd[1]) {
case 'r': /* qr */
@@ -948,14 +996,20 @@ plus_option(char *option, isc_boolean_t is_batchfile,
goto need_value;
if (!state)
goto invalid_option;
lookup->retries = parse_uint(value, "retries",
MAXTRIES - 1);
result = parse_uint(&lookup->retries, value,
MAXTRIES - 1, "retries");
if (result != ISC_R_SUCCESS)
fatal("Couldn't parse retries");
lookup->retries++;
break;
default:
goto invalid_option;
}
break;
case 'r': /* rrcomments */
FULLCHECK("rrcomments");
rrcomments = state;
break;
default:
goto invalid_option;
}
@@ -982,6 +1036,7 @@ plus_option(char *option, isc_boolean_t is_batchfile,
lookup->section_authority = ISC_FALSE;
lookup->section_question = ISC_FALSE;
lookup->comments = ISC_FALSE;
rrcomments = ISC_FALSE;
lookup->stats = ISC_FALSE;
}
break;
@@ -1004,6 +1059,36 @@ plus_option(char *option, isc_boolean_t is_batchfile,
lookup->dnssec = ISC_TRUE;
break;
#endif
case 'p': /* split */
FULLCHECK("split");
if (value != NULL && !state)
goto invalid_option;
if (!state) {
splitwidth = 0;
break;
} else if (value == NULL)
break;
result = parse_uint(&splitwidth, value,
1023, "split");
if (splitwidth % 4 != 0) {
splitwidth = ((splitwidth + 3) / 4) * 4;
fprintf(stderr, ";; Warning, split must be "
"a multiple of 4; adjusting "
"to %d\n", splitwidth);
}
/*
* There is an adjustment done in the
* totext_<rrtype>() functions which causes
* splitwidth to shrink. This is okay when we're
* using the default width but incorrect in this
* case, so we correct for it
*/
if (splitwidth)
splitwidth += 3;
if (result != ISC_R_SUCCESS)
fatal("Couldn't parse split");
break;
case 't': /* stats */
FULLCHECK("stats");
lookup->stats = state;
@@ -1016,8 +1101,10 @@ plus_option(char *option, isc_boolean_t is_batchfile,
switch (cmd[1]) {
case 'c': /* tcp */
FULLCHECK("tcp");
if (!is_batchfile)
if (!is_batchfile) {
lookup->tcp_mode = state;
lookup->tcp_mode_set = ISC_TRUE;
}
break;
case 'i': /* timeout */
FULLCHECK("timeout");
@@ -1025,7 +1112,10 @@ plus_option(char *option, isc_boolean_t is_batchfile,
goto need_value;
if (!state)
goto invalid_option;
timeout = parse_uint(value, "timeout", MAXTIMEOUT);
result = parse_uint(&timeout, value, MAXTIMEOUT,
"timeout");
if (result != ISC_R_SUCCESS)
fatal("Couldn't parse timeout");
if (timeout == 0)
timeout = 1;
break;
@@ -1045,10 +1135,12 @@ plus_option(char *option, isc_boolean_t is_batchfile,
lookup->recurse = ISC_FALSE;
lookup->identify = ISC_TRUE;
lookup->comments = ISC_FALSE;
rrcomments = ISC_FALSE;
lookup->stats = ISC_FALSE;
lookup->section_additional = ISC_FALSE;
lookup->section_authority = ISC_TRUE;
lookup->section_question = ISC_FALSE;
lookup->dnssec = ISC_TRUE;
usesearch = ISC_FALSE;
}
break;
@@ -1058,8 +1150,10 @@ plus_option(char *option, isc_boolean_t is_batchfile,
goto need_value;
if (!state)
goto invalid_option;
lookup->retries = parse_uint(value, "tries",
MAXTRIES);
result = parse_uint(&lookup->retries, value,
MAXTRIES, "tries");
if (result != ISC_R_SUCCESS)
fatal("Couldn't parse tries");
if (lookup->retries == 0)
lookup->retries = 1;
break;
@@ -1090,8 +1184,10 @@ plus_option(char *option, isc_boolean_t is_batchfile,
break;
case 'v':
FULLCHECK("vc");
if (!is_batchfile)
if (!is_batchfile) {
lookup->tcp_mode = state;
lookup->tcp_mode_set = ISC_TRUE;
}
break;
default:
invalid_option:
@@ -1125,6 +1221,7 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
struct in6_addr in6;
in_port_t srcport;
char *hash, *cmd;
isc_uint32_t num;
while (strpbrk(option, single_dash_opts) == &option[0]) {
/*
@@ -1140,6 +1237,7 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
have_ipv6 = ISC_FALSE;
} else {
fatal("can't find IPv4 networking");
/* NOTREACHED */
return (ISC_FALSE);
}
break;
@@ -1149,6 +1247,7 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
have_ipv4 = ISC_FALSE;
} else {
fatal("can't find IPv6 networking");
/* NOTREACHED */
return (ISC_FALSE);
}
break;
@@ -1199,9 +1298,11 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
case 'b':
hash = strchr(value, '#');
if (hash != NULL) {
srcport = (in_port_t)
parse_uint(hash + 1,
"port number", MAXPORT);
result = parse_uint(&num, hash + 1, MAXPORT,
"port number");
if (result != ISC_R_SUCCESS)
fatal("Couldn't parse port number");
srcport = num;
*hash = '\0';
} else
srcport = 0;
@@ -1245,7 +1346,10 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
keyfile[sizeof(keyfile)-1]=0;
return (value_from_next);
case 'p':
port = (in_port_t) parse_uint(value, "port number", MAXPORT);
result = parse_uint(&num, value, MAXPORT, "port number");
if (result != ISC_R_SUCCESS)
fatal("Couldn't parse port number");
port = num;
return (value_from_next);
case 'q':
if (!config_only) {
@@ -1288,17 +1392,22 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
"extra type option\n");
}
if (rdtype == dns_rdatatype_ixfr) {
isc_uint32_t serial;
(*lookup)->rdtype = dns_rdatatype_ixfr;
(*lookup)->rdtypeset = ISC_TRUE;
(*lookup)->ixfr_serial =
parse_uint(&value[5], "serial number",
MAXSERIAL);
result = parse_uint(&serial, &value[5],
MAXSERIAL, "serial number");
if (result != ISC_R_SUCCESS)
fatal("Couldn't parse serial number");
(*lookup)->ixfr_serial = serial;
(*lookup)->section_question = plusquest;
(*lookup)->comments = pluscomm;
(*lookup)->tcp_mode = ISC_TRUE;
if (!(*lookup)->tcp_mode_set)
(*lookup)->tcp_mode = ISC_TRUE;
} else {
(*lookup)->rdtype = rdtype;
(*lookup)->rdtypeset = ISC_TRUE;
if (!config_only)
(*lookup)->rdtypeset = ISC_TRUE;
if (rdtype == dns_rdatatype_axfr) {
(*lookup)->section_question = plusquest;
(*lookup)->comments = pluscomm;
@@ -1320,65 +1429,7 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
usage();
ptr3 = next_token(&value,":"); /* secret or NULL */
if (ptr3 != NULL) {
if (strcasecmp(ptr, "hmac-md5") == 0) {
hmacname = DNS_TSIG_HMACMD5_NAME;
digestbits = 0;
} else if (strncasecmp(ptr, "hmac-md5-", 9) == 0) {
hmacname = DNS_TSIG_HMACMD5_NAME;
digestbits = parse_uint(&ptr[9],
"digest-bits [0..128]",
128);
digestbits = (digestbits + 7) & ~0x7U;
} else if (strcasecmp(ptr, "hmac-sha1") == 0) {
hmacname = DNS_TSIG_HMACSHA1_NAME;
digestbits = 0;
} else if (strncasecmp(ptr, "hmac-sha1-", 10) == 0) {
hmacname = DNS_TSIG_HMACSHA1_NAME;
digestbits = parse_uint(&ptr[10],
"digest-bits [0..160]",
160);
digestbits = (digestbits + 7) & ~0x7U;
} else if (strcasecmp(ptr, "hmac-sha224") == 0) {
hmacname = DNS_TSIG_HMACSHA224_NAME;
digestbits = 0;
} else if (strncasecmp(ptr, "hmac-sha224-", 12) == 0) {
hmacname = DNS_TSIG_HMACSHA224_NAME;
digestbits = parse_uint(&ptr[12],
"digest-bits [0..224]",
224);
digestbits = (digestbits + 7) & ~0x7U;
} else if (strcasecmp(ptr, "hmac-sha256") == 0) {
hmacname = DNS_TSIG_HMACSHA256_NAME;
digestbits = 0;
} else if (strncasecmp(ptr, "hmac-sha256-", 12) == 0) {
hmacname = DNS_TSIG_HMACSHA256_NAME;
digestbits = parse_uint(&ptr[12],
"digest-bits [0..256]",
256);
digestbits = (digestbits + 7) & ~0x7U;
} else if (strcasecmp(ptr, "hmac-sha384") == 0) {
hmacname = DNS_TSIG_HMACSHA384_NAME;
digestbits = 0;
} else if (strncasecmp(ptr, "hmac-sha384-", 12) == 0) {
hmacname = DNS_TSIG_HMACSHA384_NAME;
digestbits = parse_uint(&ptr[12],
"digest-bits [0..384]",
384);
digestbits = (digestbits + 7) & ~0x7U;
} else if (strcasecmp(ptr, "hmac-sha512") == 0) {
hmacname = DNS_TSIG_HMACSHA512_NAME;
digestbits = 0;
} else if (strncasecmp(ptr, "hmac-sha512-", 12) == 0) {
hmacname = DNS_TSIG_HMACSHA512_NAME;
digestbits = parse_uint(&ptr[12],
"digest-bits [0..512]",
512);
digestbits = (digestbits + 7) & ~0x7U;
} else {
fprintf(stderr, ";; Warning, ignoring "
"invalid TSIG algorithm %s\n", ptr);
return (value_from_next);
}
parse_hmac(ptr);
ptr = ptr2;
ptr2 = ptr3;
} else {
@@ -1398,6 +1449,7 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
ip6_int, ISC_FALSE) == ISC_R_SUCCESS) {
strncpy((*lookup)->textname, textname,
sizeof((*lookup)->textname));
(*lookup)->textname[sizeof((*lookup)->textname)-1] = 0;
debug("looking up %s", (*lookup)->textname);
(*lookup)->trace_root = ISC_TF((*lookup)->trace ||
(*lookup)->ns_search_only);
@@ -1422,6 +1474,7 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
fprintf(stderr, "Invalid option: -%s\n", option);
usage();
}
/* NOTREACHED */
return (ISC_FALSE);
}
@@ -1458,33 +1511,10 @@ 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) {
int argc, char **argv)
{
isc_result_t result;
isc_textregion_t tr;
isc_boolean_t firstarg = ISC_TRUE;
@@ -1520,6 +1550,8 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
if (!is_batchfile) {
debug("making new lookup");
default_lookup = make_empty_lookup();
default_lookup->adflag = ISC_TRUE;
default_lookup->edns = 0;
#ifndef NOPOSIX
/*
@@ -1575,8 +1607,25 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
debug("main parsing %s", rv[0]);
if (strncmp(rv[0], "%", 1) == 0)
break;
if (strncmp(rv[0], "@", 1) == 0) {
getaddresses(lookup, &rv[0][1]);
if (rv[0][0] == '@') {
if (is_batchfile && !config_only) {
addresscount = getaddresses(lookup, &rv[0][1],
&result);
if (result != ISC_R_SUCCESS) {
fprintf(stderr, "couldn't get address "
"for '%s': %s: skipping "
"lookup\n", &rv[0][1],
isc_result_totext(result));
if (ISC_LINK_LINKED(lookup, link))
ISC_LIST_DEQUEUE(lookup_list,
lookup, link);
destroy_lookup(lookup);
return;
}
} else
addresscount = getaddresses(lookup, &rv[0][1],
NULL);
} else if (rv[0][0] == '+') {
plus_option(&rv[0][1], is_batchfile,
lookup);
@@ -1613,7 +1662,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");
@@ -1626,17 +1674,23 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
"extra type option\n");
}
if (rdtype == dns_rdatatype_ixfr) {
isc_uint32_t serial;
lookup->rdtype =
dns_rdatatype_ixfr;
lookup->rdtypeset = ISC_TRUE;
lookup->ixfr_serial =
parse_uint(&rv[0][5],
"serial number",
MAXSERIAL);
result = parse_uint(&serial,
&rv[0][5],
MAXSERIAL,
"serial number");
if (result != ISC_R_SUCCESS)
fatal("Couldn't parse "
"serial number");
lookup->ixfr_serial = serial;
lookup->section_question =
plusquest;
lookup->comments = pluscomm;
lookup->tcp_mode = ISC_TRUE;
if (!lookup->tcp_mode_set)
lookup->tcp_mode = ISC_TRUE;
} else {
lookup->rdtype = rdtype;
lookup->rdtypeset = ISC_TRUE;

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2011, 2013, 2014 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.41.150.7 2009/07/11 01:43:27 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -29,12 +29,12 @@
</div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">dig</code> [@server] [<code class="option">-b <em class="replaceable"><code>address</code></em></code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-f <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-k <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-m</code>] [<code class="option">-p <em class="replaceable"><code>port#</code></em></code>] [<code class="option">-q <em class="replaceable"><code>name</code></em></code>] [<code class="option">-t <em class="replaceable"><code>type</code></em></code>] [<code class="option">-x <em class="replaceable"><code>addr</code></em></code>] [<code class="option">-y <em class="replaceable"><code>[<span class="optional">hmac:</span>]name:key</code></em></code>] [<code class="option">-4</code>] [<code class="option">-6</code>] [name] [type] [class] [queryopt...]</p></div>
<div class="cmdsynopsis"><p><code class="command">dig</code> [@server] [<code class="option">-b <em class="replaceable"><code>address</code></em></code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-f <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-k <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-m</code>] [<code class="option">-p <em class="replaceable"><code>port#</code></em></code>] [<code class="option">-q <em class="replaceable"><code>name</code></em></code>] [<code class="option">-t <em class="replaceable"><code>type</code></em></code>] [<code class="option">-v</code>] [<code class="option">-x <em class="replaceable"><code>addr</code></em></code>] [<code class="option">-y <em class="replaceable"><code>[<span class="optional">hmac:</span>]name:key</code></em></code>] [<code class="option">-4</code>] [<code class="option">-6</code>] [name] [type] [class] [queryopt...]</p></div>
<div class="cmdsynopsis"><p><code class="command">dig</code> [<code class="option">-h</code>]</p></div>
<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="id2543544"></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 addresses
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,
@@ -73,14 +74,14 @@
</p>
<p>
The IN and CH class names overlap with the IN and CH top level
domains names. Either use the <code class="option">-t</code> and
domain names. Either use the <code class="option">-t</code> and
<code class="option">-c</code> options to specify the type and class,
use the <code class="option">-q</code> the specify the domain name, or
use "IN." and "CH." when looking up these top level domains.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543592"></a><h2>SIMPLE USAGE</h2>
<a name="id2543623"></a><h2>SIMPLE USAGE</h2>
<p>
A typical invocation of <span><strong class="command">dig</strong></span> looks like:
</p>
@@ -91,42 +92,49 @@
</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
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>
<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.
</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.
</p></dd>
is the name of the resource record that is to be looked up.
</p></dd>
<dt><span class="term"><code class="constant">type</code></span></dt>
<dd><p>
indicates what type of query is required &#8212;
ANY, A, MX, SIG, etc.
<em class="parameter"><code>type</code></em> can be any valid query
type. If no
<em class="parameter"><code>type</code></em> argument is supplied,
<span><strong class="command">dig</strong></span> will perform a lookup for an
A record.
</p></dd>
indicates what type of query is required &#8212;
ANY, A, MX, SIG, etc.
<em class="parameter"><code>type</code></em> can be any valid query
type. If no
<em class="parameter"><code>type</code></em> argument is supplied,
<span><strong class="command">dig</strong></span> will perform a lookup for an
A record.
</p></dd>
</dl></div>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543683"></a><h2>OPTIONS</h2>
<a name="id2543726"></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
@@ -185,9 +193,13 @@
</p>
<p>
The <code class="option">-q</code> option sets the query name to
<em class="parameter"><code>name</code></em>. This useful do distinguish the
<em class="parameter"><code>name</code></em>. This is useful to distinguish the
<em class="parameter"><code>name</code></em> from other arguments.
</p>
<p>
The <code class="option">-v</code> causes <span><strong class="command">dig</strong></span> to
print the version number and exit.
</p>
<p>
Reverse lookups &#8212; mapping addresses to names &#8212; are simplified by the
<code class="option">-x</code> option. <em class="parameter"><code>addr</code></em> is
@@ -230,7 +242,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544032"></a><h2>QUERY OPTIONS</h2>
<a name="id2544018"></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
@@ -250,62 +262,19 @@
</p>
<div class="variablelist"><dl>
<dt><span class="term"><code class="option">+[no]tcp</code></span></dt>
<dd><p>
Use [do not use] TCP when querying name servers. The default
behavior is to use UDP unless an AXFR or IXFR query is
requested, in
which case a TCP connection is used.
</p></dd>
<dt><span class="term"><code class="option">+[no]vc</code></span></dt>
<dd><p>
Use [do not use] TCP when querying name servers. This alternate
syntax to <em class="parameter"><code>+[no]tcp</code></em> is
provided for backwards
compatibility. The "vc" stands for "virtual circuit".
</p></dd>
<dt><span class="term"><code class="option">+[no]ignore</code></span></dt>
<dd><p>
Ignore truncation in UDP responses instead of retrying with TCP.
By
default, TCP retries are performed.
</p></dd>
<dt><span class="term"><code class="option">+domain=somename</code></span></dt>
<dd><p>
Set the search list to contain the single domain
<em class="parameter"><code>somename</code></em>, as if specified in
a
<span><strong class="command">domain</strong></span> directive in
<code class="filename">/etc/resolv.conf</code>, and enable
search list
processing as if the <em class="parameter"><code>+search</code></em>
option were given.
</p></dd>
<dt><span class="term"><code class="option">+[no]search</code></span></dt>
<dd><p>
Use [do not use] the search list defined by the searchlist or
domain
directive in <code class="filename">resolv.conf</code> (if
any).
The search list is not used by default.
</p></dd>
<dt><span class="term"><code class="option">+[no]showsearch</code></span></dt>
<dd><p>
Perform [do not perform] a search showing intermediate
results.
</p></dd>
<dt><span class="term"><code class="option">+[no]defname</code></span></dt>
<dd><p>
Deprecated, treated as a synonym for <em class="parameter"><code>+[no]search</code></em>
</p></dd>
<dt><span class="term"><code class="option">+[no]aaonly</code></span></dt>
<dd><p>
Sets the "aa" flag in the query.
</p></dd>
<dt><span class="term"><code class="option">+[no]aaflag</code></span></dt>
<dd><p>
A synonym for <em class="parameter"><code>+[no]aaonly</code></em>.
</p></dd>
A synonym for <em class="parameter"><code>+[no]aaonly</code></em>.
</p></dd>
<dt><span class="term"><code class="option">+[no]aaonly</code></span></dt>
<dd><p>
Sets the "aa" flag in the query.
</p></dd>
<dt><span class="term"><code class="option">+[no]additional</code></span></dt>
<dd><p>
Display [do not display] the additional section of a
reply. The default is to display it.
</p></dd>
<dt><span class="term"><code class="option">+[no]adflag</code></span></dt>
<dd><p>
Set [do not set] the AD (authentic data) bit in the
@@ -315,247 +284,323 @@
policy of the server. AD=1 indicates that all records
have been validated as secure and the answer is not
from a OPT-OUT range. AD=0 indicate that some part
of the answer was insecure or not validated.
of the answer was insecure or not validated. This
bit is set by default.
</p></dd>
<dt><span class="term"><code class="option">+[no]all</code></span></dt>
<dd><p>
Set or clear all display flags.
</p></dd>
<dt><span class="term"><code class="option">+[no]answer</code></span></dt>
<dd><p>
Display [do not display] the answer section of a
reply. The default is to display it.
</p></dd>
<dt><span class="term"><code class="option">+[no]authority</code></span></dt>
<dd><p>
Display [do not display] the authority section of a
reply. The default is to display it.
</p></dd>
<dt><span class="term"><code class="option">+[no]besteffort</code></span></dt>
<dd><p>
Attempt to display the contents of messages which are
malformed. The default is to not display malformed
answers.
</p></dd>
<dt><span class="term"><code class="option">+bufsize=B</code></span></dt>
<dd><p>
Set the UDP message buffer size advertised using EDNS0
to <em class="parameter"><code>B</code></em> bytes. The maximum and
minimum sizes of this buffer are 65535 and 0 respectively.
Values outside this range are rounded up or down
appropriately. Values other than zero will cause a
EDNS query to be sent.
</p></dd>
<dt><span class="term"><code class="option">+[no]cdflag</code></span></dt>
<dd><p>
Set [do not set] the CD (checking disabled) bit in the query.
This
requests the server to not perform DNSSEC validation of
responses.
</p></dd>
Set [do not set] the CD (checking disabled) bit in
the query. This requests the server to not perform
DNSSEC validation of responses.
</p></dd>
<dt><span class="term"><code class="option">+[no]cl</code></span></dt>
<dd><p>
Display [do not display] the CLASS when printing the record.
</p></dd>
<dt><span class="term"><code class="option">+[no]ttlid</code></span></dt>
<dd><p>
Display [do not display] the TTL when printing the record.
</p></dd>
<dt><span class="term"><code class="option">+[no]recurse</code></span></dt>
<dd><p>
Toggle the setting of the RD (recursion desired) bit in the
query.
This bit is set by default, which means <span><strong class="command">dig</strong></span>
normally sends recursive queries. Recursion is automatically
disabled
when the <em class="parameter"><code>+nssearch</code></em> or
<em class="parameter"><code>+trace</code></em> query options are
used.
</p></dd>
<dt><span class="term"><code class="option">+[no]nssearch</code></span></dt>
<dd><p>
When this option is set, <span><strong class="command">dig</strong></span>
attempts to find the
authoritative name servers for the zone containing the name
being
looked up and display the SOA record that each name server has
for the
zone.
</p></dd>
<dt><span class="term"><code class="option">+[no]trace</code></span></dt>
<dd><p>
Toggle tracing of the delegation path from the root name servers
for
the name being looked up. Tracing is disabled by default. When
tracing is enabled, <span><strong class="command">dig</strong></span> makes
iterative queries to
resolve the name being looked up. It will follow referrals from
the
root servers, showing the answer from each server that was used
to
resolve the lookup.
</p></dd>
Display [do not display] the CLASS when printing the
record.
</p></dd>
<dt><span class="term"><code class="option">+[no]cmd</code></span></dt>
<dd><p>
Toggles the printing of the initial comment in the output
identifying
the version of <span><strong class="command">dig</strong></span> and the query
options that have
been applied. This comment is printed by default.
</p></dd>
<dt><span class="term"><code class="option">+[no]short</code></span></dt>
<dd><p>
Provide a terse answer. The default is to print the answer in a
verbose form.
</p></dd>
<dt><span class="term"><code class="option">+[no]identify</code></span></dt>
<dd><p>
Show [or do not show] the IP address and port number that
supplied the
answer when the <em class="parameter"><code>+short</code></em> option
is enabled. If
short form answers are requested, the default is not to show the
source address and port number of the server that provided the
answer.
</p></dd>
Toggles the printing of the initial comment in the
output identifying the version of <span><strong class="command">dig</strong></span>
and the query options that have been applied. This
comment is printed by default.
</p></dd>
<dt><span class="term"><code class="option">+[no]comments</code></span></dt>
<dd><p>
Toggle the display of comment lines in the output. The default
is to
print comments.
</p></dd>
<dt><span class="term"><code class="option">+[no]stats</code></span></dt>
Toggle the display of comment lines in the output.
The default is to print comments.
</p></dd>
<dt><span class="term"><code class="option">+[no]defname</code></span></dt>
<dd><p>
This query option toggles the printing of statistics: when the
query
was made, the size of the reply and so on. The default
behavior is
to print the query statistics.
</p></dd>
<dt><span class="term"><code class="option">+[no]qr</code></span></dt>
Deprecated, treated as a synonym for
<em class="parameter"><code>+[no]search</code></em>
</p></dd>
<dt><span class="term"><code class="option">+[no]dnssec</code></span></dt>
<dd><p>
Print [do not print] the query as it is sent.
By default, the query is not printed.
</p></dd>
<dt><span class="term"><code class="option">+[no]question</code></span></dt>
Requests DNSSEC records be sent by setting the DNSSEC
OK bit (DO) in the OPT record in the additional section
of the query.
</p></dd>
<dt><span class="term"><code class="option">+domain=somename</code></span></dt>
<dd><p>
Print [do not print] the question section of a query when an
answer is
returned. The default is to print the question section as a
comment.
</p></dd>
<dt><span class="term"><code class="option">+[no]answer</code></span></dt>
<dd><p>
Display [do not display] the answer section of a reply. The
default
is to display it.
</p></dd>
<dt><span class="term"><code class="option">+[no]authority</code></span></dt>
<dd><p>
Display [do not display] the authority section of a reply. The
default is to display it.
</p></dd>
<dt><span class="term"><code class="option">+[no]additional</code></span></dt>
<dd><p>
Display [do not display] the additional section of a reply.
The default is to display it.
</p></dd>
<dt><span class="term"><code class="option">+[no]all</code></span></dt>
<dd><p>
Set or clear all display flags.
</p></dd>
<dt><span class="term"><code class="option">+time=T</code></span></dt>
<dd><p>
Sets the timeout for a query to
<em class="parameter"><code>T</code></em> seconds. The default
timeout is 5 seconds.
An attempt to set <em class="parameter"><code>T</code></em> to less
than 1 will result
in a query timeout of 1 second being applied.
</p></dd>
<dt><span class="term"><code class="option">+tries=T</code></span></dt>
<dd><p>
Sets the number of times to try UDP queries to server to
<em class="parameter"><code>T</code></em> instead of the default, 3.
If
<em class="parameter"><code>T</code></em> is less than or equal to
zero, the number of
tries is silently rounded up to 1.
</p></dd>
<dt><span class="term"><code class="option">+retry=T</code></span></dt>
<dd><p>
Sets the number of times to retry UDP queries to server to
<em class="parameter"><code>T</code></em> instead of the default, 2.
Unlike
<em class="parameter"><code>+tries</code></em>, this does not include
the initial
query.
</p></dd>
<dt><span class="term"><code class="option">+ndots=D</code></span></dt>
<dd><p>
Set the number of dots that have to appear in
<em class="parameter"><code>name</code></em> to <em class="parameter"><code>D</code></em> for it to be
considered absolute. The default value is that defined using
the
ndots statement in <code class="filename">/etc/resolv.conf</code>, or 1 if no
ndots statement is present. Names with fewer dots are
interpreted as
relative names and will be searched for in the domains listed in
the
<code class="option">search</code> or <code class="option">domain</code> directive in
<code class="filename">/etc/resolv.conf</code>.
</p></dd>
<dt><span class="term"><code class="option">+bufsize=B</code></span></dt>
<dd><p>
Set the UDP message buffer size advertised using EDNS0 to
<em class="parameter"><code>B</code></em> bytes. The maximum and minimum sizes
of this buffer are 65535 and 0 respectively. Values outside
this range are rounded up or down appropriately.
Values other than zero will cause a EDNS query to be sent.
</p></dd>
<dt><span class="term"><code class="option">+edns=#</code></span></dt>
Set the search list to contain the single domain
<em class="parameter"><code>somename</code></em>, as if specified in
a <span><strong class="command">domain</strong></span> directive in
<code class="filename">/etc/resolv.conf</code>, and enable
search list processing as if the
<em class="parameter"><code>+search</code></em> option were given.
</p></dd>
<dt><span class="term"><code class="option">+[no]edns[=#]</code></span></dt>
<dd><p>
Specify the EDNS version to query with. Valid values
are 0 to 255. Setting the EDNS version will cause a
EDNS query to be sent. <code class="option">+noedns</code> clears the
remembered EDNS version.
are 0 to 255. Setting the EDNS version will cause
a EDNS query to be sent. <code class="option">+noedns</code>
clears the remembered EDNS version. EDNS is set to
0 by default.
</p></dd>
<dt><span class="term"><code class="option">+[no]fail</code></span></dt>
<dd><p>
Do not try the next server if you receive a SERVFAIL.
The default is to not try the next server which is
the reverse of normal stub resolver behavior.
</p></dd>
<dt><span class="term"><code class="option">+[no]identify</code></span></dt>
<dd><p>
Show [or do not show] the IP address and port number
that supplied the answer when the
<em class="parameter"><code>+short</code></em> option is enabled. If
short form answers are requested, the default is not
to show the source address and port number of the
server that provided the answer.
</p></dd>
<dt><span class="term"><code class="option">+[no]ignore</code></span></dt>
<dd><p>
Ignore truncation in UDP responses instead of retrying
with TCP. By default, TCP retries are performed.
</p></dd>
<dt><span class="term"><code class="option">+[no]keepopen</code></span></dt>
<dd><p>
Keep the TCP socket open between queries and reuse
it rather than creating a new TCP socket for each
lookup. The default is <code class="option">+nokeepopen</code>.
</p></dd>
<dt><span class="term"><code class="option">+[no]multiline</code></span></dt>
<dd><p>
Print records like the SOA records in a verbose multi-line
format with human-readable comments. The default is to print
each record on a single line, to facilitate machine parsing
of the <span><strong class="command">dig</strong></span> output.
</p></dd>
<dt><span class="term"><code class="option">+[no]fail</code></span></dt>
Print records like the SOA records in a verbose
multi-line format with human-readable comments. The
default is to print each record on a single line, to
facilitate machine parsing of the <span><strong class="command">dig</strong></span>
output.
</p></dd>
<dt><span class="term"><code class="option">+ndots=D</code></span></dt>
<dd><p>
Do not try the next server if you receive a SERVFAIL. The
default is
to not try the next server which is the reverse of normal stub
resolver
behavior.
</p></dd>
<dt><span class="term"><code class="option">+[no]besteffort</code></span></dt>
Set the number of dots that have to appear in
<em class="parameter"><code>name</code></em> to <em class="parameter"><code>D</code></em>
for it to be considered absolute. The default value
is that defined using the ndots statement in
<code class="filename">/etc/resolv.conf</code>, or 1 if no
ndots statement is present. Names with fewer dots
are interpreted as relative names and will be searched
for in the domains listed in the <code class="option">search</code>
or <code class="option">domain</code> directive in
<code class="filename">/etc/resolv.conf</code> if
<code class="option">+search</code> is set.
</p></dd>
<dt><span class="term"><code class="option">+[no]nsid</code></span></dt>
<dd><p>
Attempt to display the contents of messages which are malformed.
The default is to not display malformed answers.
</p></dd>
<dt><span class="term"><code class="option">+[no]dnssec</code></span></dt>
Include an EDNS name server ID request when sending
a query.
</p></dd>
<dt><span class="term"><code class="option">+[no]nssearch</code></span></dt>
<dd><p>
Requests DNSSEC records be sent by setting the DNSSEC OK bit
(DO)
in the OPT record in the additional section of the query.
</p></dd>
When this option is set, <span><strong class="command">dig</strong></span>
attempts to find the authoritative name servers for
the zone containing the name being looked up and
display the SOA record that each name server has for
the zone.
</p></dd>
<dt><span class="term"><code class="option">+[no]onesoa</code></span></dt>
<dd><p>
Print only one (starting) SOA record when performing
an AXFR. The default is to print both the starting
and ending SOA records.
</p></dd>
<dt><span class="term"><code class="option">+[no]qr</code></span></dt>
<dd><p>
Print [do not print] the query as it is sent. By
default, the query is not printed.
</p></dd>
<dt><span class="term"><code class="option">+[no]question</code></span></dt>
<dd><p>
Print [do not print] the question section of a query
when an answer is returned. The default is to print
the question section as a comment.
</p></dd>
<dt><span class="term"><code class="option">+[no]recurse</code></span></dt>
<dd><p>
Toggle the setting of the RD (recursion desired) bit
in the query. This bit is set by default, which means
<span><strong class="command">dig</strong></span> normally sends recursive
queries. Recursion is automatically disabled when
the <em class="parameter"><code>+nssearch</code></em> or
<em class="parameter"><code>+trace</code></em> query options are used.
</p></dd>
<dt><span class="term"><code class="option">+retry=T</code></span></dt>
<dd><p>
Sets the number of times to retry UDP queries to
server to <em class="parameter"><code>T</code></em> instead of the
default, 2. Unlike <em class="parameter"><code>+tries</code></em>,
this does not include the initial query.
</p></dd>
<dt><span class="term"><code class="option">+[no]rrcomments</code></span></dt>
<dd><p>
Toggle the display of per-record comments in the
output (for example, human-readable key information
about DNSKEY records). The default is not to print
record comments unless multiline mode is active.
</p></dd>
<dt><span class="term"><code class="option">+[no]search</code></span></dt>
<dd>
<p>
Use [do not use] the search list defined by the
searchlist or domain directive in
<code class="filename">resolv.conf</code> (if any). The search
list is not used by default.
</p>
<p>
'ndots' from <code class="filename">resolv.conf</code> (default 1)
which may be overridden by <em class="parameter"><code>+ndots</code></em>
determines if the name will be treated as relative
or not and hence whether a search is eventually
performed or not.
</p>
</dd>
<dt><span class="term"><code class="option">+[no]short</code></span></dt>
<dd><p>
Provide a terse answer. The default is to print the
answer in a verbose form.
</p></dd>
<dt><span class="term"><code class="option">+[no]showsearch</code></span></dt>
<dd><p>
Perform [do not perform] a search showing intermediate
results.
</p></dd>
<dt><span class="term"><code class="option">+[no]sigchase</code></span></dt>
<dd><p>
Chase DNSSEC signature chains. Requires dig be compiled with
-DDIG_SIGCHASE.
</p></dd>
Chase DNSSEC signature chains. Requires dig be
compiled with -DDIG_SIGCHASE.
</p></dd>
<dt><span class="term"><code class="option">+split=W</code></span></dt>
<dd><p>
Split long hex- or base64-formatted fields in resource
records into chunks of <em class="parameter"><code>W</code></em>
characters (where <em class="parameter"><code>W</code></em> is rounded
up to the nearest multiple of 4).
<em class="parameter"><code>+nosplit</code></em> or
<em class="parameter"><code>+split=0</code></em> causes fields not to
be split at all. The default is 56 characters, or
44 characters when multiline mode is active.
</p></dd>
<dt><span class="term"><code class="option">+[no]stats</code></span></dt>
<dd><p>
This query option toggles the printing of statistics:
when the query was made, the size of the reply and
so on. The default behavior is to print the query
statistics.
</p></dd>
<dt><span class="term"><code class="option">+[no]tcp</code></span></dt>
<dd><p>
Use [do not use] TCP when querying name servers. The
default behavior is to use UDP unless an
<code class="literal">ixfr=N</code> query is requested, in which
case the default is TCP. AXFR queries always use
TCP.
</p></dd>
<dt><span class="term"><code class="option">+time=T</code></span></dt>
<dd><p>
Sets the timeout for a query to
<em class="parameter"><code>T</code></em> seconds. The default
timeout is 5 seconds.
An attempt to set <em class="parameter"><code>T</code></em> to less
than 1 will result
in a query timeout of 1 second being applied.
</p></dd>
<dt><span class="term"><code class="option">+[no]topdown</code></span></dt>
<dd><p>
When chasing DNSSEC signature chains perform a top-down
validation. Requires dig be compiled with -DDIG_SIGCHASE.
</p></dd>
<dt><span class="term"><code class="option">+[no]trace</code></span></dt>
<dd>
<p>
Toggle tracing of the delegation path from the root
name servers for the name being looked up. Tracing
is disabled by default. When tracing is enabled,
<span><strong class="command">dig</strong></span> makes iterative queries to
resolve the name being looked up. It will follow
referrals from the root servers, showing the answer
from each server that was used to resolve the lookup.
</p>
<p>
<span><strong class="command">+dnssec</strong></span> is also set when +trace
is set to better emulate the default queries from a
nameserver.
</p>
</dd>
<dt><span class="term"><code class="option">+tries=T</code></span></dt>
<dd><p>
Sets the number of times to try UDP queries to server
to <em class="parameter"><code>T</code></em> instead of the default,
3. If <em class="parameter"><code>T</code></em> is less than or equal
to zero, the number of tries is silently rounded up
to 1.
</p></dd>
<dt><span class="term"><code class="option">+trusted-key=####</code></span></dt>
<dd>
<p>
Specifies a file containing trusted keys to be used with
<code class="option">+sigchase</code>. Each DNSKEY record must be
on its own line.
</p>
<p>
If not specified, <span><strong class="command">dig</strong></span> will look for
<code class="filename">/etc/trusted-key.key</code> then
<code class="filename">trusted-key.key</code> in the current directory.
Specifies a file containing trusted keys to be used
with <code class="option">+sigchase</code>. Each DNSKEY record
must be on its own line.
</p>
<p>
Requires dig be compiled with -DDIG_SIGCHASE.
If not specified, <span><strong class="command">dig</strong></span> will look
for <code class="filename">/etc/trusted-key.key</code> then
<code class="filename">trusted-key.key</code> in the current
directory.
</p>
<p>
Requires dig be compiled with -DDIG_SIGCHASE.
</p>
</dd>
<dt><span class="term"><code class="option">+[no]topdown</code></span></dt>
<dt><span class="term"><code class="option">+[no]ttlid</code></span></dt>
<dd><p>
When chasing DNSSEC signature chains perform a top-down
validation.
Requires dig be compiled with -DDIG_SIGCHASE.
</p></dd>
<dt><span class="term"><code class="option">+[no]nsid</code></span></dt>
Display [do not display] the TTL when printing the
record.
</p></dd>
<dt><span class="term"><code class="option">+[no]vc</code></span></dt>
<dd><p>
Include an EDNS name server ID request when sending a query.
</p></dd>
Use [do not use] TCP when querying name servers. This
alternate syntax to <em class="parameter"><code>+[no]tcp</code></em>
is provided for backwards compatibility. The "vc"
stands for "virtual circuit".
</p></dd>
</dl></div>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545166"></a><h2>MULTIPLE QUERIES</h2>
<a name="id2545181"></a><h2>MULTIPLE QUERIES</h2>
<p>
The BIND 9 implementation of <span><strong class="command">dig </strong></span>
supports
@@ -601,7 +646,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="id2545243"></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 +660,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="id2545266"></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="id2545283"></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 +675,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="id2545320"></a><h2>BUGS</h2>
<p>
There are probably too many query options.
</p>

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004, 2005, 2007-2009, 2014 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,18 +13,18 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: host.1,v 1.28.164.4 2009/07/11 01:43:27 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
.\" Title: host
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
.\" Date: Jun 30, 2000
.\" Date: January 20, 2009
.\" Manual: BIND9
.\" Source: BIND9
.\"
.TH "HOST" "1" "Jun 30, 2000" "BIND9" "BIND9"
.TH "HOST" "1" "January 20, 2009" "BIND9" "BIND9"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@@ -33,7 +33,7 @@
host \- DNS lookup utility
.SH "SYNOPSIS"
.HP 5
\fBhost\fR [\fB\-aCdlnrsTwv\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-N\ \fR\fB\fIndots\fR\fR] [\fB\-R\ \fR\fB\fInumber\fR\fR] [\fB\-t\ \fR\fB\fItype\fR\fR] [\fB\-W\ \fR\fB\fIwait\fR\fR] [\fB\-m\ \fR\fB\fIflag\fR\fR] [\fB\-4\fR] [\fB\-6\fR] {name} [server]
\fBhost\fR [\fB\-aCdlnrsTwv\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-N\ \fR\fB\fIndots\fR\fR] [\fB\-R\ \fR\fB\fInumber\fR\fR] [\fB\-t\ \fR\fB\fItype\fR\fR] [\fB\-W\ \fR\fB\fIwait\fR\fR] [\fB\-m\ \fR\fB\fIflag\fR\fR] [\fB\-4\fR] [\fB\-6\fR] [\fB\-v\fR] [\fB\-V\fR] {name} [server]
.SH "DESCRIPTION"
.PP
\fBhost\fR
@@ -194,6 +194,12 @@ can be used to set the memory usage debugging flags
\fIusage\fR
and
\fItrace\fR.
.PP
The
\fB\-V\fR
option causes
\fBhost\fR
to print the version number and exit.
.SH "IDN SUPPORT"
.PP
If
@@ -213,7 +219,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, 2014 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 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2009-2014 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,8 +15,6 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: host.c,v 1.116.12.3 2009/09/08 23:28:40 marka Exp $ */
/*! \file */
#include <config.h>
@@ -141,6 +139,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(
@@ -163,7 +164,8 @@ show_usage(void) {
" -W specifies how long to wait for a reply\n"
" -4 use IPv4 query transport only\n"
" -6 use IPv6 query transport only\n"
" -m set memory debugging flag (trace|record|usage)\n", stderr);
" -m set memory debugging flag (trace|record|usage)\n"
" -V print version number and exit\n", stderr);
exit(1);
}
@@ -443,10 +445,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 +528,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",
@@ -591,7 +602,13 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
return (result);
}
static const char * optstring = "46ac:dilnm:rst:vwCDN:R:TW:";
static const char * optstring = "46ac:dilnm:rst:vVwCDN:R:TW:";
/*% version */
static void
version(void) {
fputs("host " VERSION "\n", stderr);
}
static void
pre_parse_args(int argc, char **argv) {
@@ -623,9 +640,17 @@ pre_parse_args(int argc, char **argv) {
case 's': break;
case 't': break;
case 'v': break;
case 'V':
version();
exit(0);
break;
case 'w': break;
case 'C': break;
case 'D': break;
case 'D':
if (debugging)
debugtiming = ISC_TRUE;
debugging = ISC_TRUE;
break;
case 'N': break;
case 'R': break;
case 'T': break;
@@ -740,6 +765,9 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) {
if (!lookup->rdtypeset ||
lookup->rdtype != dns_rdatatype_axfr)
lookup->rdtype = dns_rdatatype_any;
#ifdef WITH_IDN
idnoptions = 0;
#endif
list_type = dns_rdatatype_any;
list_addresses = ISC_FALSE;
lookup->rdtypeset = ISC_TRUE;
@@ -792,7 +820,7 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) {
ndots = atoi(isc_commandline_argument);
break;
case 'D':
debugging = ISC_TRUE;
/* Handled by pre_parse_args(). */
break;
case '4':
if (have_ipv4) {
@@ -819,8 +847,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, 2014 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,11 +18,10 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: host.docbook,v 1.16.130.4 2009/01/22 23:46:35 tbox Exp $ -->
<refentry id="man.host">
<refentryinfo>
<date>Jun 30, 2000</date>
<date>January 20, 2009</date>
</refentryinfo>
<refmeta>
@@ -43,6 +42,7 @@
<year>2007</year>
<year>2008</year>
<year>2009</year>
<year>2014</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
@@ -65,6 +65,8 @@
<arg><option>-m <replaceable class="parameter">flag</replaceable></option></arg>
<arg><option>-4</option></arg>
<arg><option>-6</option></arg>
<arg><option>-v</option></arg>
<arg><option>-V</option></arg>
<arg choice="req">name</arg>
<arg choice="opt">server</arg>
</cmdsynopsis>
@@ -238,6 +240,11 @@
<parameter>record</parameter>, <parameter>usage</parameter> and
<parameter>trace</parameter>.
</para>
<para>
The <option>-V</option> option causes <command>host</command>
to print the version number and exit.
</para>
</refsect1>
<refsect1>

View File

@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007-2009, 2014 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.27.164.4 2009/07/11 01:43:27 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -29,10 +29,10 @@
</div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<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 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>] [<code class="option">-v</code>] [<code class="option">-V</code>] {name} [server]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543434"></a><h2>DESCRIPTION</h2>
<a name="id2543454"></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.
@@ -182,9 +182,13 @@
<em class="parameter"><code>record</code></em>, <em class="parameter"><code>usage</code></em> and
<em class="parameter"><code>trace</code></em>.
</p>
<p>
The <code class="option">-V</code> option causes <span><strong class="command">host</strong></span>
to print the version number and exit.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543800"></a><h2>IDN SUPPORT</h2>
<a name="id2543831"></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 +202,12 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543822"></a><h2>FILES</h2>
<a name="id2543853"></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="id2543865"></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-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2009, 2011-2014 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.105.130.3 2008/12/16 02:59:46 jinmei Exp $ */
/* $Id: dig.h,v 1.114 2011/12/07 17:23:28 each Exp $ */
#ifndef DIG_H
#define DIG_H
@@ -117,6 +117,7 @@ struct dig_lookup {
trace, /*% dig +trace */
trace_root, /*% initial query for either +trace or +nssearch */
tcp_mode,
tcp_mode_set,
ip6_int,
comments,
stats,
@@ -168,6 +169,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;
@@ -201,6 +203,7 @@ struct dig_query {
isc_uint32_t second_rr_serial;
isc_uint32_t msg_count;
isc_uint32_t rr_count;
isc_boolean_t ixfr_axfr;
char *servname;
char *userarg;
isc_bufferlist_t sendlist,
@@ -214,8 +217,10 @@ 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_time_t time_recv;
isc_uint64_t byte_count;
isc_buffer_t sendbuf;
};
@@ -273,7 +278,8 @@ extern isc_boolean_t validated;
extern isc_taskmgr_t *taskmgr;
extern isc_task_t *global_task;
extern isc_boolean_t free_now;
extern isc_boolean_t debugging, memdebugging;
extern isc_boolean_t debugging, debugtiming, memdebugging;
extern isc_boolean_t keep_open;
extern char *progname;
extern int tries;
@@ -288,12 +294,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);
@@ -301,7 +311,7 @@ debug(const char *format, ...) ISC_FORMAT_PRINTF(1, 2);
void
check_result(isc_result_t result, const char *msg);
void
isc_boolean_t
setup_lookup(dig_lookup_t *lookup);
void
@@ -325,6 +335,13 @@ setup_libs(void);
void
setup_system(void);
isc_result_t
parse_uint(isc_uint32_t *uip, const char *value, isc_uint32_t max,
const char *desc);
void
parse_hmac(const char *hmacstr);
dig_lookup_t *
requeue_lookup(dig_lookup_t *lookold, isc_boolean_t servers);

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2004-2007, 2010 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004-2007, 2010, 2013, 2014 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,18 +12,18 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: nslookup.1,v 1.14.150.2 2010/02/23 01:44:49 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
.\" Title: nslookup
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
.\" Date: Jun 30, 2000
.\" Date: January 24, 2014
.\" Manual: BIND9
.\" Source: BIND9
.\"
.TH "NSLOOKUP" "1" "Jun 30, 2000" "BIND9" "BIND9"
.TH "NSLOOKUP" "1" "January 24, 2014" "BIND9" "BIND9"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@@ -61,6 +61,12 @@ nslookup \-query=hinfo \-timeout=10
.fi
.RE
.sp
.PP
The
\fB\-version\fR
option causes
\fBnslookup\fR
to print the version number and immediately exits.
.SH "INTERACTIVE COMMANDS"
.PP
\fBhost\fR [server]
@@ -216,6 +222,11 @@ Tell the name server to query other servers if it does not have the information.
(Default = recurse; abbreviation = [no]rec)
.RE
.PP
\fBndots=\fR\fInumber\fR
.RS 4
Set the number of dots (label separators) in a domain that will disable searching. Absolute names always stop searching.
.RE
.PP
\fBretry=\fR\fInumber\fR
.RS 4
Set the number of retries to number.
@@ -254,5 +265,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, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
.br

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