Compare commits

...

4803 Commits

Author SHA1 Message Date
Evan Hunt
3f3dd451af Merge branch 'prep-release-v9_9_13' into 'v9_9'
prep 9.9.13

See merge request isc-projects/bind9!468
2018-07-03 01:28:20 -04:00
Tinderbox User
8a80eeaf54 prep 9.9.13 2018-07-03 05:23:24 +00:00
Evan Hunt
d75765e897 Merge branch 'fix-atffile' into 'v9_9'
fix Atffile/Kyuafile

See merge request isc-projects/bind9!457
2018-06-29 14:05:20 -04:00
Evan Hunt
27156cfaca 'lib' was accidentally removed from the top level Atf/Kyua files 2018-06-29 10:57:20 -07:00
Evan Hunt
ad42413576 Merge branch 'prep-release-v9_9_13rc2' into 'v9_9'
prep 9.9.13rc2

See merge request isc-projects/bind9!453
2018-06-28 02:00:28 -04:00
Tinderbox User
f65a6195b0 prep 9.9.13rc2 2018-06-28 05:55:19 +00:00
Evan Hunt
9a06973e09 Merge branch '339-issues-with-large-journal-entries-v9_11-v9_9' into 'v9_9'
Fix handling of large journal entries.

See merge request isc-projects/bind9!448
2018-06-27 22:45:50 -04:00
Evan Hunt
c36dc130f5 CHANGES, release note
(cherry picked from commit 2aee33f412)
(cherry picked from commit 470b8612b2)
2018-06-27 19:40:33 -07:00
Evan Hunt
dd685955ee use ISC_INT32_MAX as maximum
(cherry picked from commit 65bf99c85a)
2018-06-27 19:36:47 -07:00
Witold Kręcicki
200a3fef3c Fallback to normal procedure if creating of ixfr-from-differences fails
(cherry picked from commit b1254430df)
(cherry picked from commit e92d5421c3)
2018-06-27 19:36:47 -07:00
Witold Kręcicki
e7506b6a70 Fix some issues with large journal entries
(cherry picked from commit 0db7130f2b)
(cherry picked from commit 1919f5c937)
2018-06-27 19:36:46 -07:00
Mark Andrews
52013cbe27 Merge branch '366-missing-dereference-in-require-statement-v9_9' into 'v9_9'
Resolve "Missing dereference in REQUIRE statement?"

See merge request isc-projects/bind9!443
2018-06-27 08:02:19 -04:00
Mark Andrews
058f5a5da1 cfg_parse_boolean's REQUIRE test for ret was incomplete.
(cherry picked from commit f1ee5e4a16)
2018-06-27 17:37:56 +10:00
Michał Kępień
1ce7700203 Merge branch '321-only-request-permitted-capabilities-in-non-libcap-builds-v9_9' into 'v9_9'
[v9_9] Only request permitted capabilities in non-libcap builds

See merge request isc-projects/bind9!420
2018-06-26 08:03:31 -04:00
Michał Kępień
54ae323484 Add CHANGES entry
4979.	[bug]		Non-libcap builds were not checking whether all
			requested capabilities are present in the permitted
			capability set. [GL #321]

(cherry picked from commit 731b003854)
2018-06-26 13:21:02 +02:00
Michał Kępień
bdf93ee789 Only request permitted capabilities in non-libcap builds
While libcap-enabled builds check whether any capability named requests
is within the permitted capability set, non-libcap builds just try
requesting them, which potentially causes a misleading error message to
be output ("Operation not permitted: please ensure that the capset
kernel module is loaded").  Ensure non-libcap builds also check whether
any requested capability is within the permitted capability set.

(cherry picked from commit 8c66f32e53)
2018-06-26 13:20:55 +02:00
Evan Hunt
c6ff9f1d19 Merge branch '247-log-the-remaining-v-info-at-startup' into 'v9_9'
Resolve "Log the remaining -V info at startup"

Closes #247

See merge request isc-projects/bind9!249
2018-06-25 15:23:23 -07:00
Mark Andrews
22dbfe7ae2 log the remaining -V info at startup 2018-06-25 15:23:19 -07:00
Mark Andrews
d15e819ad8 Merge branch '343-casecompare-of-ninfo-tkey-txt-have-wrong-return-type-v9_9' into 'v9_9'
Resolve "casecompare of NINFO, TKEY, TXT have wrong return type"

See merge request isc-projects/bind9!407
2018-06-24 23:20:39 -04:00
Mark Andrews
6f9e27de26 fix casecompare return type for ninfo, tkey, txt
(cherry picked from commit 3ba1d1e43b)
2018-06-25 13:10:39 +10:00
Ondřej Surý
2b4ff6d414 Merge branch 'release-v9_9_13rc1' into 'v9_9'
Merge v9.9.13rc1 release into v9_9 branch

See merge request isc-projects/bind9!398
2018-06-21 13:13:18 -04:00
Ondřej Surý
f1d0cc94cb Revert changes to the test suite in v9.9.13rc1 that would make the unit tests to fail 2018-06-21 18:59:53 +02:00
Evan Hunt
6e9b23663d prepare 9.9.13rc1 2018-06-21 18:59:53 +02:00
Michał Kępień
7700fa6c65 Merge branch '341-constify-dns_rdata_tostruct-v9_9' into 'v9_9'
[v9_9] constify dns_rdata_tostruct

See merge request isc-projects/bind9!383
2018-06-15 03:34:54 -04:00
Mark Andrews
66c6414b97 Declare the 'rdata' argument for dns_rdata_tostruct() to be const
(cherry picked from commit abb2fd1027)
2018-06-15 08:52:54 +02:00
Ondřej Surý
310fdc4a0f Merge branch '309-fix-default-recursion-v9_9' into 'v9_9'
Resolve "Recursion improperly allowed by default"

See merge request isc-projects/bind9!376
2018-06-14 08:54:34 -04:00
Evan Hunt
010db17e15 add a regression test for default allow-recursion settings 2018-06-14 14:48:46 +02:00
Evan Hunt
fae03da5cb allow-recursion could incorrectly inherit from the default allow-query 2018-06-14 14:48:46 +02:00
Michał Kępień
c3a08d84b7 Merge branch '298-fix-dname-handling-in-dnssec-tools-v9_9' into 'v9_9'
[v9_9] Fix DNAME handling in DNSSEC tools

See merge request isc-projects/bind9!366
2018-06-13 07:29:28 -04:00
Michał Kępień
a34e955b83 Add CHANGES entry
4971.	[bug]		dnssec-signzone and dnssec-verify did not treat records
			below a DNAME as out-of-zone data. [GL #298]

(cherry picked from commit de5916a7bf)
2018-06-13 13:11:18 +02:00
Mark Andrews
7e4e19c2ad Pull out the saving of the zone cut into a separate function
(cherry picked from commit ec75a07023)
2018-06-13 13:11:16 +02:00
Michał Kępień
b3bee6cd37 Treat records below a DNAME as out-of-zone data
DNAME records indicate bottom of zone and thus no records below a DNAME
should be DNSSEC-signed or included in NSEC(3) chains.  Add a helper
function, has_dname(), for detecting DNAME records at a given node.
Prevent signing DNAME-obscured records.  Check that DNAME-obscured
records are not signed.

(cherry picked from commit 9a4145168c)
2018-06-13 13:11:13 +02:00
Ondřej Surý
0aca13a796 Merge branch '332-v9_9-move-lib-irs-to-lib-export-irs' into 'v9_9'
Resolve "v9_9 move lib/irs to lib/export/irs"

See merge request isc-projects/bind9!359
2018-06-13 04:59:38 -04:00
Mark Andrews
64b57ee788 add Atffile{.in} and Kyuafile{.in} 2018-06-13 14:35:58 +10:00
Mark Andrews
5260f416fd make lib/Atffile and lib/Kyuafile dependent on exportlib being enabled or not 2018-06-13 14:32:13 +10:00
Mark Andrews
5a21b2b764 update 2018-06-12 15:08:12 +10:00
Mark Andrews
6b8ac24be3 move lib/irs to lib/export/irs 2018-06-12 15:03:40 +10:00
Evan Hunt
a62a9f2a2a Merge branch 'fix-strtok' into 'v9_9' 2018-06-09 23:04:49 -07:00
Evan Hunt
535aa0e034 complete strtok fix
(cherry picked from commit 74c3b9d3b2)
2018-06-09 23:04:47 -07:00
Evan Hunt
d72107d9d2 Merge branch 'fix-strtok' into 'v9_9' 2018-06-09 22:37:26 -07:00
Evan Hunt
212ed88323 use strtok() instead of strtok_r() in command line processing
(cherry picked from commit 1734f1b3b9)
2018-06-09 22:37:18 -07:00
Evan Hunt
6927f92249 Merge branch 'validate-glue' into v9_9 2018-06-08 11:52:16 -07:00
Evan Hunt
c31d32434d ensure we try to validate glue records so RRSIG TTLs will be capped 2018-06-08 11:43:20 -07:00
Mukund Sivaraman
d238f08c66 Add CHANGES entry
(cherry picked from commit dfd73d7e16)
2018-06-08 11:05:20 -07:00
Mukund Sivaraman
ad7141d2ec Add system test
(cherry picked from commit 303391ea41)
2018-06-08 11:05:20 -07:00
Mukund Sivaraman
6cd4cb3d2a Don't validate non-pending glue when adding to the additional section
(cherry picked from commit 31bd3147d1)
2018-06-08 11:05:19 -07:00
Mark Andrews
a6b573f324 Merge branch '325-add-cfg_parse_buffer4-v9_10-v9_9' into 'v9_9'
Resolve "add cfg_parse_buffer4"

Closes #325

See merge request isc-projects/bind9!353
2018-06-08 17:44:04 +10:00
Mark Andrews
4812471d45 add cfg_parse_buffer4
(cherry picked from commit b313084af2)
(cherry picked from commit 51c78898fb)
2018-06-08 17:43:51 +10:00
Mark Andrews
9101eeb423 Merge branch '322-add-support-for-marking-options-as-deprecated-v9_10-v9_9' into 'v9_9'
Resolve "add support for marking options as deprecated."

Closes #322

See merge request isc-projects/bind9!351
2018-06-08 16:08:52 +10:00
Mark Andrews
18700f66be Add support for marking a option as deprecated.
(cherry picked from commit befff9452c)
(cherry picked from commit 99ac87cac4)
2018-06-08 16:08:39 +10:00
Mark Andrews
1ffcbd8681 Merge branch '240-multiple-rrsigs-on-some-records-in-signed-zone-even-though-only-one-key-is-ever-active-at-a-time-v9_12-v9_11-v9_10-v9_9' into 'v9_9'
Resolve "Multiple RRSIGs on some records in signed zone even though only one key is ever active at a time"

Closes #240

See merge request isc-projects/bind9!231
2018-06-06 17:56:09 +10:00
Mark Andrews
a73702c9ec add CHANGES note
(cherry picked from commit ba7a343156)
(cherry picked from commit 00f1956c9e)
(cherry picked from commit 1c8aa28455)
(cherry picked from commit b331bb8038)
2018-06-06 17:55:52 +10:00
Mark Andrews
0c1fd3b8e1 add duplicate signature test
(cherry picked from commit 0db5b087ed)
(cherry picked from commit 1783fa5aba)
(cherry picked from commit 1710e5cfca)
(cherry picked from commit abbfbeffa6)
2018-06-06 17:55:50 +10:00
Mark Andrews
eb69786ff6 add support -T sigvalinsecs
(cherry picked from commit 87a3dc8ab9)
(cherry picked from commit 69340b5ac5)
(cherry picked from commit dd05287a31)
(cherry picked from commit ba76a92338)
2018-06-06 17:51:35 +10:00
Mark Andrews
3408ab391a only sign with other keys when deleting a key if there are not already existing signature for the deleted algorithm
(cherry picked from commit 0667bf7ae7)
(cherry picked from commit c1e342cedb)
(cherry picked from commit 298372d8d2)
(cherry picked from commit 5686e3bb6a)
2018-06-06 17:47:51 +10:00
Mark Andrews
680d07afda Merge branch '316-move-named-t-processing-to-its-own-function-v9_9' into 'v9_9'
Resolve "move named -T processing to its own function"

Closes #316

See merge request isc-projects/bind9!343
2018-06-06 15:21:46 +10:00
Mark Andrews
3768d8dbe4 add CHANGES
(cherry picked from commit ef7401e4a7)
2018-06-06 15:21:37 +10:00
Mark Andrews
af6deb25ab move -T parsing to its own function
(cherry picked from commit b491ceeb50)
2018-06-06 15:21:09 +10:00
Evan Hunt
fbffaba669 Merge branch '302-use-ip-for-ifconfig' into 'v9_9'
Resolve "ifconfig.sh doesn't work on centos7"

Closes #302

See merge request isc-projects/bind9!330
2018-06-05 21:51:08 -07:00
Evan Hunt
ef68af811c CHANGES
(cherry picked from commit 71f2335f5a)
(cherry picked from commit 7f16672ab8)
2018-06-05 21:51:05 -07:00
Evan Hunt
1e56d78c6e use "ip" on linux, falling back to "ifconfig" when it isn't available
(cherry picked from commit d7c5400798)
(cherry picked from commit 3e1a0c2b62)
2018-06-05 21:51:05 -07:00
Evan Hunt
b5dc325065 expand address range in ifconfig.sh to include more than one subnet
(cherry picked from commit 41b29a436b)
(cherry picked from commit e4487b160c)
2018-06-05 21:51:03 -07:00
Evan Hunt
7236e6e931 Merge branch 'backport-sentinel' into 'v9_9' 2018-06-04 21:38:14 -07:00
Evan Hunt
a37706ebb7 add prerequisite check
(cherry picked from commit e229ae6999)
(cherry picked from commit a5ac84370c)
2018-06-04 21:38:07 -07:00
Mark Andrews
69d3b87855 CHANGES entry for root-key-sentinel
(cherry picked from commit 2845d7160e)
(cherry picked from commit af267c4da9)
(cherry picked from commit 106fc761de)
(cherry picked from commit bfbf3baff7)
2018-06-04 21:38:06 -07:00
Mark Andrews
4b4d9b37fb add release note for root-key-sentinel
(cherry picked from commit e20790c956)
(cherry picked from commit edb761b08c)
(cherry picked from commit b3e93d1b0f)
(cherry picked from commit 56628dffc7)
2018-06-04 21:38:06 -07:00
Mark Andrews
9aba5ca84b add system test for root-key-sentinel
(cherry picked from commit a23b305e6b)
(cherry picked from commit b9e6b124aa)
(cherry picked from commit 9448c4fd21)
(cherry picked from commit 8f139956ba)
2018-06-04 21:38:04 -07:00
Mark Andrews
3890b5d7ba add named.conf option root-key-sentinel
(cherry picked from commit 68e9315c7d)
(cherry picked from commit ee763ef281)
(cherry picked from commit 9a5f308287)
(cherry picked from commit 468a3bcdac)
2018-06-04 21:30:33 -07:00
Mark Andrews
2f20e10942 detect and process root-key-sentinel labels.
(cherry picked from commit 8fc9f64df9)
(cherry picked from commit 7111eff80c)
(cherry picked from commit afa97c6552)
(cherry picked from commit a624e884d4)
2018-06-04 20:06:20 -07:00
Evan Hunt
490e81bfbd clean up CHANGES numbers 2018-06-04 19:44:00 -07:00
Evan Hunt
6323a1cce8 Merge branch '310-check-changes-needs-to-be-called-for-v9_9' into 'v9_9'
Resolve "check-changes needs to be called for v9_9"

See merge request isc-projects/bind9!337
2018-06-04 19:26:37 -07:00
Mark Andrews
9561c95669 call util/check-changes in setup
(cherry picked from commit c0e69cc406)
(cherry picked from commit 022b2b481f)
2018-06-04 19:26:30 -07:00
Mark Andrews
353f7d1bf5 Merge branch '281-dont-insert-extra-space-between-nsec3-nexthash-and-typemap-v9_9' into 'v9_9'
Resolve "9.11.3-S1 totext_nsec3 inserts a redundant white space between next hash and type map [ISC-support #12887]"

See merge request isc-projects/bind9!313
2018-06-04 13:35:13 +10:00
Mark Andrews
a958e0cf7e Add CHANGES note
(cherry picked from commit f98d8115e3)
2018-06-04 13:35:07 +10:00
Mukund Sivaraman
d1af2db397 Add NSEC3 fromtext/totext unittests
(cherry picked from commit b0d9198e03)
2018-06-04 13:34:46 +10:00
Mukund Sivaraman
2420b8f5fc Don't insert 2nd space between NSEC3 nexthash and typemap fields
(cherry picked from commit d4ea1edd2c)
2018-06-04 13:34:46 +10:00
Mark Andrews
24dd75db91 fix merge error 2018-05-29 10:02:29 +10:00
Mark Andrews
fc0b3d5397 Merge branch '286-new-cppcheck-detected-errors-v9_9' into 'v9_9'
Resolve "New cppcheck-detected errors"

See merge request isc-projects/bind9!324
2018-05-29 09:56:11 +10:00
Mark Andrews
f89f550259 add CHANGES note
(cherry picked from commit e9134b15eb)
2018-05-29 09:55:50 +10:00
Mark Andrews
20d279571f work around cppcheck false positive
(cherry picked from commit cb5802e854)
2018-05-29 09:55:25 +10:00
Evan Hunt
1c0977255c Merge branch '245-fix-test-color' into 'v9_9'
Resolve "rpz test fails to launch ns2 on openbsd"

Closes #245

See merge request isc-projects/bind9!321
2018-05-25 13:02:08 -07:00
Evan Hunt
ac7b05c231 fix openbsd color-display problem in system test output
(cherry picked from commit 1e31fdb76d)
2018-05-25 13:02:01 -07:00
Mark Andrews
1adf66455e Merge branch '290-documentation-error-missing-v9_9' into 'v9_9'
Resolve "Documentation error - missing "};""

Closes #290

See merge request isc-projects/bind9!318
2018-05-25 13:12:44 +10:00
Mark Andrews
99d4760f0e add closing '};'
(cherry picked from commit ab22160a1c)
2018-05-25 13:12:43 +10:00
Evan Hunt
cbd40d7454 Merge branch '283-ensure-there-is-a-blank-line-before-a-changes-entry-and-a-release-marker' into 'v9_9'
Resolve "ensure there is a blank line before a changes entry and a release marker."

Closes #283

See merge request isc-projects/bind9!311
2018-05-23 17:59:08 -07:00
Mark Andrews
af973bfe8b ensure there is a blank line before a changes entry and a release marker
(cherry picked from commit c91770549f)
(cherry picked from commit d87eb5804d)
2018-05-23 17:59:05 -07:00
Evan Hunt
fe663aa18f Merge branch 'generate-notes-txt' into 'v9_9'
use w3m to generate notes.txt as part of the doc build

See merge request isc-projects/bind9!310
2018-05-23 10:03:49 -07:00
Evan Hunt
f2dc9a516f copyrights
(cherry picked from commit 58fd94cbce)
2018-05-23 09:58:57 -07:00
Evan Hunt
69568409c4 use w3m to generate notes.txt as part of the doc build
(cherry picked from commit 7c955e0eb8)
(cherry picked from commit 5b2390e016)
(cherry picked from commit 4729357675)
(cherry picked from commit 0bb2c62fd5)
2018-05-23 09:58:57 -07:00
Mark Andrews
6bf149bd16 Merge branch '273-add-home-arpa-to-list-of-empty-zones-rfc-8375-v9_9' into 'v9_9'
Resolve "Add "HOME.ARPA" to list of empty zones (RFC 8375)"

Closes #273

See merge request isc-projects/bind9!297
2018-05-23 11:31:05 +10:00
Mark Andrews
26e0694aee add HOME.ARPA to the list of empty zones
(cherry picked from commit 10dd0b3efe)
2018-05-23 11:30:55 +10:00
Evan Hunt
0e8c36d1d8 Merge branch 'fix-kit-v9_9' into 'v9_9'
use the correct repository, and get archive by tag not hash

See merge request isc-projects/bind9!304
2018-05-21 13:57:23 -07:00
Evan Hunt
dfa6c9a564 use the correct repository, and get archive by tag not hash
(cherry picked from commit 999e3233f3)
2018-05-21 13:57:23 -07:00
Mark Andrews
091fb83fbc Merge branch '238-isc_net_recvoverflow-support-is-broken-v9_9' into 'v9_9'
Resolve "ISC_NET_RECVOVERFLOW support is broken."

Closes #238

See merge request isc-projects/bind9!226
2018-05-18 16:20:02 +10:00
Mark Andrews
8c9d54c99c ISC_SOCKEVENTATTR_TRUNC was not be set
(cherry picked from commit 6bff1768cf)
2018-05-18 16:19:19 +10:00
Mark Andrews
6a67e87735 Merge branch '274-print-c-9-12-and-earlier-v9_9' into 'v9_9'
Resolve "print.c 9.12 and earlier"

See merge request isc-projects/bind9!298
2018-05-18 12:51:55 +10:00
Mark Andrews
53c85ca373 add CHANGES note
(cherry picked from commit 3f3d424a70)
2018-05-18 12:51:49 +10:00
Mark Andrews
9789729a43 look for '\0'
(cherry picked from commit d03a81c265)
2018-05-18 12:51:20 +10:00
Mark Andrews
593933bd5f add some %f format tests
(cherry picked from commit f5233ba5de)
2018-05-18 12:51:20 +10:00
Mark Andrews
d4ae45a2b7 don't produce a false negative for %z with CFLAGS=-Werror
(cherry picked from commit 800012de23)
2018-05-18 12:51:20 +10:00
Evan Hunt
bcb212bf13 Merge branch '233-clarify-documentation-of-update-policy-tcp-self-and-6to4-self' into 'v9_9'
Resolve "Clarify documentation of update-policy tcp-self and 6to4-self"

Closes #233

See merge request isc-projects/bind9!227
2018-05-15 13:20:53 -07:00
Evan Hunt
88a597de6e rewrite the update-policy documentation
- clarify the behavior of the name and identity fields for various
  rule types, particularly tcp-self and 6to4-self.

(cherry picked from commit dea89f2a52)
2018-05-15 13:20:51 -07:00
Michał Kępień
92a360ab67 Merge branch '252-9-9-sigs_test-updatesigs-is-failing-v9_9' into 'v9_9'
[v9_9] Skip lib/dns/tests/sigs_test for builds without DNSSEC support

See merge request isc-projects/bind9!276
2018-05-14 03:41:02 -04:00
Michał Kępień
7f38fd70c1 Extend the list of headers included by lib/dns/tests/sigs_test.c
(cherry picked from commit 1e1ed6627b)
2018-05-14 09:34:56 +02:00
Mark Andrews
77cd6fe0f5 return untested if not built with OPENSSL or PKCS11CRYPTO
(cherry picked from commit 9d8bab64ad)
2018-05-14 09:34:42 +02:00
Evan Hunt
08f84c8fab Merge branch '135-add-basic-unit-tests-for-update_sigs' into 'v9_9'
Add basic unit tests for update_sigs()

Closes #135

See merge request isc-projects/bind9!112
2018-05-10 09:50:33 -07:00
Michał Kępień
dfe3c55ec8 Add CHANGES entry
4939.	[test]		Add basic unit tests for update_sigs(). [GL #135]

(cherry picked from commit 4885809eb9)
(cherry picked from commit 1f9b0cbc63)
(cherry picked from commit d6b8bca379)
(cherry picked from commit 6338ca0849)
2018-05-10 09:45:51 -07:00
Michał Kępień
e41d2a195e Define basic test cases for dns__zone_updatesigs()
Add some basic test cases ensuring dns__zone_updatesigs() behaves as
expected.

(cherry picked from commit 8b9d2c27b4)
(cherry picked from commit 3e93e4bb62)
(cherry picked from commit 505267f320)
(cherry picked from commit 5a957ec9e1)
2018-05-10 09:45:50 -07:00
Michał Kępień
02da03b17f Add a framework for dns__zone_updatesigs() unit tests
Add a new ATF test, sigs_test, containing everything required to start
defining test cases for dns__zone_updatesigs().  The framework is
written in a way which ensures that changes to zone database applied by
any dns__zone_updatesigs() invocation are preserved between subsequent
checks.

(cherry picked from commit 1f10186476)
(cherry picked from commit 3dde7c42db)
(cherry picked from commit e787e54ea1)
(cherry picked from commit 7394dd8732)
2018-05-10 09:45:48 -07:00
Michał Kępień
781105c046 Move find_zone_keys() to lib/dns/zone_p.h
Rename find_zone_keys() to dns__zone_findkeys() and move it to
lib/dns/zone_p.h, so that it can be used in unit tests.  Add a comment
describing the purpose of this function.

(cherry picked from commit d7143986b1)
(cherry picked from commit fc0e99c7d7)
(cherry picked from commit a6be59ce08)
(cherry picked from commit b8720b8f50)
2018-05-10 09:42:39 -07:00
Michał Kępień
b767528e13 Move update_sigs() to lib/dns/zone_p.h
Rename update_sigs() to dns__zone_updatesigs() and move it to
lib/dns/zone_p.h, so that it can be unit tested.  Add a comment
describing the purpose of this function.

(cherry picked from commit b1947cee82)
(cherry picked from commit 4d06f50ba8)
(cherry picked from commit 5c71a025c6)
(cherry picked from commit ae03a5c1fa)
2018-05-10 09:42:13 -07:00
Michał Kępień
645c43d09c Move zonediff_t to lib/dns/zone_p.h
Rename zonediff_t to dns__zonediff_t and move it to lib/dns/zone_p.h, so
that unit tests can be written for functions taking pointers to
structures of this type as arguments.

(cherry picked from commit ace465a9f9)
(cherry picked from commit ea15c54d8a)
(cherry picked from commit 5712d9528f)
(cherry picked from commit 5f0b4eaf70)
2018-05-10 09:42:13 -07:00
Michał Kępień
0d126920e6 Add lib/dns/zone_p.h
Add a new private header file, lib/dns/zone_p.h, which will hold type
definitions and function prototypes not meant to be exported by libdns,
but required by zone-related unit tests.

(cherry picked from commit c1bc3be806)
(cherry picked from commit 2b0add6d1a)
(cherry picked from commit 536d6dc0c5)
(cherry picked from commit 27f777c61a)
2018-05-10 09:42:13 -07:00
Michał Kępień
f7a84380dd Add a helper function to facilitate preparing dns_diff_t structures
Implement dns_test_difffromchanges(), a function which enables preparing
a dns_diff_t structure from a mostly-textual representation of zone
database changes to be applied.  This will improve readability of test
case definitions by allowing contents of a dns_diff_t structure, passed
e.g. to update_sigs(), to be represented in a human-friendly manner.

(cherry picked from commit 3c22af0d35)
(cherry picked from commit d4c603eb8a)
(cherry picked from commit 1f454b8d91)
(cherry picked from commit 7193496b6e)
2018-05-10 09:42:13 -07:00
Michał Kępień
1eec107a94 Rename dns_test_rdata_fromstring() to dns_test_rdatafromstring()
Remove the underscore from "rdata_fromstring" so that all helper
functions for libdns tests use a common naming covention.

(cherry picked from commit 2980cbd55f)
(cherry picked from commit 107102d333)
(cherry picked from commit 5097723d1b)
(cherry picked from commit 94caf8ebdb)
2018-05-10 09:42:13 -07:00
Michał Kępień
c7d9100dcb Rework dns_test_makezone()
The dns_test_makezone() helper function always assigns the created zone
to some view, which is not always necessary and complicates cleanup of
non-managed zones as they are required not to be assigned to any view.

Rework dns_test_makezone() in order to make it easier to use in unit
tests operating on non-managed zones.  Use dns_name_fromstring() instead
of dns_name_fromtext() to simplify code.  Do not use the CHECK() macro
and add comments to make code flow simpler to follow.  Use
dns_test_makeview() instead of dns_view_create().

Adjust existing unit tests using this function so that they still pass.

(cherry picked from commit bfbeef3609)
(cherry picked from commit f70c02d2c2)
(cherry picked from commit d45ee39bae)
(cherry picked from commit d76fdb8718)
2018-05-10 09:42:13 -07:00
Ondřej Surý
a1e279669b Merge branch 'gitlab-ci-amd64-v9_9' into 'v9_9'
Tag docker images with appropriate architectures

See merge request isc-projects/bind9!258
2018-05-10 03:35:38 -04:00
Ondřej Surý
b6fd49c749 Tag docker images with appropriate architectures
(cherry picked from commit ab112d2c4f)
2018-05-10 09:28:10 +02:00
Ondřej Surý
98fb050c25 Merge branch '236-silence-cppcheck-issues-in-lib-dns-dst_parse-c-v9_9' into 'v9_9'
[v9_9] Resolve "silence cppcheck issues in lib/dns/dst_parse.c"

See merge request isc-projects/bind9!243
2018-05-03 11:23:39 -04:00
Mark Andrews
d1d04fdffd simplify mask construction
(cherry picked from commit 22fab3199f)
2018-05-03 17:17:38 +02:00
Evan Hunt
beb08ef52d Merge branch '208-dig-doc' into 'v9_9'
Resolve "Added -t TYPEnn description to dig"

Closes #208

See merge request isc-projects/bind9!221
2018-04-27 00:01:44 -07:00
Paul Hoffman
33be1f76cb add -t type### description to the dig man page
(cherry picked from commit 2d957c6b9f)
(cherry picked from commit d742db122e)
(cherry picked from commit efcad103e7)
2018-04-27 00:01:41 -07:00
Evan Hunt
acabf5a689 Merge branch '159-improve-handling-of-inline-signed-zones-with-missing-signing-keys' into 'v9_9'
Improve handling of inline signed zones with missing signing keys

Closes #159

See merge request isc-projects/bind9!133
2018-04-25 12:24:51 -07:00
Michał Kępień
cac0073e5b Add CHANGES entries
4916.	[bug]		Not creating signing keys for an inline signed zone
			prevented changes applied to the raw zone from being
			reflected in the secure zone until signing keys were
			made available. [GL #159]

4915.	[bug]		Bumped signed serial of an inline signed zone was
			logged even when an error occurred while updating
			signatures. [GL #159]

(cherry picked from commit 7d2c09c905)
(cherry picked from commit e4995efe24)
(cherry picked from commit 821c27bb7c)
2018-04-25 12:24:39 -07:00
Michał Kępień
8b0f7f1b8d Apply raw zone deltas to yet unsigned secure zones
When inline signing is enabled for a zone without creating signing keys
for it, changes subsequently applied to the raw zone will not be
reflected in the secure zone due to the dns_update_signaturesinc() call
inside receive_secure_serial() failing.  Given that an inline zone will
be served (without any signatures) even with no associated signing keys
being present, keep applying raw zone deltas to the secure zone until
keys become available in an attempt to follow the principle of least
astonishment.

(cherry picked from commit 6acf326969)
(cherry picked from commit 8a58a60772)
(cherry picked from commit fcbdeed802)
2018-04-25 12:24:36 -07:00
Michał Kępień
0d4750a8e9 Only log bumped signed serial after a successful secure zone update
If a raw zone is modified, but the dns_update_signaturesinc() call in
receive_secure_serial() fails, the corresponding secure zone's database
will not be modified, even though by that time a message containing the
bumped signed serial will already have been logged.  This creates
confusion, because a different secure zone version will be served than
the one announced in the logs.  Move the relevant dns_zone_log() call so
that it is only performed if the secure zone's database is modified.

(cherry picked from commit cfbc8e264d)
(cherry picked from commit cdc7ab42b1)
(cherry picked from commit c042ec70d2)
2018-04-25 12:19:30 -07:00
Evan Hunt
eaf4b8b4fc Merge branch '171-lgtm-issues-v9_9' into 'v9_9'
Resolve "problems detected by LGTM static analyzer"

Closes #171

See merge request isc-projects/bind9!213
2018-04-22 13:01:18 -07:00
Evan Hunt
0795311bce remove unnecessary comparison
(cherry picked from commit 8b1baa10ee)
(cherry picked from commit f9da5a735e)
2018-04-22 13:01:08 -07:00
Evan Hunt
d0410a0783 silence warnings about unnecessary comparisons
- these are cases where result has been explicitly set, so
  if (result != ISC_R_SUCCESS) is unnecessary

(cherry picked from commit e00eb55cd2)
(cherry picked from commit 0dcff8f93c)
2018-04-22 13:01:08 -07:00
Evan Hunt
d5456e7318 add header guards in files that were missing them
(cherry picked from commit 4247477b61)
(cherry picked from commit 7f61e9d50e)
2018-04-22 13:01:07 -07:00
Evan Hunt
2515c9d6ef add header guard when generating bind.keys.h
(cherry picked from commit bfbe6925df)
(cherry picked from commit f7755696a5)
2018-04-22 13:00:47 -07:00
Evan Hunt
ade69509e6 change "key" to "tsigkey" to silence "short global name" warning
(cherry picked from commit 0cc7aa250e)
(cherry picked from commit 9d99bf0f4b)
2018-04-22 12:59:06 -07:00
Evan Hunt
54f07c3b1a fix shadowed global variables
(cherry picked from commit 9ca3ab1168)
(cherry picked from commit 694a1486ca)
2018-04-22 12:59:06 -07:00
Evan Hunt
a3c1b18794 fix duplicate include guard in dnsconf.h
- IMHO we should consider removing dnsconf.c and deprecating the
  /etc/dns.conf file, though, as I don't think it's likely anyone
  is using it

(cherry picked from commit a08ba418ef)
(cherry picked from commit b9db91aa64)
2018-04-22 12:59:06 -07:00
Evan Hunt
54c3af7598 Merge branch '193-fix-variable-definitions-in-bin-tests-Makefile.in-v9_9' into 'v9_9'
Fix variable definitions in bin/tests/Makefile.in

Closes #193

See merge request isc-projects/bind9!183
2018-04-10 20:06:04 -07:00
Evan Hunt
0e2b568b69 Alter distclean rule to prevent recursing into the same directory twice
Commit f87e0c03ee removed the "system" directory from the TESTDIRS
variable in bin/tests/Makefile.in in an attempt to fix "make distclean"
which was broken since commit 0d784de16a.  However, this change
prevented any system tests from being run when "make test" is invoked.

We now put it back into both SUBDIRS and TESTDIRS, but with a modified
rule to check for the existence of a Makefile in each subdirectory before
trying to run make there. This prevents "make distclean" from trying to
run again in a directory where it's already been run.

(cherry picked from commit 93ee6b8a22)
2018-04-10 20:05:59 -07:00
Michał Kępień
5b2b47336d Fail CI pipeline when "make test" does not run any system tests
Apart from ensuring "make test" returns 0, also check whether any system
test output was generated as a result of running it.  This prevents the
CI job running system tests from succeeding unless it actually tests
something.

(cherry picked from commit 80ab2c0f22)
2018-04-10 20:04:56 -07:00
Mark Andrews
6166107a80 Merge branch 'ssl-double-free-v9_9' into 'v9_9'
Fix double free after keygen error in dnssec-keygen

Closes #109

See merge request isc-projects/bind9!70
2018-04-06 14:28:02 +10:00
Ondřej Surý
b703087d5a Add CHANGES entry
(cherry picked from commit ef2b2a6c92)
2018-04-06 14:27:48 +10:00
Ondřej Surý
3c2f6922f5 A couple of more cleanups after free in opensslrsa_generate()
(cherry picked from commit d2b3188c61)
2018-04-06 14:27:23 +10:00
Petr Mensik
fcb5795560 Do not assign NULL conditionally in OpenSSL < 1.1, make it always explicit.
(cherry picked from commit edaafacf36)
2018-04-06 14:27:23 +10:00
Petr Mensik
3bce97740f Fix double free on RSA_generate_key_ex failure
(cherry picked from commit 01cc622e7b)
2018-04-06 14:27:22 +10:00
Mark Andrews
1890455159 system should only be in SUBDIRS
(cherry picked from commit 342e146fe3)
2018-04-06 13:27:45 +10:00
Mark Andrews
3683026ffd Merge branch '167-coverity-dereferencing-a-null-pointer-in-lib-dns-tests-rbt_test-c-v9_9' into 'v9_9'
Resolve "coverity: Dereferencing a null pointer in lib/dns/tests/rbt_test.c"

Closes #167

See merge request isc-projects/bind9!150
2018-03-20 09:56:09 +11:00
Mukund Sivaraman
eb98f2759e Check return value of isc_mem_get()
(cherry picked from commit de3a4af1bf)
2018-03-20 09:56:09 +11:00
Ondřej Surý
f8af167008 Update libtool files to 2.4.6
(cherry picked from commit fe06778be7)
2018-03-19 13:02:26 +11:00
Ondřej Surý
d774c9ee04 Merge branch '164-remove-openssl-warning-v9_9' into 'v9_9'
[v9_9] Remove useless OpenSSL warning from configure script

See merge request isc-projects/bind9!143
2018-03-17 10:50:13 -04:00
Ondřej Surý
c599299cc9 Remove obsolete OpenSSL version check
(cherry picked from commit e9571d29af)
2018-03-17 14:44:14 +00:00
Evan Hunt
da01100893 Merge branch 'copyrights' into v9_9 2018-03-15 18:56:26 -07:00
Evan Hunt
ce137d2380 update file headers 2018-03-15 18:56:10 -07:00
Evan Hunt
6c02f55d59 ensure COPYRIGHT file retains years; edit file headers for consistency 2018-03-15 18:54:50 -07:00
Evan Hunt
a19e6b9b21 Merge branch '157-cleanup-win-libtests-v9_9' into 'v9_9'
Resolve "Windows build fails"

Closes #157

See merge request isc-projects/bind9!131
2018-03-15 13:48:52 -07:00
Evan Hunt
1c2ecdfc44 remove references to lib/tests in the windows build
(cherry picked from commit e2bb9824f8)
2018-03-15 13:48:49 -07:00
Evan Hunt
0af7848dad Merge branch '154-fix-atomic-test-v9_9' into 'v9_9'
Resolve "Build failure on OSX with --disable-atomic --enable-developer"

Closes #154

See merge request isc-projects/bind9!130
2018-03-15 12:09:45 -07:00
Evan Hunt
edb2282379 add an 'untested' case when none of the atomic operations are available
- this fixes a build failure introduced in change 4913 when
  compiling with ATF and --disable-atomic

(cherry picked from commit 1b3eac926e)
2018-03-15 12:09:45 -07:00
Evan Hunt
01e20887b3 Merge branch 'fix-copyright' into v9_9 2018-03-15 11:32:15 -07:00
Evan Hunt
5a21193fdd update file headers 2018-03-15 11:30:37 -07:00
Evan Hunt
7dc45efb62 some script updates were missing 2018-03-15 11:26:25 -07:00
Ondřej Surý
f1736dd4bc Use /* FALLTHROUGH */ comment instead of __attribute__ ((fallthrough)) for consistency 2018-03-15 11:38:32 +01:00
Ondřej Surý
ffb4e01b3b Merge branch 'fix-implicit-fallthrough-v9_9' into 'v9_9'
Add __attribute__ ((fallthrough)); in place of implicit fallthrough to satisfy gcc 7 -Wextra

See merge request isc-projects/bind9!129
2018-03-15 04:35:12 -04:00
Ondřej Surý
a5ea870265 Add __attribute__ ((fallthrough)); in place of implicit fallthrough to satisfy gcc 7 -Wextra 2018-03-15 09:30:18 +01:00
Ondřej Surý
7d930fdb35 Merge branch 'fix-copyrights-v9_9' into v9_9 2018-03-15 09:29:27 +01:00
Ondřej Surý
9f830be501 update file headers to remove copyright years 2018-03-15 09:09:15 +01:00
Ondřej Surý
785194b46f Update scripts in util/ to drop the year information from the individual source files. 2018-03-15 09:07:00 +01:00
Evan Hunt
5bb02f5fbf Merge branch 'fix-relnotes-v99' into v9_9 2018-03-14 14:59:52 -07:00
Evan Hunt
6f81cec0d3 update Eol information 2018-03-14 14:59:27 -07:00
Evan Hunt
8d9202eff7 Merge branch 'branchsync' into 'v9_9'
update branchsync to deal with merge commits

See merge request isc-projects/bind9!127
2018-03-14 14:43:16 -07:00
Evan Hunt
8e19bc87ea updated branchsync to deal with merge commits
(cherry picked from commit fccf8ca2f6)
2018-03-14 14:42:28 -07:00
Ondřej Surý
b6fa2721d5 Fix whitespace 2018-03-14 12:46:56 +01:00
Ondřej Surý
fbb2cf47b3 Update copyrights 2018-03-14 12:46:25 +01:00
Ondřej Surý
6a95179879 [v9_10] Enable GitLab CI
(cherry picked from commit 5b7393ab588aee8dc64adb194f38eab6818aaa10)
(cherry picked from commit a14d0362df)
(cherry picked from commit a13586af5d)
2018-03-14 12:46:02 +01:00
Evan Hunt
76abb20018 Merge branch 'nothreads-fix' into 'v9_9'
Fix compiler warnings and test failures when building without threads

See merge request isc-projects/bind9!119
2018-03-10 10:37:55 -08:00
Evan Hunt
1beabb5bcb Fix compiler warnings and test failures when building without threads
(cherry picked from commit 56353aaf42)
2018-03-10 10:37:26 -08:00
Evan Hunt
a6e5d9a2ca Merge branch 'clean-bin-tests-v9_9' into 'v9_9'
clean up bin/tests, convert unit tests to ATF

Closes #115

See merge request isc-projects/bind9!93
2018-03-09 23:52:26 -08:00
Evan Hunt
e6c446bfba final cleanup
- update Kyuafiles to match Atffiles
- copyrights
- CHANGES note

(cherry picked from commit 86e00cbb71)
(cherry picked from commit 80834b5b90)
(cherry picked from commit 442c1530a3)
(cherry picked from commit 6fe8188cc3)
2018-03-09 23:35:02 -08:00
Evan Hunt
40d0aab21a reduce race risk in parallel builds
(cherry picked from commit 74347f4a55)
(cherry picked from commit 7f4e62d902)
(cherry picked from commit ade4face27)
(cherry picked from commit 544bb12a01)
2018-03-09 23:24:17 -08:00
Evan Hunt
a00618aee5 remove lib/tests as nothing uses it anymore
(cherry picked from commit d132f73497)
(cherry picked from commit d35f62434a)
(cherry picked from commit 941946cf14)
(cherry picked from commit ec55b0136a)
2018-03-09 23:23:18 -08:00
Evan Hunt
2591c077f0 migrate t_dst signature test to lib/dns/tests/dst_test
(cherry picked from commit a4ebe83cdb)
(cherry picked from commit 4439c471d1)
(cherry picked from commit 57a5820dcc)
(cherry picked from commit dbc21e4393)
2018-03-09 23:22:04 -08:00
Evan Hunt
a11252dbbc migrate t_db to lib/dns/tests/db_test
(cherry picked from commit f58ac8ada3)
(cherry picked from commit 56da937399)
(cherry picked from commit d3518e57b1)
(cherry picked from commit c5dbc0b727)
2018-03-09 23:20:11 -08:00
Evan Hunt
28d62b0a31 migrate t_names to lib/dns/tests/name_test
(cherry picked from commit 8ecf69ef7b)
(cherry picked from commit aefad99e1e)
(cherry picked from commit b2fef3b438)
(cherry picked from commit 2893e982ed)
2018-03-09 23:19:11 -08:00
Evan Hunt
20da3cd7e7 migrate t_rbt to lib/dns/tests/rbt_test
(cherry picked from commit 109546cbda)
(cherry picked from commit c505afd183)
(cherry picked from commit 42fa3932ab)
(cherry picked from commit 4c6818ff8e)
2018-03-09 23:17:36 -08:00
Evan Hunt
a73b843515 migrate t_tasks to lib/isc/tests/task_test
(cherry picked from commit c6c1e99252)
(cherry picked from commit 88bfe56876)
(cherry picked from commit 38f9cddcad)
(cherry picked from commit 430d35e332)
2018-03-09 23:15:10 -08:00
Evan Hunt
48c8aca49b migrate t_resolver to lib/dns/tests/resolver_test
(cherry picked from commit d80825c40b)
(cherry picked from commit 30e157f6e4)
(cherry picked from commit 5dd25f2285)
(cherry picked from commit 29474940ea)
2018-03-09 23:13:44 -08:00
Evan Hunt
6bd3de3615 migrate t_timers to lib/isc/tests/timer_test
(cherry picked from commit e2b8699df9)
(cherry picked from commit efccdad0ea)
(cherry picked from commit 274ee0b425)
(cherry picked from commit 5b477b2aa4)
2018-03-09 23:11:47 -08:00
Evan Hunt
a6dcb138b5 migrate t_atomic to lib/isc/tests/atomic_test
(cherry picked from commit 874e2fc70c)
(cherry picked from commit c7fa56e8db)
(cherry picked from commit 492e19d6ec)
(cherry picked from commit 1200d6f072)
2018-03-09 23:09:54 -08:00
Evan Hunt
d446bbb815 migrate t_mem to lib/isc/tests/mem_test
(cherry picked from commit 979f054702)
(cherry picked from commit af48544b75)
(cherry picked from commit 814cd21e22)
(cherry picked from commit 7014d0994b)
2018-03-09 23:07:40 -08:00
Evan Hunt
00bc2c2355 migrate t_net to lib/isc/tests
(cherry picked from commit 05b7251d51)
(cherry picked from commit af0c9b2cee)
(cherry picked from commit faedafd2b4)
(cherry picked from commit 67b63a3e10)
2018-03-09 23:03:56 -08:00
Evan Hunt
6b970316c8 migrate t_sockaddr to lib/isc/tests
(cherry picked from commit 62f650078a)
(cherry picked from commit fadb93cf43)
(cherry picked from commit 323e2f7152)
(cherry picked from commit b392c18f6e)
2018-03-09 23:03:11 -08:00
Evan Hunt
e54d53e8fb remove hashes test (duplicates lib/isc/tests/hash_test)
(cherry picked from commit 6ad1a042bc)
(cherry picked from commit e686b9c297)
(cherry picked from commit c644427b77)
(cherry picked from commit a0a3a8e794)
2018-03-09 23:01:44 -08:00
Evan Hunt
d50b40b135 remove master test (duplicates lib/isc/tests/master_test)
(cherry picked from commit 6717f31e10)
(cherry picked from commit 36d08442bc)
(cherry picked from commit ae39f25a10)
(cherry picked from commit 83a5d8e17e)
2018-03-09 23:00:47 -08:00
Evan Hunt
bf769f68a4 migrate tests from bin/tests/dnssec-signzone to bin/tests/system/dnssec
- added tests to the dnssec system test that duplicate the ones
  from bin/tests/dnssec-signzone
- changed cleanall.sh so it doesn't automatically remove all
  key files, because there are now some of those that are part of the
  distribution

(cherry picked from commit ccfe778c01)
(cherry picked from commit d8f8eee381)
(cherry picked from commit dbb225d83e)
(cherry picked from commit 161f525942)
2018-03-09 22:59:52 -08:00
Evan Hunt
bb2b5193b5 move all optional tests from bin/tests to bin/tests/optional
- some of these tests are obsolete and should be cleared up,
  others overlap with ATF tests and may be removed later.
  for now, let's just tidy up the bin/tests directory by
  moving these files down a level.

(cherry picked from commit 344ab0eb7d)
(cherry picked from commit dafdf2c09b)
(cherry picked from commit e062109659)
(cherry picked from commit 6428478341)
2018-03-09 22:59:24 -08:00
Evan Hunt
fca5c351c2 remove some old and obsolete test files
(cherry picked from commit a633f6c5dd)
(cherry picked from commit 10efb4ff07)
(cherry picked from commit 22d9a69b3f)
(cherry picked from commit b7c98c81d9)
2018-03-09 22:56:04 -08:00
Evan Hunt
a2e28d17cc Merge branch 'parallel-unit-tests' into 'v9_9'
capture more info from unit tests, run in parallel

See merge request isc-projects/bind9!117
2018-03-09 14:39:35 -08:00
Evan Hunt
0753f4f842 allow ATF tests to run in parallel
(cherry picked from commit ef0b4c91bc)
(cherry picked from commit 787c5d1394)
2018-03-09 14:39:26 -08:00
Evan Hunt
292ddceca3 capture more information from unit tests
- preserve kyua results database when using kyua

(cherry picked from commit 81c23fecda)
2018-03-09 14:38:35 -08:00
Evan Hunt
93db8ad693 Merge branch 'v9_9_12_patch' into v9_9 2018-03-08 14:30:46 -08:00
Evan Hunt
d416384e17 Merge branch 'rm-contrib-md' into v9_9 2018-03-08 13:04:08 -08:00
Evan Hunt
bfe9893111 remove doc/dev/contrib.md now that CONTRIBUTING.md exists 2018-03-08 13:03:39 -08:00
Evan Hunt
4eb49c4882 Merge branch 'remove-bind9-bugs-references' into 'v9_9_12_patch'
Update documentation to remove obsolete bind9-bugs@isc.org email address

See merge request isc-projects/bind9!111
2018-03-08 12:56:13 -08:00
Ondřej Surý
4c3009ff38 Update documentation to remove obsolete bind9-bugs@isc.org email address
(cherry picked from commit efc9bc5d8d)
(cherry picked from commit 486e79050f)
(cherry picked from commit 292d6c8a5b)
(cherry picked from commit 5e88bf24f7)
2018-03-08 12:54:01 -08:00
Evan Hunt
83eaab40fb Merge branch 'remove-bind9-bugs-references' into 'v9_9'
Update documentation to remove obsolete bind9-bugs@isc.org email address

See merge request isc-projects/bind9!111
2018-03-08 10:42:52 -08:00
Ondřej Surý
5e88bf24f7 Update documentation to remove obsolete bind9-bugs@isc.org email address
(cherry picked from commit efc9bc5d8d)
(cherry picked from commit 486e79050f)
(cherry picked from commit 292d6c8a5b)
2018-03-08 10:42:40 -08:00
Mark Andrews
b4fa7575cf Merge branch '133-update-util-check-changes-to-work-on-release-branches-v9_9' into 'v9_9'
Resolve "Update util/check-changes to work on release branches."

Closes #133

See merge request isc-projects/bind9!110
2018-03-08 16:20:53 +11:00
Mark Andrews
ecd0de1441 update util/check-changes to handle non master branched (util/check-changes master=0 CHANGES)
(cherry picked from commit 88a2202093)
2018-03-08 16:20:39 +11:00
Tinderbox User
319525610a Merge branch 'prep-release' into v9_9_12_patch 2018-03-08 01:34:47 +00:00
Tinderbox User
ce8edda72b prep 9.9.12 2018-03-08 01:33:44 +00:00
Evan Hunt
25eddfcfa7 Merge branch 'longopts-v9_9' into 'v9_9'
restore long options for run.sh

See merge request isc-projects/bind9!104
2018-03-07 14:35:45 -08:00
Evan Hunt
e44ce6a1ab restore long options for run.sh
(cherry picked from commit 4a714bffbc)
2018-03-07 14:35:45 -08:00
Evan Hunt
e3b4a843a8 Merge branch 'allow-query' into 'v9_9'
speed up allow_query test

Closes #81

See merge request isc-projects/bind9!76
2018-03-07 14:20:34 -08:00
Evan Hunt
ac91515aa8 eliminate unnecessary waiting in allow-query test
- grep in the log to see if configuration is finished rather
  than sleeping for 5 seconds

(cherry picked from commit a9b6bed6af)
(cherry picked from commit 37a6bb004c)
(cherry picked from commit 2e48caa476)
2018-03-07 14:19:55 -08:00
Evan Hunt
0ed2df43b0 rename allow_query to allow-query
(cherry picked from commit ffc3e73c36)
(cherry picked from commit 5d9e3f9b02)
(cherry picked from commit de6fe7dd83)
2018-03-07 14:19:52 -08:00
Evan Hunt
4092a70a34 Merge branch 'fix-notify' into 'v9_9'
fix notify test

See merge request isc-projects/bind9!77
2018-03-06 11:48:24 -08:00
Evan Hunt
fc1b254b5e address a possible notify test failure
- wait for the transfer completion message to apear in the log instead
  of the notify message. this ensures we don't check for the presense of
  transfered records during the time between the notify and the
  transfer.

(cherry picked from commit ad32553c1d)
(cherry picked from commit dff94add3e)
(cherry picked from commit 5a5e476d00)
2018-03-06 11:48:16 -08:00
Michał Kępień
39595d697e Merge branch '110-libirs-do-not-ignore-resolv.conf-syntax-errors-v9_9' into 'v9_9'
libirs: Do not ignore resolv.conf syntax errors

Closes #110

See merge request isc-projects/bind9!78
2018-03-06 09:25:35 +01:00
Michał Kępień
e61c197a0f Add CHANGES entry
4905.	[bug]		irs_resconf_load() ignored resolv.conf syntax errors
			when "domain" or "search" options were present in that
			file. [GL #110]

(cherry picked from commit 1f18d33804)
2018-03-06 09:25:34 +01:00
Michał Kępień
1ad85ff974 Remove duplicate irs_resconf_load() unit test
The "sortlist-v4.conf" unit test for irs_resconf_load() is always run
twice due to a duplicate entry in the "tests" table.  Remove one of them
to prevent this.

(cherry picked from commit 6c09f305ae)
2018-03-06 09:25:24 +01:00
Michał Kępień
ca7cd80dd5 Do not ignore resolv.conf syntax errors
irs_resconf_load() stores the value returned by add_search() into ret
without consulting its current value first.  This causes any previous
errors raised while parsing resolv.conf to be ignored as long as any
"domain" or "search" statement is present in the file.

Prevent this by returning early in case an error is detected while
parsing resolv.conf.  Ensure that "searchlist" and "magic" members of
the created irs_resconf_t structure are always initialized before
isc_resconf_destroy() is called.

(cherry picked from commit 1f400b68a8)
2018-03-06 09:25:23 +01:00
Tinderbox User
cfc78d797e Merge branch 'prep-release' into v9_9_12_patch 2018-03-02 21:54:14 +00:00
Tinderbox User
7af73b918e prep 9.9.12rc2 2018-03-02 21:53:47 +00:00
Evan Hunt
2206ea1ea6 Merge branch '124-revert-deadlock' into 'v9_9_12_patch'
revert cname loop test due to effects on apex CNAMEs under insecure delegations

See merge request isc-projects/bind9!95
2018-03-02 12:19:32 -08:00
Evan Hunt
ce1114a95a temporarily revert change #4859
(cherry picked from commit 06b52cc939)
2018-03-02 12:18:03 -08:00
Evan Hunt
6bb0246ea3 Merge branch '124-revert-deadlock-check-v9_12-v9_9' into 'v9_9'
revert cname loop test due to effects on apex CNAMEs under insecure delegations

See merge request isc-projects/bind9!95
2018-03-02 12:04:35 -08:00
Evan Hunt
7e2d361355 temporarily revert change #4859
(cherry picked from commit 84ec07999f)
2018-03-02 12:04:33 -08:00
Michał Kępień
d716c008b3 Merge branch 'fix-fetchlimit-v9_9' into 'v9_9'
Improve failure logging in fetchlimit system test

See merge request isc-projects/bind9!81
2018-03-01 15:41:02 +01:00
Evan Hunt
8c0d2127f9 revise soft limit test
- don't bail out of the loop if clients are exceeded, just count incidents
- verbosely describe expectations and results

(cherry picked from commit 86838b2a02)
2018-03-01 15:41:01 +01:00
Michał Kępień
093ef21af6 Merge branch '122-bind-9-10-nsupdate-system-test-fails-v9_9' into 'v9_9'
Fix nsupdate system test for BIND < 9.12

See merge request isc-projects/bind9!89
2018-03-01 13:56:16 +01:00
Mark Andrews
a845283012 remove unsupported command line argument (-4) from nsupdate call
(cherry picked from commit ac3d2a0ed9)
2018-03-01 13:56:16 +01:00
Michał Kępień
2ba13aefd9 Merge branch '121-views-system-test-has-wrong-test-strings-for-reload-completion-v9_9' into 'v9_9'
Resolve "views system test has wrong test strings for reload completion."

Closes #121

See merge request isc-projects/bind9!88
2018-02-28 14:57:19 +01:00
Mark Andrews
83990e9bdc wait for 'all zones loaded' rather than 'reloading zones succeeded' which just indicates that everything kicked off ok
(cherry picked from commit 4cb0873a0a)
2018-02-28 14:57:19 +01:00
Evan Hunt
0e91065b57 Merge branch '113-minor-testsummary.sh-improvements-v9_9' into 'v9_9'
Minor testsummary.sh improvements (handling colored output, failure summary)

Closes #113

See merge request isc-projects/bind9!80
2018-02-27 10:04:37 -08:00
Evan Hunt
be98afaecf Do not destroy systests.output if there are no test.output files
(cherry picked from commit 38940619c6)
2018-02-27 10:04:37 -08:00
Michał Kępień
d241bf9d4c Use echoinfo for printing test summary
This ensures testsummary.sh is consistent with other scripts belonging
to the test framework.

(cherry picked from commit 642e20db8a)
2018-02-27 10:04:37 -08:00
Michał Kępień
b18292a208 Make testsummary.sh print a list of failed system tests
Print a list of failed system tests, if any, below the system test
summary to avoid the need to manually search through the test log.

(cherry picked from commit 28068857e7)
2018-02-27 10:04:36 -08:00
Michał Kępień
1709486103 Tweak the regular expression used for extracting system test results
The current regular expression used for extracting system test results
from systests.output, "^R:", is anchored at the start of a line, which
prevents colored system test output from being properly processed.  As
just "R:" would arguably be too general, extend the pattern a bit to
ensure it will only match lines containing system test results.

(cherry picked from commit 9006d6dbbd)
2018-02-27 10:04:36 -08:00
Evan Hunt
91725c199f Merge branch 'test-output-v9_11-v9_10-v9_9' into 'v9_9'
Clean up test output

See merge request isc-projects/bind9!66
2018-02-27 10:03:23 -08:00
Evan Hunt
92c9e7c045 clean up test output
- removed a few remaing places where output wasn't being passed
  through echo_i or cat_i
- added a "digcomp" function to conf.sh.in to send digcomp.pl output
  through cat_i and return the correct exit value
- set SYSTESTDIR when calling echo_i from nsX directories, so that
  the test name will always be printed correctly
- fixed a test name typo in conf.sh.in

(cherry picked from commit 0e52fbd0b3)
(cherry picked from commit d57e8f6df3)
(cherry picked from commit 053c06d5e1)
2018-02-27 10:03:21 -08:00
Michał Kępień
56cb381518 Merge branch '98-add-util-git-replay-merge.sh-v9_9' into 'v9_9'
Put git-replay-merge in source tree

Closes #98

See merge request isc-projects/bind9!83
2018-02-27 10:45:08 +01:00
Michał Kępień
9063b31f49 Add util/git-replay-merge.sh
git-replay-merge.sh is a script whose purpose is to make backporting
merge requests more convenient by automating the process as much as
possible.

For more information, including usage examples, see:

    https://gitlab.isc.org/isc-projects/bind9/wikis/Backporting-a-Merge-Request

(cherry picked from commit f7fe1e3098)
2018-02-27 10:45:08 +01:00
Evan Hunt
4cb037a6e2 Merge branch '112-fix-mx-checks-for-dynamic-updates-v9_9' into 'v9_9'
Fix MX checks for dynamic updates

Closes #112

See merge request isc-projects/bind9!79
2018-02-26 15:20:49 -08:00
Michał Kępień
309e2aebae Add CHANGES entry
4903.	[bug]		"check-mx fail;" did not prevent MX records containing
			IP addresses from being added to a zone by a dynamic
			update. [GL #112]

(cherry picked from commit 1d403f9d3c)
2018-02-26 15:20:26 -08:00
Michał Kępień
d86a7dbe69 Fix MX checks for dynamic updates
The check_mx() function in lib/ns/update.c incorrectly tests whether the
DNS_RDATA_CHECKMX/DNS_RDATA_CHECKMXFAIL flags are set for each applied
MX record update as these flags are never set in code paths related to
dynamic updates; they can only be set when loading a zone from a master
file (DNS_ZONEOPT_CHECKMX -> DNS_MASTER_CHECKMX -> DNS_RDATA_CHECKMX).
This flaw allows MX records containing IP addresses to be added to a
zone even when "check-mx fail;" is used.

Ensure correct behavior by modifying the relevant tests in check_mx() so
that they use DNS_ZONEOPT_CHECKMX/DNS_ZONEOPT_CHECKMXFAIL instead.

(cherry picked from commit 857a40c87b)
2018-02-26 15:20:06 -08:00
Evan Hunt
cdf3f823bb Merge branch 'check-for-test-interfaces-before-running-system-tests-v9_9' into 'v9_9'
Check for test interfaces before running system tests

See merge request isc-projects/bind9!19
2018-02-26 15:10:40 -08:00
Evan Hunt
699fffc34f test interfaces directly in runall.sh and parallel.mk
(cherry picked from commit a8b583e78b)
2018-02-26 15:10:40 -08:00
Michał Kępień
98b3b5bba7 Check for test interfaces before running system tests
Prevent runall.sh and "make test" from even attempting to run system
tests when "ifconfig.sh up" has not been run beforehand.  This ensures
the user is not flooded with error messages in such a case.

(cherry picked from commit e0221f2d25)
2018-02-26 15:10:40 -08:00
Evan Hunt
5353168bb7 Merge branch '66-ixfr-system-test-fails-intermittently-v9_9' into 'v9_9'
chg: dev: Improved the reliability of the 'ixfr' system test. [GL #66]

Closes #66

See merge request isc-projects/bind9!67
2018-02-26 15:03:05 -08:00
Evan Hunt
8c6e4b205c wait for synchronization; re-notify slave if the transfer doesn't happen
(cherry picked from commit 67a8b5ec17)
2018-02-26 15:03:03 -08:00
Evan Hunt
8668c2eeab Merge branch 'fix-merge' into v9_9 2018-02-25 23:08:18 -08:00
Evan Hunt
7124e34835 Fix merge error 2018-02-25 23:07:38 -08:00
Mark Andrews
56202244de Merge branch '51-fix-cppcheck-detected-source-code-errors-v9_10-v9_9' into 'v9_9'
Resolve "Fix cppcheck-detected source code errors"

Closes #51

See merge request isc-projects/bind9!46
2018-02-26 10:58:19 +11:00
Mark Andrews
7d459e36be update printf format to match type
(cherry picked from commit 48ca11df5f)
(cherry picked from commit 9a0373b896)
2018-02-26 10:58:11 +11:00
Mark Andrews
6d2ddd3c49 improve the conditional declaration and use of variable to silence cppcheck
(cherry picked from commit a04bb76973)
(cherry picked from commit 8e046acb50)
2018-02-26 10:58:09 +11:00
Mark Andrews
5ef8b93129 remove deadcode
(cherry picked from commit b71a1386ed)
(cherry picked from commit 0beff002bd)
2018-02-26 10:54:19 +11:00
Mark Andrews
e76df9d04f silence unread assignment warning by using POST macro
(cherry picked from commit e8249dcd49)
(cherry picked from commit cdb6c5c106)
2018-02-26 10:54:19 +11:00
Mark Andrews
750467e284 update the sscanf format strings so they match the pointer types
(cherry picked from commit 70d192eb97)
(cherry picked from commit 06b7a4397a)
2018-02-26 10:54:19 +11:00
Mark Andrews
d65c60d894 redefine CHECK so cppcheck see the definition
(cherry picked from commit a4186b1867)
(cherry picked from commit d17558a874)
2018-02-26 10:54:18 +11:00
Mark Andrews
9d0effb471 remove unused struct dst_context declaration
(cherry picked from commit f2c22662cc)
(cherry picked from commit 00799ab805)
2018-02-26 10:54:18 +11:00
Mark Andrews
7c3734f920 adjust goto target and conditional compilation so that cleanup_spillattimer and cleanup_alglock labels match the element to be cleanup and so that they are always used
(cherry picked from commit 7b27be54ee)
(cherry picked from commit 981d548a66)
2018-02-26 10:54:18 +11:00
Evan Hunt
8f4610f773 Merge branch 'tidy-runall.sh-environment-variables-v9_11-v9_10-v9_9' into 'v9_9'
Tidy runall.sh environment variables

See merge request isc-projects/bind9!18
2018-02-25 13:34:35 -08:00
Michał Kępień
1f42e865d2 Preserve values of environment variables which are already set
This enables the environment variables controlling run.sh behavior to be
permanently set in a working environment (e.g. to automatically force
colored output without using "-c" in each runall.sh invocation).

Relevant runall.sh command line arguments still have a higher priority.

(cherry picked from commit d989d20fe5)
(cherry picked from commit 2cd174dda9)
(cherry picked from commit fdcac29f63)
2018-02-25 13:34:35 -08:00
Michał Kępień
a7ae215925 Allow forcing colored system test output
As parallel.mk and runsequential.sh both pipe system test output through
"tee" (for the purpose of creating test.output), run.sh invoked from
these two files detects it is not writing to a terminal, which prevents
colored output from being generated.  Allow forcing colored output using
a new command line argument for runall.sh, "-c", which sets an
environment variable (SYSTEMTEST_FORCE_COLOR) causing conf.sh to
unconditionally enable colored output.

The same environment variable can also be used directly to force colored
output when using "make test" instead of runall.sh.

(cherry picked from commit a324031a82)
(cherry picked from commit cbebf7ef59)
(cherry picked from commit 2f3b3b7aff)
2018-02-25 13:34:35 -08:00
Michał Kępień
fcefc77d35 Allow retaining system test output using an environment variable
Instead of exporting an environment variable containing a command line
argument (NOCLEAN="-n"), extend run.sh to handle a "boolean" environment
variable (SYSTEMTEST_NO_CLEAN) itself.  The former method is buggy
because the value of NOCLEAN is set in parallel.mk when that file is
first created, but it is not subsequently updated upon each test run
(because make considers parallel.mk to be up to date).

To retain backward compatibility, the "-n" command line argument for
run.sh is still supported (and has a higher priority than the relevant
environment variable).

The SYSTEMTEST_NO_CLEAN environment variable can also be used directly
to prevent cleanup when using "make test" instead of runall.sh.

Apart from fixing a bug, this simplifies the way runall.sh controls
run.sh behavior due to the Makefile being bypassed.  Direct processing
of environment variables in run.sh is more scalable in the long run,
given that the previously utilized technique, even with its
implementation fixed, would still require Makefile.in to be modified in
two places each time a new flag needed to be passed from runall.sh to
run.sh.

(cherry picked from commit 3862043879)
(cherry picked from commit e9c4dbe361)
(cherry picked from commit 0e3840e4b4)
2018-02-25 13:34:35 -08:00
Evan Hunt
812c83f876 Merge branch '71-xfer-system-test-fails-intermittently-v9_12-v9_11-v9_10-v9_9' into 'v9_9'
chg: dev: Improve the resilience of the xfer system test, which could be flaky under load.

Closes #71

See merge request isc-projects/bind9!61
2018-02-25 13:34:23 -08:00
Evan Hunt
8315e76561 improve reliability of xfer test
(cherry picked from commit 5d7d6881a1)
(cherry picked from commit 09a1a261dc)
(cherry picked from commit 948bd83ce5)
(cherry picked from commit 4160936c92)
2018-02-25 13:34:23 -08:00
Evan Hunt
99db49b439 Merge branch 'parallel-v9_9' into v9_9
chg: dev: Convert most of the remaining system tests to be able to run in parallel [GL #91]

Closes #91

See merge request isc-projects/bind9!59
2018-02-25 13:29:36 -08:00
Evan Hunt
7677cb277a final cleanup
- add CHANGES note
- update copyrights and license headers
2018-02-25 13:13:26 -08:00
Evan Hunt
ae6c141f7b tidying up after backport
(cherry picked from commit 854f7846d8)
(cherry picked from commit 6653dcab3d)
2018-02-25 13:10:00 -08:00
Evan Hunt
b65aa505e6 improve reliability of the xfer test on slow systems
- lengthened the wait loop for the transfers to complete

(cherry picked from commit b9246ce773)
(cherry picked from commit a5015d7791)
(cherry picked from commit c369fc06ca)
(cherry picked from commit 6a5092f537)
2018-02-25 11:19:26 -08:00
Evan Hunt
37d6f7b624 remove v6synth
- this was a test for the allow-v6-synthesis option, which was
  deprecated and no longer works. the test was removed
  from conf.sh.in long ago.

(cherry picked from commit 474b10a133)
(cherry picked from commit 7971873639)
(cherry picked from commit 626566c72d)
(cherry picked from commit 62f239f5cf)
2018-02-25 11:19:07 -08:00
Evan Hunt
87c7455b4c removed some unnecessary greps
(cherry picked from commit 731ad28be2)
(cherry picked from commit 17245b86d5)
(cherry picked from commit 350f18b0d1)
(cherry picked from commit 539be337d9)
2018-02-25 11:19:05 -08:00
Evan Hunt
a236a1e2b4 reorder tests to get better use of parallelism
(cherry picked from commit 56e440f65f)
(cherry picked from commit 4429f8b291)
(cherry picked from commit fa8740feda)
(cherry picked from commit 438dcd9f9c)
2018-02-25 11:18:48 -08:00
Evan Hunt
f8fe59f279 parallelize most system tests
(cherry picked from commit c032c54dda)
(cherry picked from commit 2b81f322cb)
(cherry picked from commit 167fa161d1)
(cherry picked from commit 1f297d33a0)
2018-02-25 11:17:55 -08:00
Evan Hunt
29e7466e04 Merge branch 'rt46602-v9_11-v9_10-v9_9' into v9_9
Allow parallel run of system tests

See merge request isc-projects/bind9!7
2018-02-25 09:41:59 -08:00
Stephen Morris
f5a3bd48d4 [rt46602] Update CHANGES for parallel tests
(cherry picked from commit dbf753b52d)
(cherry picked from commit 8aaa92693c)
(cherry picked from commit ee3d232d8e)
2018-02-25 09:33:29 -08:00
Stephen Morris
58c2522b85 [rt46602] Change name of shell variable holding current test directory
It was TESTNAME, but this is an obvious name and was used in one of
the system tests, something that interfered with the content of
progress messages.  It is now SYSTESTDIR.

(cherry picked from commit 30cd931a0d)
(cherry picked from commit 78f2976087)
(cherry picked from commit 4a29e3ba65)
2018-02-25 09:28:46 -08:00
Michał Kępień
1240f51426 [rt46602] Export environment variables in a portable manner
(cherry picked from commit 2c519531a7)
(cherry picked from commit 747df7d66a)
(cherry picked from commit ddb84ca0af)
2018-02-25 09:28:46 -08:00
Michał Kępień
8945f29fb1 [rt46602] Sanitize test names to fix "make check" on Solaris
(cherry picked from commit e005fb948d)
(cherry picked from commit cfaeb55e8e)
(cherry picked from commit fac15bf973)
2018-02-25 09:28:46 -08:00
Stephen Morris
2ee63a76c0 [rt46602] Pass noclean option to Makefile via exported variable
(cherry picked from commit 59d88ee192)
(cherry picked from commit 0ae7e64829)
(cherry picked from commit 4fbaafa480)
2018-02-25 09:28:46 -08:00
Stephen Morris
2a24aac12e [rt46602] Mention conf.sh.win32 in instructions for adding a test.
(cherry picked from commit 23dfa27a84)
(cherry picked from commit 06a9a37d3b)
(cherry picked from commit d9740c20da)
2018-02-25 09:28:45 -08:00
Michał Kępień
d634594e56 [rt46602] Fix various typos, formatting issues and stylistic nits
(cherry picked from commit f0721de624)
(cherry picked from commit b40e75a75c)
(cherry picked from commit 85f03bb30f)
2018-02-25 09:28:45 -08:00
Michał Kępień
2a31548089 [rt46602] Remove redundant variable assignment
(cherry picked from commit 42cf18d239)
(cherry picked from commit 4436930712)
(cherry picked from commit 90654248f6)
2018-02-25 09:28:45 -08:00
Michał Kępień
df5de60665 [rt46602] named.port is no longer created by setup.sh for allow_query
(cherry picked from commit 1ac4c3e4e5)
(cherry picked from commit 77e6ff0fae)
(cherry picked from commit 2e3d58ad30)
2018-02-25 09:28:45 -08:00
Michał Kępień
653dcebec8 [rt46602] Consistently print usage for runall.sh to stderr
(cherry picked from commit fe1ccafc34)
(cherry picked from commit 47e278b7c9)
(cherry picked from commit 66985fad62)
2018-02-25 09:28:45 -08:00
Michał Kępień
4ef8f1c774 [rt46602] Clean up getopts usage
Ensure case clauses are in sync with the string passed to getopts.
Remove catch-all clauses as they will never be evaluated.

(cherry picked from commit 0dcee1cad3)
(cherry picked from commit 0c8e56568f)
(cherry picked from commit 6d9fb2b429)
2018-02-25 09:28:45 -08:00
Michał Kępień
17fce84a63 [rt46602] Assign default values to variables set by command line options and consistently treat them as integers
(cherry picked from commit fe51c34df3)
(cherry picked from commit 3752edb28e)
(cherry picked from commit 1adbfeb3ed)
2018-02-25 09:28:45 -08:00
Michał Kępień
6d8fde8a92 [rt46602] named.port cannot be ignored by git because it is required to be present by notify/ns4
(cherry picked from commit 1960de5530)
(cherry picked from commit f47ed5ceb0)
(cherry picked from commit 01e21e3ee2)
2018-02-25 09:28:45 -08:00
Stephen Morris
98ddc2c422 [rt46602] Remove option to format the printed start time of a test
There was too much incompatibility between operating systems as to
the allowed options for "date".

(cherry picked from commit 451b7309ca)
(cherry picked from commit 8376949ea8)
(cherry picked from commit 52f784315e)
2018-02-25 09:28:45 -08:00
Stephen Morris
90dccece92 [rt46602] Escape line ends in shell script variable assignment
Escape the line ends in a multi-line variable assignment.  Under some
circumstances, substituting the variable caused syntax errors when
used as the list of values in a shell script "for" statement.

(cherry picked from commit 462766cd76)
(cherry picked from commit 53ebdf225f)
(cherry picked from commit 82ffebc73a)
2018-02-25 09:28:42 -08:00
Stephen Morris
6f8c363547 [rt46602] Fix EXTRAPORT substitutions in copy_setport
Fix problems where all EXTRAPORT macros were being replaced by
the EXTRAPORT1 value. (Copy and paste issue.)

(cherry picked from commit fb78f82ba1)
(cherry picked from commit 8513c4256b)
(cherry picked from commit c8880ce14a)
2018-02-25 09:27:13 -08:00
Stephen Morris
0c59973a13 [rt46602] Minor documentation changes
(cherry picked from commit cdf18a5009)
(cherry picked from commit 4731a82eef)
(cherry picked from commit 04120c4223)
2018-02-25 09:27:13 -08:00
Stephen Morris
2dae3e430a [rt46602] Correct way allow_query test produces RNDC output
(cherry picked from commit 7f2d41d4c4)
(cherry picked from commit 36136dec55)
(cherry picked from commit 7125bddda8)
2018-02-25 09:27:13 -08:00
Stephen Morris
9490bd8355 [rt46602] Simplify the cleanup code
(cherry picked from commit 0855a8a6cc)
(cherry picked from commit fb5974f902)
(cherry picked from commit 5d69915cd8)
2018-02-25 09:27:12 -08:00
Stephen Morris
62f2f90bd3 [rt46602] Extensions to README
Added descriptions of how nameservers are started and stopped
during the tests, and how the framework cleans up the files created.

(cherry picked from commit f606b17dfb)
(cherry picked from commit 56ba2e822b)
(cherry picked from commit 5be3ea811e)
2018-02-25 09:27:12 -08:00
Stephen Morris
89772c3dda [rt46602] Miscellenous small changes
(cherry picked from commit b88b508b22)
(cherry picked from commit 3329876ffd)
(cherry picked from commit d2e214bff3)
2018-02-25 09:27:12 -08:00
Stephen Morris
c447d0e26d [rt46602] Handle echoing of multi-line output from tests
(cherry picked from commit 1f07c69f25)
(cherry picked from commit 6602a31229)
(cherry picked from commit c136a2fdb2)
2018-02-25 09:27:12 -08:00
Stephen Morris
4ee549091e [rt46602] Rename "test" variable to "systest"
... to avoid confusion between the variable and the command of the
same name.

(cherry picked from commit c12e06755f)
(cherry picked from commit 7a5476173a)
(cherry picked from commit b2319386f4)
2018-02-25 09:27:12 -08:00
Stephen Morris
275ece8341 [rt46602] Add ability to prevent deletion of output files when running all tests
Some tests may need to examine all output files from all system tests.
Allow the deletion of these files to be inhibited if required.

(cherry picked from commit 00bc29640b)
(cherry picked from commit 6917ea971a)
(cherry picked from commit 9040d3d367)
2018-02-25 09:27:12 -08:00
Stephen Morris
5a5f853966 [rt46602] Error messages before start of test are output to stderr
Error messages concerning the invocation of run.sh are output to
stderr.  Messages after the test has started are output to stdout.

(cherry picked from commit 244d1c30e2)
(cherry picked from commit ff5349b3b3)
(cherry picked from commit 5a1b50c023)
2018-02-25 09:27:12 -08:00
Stephen Morris
9e9356e65e [rt46602] Ensure that output sent to stderr is routed to the output file
(cherry picked from commit a5cf6bd12a)
(cherry picked from commit 6bd944c9d0)
(cherry picked from commit 67ff8ef970)
2018-02-25 09:27:12 -08:00
Stephen Morris
b38ccb911f [rt46602] Minor tidying up of documentation
(cherry picked from commit ce66752adc)
(cherry picked from commit 6b5e5a2da2)
(cherry picked from commit 2a5707943a)
2018-02-25 09:27:12 -08:00
Stephen Morris
9b9a387f15 [rt46602] Check prerequsities before network interfaces when running test.
(cherry picked from commit 549a6c6bc8)
(cherry picked from commit 0afcdf658d)
(cherry picked from commit 6dd8c2ab08)
2018-02-25 09:27:12 -08:00
Stephen Morris
73d62eca87 [rt46602] Minor formatting changes to Perl files
(cherry picked from commit f0f5b5f045)
(cherry picked from commit 5fc5b514e4)
(cherry picked from commit 09e1b5e143)
2018-02-25 09:27:09 -08:00
Stephen Morris
3234ad4c63 [rt46603] Provide echostart() and echoend() to output test start/end messages.
(cherry picked from commit c344e1d768)
(cherry picked from commit 88081b765e)
(cherry picked from commit dc0078e03b)
2018-02-25 09:26:35 -08:00
Stephen Morris
fad413366a [rt46602] Ensure test output in systests.output is not mixed up
When running all the system tests, output from a test is sent to a
test.output file in the test directory.  These are combined in to
systests.output when the run finishes.

(cherry picked from commit 055e5be9fd)
(cherry picked from commit 50769a4a9e)
(cherry picked from commit 818ac05cfc)
2018-02-25 09:26:32 -08:00
Stephen Morris
2e36ec8950 [rt46602] Miscellaneous minor fixes
... for misspellings, typos, trailing spaces, duplicated lines etc.

(cherry picked from commit 3c25e5fa02)
(cherry picked from commit 0e2e251a0d)
(cherry picked from commit f55e2791fc)
2018-02-25 09:26:23 -08:00
Stephen Morris
e553b00a8b [rt46602] Allocate 100 ports to each test
(cherry picked from commit edc7a18d84)
(cherry picked from commit 61514873e9)
(cherry picked from commit 21e33308d1)
2018-02-25 09:26:23 -08:00
Stephen Morris
ee59ba17b2 [rt46602] Pass port numbers to tests via environment variables
(cherry picked from commit f5d8f07900)
(cherry picked from commit f10b6cfeb6)
(cherry picked from commit 73d3527931)
2018-02-25 09:26:20 -08:00
Stephen Morris
d702992d06 [rt46602] Ensure parallel tests are in alphabetical order
(cherry picked from commit b2d90da0c2)
(cherry picked from commit bf2992dbe6)
(cherry picked from commit 3ddf401b1b)
2018-02-25 09:25:42 -08:00
Stephen Morris
ce03881a4a [rt46602] Expanded system tests README
Add more information on running the tests, together with a section
on how the tests are organised, aimed at new developers.

(cherry picked from commit af005cdbcf)
(cherry picked from commit 3952d4631e)
(cherry picked from commit 67f135c1d0)
2018-02-25 09:25:40 -08:00
Stephen Morris
becd4cd050 [rt46602] More updates to the test running framework
Tidy up the stop/start files and make switch usage consistent. Also
tidy up the various "clean" targets in the Makefile.

(cherry picked from commit b24c2e11d8)
(cherry picked from commit 78494c3a4d)
(cherry picked from commit 28c2b0be93)
2018-02-25 09:25:09 -08:00
Stephen Morris
00ef25535b [rt46602] Modify some test files to cope with the "-p" flag
(cherry picked from commit 517d990bd4)
(cherry picked from commit b01b553d72)
(cherry picked from commit ca76477b36)
2018-02-25 09:22:30 -08:00
Stephen Morris
320d22fa45 [rt46602] Tidy up run management
Miscellaneous tidying up of run management.  The most significant
change is that "runall.sh" now runs _all_ the tests, even the
ones that can run in parallel.  runsequential.sh is the script
to run tests that have not been converted to parallel running.

(cherry picked from commit 32fe6f7682)
(cherry picked from commit a49afdaeb8)
(cherry picked from commit dec6d02f28)
2018-02-25 09:22:30 -08:00
Stephen Morris
679bc83b07 [rt46602] Assign block of ports for each test
Some tests use more ports than just the query and control ports.
Each test that can run in parallel with other tests is now assigned
a unique block of 10 ports.

(cherry picked from commit e0ff77f9d3)
(cherry picked from commit df1348ad2b)
(cherry picked from commit c64af8abe5)
2018-02-25 09:22:30 -08:00
Stephen Morris
cbe47e1752 [rt46602] Miscellaneous changes to existing parallelised tests
Currently these tests are allow_query, rpzrecurse and serve-stale

1. Function to copy files and set port numbers renamed from copy_config
to copy_setports, as this is used to change the ports in Perl and Python
test scripts as well.
2. Changes to rpzrecurse/tests.sh to handle two calls to getopts (one to
parse port numbers, the other to parse rpzrecurse-specific options). Also
fixed various commands to use correct ports.
3. Updates to "clean.sh" scripts to ensure that all files created in the
test are removed.

(cherry picked from commit 78f2b9ca01)
(cherry picked from commit 01eb4d7c97)
(cherry picked from commit f5b71b3658)
2018-02-25 09:22:13 -08:00
Stephen Morris
0342f7e559 [rt46602] Ensure that tests running in parallel use unique ports
Via an intermediate make file, tests that have been modified to be able
to run in parallel are assigned unique query and control port numbers
(other than 5300 and 9953 respectively).  Tests that have not yet been
modified all use ports 5300 and 9953, so must be run sequentially.

(cherry picked from commit e7429b124b)
(cherry picked from commit 4f68e67e5c)
(cherry picked from commit 704e2324e3)
2018-02-25 09:21:52 -08:00
Stephen Morris
8fa27c7358 [rt46602] Miscellaneous tidying up of code cherry-picked from experimental branch
(cherry picked from commit e1a69e5d1f)
(cherry picked from commit ba694ca38c)
(cherry picked from commit c7bf09069d)
2018-02-25 09:21:01 -08:00
Ondřej Surý
6f801ceceb [rt46602] Allow parallel run of new dynamic port tests and the old ones
(cherry picked from commit 3b14d54fd7)
(cherry picked from commit a14bd48268)
(cherry picked from commit fbd24ff359)
2018-02-25 09:21:00 -08:00
Ondřej Surý
d080192323 [rt46602] Put back original .gitignore files in the system tests
(cherry picked from commit caaec1ef6d)
(cherry picked from commit cf7a86661a)
(cherry picked from commit ff2356395b)
2018-02-25 09:21:00 -08:00
Ondřej Surý
043bd61301 [rt46602] Adjust rpzrecurse for dynamic port usage
Resolve conflict in run.sh during cherry-pick from an experimental branch.

(cherry picked from commit 2a435708e4)
(cherry picked from commit c5aa6ed87b)
(cherry picked from commit 9bdb4d67f1)
2018-02-25 09:20:58 -08:00
Ondřej Surý
0173209dda [rt46602] Add $SEDPORTS variable to help with @PORT@ and @CONTROLPORT@ replacement
(cherry picked from commit e6802badc0)
(cherry picked from commit d37a52cc56)
(cherry picked from commit 76848ca9d4)
2018-02-25 09:17:30 -08:00
Ondřej Surý
ffa6566643 [rt46602] Move most of ignored files to top of system tests directory
(cherry picked from commit d2c8286163)
(cherry picked from commit a5c3077a9c)
(cherry picked from commit f11975087c)
2018-02-25 09:17:27 -08:00
Ondřej Surý
0f99295e12 [rt46602] Fix output from rndc reload
(cherry picked from commit 53bade5ece)
(cherry picked from commit 112355adb8)
(cherry picked from commit 77e5c32baf)
2018-02-25 09:14:51 -08:00
Ondřej Surý
dce8925c61 [rt46602] Add .gitignore to allow_query
(cherry picked from commit bc276f6c05)
(cherry picked from commit 76dfb5c339)
(cherry picked from commit 51ccb16653)
2018-02-25 09:14:50 -08:00
Ondřej Surý
2d8cf8c8cc [rt46602] Utilize echo_i to allow mixed test output
(cherry picked from commit 7e3c96c867)
(cherry picked from commit 93034acb4d)
(cherry picked from commit 9bcf40cbed)
2018-02-25 09:14:50 -08:00
Ondřej Surý
585d362afe [rt46602] Prefix R:<result> as R:<test>:<result>
Resolve conflict in run.sh during cherry-pick from experimental branch.

(cherry picked from commit 278c72fef6)
(cherry picked from commit b8e866d60f)
(cherry picked from commit ff56ecafc4)
2018-02-25 09:14:50 -08:00
Ondřej Surý
9cff66b3b9 [rt46602] Add echo_i function to print I:<testname>:string
(cherry picked from commit f7ac41757a)
(cherry picked from commit bd5b36f7a4)
(cherry picked from commit cdc72937d6)
2018-02-25 09:14:47 -08:00
Ondřej Surý
5b45f67f61 [rt46602] Add serve-stale working files to .gitignore
(cherry picked from commit cba162e70e)
(cherry picked from commit 57adb949a4)
(cherry picked from commit 2327f41b35)
2018-02-25 09:14:30 -08:00
Ondřej Surý
10da6c8a87 [rt46602] Convert allow_query to dynamic port
(cherry picked from commit 992a2bafec)
(cherry picked from commit 1d10178e83)
(cherry picked from commit 1a568d5a76)
2018-02-25 09:14:30 -08:00
Ondřej Surý
a74f729d21 [rt46602] Change the system tests script to support running individual tests on different ports
Resolved conflict in run.sh.

(cherry picked from commit fb00f18005)
(cherry picked from commit 0ee883d443)
(cherry picked from commit 75428f4951)
2018-02-25 09:14:30 -08:00
Evan Hunt
89e4fff657 Merge branch 'kyua-oot-v9_11-v9_10-v9_9' into 'v9_9'
chg: dev: Unit tests were broken in out-of-tree builds.

See merge request isc-projects/bind9!57
2018-02-23 15:51:50 -08:00
Petr Menšík
3727e6a944 unit/unittest.sh is generated by configure. It will always be
generated into builddir. If out-of-tree build is used, make unit
will always fail. Kyuafiles and testdata still have to be copied
manually into the builddir.

(cherry picked from commit 95cde3608a)
(cherry picked from commit 6d9b38e9fe)
(cherry picked from commit 6f2fd5ccca)
2018-02-23 15:51:50 -08:00
Evan Hunt
8fe8948bb0 Merge branch 'master-v9_12-v9_11-v9_10-v9_9' into 'v9_9'
Code cleanups

See merge request isc-projects/bind9!36
2018-02-23 13:57:56 -08:00
Petr Menšík
f3f8d67ad2 Reduce repeated detection of mysql lib directory.
Use common part once a bit later.

(cherry picked from commit 2a70eae04f)
(cherry picked from commit d04af52222)
(cherry picked from commit 1b0cf4fea6)
(cherry picked from commit 9982419c4c)
2018-02-23 13:57:56 -08:00
Petr Menšík
07b6ddd178 Reuse new function from rt46864 for similar block elsewhere.
(cherry picked from commit e7a93321f0)
(cherry picked from commit cb98ce8e67)
(cherry picked from commit 6876501605)
(cherry picked from commit 16ea60d8cc)
2018-02-23 13:57:56 -08:00
Michał Kępień
f55f714bce Merge branch '90-remove-i-check-flushtree-clears-adb-correctly-from-cacheclean-in-bind-9-9' into 'v9_9'
Resolve "remove "I:check flushtree clears adb correctly" from cacheclean in BIND 9.9"

See merge request isc-projects/bind9!53
2018-02-22 07:15:56 -05:00
Mark Andrews
29652923f8 remove 'check flushtree clears adb correctly' test 2018-02-22 14:35:40 +11:00
Mark Andrews
0b5b2c9b72 Merge branch '67-stabilize-cacheclean-system-test-v9_10-v9_9' into 'v9_9'
Stabilize cacheclean system test

Closes #67

See merge request isc-projects/bind9!43
2018-02-21 11:28:57 +11:00
Michał Kępień
598d5538fe Improve the way cache contents are searched for "ns.flushtest.example"
During the "check flushtree clears adb correctly" check, expecting
"ns.flushtest.example" to always be the first name in the ADB dump is
fragile, because in a certain corner case "a.root-servers.nil" will be
the first name instead.

As the purpose of the relevant check is to ensure "ns.flushtest.example"
is removed from ADB by "rndc flushtree flushtest.example", search the
entire list of names present in ADB instead of just the first entry when
looking for "ns.flushtest.example".

(cherry picked from commit ca1049b2f3)
(cherry picked from commit 3513a585e3)
2018-02-21 11:28:21 +11:00
Michał Kępień
580fb63a68 Wait until a cache dump completes instead of waiting for a fixed amount of time
Dumping the cache is an asynchronous operation, so sleeping for a fixed
amount of time after running "rndc dumpdb" is imperfect as dumping cache
contents may take longer than expected on slower machines.  Instead of
always sleeping for 1 second, wait until the "; Dump complete" line
appears in the dump or 10 seconds pass, whichever comes first.

(cherry picked from commit 2bbff06d36)
(cherry picked from commit e617b91527)
2018-02-21 11:28:16 +11:00
Michał Kępień
44e946e9e9 Do not overwrite cache dumps
Unless configured otherwise in named.conf, "rndc dumpdb" causes a cache
dump to be written to a file called "named_dump.db" in the working
directory of the given named instance.  Repeatedly using this command
throughout different checks in the cacheclean system test causes cache
dumps for older checks to be overwritten, which hinders failure
diagnosis.  Prevent this by moving each cache dump to a check-specific
location after running "rndc dumpdb".

Furthermore, during the "check flushtree clears adb correctly" check,
dump_cache() is called twice without renaming the resulting files.
Prevent the first cache dump from being overwritten by moving it to a
different file before calling "rndc dumpdb" for the second time.

(cherry picked from commit aeea1faf01)
(cherry picked from commit dcd91ab322)
2018-02-21 11:26:58 +11:00
Michał Kępień
5c0afa76f7 Assign an index to each check in the cacheclean system test
This will enable storing per-check forensic data, which facilitates
troubleshooting test failures.

(cherry picked from commit 01de79b332)
(cherry picked from commit 7679819e15)
2018-02-21 10:52:43 +11:00
Evan Hunt
f8d31691b5 [v9_9] add missing release note, update README 2018-02-17 20:04:13 -08:00
Michał Kępień
45cbf528f7 Merge branch 'fix-loadpending-handling-v9_9' into v9_9 2018-02-16 09:03:53 +01:00
Michał Kępień
d55d1c9f92 Add CHANGES entry
4892.	[bug]		named could leak memory when "rndc reload" was invoked
			before all zone loading actions triggered by a previous
			"rndc reload" command were completed. [RT #47076]
2018-02-16 09:03:48 +01:00
Michał Kępień
13cc08ea67 Do not recheck DNS_ZONEFLG_LOADPENDING in zone_asyncload()
Remove a block of code which dates back to commit 8a2ab2b920, when
dns_zone_asyncload() did not yet check DNS_ZONEFLG_LOADPENDING.
Currently, no race in accessing DNS_ZONEFLG_LOADPENDING is possible any
more, because:

  - dns_zone_asyncload() is still the only function which may queue
    zone_asyncload(),

  - dns_zone_asyncload() accesses DNS_ZONEFLG_LOADPENDING under a lock
    (and potentially queues an event under the same lock),

  - DNS_ZONEFLG_LOADPENDING is not cleared until the load actually
    completes.

Thus, the rechecking code can be safely removed from zone_asyncload().

Note that this also brings zone_asyncload() to a state in which the
completion callback is always invoked.  This is required to prevent
leaking memory in case something goes wrong in zone_asyncload() and a
zone table the zone belongs to is indefinitely left with a positive
reference count.
2018-02-16 09:03:27 +01:00
Michał Kępień
b38c5d2840 Asynchronous zone load events have no way of getting canceled
Code handling cancellation of asynchronous zone load events was likely
copied over from other functions when asynchronous zone loading was
first implemented in commit 8a2ab2b920.  However, unlike those other
functions, asynchronous zone loading events currently have no way of
getting canceled once they get posted, which means the aforementioned
code is effectively dead.  Remove it to prevent confusion.
2018-02-16 09:03:27 +01:00
Michał Kępień
ec51b6d3d4 Only clear DNS_ZONEFLG_LOADPENDING in zone_asyncload() if zone loading is completed immediately
zone_load() is not always synchronous, it may only initiate an
asynchronous load and return DNS_R_CONTINUE, which means zone loading
has not yet been completed.  In such a case, zone_asyncload() must not
clear DNS_ZONEFLG_LOADPENDING immediately and leave that up to
zone_postload().
2018-02-16 09:03:27 +01:00
Michał Kępień
9c103120ad Lock zone before checking whether its asynchronous load is already pending
While this is not an issue in named, which only calls
dns_zone_asyncload() from task-exclusive mode, this function is exported
by libdns and thus may in theory be concurrently called for the same
zone by multiple threads.  It also does not hurt to be consistent
locking-wise with other DNS_ZONEFLG_LOADPENDING accesses.
2018-02-16 09:03:27 +01:00
Mark Andrews
0402b2121f Merge branch 'fix-cpp-check-errors' into 'v9_9'
Fix cpp check errors v9_9

See merge request isc-projects/bind9!32
2018-02-16 02:49:07 -05:00
Mark Andrews
292245ebbf s/cppchecker/cppcheck 2018-02-16 18:45:24 +11:00
Mark Andrews
f80160d467 add GL issue number 2018-02-16 18:45:24 +11:00
Mark Andrews
469bc9fd15 add CHANGES note 2018-02-16 18:45:23 +11:00
Mark Andrews
1832348d27 add POST(len); 2018-02-16 18:44:47 +11:00
Mark Andrews
2670173c43 conditionally declare stacksize 2018-02-16 18:44:47 +11:00
Mark Andrews
ca738505ec add POST(len); 2018-02-16 18:43:59 +11:00
Mark Andrews
622bf9256b add POST(tl) 2018-02-16 18:43:46 +11:00
Mark Andrews
4404fcb384 return failure count 2018-02-16 18:42:11 +11:00
Mark Andrews
7245f12d3e conditionally declare strbuf 2018-02-16 18:41:31 +11:00
Mark Andrews
192a119b5a test for == 0 rather than <= as value is unsigned 2018-02-16 18:41:31 +11:00
Mark Andrews
872543eca7 add brackets 2018-02-16 18:37:05 +11:00
Mark Andrews
5de799a1c8 reorder test to silence cppcheck 2018-02-16 18:37:05 +11:00
Mark Andrews
32166fae3b remove event which is only used for sizeof 2018-02-16 18:37:05 +11:00
Mark Andrews
a4d8e7526a reorder test to silence cppcheck 2018-02-16 18:36:17 +11:00
Mark Andrews
324039934d use %u instead of %d 2018-02-16 18:36:17 +11:00
Mark Andrews
a6a6928e7e use %u instead of %d 2018-02-16 18:35:49 +11:00
Mark Andrews
fb188d4795 use %u instead of %d 2018-02-16 18:32:54 +11:00
Mark Andrews
f7c7a87cb4 use %u instead of %d 2018-02-16 18:30:18 +11:00
Mark Andrews
810fdbe4e7 use %u instead of %d 2018-02-16 18:30:18 +11:00
Mark Andrews
f6e83e4108 use %u instead of %d 2018-02-16 18:30:18 +11:00
Mark Andrews
9d061a7864 use %u instead of %d 2018-02-16 18:29:17 +11:00
Mark Andrews
a6f0a302ea case to unsigned; reorder expression 2018-02-16 18:25:33 +11:00
Mark Andrews
fd0877d294 simplify expression 2018-02-16 18:23:12 +11:00
Mark Andrews
ef0fb20613 use %u and preserve unsigned property 2018-02-16 18:23:11 +11:00
Mark Andrews
6cc168d6d4 cast to unsigned 2018-02-16 18:17:59 +11:00
Mark Andrews
bc7adce774 preserve unsigned property 2018-02-16 18:17:59 +11:00
Mark Andrews
b7a4a93b0d use %u instead of %d 2018-02-16 18:17:59 +11:00
Mark Andrews
5ae3eb3cfb make both arguments of & unsigned 2018-02-16 18:17:59 +11:00
Mark Andrews
cc21083141 use %u instead of %d 2018-02-16 18:16:48 +11:00
Mark Andrews
13421f89a2 shift unsigned (~0U) rather than signed (~0) contant 2018-02-16 18:16:48 +11:00
Mark Andrews
1bc27d6b26 use %u instead of %d 2018-02-16 18:16:48 +11:00
Mark Andrews
f693b488e1 unsigned constants 2018-02-16 18:15:21 +11:00
Mark Andrews
fe9ab35df1 unsigned constants 2018-02-16 18:13:08 +11:00
Mark Andrews
b6e6160df8 use %u instead of %d 2018-02-16 18:10:41 +11:00
Mark Andrews
606aa56e4f use %u instead of %d 2018-02-16 18:10:41 +11:00
Mark Andrews
131d4c873e use %u instead of %d 2018-02-16 18:08:58 +11:00
Mark Andrews
b3d10f1a43 use %u instead of %d 2018-02-16 18:06:58 +11:00
Mark Andrews
922ada36b5 formally cast to int; use %u instead of %d 2018-02-16 18:05:01 +11:00
Mark Andrews
726eaefd3e formally cast to int 2018-02-16 18:05:01 +11:00
Mark Andrews
62d579f152 use %u instead of %d 2018-02-16 18:05:01 +11:00
Mark Andrews
41ac666f4a use %u instead of %d 2018-02-16 18:04:27 +11:00
Mark Andrews
5c91a79de9 use %u instead of %d 2018-02-16 18:02:21 +11:00
Mark Andrews
3ddd77519d use %u instead of %d 2018-02-16 17:58:39 +11:00
Mark Andrews
e3bc8bc293 use %u instead of %d 2018-02-16 17:53:13 +11:00
Mark Andrews
75691e0d90 use %u instead of %d 2018-02-16 17:53:13 +11:00
Mark Andrews
01fd4fcca2 use %u instead of %d 2018-02-16 17:51:07 +11:00
Mark Andrews
a365729e6a make declarations consistent 2018-02-16 17:49:02 +11:00
Mark Andrews
5962de0c3e report argument error in human form 2018-02-16 17:49:02 +11:00
Mark Andrews
8498787e55 use %u instead of %d 2018-02-16 17:49:02 +11:00
Mark Andrews
2194d8674b use %u instead of %d 2018-02-16 17:49:02 +11:00
Mark Andrews
faabe3071c use %u instead of %d 2018-02-16 17:49:02 +11:00
Mark Andrews
028a719b2f use %u instead of %d 2018-02-16 17:49:02 +11:00
Mark Andrews
5c28ae51c5 use %u instead of %d 2018-02-16 17:49:02 +11:00
Mark Andrews
92a93137fc use %u instead of %i 2018-02-16 17:46:46 +11:00
Mark Andrews
abc877a61a use %u rather than %d; pass a unsigned int pointer 2018-02-16 17:44:39 +11:00
Mark Andrews
92eeb710c3 clear *logp 2018-02-16 17:44:39 +11:00
Mark Andrews
8251280d02 use %u instead of %d 2018-02-16 17:44:39 +11:00
Mark Andrews
2b64fa5994 signed vs unsigned fixes 2018-02-16 17:42:57 +11:00
Tinderbox User
1a63a9b4b2 regen v9_9 2018-02-15 19:47:47 +00:00
Evan Hunt
ff9f94f78a [v9_9] prep 9.9.12rc1 2018-02-15 11:20:01 -08:00
Evan Hunt
950777feb8 [v9_9] copyrights 2018-02-10 16:32:35 -08:00
Mark Andrews
c6cd108838 check warning text 2018-02-09 14:04:35 +11:00
Mark Andrews
8e700f440d get the correct test file
(cherry picked from commit ae09500989)
2018-02-09 13:57:52 +11:00
Evan Hunt
e2170a7769 [v9_9] fix test error 2018-02-08 18:46:11 -08:00
Evan Hunt
8ac589acc5 [rt43670] more emphatic warning 2018-02-09 12:29:29 +11:00
Mark Andrews
f6b7ff7280 fix meger error 2018-02-09 12:20:34 +11:00
Mark Andrews
11221a5504 4889. [func] Warn about the use of old root keys without the new
root key being present.  Warn about dlv.isc.org's
                        key being present. Warn about both managed and
                        trusted root keys being present. [RT #43670]

(cherry picked from commit baef0ca988)
2018-02-09 12:16:30 +11:00
Evan Hunt
43dfbaef94 [v9_9] fix typo 2018-02-08 16:16:30 -08:00
Tinderbox User
af6854e060 update copyright notice / whitespace 2018-02-08 23:53:55 +00:00
Tinderbox User
c64c974891 newcopyrights 2018-02-08 23:30:54 +00:00
Mark Andrews
e004a9a491 [v9_9] fix nsupdate test on windows
4888.	[test]		Initialize sockets correctly in sample-update so
			that nsupdate system test will will run on Windows.
			[RT #47097]

(cherry picked from commit 6757dc6488)
2018-02-08 13:36:44 -08:00
Mark Andrews
676dafa28c add IgnoreImportLibrary 2018-02-08 18:30:37 +11:00
Tinderbox User
6d013aed03 regen v9_9 2018-02-08 01:43:29 +00:00
Tinderbox User
0cba4c94d4 update copyright notice / whitespace 2018-02-07 23:52:52 +00:00
Tinderbox User
6ce1da9ef9 newcopyrights 2018-02-07 23:34:57 +00:00
Mark Andrews
e8cf0beea2 add note for update-policy rules changes
(cherry picked from commit ff8f2a584d)
2018-02-07 14:04:06 +11:00
Mark Andrews
274b1ae55a 4885. [security] update-policy rules that otherwise ignore the name
field now require that it be set to "." to ensure
                        that any type list present is properly interpreted.
                        [RT #47126]

(cherry picked from commit ec771bbdc8)
2018-02-07 13:51:05 +11:00
Mark Andrews
61fea4f83b look for #! to determine if the file is PYTHON or PYTHON-BIN
(cherry picked from commit 4fcc550877)
2018-02-05 11:41:05 +11:00
Tinderbox User
1cbeda829d update copyright notice / whitespace 2018-01-30 23:50:48 +00:00
Tinderbox User
c3f7cbf61d newcopyrights 2018-01-30 23:31:14 +00:00
Evan Hunt
f98e326f8e [v9_9] use 'command' instead of 'type' to find atf-run and kyua paths 2018-01-30 10:33:46 -08:00
Evan Hunt
fd135e541e [v9_9] remove 'ply' requirement, not needed before 9.11
(cherry picked from commit c6a2350fb7)
2018-01-30 09:19:22 -08:00
Evan Hunt
4e3c68e863 [v9_9] typo 2018-01-30 09:15:18 -08:00
Mark Andrews
e1994f4fd9 4882. [bug] Address potential memory leak in
dns_update_signaturesinc. [RT #47084]

(cherry picked from commit 7817caa3c7)
2018-01-30 15:29:41 +11:00
Mark Andrews
7e6d7232c7 4879. [bug] dns_rdata_caa:value_len is was small. [RT #47086]
(cherry picked from commit 3ae586b857)
2018-01-30 11:01:02 +11:00
Tinderbox User
8aad9a803f update copyright notice / whitespace 2018-01-29 23:50:23 +00:00
Tinderbox User
8835d39e4b newcopyrights 2018-01-29 23:30:40 +00:00
Mark Andrews
996b041ed4 4878. [bug] List 'ply' as a requirement for the 'isc' python
package. [RT #47065]

(cherry picked from commit 6e08af82ed)
2018-01-29 13:30:59 +11:00
Tinderbox User
763a9ad41f update copyright notice / whitespace 2018-01-24 23:49:40 +00:00
Tinderbox User
5b43fe60c5 newcopyrights 2018-01-24 23:30:30 +00:00
Tinderbox User
470cee7071 regen v9_9 2018-01-24 21:11:07 +00:00
Evan Hunt
7fe379bf51 [v9_9] change uint to isc_uint 2018-01-24 11:02:45 -08:00
Evan Hunt
0712192947 [v9_9] update 9.11 api range 2018-01-24 10:24:48 -08:00
Evan Hunt
00947bf45d [v9_9] prep 9.9.12b1 2018-01-24 10:15:30 -08:00
Evan Hunt
12edba1c1b [v9_9] copyrights 2018-01-24 09:53:05 -08:00
Mark Andrews
cc30c2c06a 4876. [bug] Address deadlock with accessing a keytable. [RT #47000] 2018-01-24 21:43:52 +11:00
Tinderbox User
135d4c632c update copyright notice / whitespace 2018-01-23 23:49:46 +00:00
Tinderbox User
8f93b51d9b newcopyrights 2018-01-23 23:30:27 +00:00
Mark Andrews
54945751e2 4874. [bug] Wrong time display when reporting new keywarntime.
[RT #47042]

(cherry picked from commit 83d005de61)
2018-01-24 08:01:17 +11:00
Tinderbox User
6650f52fec regen v9_9 2018-01-23 01:24:40 +00:00
Tinderbox User
0478b1d205 update copyright notice / whitespace 2018-01-22 23:49:47 +00:00
Tinderbox User
89968f2dab newcopyrights 2018-01-22 23:40:24 +00:00
Mark Andrews
d244983672 doc/misc/*.zoneopt are X
(cherry picked from commit 7f4dfa539c)
2018-01-23 10:39:36 +11:00
Tinderbox User
d530e50f1f newcopyrights 2018-01-22 23:33:48 +00:00
Mukund Sivaraman
ef838436ef Don't permit loading meta RR types such as TKEY from master files (#47009)
(cherry picked from commit 8a4ce20172)
(cherry picked from commit c8eb726046)
(cherry picked from commit 6fb3db01ac)
(cherry picked from commit 96456c0834)
2018-01-22 15:03:31 +05:30
Mukund Sivaraman
18fca91e74 Fix configure issue detecting stdatomic.h support (#46959)
(cherry picked from commit 63d0c6a3fc)
(cherry picked from commit 7e1ed15762)
(cherry picked from commit fd82c70695)
(cherry picked from commit 7c36869fdf)
2018-01-22 13:53:32 +05:30
Mark Andrews
061199c4d9 remove old entries
(cherry picked from commit 54c4adef80)
2018-01-22 11:28:59 +11:00
Tinderbox User
ecfc27bf6d update copyright notice / whitespace 2018-01-21 23:49:55 +00:00
Tinderbox User
21718fd6a7 newcopyrights 2018-01-21 23:35:11 +00:00
Mark Andrews
e54847154f 4870. [test] Update included ATF library to atf-0.21 preserving
the ATF tool. [RT #46967]

(cherry picked from commit 23d77c8747)
2018-01-22 10:01:01 +11:00
Mark Andrews
2f346f4275 4869. [bug] Address some cases where NULL with zero length could
be passed to memmove which is undefined behaviour and
                        can lead to bad optimisation. [RT #46888]

(cherry picked from commit fdd8838bf9)
2018-01-22 09:42:25 +11:00
Tinderbox User
97f23a2202 newcopyrights 2018-01-19 23:31:00 +00:00
Tinderbox User
f305f65ea5 regen v9_9 2018-01-19 01:37:38 +00:00
Tinderbox User
44e1182a87 update copyright notice / whitespace 2018-01-18 23:50:43 +00:00
Tinderbox User
5beb70f9c8 newcopyrights 2018-01-18 23:30:43 +00:00
Evan Hunt
de38f4a19a [v9_9] fix merge error
(cherry picked from commit cdda779d07)
2018-01-18 13:30:03 -08:00
Evan Hunt
1b2b139592 [v9_9] normalize rndc on/off commands
4867.	[cleanup]	Normalize rndc on/off commands (validation and
			querylog) so they accept the same synonyms
			for on/off (yes/no, true/false, enable/disable).
			Thanks to Tony Finch. [RT #47022]

(cherry picked from commit cf8f4241e7)
(cherry picked from commit 4221d9cd1d)
(cherry picked from commit d75441a500)
2018-01-18 10:54:54 -08:00
Tinderbox User
8d5a01a868 update copyright notice / whitespace 2018-01-13 23:50:30 +00:00
Tinderbox User
5ead9ed920 newcopyrights 2018-01-13 23:30:50 +00:00
Mukund Sivaraman
4f47e5fd63 Fix various bugs reported by valgrind --tool=memcheck (#46978)
(cherry picked from commit f96133826e)
(cherry picked from commit 0374e1c3fd)
(cherry picked from commit 929329d2d6)
(cherry picked from commit d072be0691)
2018-01-13 12:02:18 +05:30
Mark Andrews
a8b6d87ebe ret was not being set to 1 on dig error. [RT #46990]
(cherry picked from commit 69c4c987f6)
2018-01-13 13:18:15 +11:00
Tinderbox User
a0a1ae4cc1 update copyright notice / whitespace 2018-01-11 23:49:10 +00:00
Tinderbox User
867adec491 newcopyrights 2018-01-11 23:30:35 +00:00
Evan Hunt
72b980db23 [v9_9] go three section levels deep in the ARM table of contents
(cherry picked from commit 0c061ce614)
2018-01-11 13:41:40 -08:00
Tinderbox User
4c71ca4ae7 update copyright notice / whitespace 2018-01-10 23:57:36 +00:00
Tinderbox User
515f3bd86b newcopyrights 2018-01-10 23:31:15 +00:00
Mark Andrews
be5f692681 grammar
(cherry picked from commit a35b95acb1)
2018-01-11 09:55:33 +11:00
Mark Andrews
efb95afc6f 4862. [bug] The rdata flags for RRSIG was not being properly set
when constructing a rdataslab. [RT #46978]

(cherry picked from commit 7befb67af4)
2018-01-11 09:55:07 +11:00
Tinderbox User
536fe358af update copyright notice / whitespace 2018-01-09 23:49:31 +00:00
Tinderbox User
8ea32cfdf3 newcopyrights 2018-01-09 23:30:27 +00:00
Mark Andrews
55c81d796c 4860. [bug] isc_int8_t should be signed char. [RT #46973]
(cherry picked from commit 21f708c88c)
2018-01-10 08:42:38 +11:00
Tinderbox User
007ab1019f newcopyrights 2018-01-05 23:30:23 +00:00
Mark Andrews
79dc8a0013 test devent->sigrdataset rather than devent->rdataset before calling query_putrdataset
(cherry picked from commit e08a31e317)
2018-01-05 12:41:51 +11:00
Tinderbox User
e75efb5b43 regen v9_9 2018-01-05 01:40:06 +00:00
Mark Andrews
455296d36a Revert "unconditionally typedef summarystat_t for coverity"
This reverts commit 59c2cad2f3.
2018-01-05 11:10:28 +11:00
Tinderbox User
f3e5a44f00 update copyright notice / whitespace 2018-01-04 23:47:43 +00:00
Tinderbox User
5bce14d090 newcopyrights 2018-01-04 23:30:34 +00:00
Mark Andrews
59c2cad2f3 unconditionally typedef summarystat_t for coverity
(cherry picked from commit a0e66ef6dd)
2018-01-05 10:12:16 +11:00
Evan Hunt
2921125a40 [v9_9] typo 2018-01-03 19:30:35 -08:00
Evan Hunt
f6ec7f6b99 [v9_9] block validator deadlock and prevent use-after-free
4859.	[bug]		A loop was possible when attempting to validate
			unsigned CNAME responses from secure zones;
			this caused a delay in returning SERVFAIL and
			also increased the chances of encountering
			CVE-2017-3145. [RT #46839]

4858.	[security]	Addresses could be referenced after being freed
			in resolver.c, causing an assertion failure.
			(CVE-2017-3145) [RT #46839]
2018-01-03 19:19:59 -08:00
Mark Andrews
385d0b66e0 4857. [bug] Maintain attach/detach semantics for event->db,
event->node, event->rdataset and event->sigrdataset
                        in query.c. [RT #46891]

(cherry picked from commit cad79077bd)
2018-01-04 13:20:34 +11:00
Tinderbox User
01dd316a95 update copyright notice / whitespace 2018-01-03 23:47:32 +00:00
Tinderbox User
fecf11b50f newcopyrights 2018-01-03 23:30:22 +00:00
Mark Andrews
26be82ee90 missing newline in comment
(cherry picked from commit 7258b852cf)
2018-01-03 17:12:04 +11:00
Tinderbox User
3d87b339d1 update copyright notice / whitespace 2018-01-02 23:47:41 +00:00
Tinderbox User
2668b95937 newcopyrights 2018-01-02 23:30:24 +00:00
Tinderbox User
2bf55621ac regen v9_9 2018-01-02 01:40:42 +00:00
Mark Andrews
4d16a4653d 4852. [bug] Add REQUIRE's and INSIST's to isc_time_formattimestamp,
isc_time_formathttptimestamp, isc_time_formatISO8601.
                        [RT #46892]
2018-01-02 10:49:43 +11:00
Tinderbox User
2c0cfa6398 update copyright notice / whitespace 2018-01-01 23:47:39 +00:00
Tinderbox User
7904434f8f newcopyrights 2018-01-01 23:30:38 +00:00
Mark Andrews
87710f11d8 4851. [port] Support using kyua as well as atf-run to run the unit
tests. [RT #46853]

(cherry picked from commit ccb5678066)
2018-01-02 10:22:29 +11:00
Tinderbox User
a0bce5b943 newcopyrights 2017-12-29 23:32:25 +00:00
Tinderbox User
bb69fd0a5e regen v9_9 2017-12-29 07:38:35 +00:00
Mark Andrews
6cda436b33 X Kyuafile's
(cherry picked from commit fa0caa1f85)
2017-12-29 13:42:35 +11:00
Tinderbox User
7aeee801e6 regen v9_9 2017-12-29 02:41:20 +00:00
Mark Andrews
b4e91bdae5 silence clang static analysis
(cherry picked from commit f933be6d45)
2017-12-22 13:09:44 +11:00
Mark Andrews
9711fe2244 initalize sigsize to zero; ATF_CHECK_EQ(sigsize, tsig.siglen);
(cherry picked from commit 9f61f6b46b)
2017-12-22 08:59:15 +11:00
Tinderbox User
dce370c959 regen v9_9 2017-12-21 01:41:40 +00:00
Mark Andrews
7a4bb46dd1 lowercase m in macOS
(cherry picked from commit 2cc7c4d62c)
2017-12-21 10:58:06 +11:00
Francis Dupont
ef75e19ff6 Fixed embedded atf code warning (RT 46833) 2017-12-18 16:20:00 +01:00
Tinderbox User
0cfdad53dc regen v9_9 2017-12-16 01:47:39 +00:00
Mark Andrews
aeb6df2983 fix case
(cherry picked from commit 68a2932f75)
2017-12-15 14:54:30 +11:00
Mark Andrews
fa39c8ad72 add MacOS to contents
(cherry picked from commit 13508261e0)
2017-12-15 14:47:03 +11:00
Mark Andrews
2406a700f9 add MacOS note
(cherry picked from commit 91e4700bcc)
2017-12-15 14:39:33 +11:00
Mark Andrews
7210904eb9 backport support for Windows differences 2017-12-13 17:51:29 +11:00
Mark Andrews
26facb12cb test for key != NULL on error path
(cherry picked from commit 9bad78cbc2)
2017-12-13 15:13:30 +11:00
Mark Andrews
93b42ff4cc 4846. [test] Adjust timing values in runtime system test. Address
named.pid removal races in runtime system test.
                        [RT #46800]

(cherry picked from commit c67180f09b)
(cherry picked from commit 0f14b04132)
(cherry picked from commit 265ba7d08b)
2017-12-13 10:38:48 +11:00
Mark Andrews
2884abf6a1 don't attempt to call isc_buffer_free(&buf) twice; don't attempt to call dns_message_destroy(&msg) twice; don't test for key != NULL
(cherry picked from commit cb8650d875)
2017-12-12 13:25:12 +11:00
Tinderbox User
8f8e4b6505 regen v9_9 2017-12-09 01:38:38 +00:00
Tinderbox User
fd254260b6 newcopyrights 2017-12-08 23:30:31 +00:00
Mark Andrews
60a1305469 increment test number
(cherry picked from commit e5c2cfdbf9)
2017-12-08 14:51:37 +11:00
Evan Hunt
591c63758d [v9_9] document "fixedpoint" 2017-12-07 19:01:32 -08:00
Mark Andrews
e68c3d1c7e 4844. [test] Address memory leaks in libatf-c. [RT #46798]
(cherry picked from commit 1c794002f5)
2017-12-08 12:35:03 +11:00
Mark Andrews
fdb6a8e3c9 4843. [bug] dnssec-signzone free hashlist on exit. [RT #46791]
(cherry picked from commit 8444b4856a)
2017-12-07 19:30:24 +11:00
Mark Andrews
4e7801ebfd 4842. [bug] Conditionally compile opensslecdsa_link.c to avoid
warnings about unused function. [RT #46790]

(cherry picked from commit 63459cdc05)
(cherry picked from commit 2d82ed9456)
2017-12-07 13:41:50 +11:00
Tinderbox User
92c1063230 update copyright notice / whitespace 2017-12-06 23:48:04 +00:00
Tinderbox User
67b2782b43 newcopyrights 2017-12-06 23:30:49 +00:00
Mark Andrews
7b34ba54c9 4841. [bug] Address -fsanitize=undefined warnings. [RT #46786]
(cherry picked from commit 9d5a0abe81)
(cherry picked from commit 58c86991ee)
2017-12-06 21:05:34 +11:00
Mark Andrews
4a51a6fd40 4840. [test] Add tests to cover fallback to using ZSK on inactive
KSK. [RT #46787]

(cherry picked from commit 32d09cd7e0)
(cherry picked from commit 0d6328ce5f)
(cherry picked from commit 51f13bcd2f)
2017-12-06 20:50:56 +11:00
Tinderbox User
2fb2f85572 regen v9_9 2017-12-06 01:39:53 +00:00
Tinderbox User
d114b94481 update copyright notice / whitespace 2017-12-05 23:48:43 +00:00
Tinderbox User
99069f6859 newcopyrights 2017-12-05 23:30:50 +00:00
Curtis Blackburn
60b4b5ead3 clarify "stage 1" and "stage 2" in autosign test 2017-12-05 10:05:21 -08:00
Mark Andrews
02324ce60a set the DNSKEY deletion time to now+5 once we got all the zones into their initial state
(cherry picked from commit ecafa2ae50)
(cherry picked from commit 15057131d5)
2017-12-05 21:43:13 +11:00
Mark Andrews
124a44db43 use 9.11 and earlier syntax for dnssec-keygen
(cherry picked from commit 7f31784c52)
2017-12-05 20:44:20 +11:00
Mark Andrews
6f1e9471fa add [RT #46774]
(cherry picked from commit 77f9623439)
2017-12-05 16:14:51 +11:00
Mark Andrews
3666b9bfb6 4839. [bug] zone.c:zone_sign was not properly determining
if there were active KSK and ZSK keys for
                        a algorithm when update-check-ksk is true
                        (default) leaving records unsigned with one or
                        more DNSKEY algorithms. [RT #46774]

(cherry picked from commit 00f5ea91cf)
2017-12-05 16:12:05 +11:00
Tinderbox User
087be21e1b regen v9_9 2017-12-05 01:31:52 +00:00
Tinderbox User
55da37ecc7 update copyright notice / whitespace 2017-12-04 23:51:02 +00:00
Evan Hunt
36794f5653 [v9_9] fix test descriptions 2017-12-04 15:48:09 -08:00
Evan Hunt
facc6fc966 [v9_9] revised release note 2017-12-04 15:37:47 -08:00
Tinderbox User
afb7408d08 newcopyrights 2017-12-04 23:31:38 +00:00
Mark Andrews
8d9bbc5128 add note for [RT #46743] and [RT #46754]
(cherry picked from commit 9ff34db455)
(cherry picked from commit 15bc7f54ff)
2017-12-05 09:54:24 +11:00
Mark Andrews
2c0a365200 4838. [bug] zone.c:add_sigs was not properly determining
if there were active KSK and ZSK keys for
                        a algorithm when update-check-ksk is true
                        (default) leaving records unsigned with one or
                        more DNSKEY algorithms. [RT #46754]

(cherry picked from commit 6fa2a0691e)
(cherry picked from commit 677f507de7)
2017-12-05 09:44:49 +11:00
Tinderbox User
bd9577293b update copyright notice / whitespace 2017-12-03 23:47:49 +00:00
Tinderbox User
f9161a79bf newcopyrights 2017-12-03 23:30:34 +00:00
Mark Andrews
5ed673c0d2 4837. [bug] dns_update_signatures{inc} (add_sigs) was not
properly determining if there were active KSK and
                        ZSK keys for a algorithm when update-check-ksk is
                        true (default) leaving records unsigned. [RT #46743]

(cherry picked from commit 196e01da5f)
(cherry picked from commit bf459d24a1)
(cherry picked from commit 5623f65cc4)
2017-12-04 10:09:45 +11:00
Tinderbox User
53495041f9 regen v9_9 2017-12-01 01:32:01 +00:00
Tinderbox User
03674299c7 update copyright notice / whitespace 2017-11-30 23:50:30 +00:00
Tinderbox User
9343980c29 newcopyrights 2017-11-30 23:31:22 +00:00
Evan Hunt
17122341fe [v9_9] fix "allow-transfer" inheritance and clean up ACL configuration
4836.	[bug]		Zones created using "rndc addzone" could
			temporarily fail to inherit an "allow-transfer"
			ACL that had been configured in the options
			statement. [RT #46603]

(cherry picked from commit e197a2bd15)
(cherry picked from commit f53e0bda46)
(cherry picked from commit 9dfff4e378)
2017-11-30 13:34:53 -08:00
Tinderbox User
a0c8227d06 update copyright notice / whitespace 2017-11-29 23:47:59 +00:00
Mark Andrews
5e94477563 4833. [bug] isc_event_free should check that the event is not
linked when called. [RT #46725]

4832.   [bug]           Events were not being removed from zone->rss_events.
                        [RT #46725]

(cherry picked from commit 9ddf7d6c4c)
2017-11-30 10:39:29 +11:00
Tinderbox User
be0cf6ba6a newcopyrights 2017-11-29 23:30:30 +00:00
Mark Andrews
a267c17a85 4831. [bug] Convert the RRSIG expirytime to 64 bits for
comparisions in diff.c:resign. [RT #46710]

(cherry picked from commit 0579a11658)
2017-11-29 15:31:53 +11:00
Tinderbox User
0b464aa2fe regen v9_9 2017-11-29 01:32:11 +00:00
Tinderbox User
c49b27bc75 update copyright notice / whitespace 2017-11-28 23:48:09 +00:00
Tinderbox User
10a446524d newcopyrights 2017-11-28 23:30:58 +00:00
Michał Kępień
fa9d613af9 [v9_9] Bail out of "./configure --with-atf" if "./configure" inside unit/atf-src fails
4830.	[bug]		Failure to configure ATF when requested did not cause
			an error in top-level configure script. [RT #46655]

(cherry picked from commit 376d5996a1)
2017-11-28 13:38:28 +01:00
Mark Andrews
76cff0f786 4829. [bug] isc_heap_delete did not zero the index value when
the heap was created with a callback to do that.
                        [RT #46709]

(cherry picked from commit 65a483106e)
2017-11-28 19:04:56 +11:00
Mark Andrews
900560e800 map more entry points to <name>64 2017-11-28 14:16:57 +11:00
Mark Andrews
ade2ece256 #define update_recordsandbytes update_recordsandbytes64 2017-11-28 14:16:01 +11:00
Tinderbox User
88dcddea15 regen v9_9 2017-11-28 01:31:46 +00:00
Tinderbox User
230916c184 update copyright notice / whitespace 2017-11-27 23:50:30 +00:00
Tinderbox User
8d20dc227b newcopyrights 2017-11-27 23:31:12 +00:00
Mark Andrews
d5b0589e4c restore setting header->heap_index to zero in setsigningtime
(cherry picked from commit c22b540e4c)
2017-11-28 06:47:49 +11:00
Michał Kępień
a59eb10b23 [v9_9] Stabilize nsupdate system test [RT #46673]
(cherry picked from commit 00ff44c7c2)
2017-11-27 10:16:09 +01:00
Michał Kępień
e85163f84c [v9_9] Fix OPTIONS formatting
(cherry picked from commit ea9b7c7ed7)
2017-11-27 09:40:25 +01:00
Mark Andrews
d42c4a628d More:
4819.   [bug]           Fully backout the transaction when adding a RRset
                        to the resigning / removal heaps fails. [RT #46473]

(cherry picked from commit 19f6a63184)
2017-11-27 15:23:16 +11:00
Mark Andrews
d049bb62b8 add missing symbols 2017-11-27 15:04:33 +11:00
Mark Andrews
08bd76a17c 4827. [misc] Add a precommit check script util/checklibs.sh
[RT #46215]
2017-11-27 15:01:35 +11:00
Mark Andrews
abbc4b2c4f 4817. [cleanup] Use DNS_NAME_INITABSOLUTE and DNS_NAME_INITNONABSOLUTE.
[RT #45433]
2017-11-27 13:30:58 +11:00
Tinderbox User
d9d5eb26d9 update copyright notice / whitespace 2017-11-23 23:48:18 +00:00
Tinderbox User
e5585c8039 newcopyrights 2017-11-23 23:30:30 +00:00
Mark Andrews
c4f2e47fea silence %lu vs size_t warning by casting to (unsigned long)
(cherry picked from commit 1dc8208a89)
2017-11-24 10:26:48 +11:00
Mark Andrews
889cc681eb in rdbdb.c:setsigningtime stop breaking heap invariant property unless we are going to restore the invariant property
(cherry picked from commit 6ead410268)
2017-11-24 08:51:14 +11:00
Michał Kępień
2a44ffeed8 [v9_9] Disable parallel make inside bin/confgen/ and bin/named/
4826.	[cleanup]	Prevent potential build failures in bin/confgen/ and
			bin/named/ when using parallel make. [RT #46648]

(cherry picked from commit 600e425eb2)
2017-11-23 11:47:15 +01:00
Mark Andrews
8572cac546 silence compiler warning [RT #46471] 2017-11-23 17:04:01 +11:00
Mark Andrews
f020870e4a remove bin/tests/system/reclimit/ans4/ans.pl 2017-11-23 12:11:04 +11:00
Tinderbox User
f2f3b68ac7 update copyright notice / whitespace 2017-11-21 23:47:58 +00:00
Tinderbox User
ffdd1ec718 newcopyrights 2017-11-21 23:30:32 +00:00
Michał Kępień
bbfa83da40 [v9_9] Refactor reclimit system test
4823.	[test]		Refactor reclimit system test to improve its
			reliability and speed. [RT #46632]

(cherry picked from commit 1fd4803e84)
2017-11-21 10:34:03 +01:00
Tinderbox User
a42d1f9000 update copyright notice / whitespace 2017-11-17 23:47:28 +00:00
Mark Andrews
ae7cb54fe0 remove out of date comment
(cherry picked from commit a197094d76)
2017-11-18 08:52:10 +11:00
Mark Andrews
8187dfac8c 4822. [bug] Use resign_sooner in dns_db_setsigningtime. [RT #46473]
(cherry picked from commit f975d0acaa)
2017-11-18 07:51:30 +11:00
Mark Andrews
cae44b160b 4821. [bug] When resigning ensure that the SOA's expire time is
always later that the resigning time of other records.
                        [RT #46473]

4820.   [bug]           dns_db_subtractrdataset should transfer the resigning
                        information to the new header. [RT #46473]

4819.   [bug]           Fully backout the transaction when adding a RRset
                        to the resigning / removal heaps fail. [RT #46473]

(cherry picked from commit 656eed7c9b)
2017-11-18 07:32:10 +11:00
Tinderbox User
7fed20ed8f update copyright notice / whitespace 2017-11-16 23:48:10 +00:00
Tinderbox User
8048bc0993 newcopyrights 2017-11-16 23:30:36 +00:00
Michał Kępień
a3b4977931 [v9_9] Stabilize logfileconfig system test
4818.	[test]		The logfileconfig system test could intermittently
			report false negatives on some platforms. [RT #46615]

(cherry picked from commit 169ce30bf7)
2017-11-16 08:17:18 +01:00
Tinderbox User
d5aa066651 newcopyrights 2017-11-13 23:30:40 +00:00
Mark Andrews
49299282a5 fix merge error 2017-11-13 12:48:50 +11:00
Mark Andrews
19f7fffacd more AS_HELP_STRING 2017-11-13 12:44:44 +11:00
Mark Andrews
693f6638a5 more AS_HELP_STRING 2017-11-13 12:43:46 +11:00
Mark Andrews
e3286b980e 4814. [cleanup] Use AS_HELP_STRING for consistent help text. [RT #46521]
(cherry picked from commit 6bbbf12936)
2017-11-13 12:39:48 +11:00
Michał Kępień
c799c10ffe [v9_9] Minor improvements to code handling managed keys
4812.	[bug]		Minor improvements to stability and consistency of code
			handling managed keys. [RT #46468]

(cherry picked from commit 54c1627c6f)
2017-11-09 15:21:04 +01:00
Tinderbox User
ec547a9877 update copyright notice / whitespace 2017-11-08 23:48:10 +00:00
Tinderbox User
b682348ac5 newcopyrights 2017-11-08 23:30:30 +00:00
Michał Kępień
dbda79e4ec [v9_9] Prevent junk from being logged when using "also-notify { <ip> key <keyname>; };"
(cherry picked from commit 4034b098d8)
2017-11-08 09:22:34 +01:00
Michał Kępień
14e1eac55c [v9_9] Do not NOTIFY back the master view from slave views in notify system test
This prevents a Linux kernel bug discussed in RT #32355 from being
triggered and thus makes "checking notify to multiple views using tsig"
stable.

(cherry picked from commit 27bf48327c)
2017-11-08 09:22:31 +01:00
Tinderbox User
003e886bda regen v9_9 2017-11-08 01:36:55 +00:00
Mark Andrews
38400d2bec 4810. [test] The chain system test failed if the IPv6 interfaces
were not configured. [RT #46508]

(cherry picked from commit c652213857)
2017-11-08 10:18:47 +11:00
Evan Hunt
0e99de2897 [v9_9] Check if -latomic is needed to handle 64-bit stdatomic.h types
4809.	[port]		Check at configure time whether -latomic is needed
			for stdatomic.h. [RT #46324]

(cherry picked from commit e3d9aafff0)
2017-11-07 13:29:07 -08:00
Tinderbox User
08aafe4640 regen v9_9 2017-11-03 01:32:51 +00:00
Tinderbox User
f8a2d1a7c9 update copyright notice / whitespace 2017-11-02 23:48:31 +00:00
Tinderbox User
6fff7f2e15 newcopyrights 2017-11-02 23:30:28 +00:00
Evan Hunt
e754ae67a7 [v9_9] clarify doc on zone refresh and expiry 2017-11-01 23:08:25 -07:00
Evan Hunt
2534b26732 [v9_9] removed references to obsolete versions in documentation 2017-11-01 22:21:00 -07:00
Mark Andrews
90f743306c don't use the ERR macro as GCC 7 only does a partial static analysis which generates false positives for fallthrough. [RT #46115]
(cherry picked from commit 0698ad8503)
2017-11-01 19:19:40 +11:00
Mark Andrews
6909f46b2d fix merge error
(cherry picked from commit 48865bf022)
2017-11-01 11:58:28 +11:00
Tinderbox User
709025bb14 update copyright notice / whitespace 2017-10-31 23:48:39 +00:00
Mark Andrews
3b9332a20d 4804. [port] win32: access() does not work on directories as
required by POSIX.  Supply a alternative in
                        isc_file_isdirwritable. [RT #46394]
2017-11-01 09:47:52 +11:00
Michał Kępień
7e6fe17488 [v9_9] Backport fix for RT #46055
4803.   [bug]		Backport fix for RT #46055 from RT #46267. [RT #46430]

(cherry picked from commit 406caf7b9c)
2017-10-31 06:13:16 +01:00
Mark Andrews
b746de8891 tmp should be a (struct in_addr) not (struct in_addr *)
(cherry picked from commit 6e02359034)
2017-10-31 10:36:14 +11:00
Tinderbox User
dcbbdce8e1 regen v9_9 2017-10-30 01:31:07 +00:00
Evan Hunt
5f0cc4be38 [v9_9] copyrights 2017-10-29 16:44:31 -07:00
Mark Andrews
e1dd822fc3 number tests 2017-10-30 08:32:18 +11:00
Mark Andrews
24592f9f78 Add system tests and remove redundent logging from:
4801.   [func]          'dnssec-lookaside auto;' and 'dnssec-lookaside .
                        trust-anchor dlv.isc.org;' now elicit warnings rather
                        than being fatal configuration errors. [RT #46410]

(cherry picked from commit f5e1b555c5)
2017-10-30 08:20:51 +11:00
Mark Andrews
6ae0880ad0 allow for numbered namedX.args
(cherry picked from commit 4cbaa08602)
2017-10-28 10:54:30 +11:00
Tinderbox User
c5cc8a3498 update copyright notice / whitespace 2017-10-26 23:49:18 +00:00
Mark Andrews
5edaaffd29 .md for MKD
(cherry picked from commit f808b5e0d2)
2017-10-27 10:41:54 +11:00
Tinderbox User
51457bf78a newcopyrights 2017-10-26 23:30:31 +00:00
Evan Hunt
328f8a440b [v9_9] some improvements in doc/dev [RT #46011]
- add info about rdatasets, etc, to dev.md (thanks to Tony Finch)
- convert rdata.html to markdown

(cherry picked from commit 63270d33f1)
(cherry picked from commit ef844e095f)
2017-10-25 23:31:32 -07:00
Evan Hunt
b783e3dfc7 [v9_9] clean up DNS_MESSAGETEXTFLAG comments
(cherry picked from commit 89d1777560)
2017-10-25 21:34:58 -07:00
Tinderbox User
1b3e20fc34 regen v9_9 2017-10-26 01:38:49 +00:00
Tinderbox User
f46bfe0899 update copyright notice / whitespace 2017-10-25 23:55:13 +00:00
Tinderbox User
43dba14484 newcopyrights 2017-10-25 23:31:06 +00:00
Evan Hunt
f5a9a4d52c [v9_9] fix some documentation errors [RT #45527]
(cherry picked from commit 81570e84a2)
2017-10-25 11:06:39 -07:00
Mark Andrews
d6802cfd42 4790. [bug] nsupdate could trigger a require when sending a
update to the second address of the server.
                        [RT #45731]

(cherry picked from commit 2bbca9594f)
2017-10-26 00:31:36 +11:00
Evan Hunt
dcaf355f00 [v9_9] log when update-policy local gets a key match from a remote host
4788.	[cleanup]	When using "update-policy local", log a warning
			when an update matching the session key is received
			from a remote host. [RT #46213]

- this completes change #4762.
2017-10-25 01:09:41 -07:00
Michał Kępień
c6753bad79 [v9_9] Rename nsec3param_salt_totext() to dns_nsec3param_salttotext(), make it public, add unit tests
4786.	[cleanup]	Turn nsec3param_salt_totext() into a public function,
			dns_nsec3param_salttotext(), and add unit tests for it.
			[RT #46289]

(cherry picked from commit 54a43e9bf1)
2017-10-25 09:51:06 +02:00
Mark Andrews
42f1b7e3e8 read dig.out.ns3.test$n rather than dig.out.ns2.test$n
(cherry picked from commit 80739779fc)
2017-10-25 15:03:28 +11:00
Tinderbox User
79080a4014 regen v9_9 2017-10-25 01:38:04 +00:00
Tinderbox User
c53d3336d6 update copyright notice / whitespace 2017-10-24 23:53:22 +00:00
Tinderbox User
c763c1c0c1 newcopyrights 2017-10-24 23:31:49 +00:00
Mark Andrews
8221d208a7 4783. [test] dnssec: 'check that NOTIFY is sent at the end of
NSEC3 chain generation failed' required more time
                        on some machines for the IXFR to complete. [RT #46388]

(cherry picked from commit 969d923536)
2017-10-25 09:22:28 +11:00
Michał Kępień
eba17e0581 [v9_9] Remove REQUIRE preventing change 4592 from working
Change 4592 was supposed to replace a REQUIRE with a conditional return.
While the latter was added, the former was not removed.  Remove the
relevant REQUIRE to fix RT #43822 for good.

(cherry picked from commit a94d68ce43)
2017-10-24 21:11:56 +02:00
Evan Hunt
3dbc4979c6 [v9_9] fix merge error; missing hunk from change 4780
(cherry picked from commit 4d39bffd95)
2017-10-24 10:10:04 -07:00
Evan Hunt
9c1540b207 [v9_9] update B.ROOT-SERVERS.NET 2017-10-24 09:17:36 -07:00
Mark Andrews
6455eec8e2 remove redundent reconfig; number tests 2017-10-24 14:46:27 +11:00
Evan Hunt
d67a5c4867 [v9_9] zone "file" option was undocumented
(cherry picked from commit b1042e011c)
2017-10-23 19:41:14 -07:00
Evan Hunt
0a5b0a447e [v9_9] omit NS from authority section if it was in answer
4780.	[bug]		When answering ANY queries, don't include the NS
			RRset in the authority section if it was already
			in the answer section. [RT #44543]

(cherry picked from commit b7b76d6b85)
(cherry picked from commit 13435af49a)
2017-10-23 19:38:29 -07:00
Mark Andrews
ab342443aa report if named.run or named.memstats not removed after successful test
(cherry picked from commit 5bead588b7)
2017-10-24 12:48:51 +11:00
Evan Hunt
18c1e4dc98 [v9_9] clean up a redundancy
4777.	[cleanup]	Removed a redundant call to configure_view_acl().
			[RT #46369]

(cherry picked from commit 89636d8f30)
(cherry picked from commit a06198688f)
(cherry picked from commit 33ab321a97)
2017-10-23 11:13:18 -07:00
Tinderbox User
f67ede6a22 regen v9_9 2017-10-22 01:37:40 +00:00
Evan Hunt
30e9e136e2 [v9_9] doc nit: Base64 is capitalized and not hyphenated
(cherry picked from commit 321b8429f5)
2017-10-21 13:30:22 -07:00
Evan Hunt
0e661d4079 [v9_9] add DNS_RPZ_MAX_ZONES to OPTIONS
(cherry picked from commit 172aa40e8f)
(cherry picked from commit fd1a7af399)
2017-10-21 13:29:39 -07:00
Evan Hunt
9c84f65183 [v9_9] test for Net::DNS::Nameserver in prereq.sh
(cherry picked from commit 475c51cce0)
2017-10-21 00:29:27 -07:00
Tinderbox User
4d2eba7dd4 regen v9_9 2017-10-21 01:44:47 +00:00
Mark Andrews
750efb9474 use correct tag
(cherry picked from commit 317330c25a)
2017-10-20 19:06:46 +11:00
Tinderbox User
c03546313c regen v9_9 2017-10-20 01:36:58 +00:00
Mark Andrews
1a26741d87 include "../mkd"; as we have already changed working directory
(cherry picked from commit b71747f765)
2017-10-20 11:50:06 +11:00
Tinderbox User
2f5154f3b1 update copyright notice / whitespace 2017-10-19 23:49:30 +00:00
Tinderbox User
145a5a173e newcopyrights 2017-10-19 23:31:13 +00:00
Mark Andrews
ee8b405480 s/made/may/ 2017-10-20 10:28:39 +11:00
Mark Andrews
33ad482f6c note removal of <isc/util.h> from other header files
(cherry picked from commit 9e5439a6d8)
2017-10-20 10:27:24 +11:00
Mark Andrews
c95fcb3dca deprecated.h is not part of BIND 9.9 (yet) 2017-10-20 10:07:16 +11:00
Evan Hunt
618b354e3a [v9_9] add missing headers [RT #46337] 2017-10-19 11:23:43 -07:00
Mark Andrews
54eb949c35 s/REQUIRE/ISC_REQUIRE/; include <isc/assertions.h> if ISC_REQUIRE is used; include <isc/likely.h> if ISC_{UN}LIKELY is used
(cherry picked from commit 0fab171196)
2017-10-19 17:00:13 +11:00
Evan Hunt
9ad9f7694d [v9_9] skip managed-keys reconfig tests in runtime if no crypto [RT #46327]
(cherry picked from commit b093b684a6)
(cherry picked from commit b5c1d2bc01)
2017-10-18 22:29:21 -07:00
Evan Hunt
dd6b511f26 [v9_9] remove reference to ht.h 2017-10-18 19:54:22 -07:00
Mark Andrews
40e08f66a8 4774. [bug] <isc/util.h> was incorrectly included in several
header files. [RT #46311]
2017-10-19 12:54:44 +11:00
Tinderbox User
e5d34a308a regen v9_9 2017-10-19 01:36:10 +00:00
Evan Hunt
eb66afdde0 [v9_9] copyrights 2017-10-18 17:34:15 -07:00
Evan Hunt
8b35d08f70 [v9_9] require writable managed keys directory
4769.	[bug]		Enforce the requirement that the managed keys
			directory (specified by "managed-keys-directory",
			and defaulting to the working directory if not
			specified) must be writable. [RT #46077]

(cherry picked from commit 56e30ebae6)
(cherry picked from commit b6b2b0b9b5)
2017-10-17 21:39:05 -07:00
Tinderbox User
873a270553 regen v9_9 2017-10-18 01:39:37 +00:00
Tinderbox User
b17ca7e7f1 update copyright notice / whitespace 2017-10-17 23:53:44 +00:00
Tinderbox User
dc78e3ca61 newcopyrights 2017-10-17 23:31:37 +00:00
Evan Hunt
0d0b16c1f5 [v9_9] README and relnote fixes
(cherry picked from commit 30419509dd)
(cherry picked from commit e609b6b32b)
(cherry picked from commit 04f334e4b0)
2017-10-17 13:53:21 -07:00
Michał Kępień
eb2c3bdfae [v9_9] Doxygen fixes and cleanups
4773.	[doc]		Fixed generating Doxygen documentation for functions
			annotated using certain macros.  Miscellaneous
			Doxygen-related cleanups. [RT #46276]

(cherry picked from commit 5e6d28e1b7)
2017-10-17 08:13:40 +02:00
Michał Kępień
3a38ada70d [v9_9] Regenerate presigned zone for the filter-aaaa system test [RT #46283]
Fix the filter-aaaa system test for builds without DNSSEC support.
2017-10-16 09:48:05 +02:00
Tinderbox User
148bd18c76 update copyright notice / whitespace 2017-10-13 23:48:17 +00:00
Tinderbox User
457e451b14 newcopyrights 2017-10-13 23:30:38 +00:00
Evan Hunt
a510be00ad [v9_9] fix filter-aaaa test [RT #46268]
(cherry picked from commit 666af25a92)
2017-10-13 11:12:29 -07:00
Tinderbox User
0f155d79a0 update copyright notice / whitespace 2017-10-11 23:48:25 +00:00
Tinderbox User
d7830df238 newcopyrights 2017-10-11 23:30:57 +00:00
Mark Andrews
6568dded83 reserve subscription flags
(cherry picked from commit a9a983781e)
2017-10-12 09:20:31 +11:00
Evan Hunt
c7a13bf188 [v9_9] ignore cache when sending 5011 refresh queries
4771.	[bug]		When sending RFC 5011 refresh queries, disregard
			cached DNSKEY rrsets. [RT #46251]

(cherry picked from commit b2597ce86b)
(cherry picked from commit b8d1e3cd5d)
2017-10-11 14:37:30 -07:00
Evan Hunt
ccad706f63 [v9_9] reduce unnecessary priming queries
4770.	[bug]		Cache additional data from priming queries as glue.
			Previously they were ignored as unsigned
			non-answer data from a secure zone, and never
			actually got added to the cache, causing hints
			to be used frequently for root-server
			addresses, which triggered re-priming. [RT #45241]

(cherry picked from commit 5de02a075b)
(cherry picked from commit 6216df5ccd)
(cherry picked from commit 07e25984b8)
2017-10-11 09:21:21 -07:00
Evan Hunt
58b81a5e63 [v9_9] Move KRB5_CONFIG=/dev/null to conf.sh.* so the named run in the tests gets the setting
(cherry picked from commit 74f46c45b0)
(cherry picked from commit d1aa5125a9)
2017-10-11 08:52:27 -07:00
Michał Kępień
89e10f4b41 [v9_9] Sync draft-durand-doa-over-dns snippet in lib/dns/tests/rdata_test.c with draft version -03 2017-10-09 10:53:15 +02:00
Mark Andrews
a3d6b515a0 4766. [cleanup] Addresss Coverity warnings. [RT #46150]
(cherry picked from commit 5df3f839b2)
2017-10-09 18:39:07 +11:00
Tinderbox User
a85db07426 regen v9_9 2017-10-09 01:32:04 +00:00
Mark Andrews
d4ad7867bb cleanup 2017-10-09 11:20:16 +11:00
Evan Hunt
edc519742e [v9_9] add DOA to ARM 2017-10-07 19:34:57 -07:00
Tinderbox User
9fe47a6104 newcopyrights 2017-10-07 23:31:14 +00:00
Mark Andrews
2920d65a7d don't force souce port
(cherry picked from commit 02a669a9a6)
2017-10-08 06:46:57 +11:00
Tinderbox User
c6462eeb3e regen v9_9 2017-10-07 01:36:36 +00:00
Evan Hunt
474caa0473 [v9_9] add missing names 2017-10-06 17:39:15 -07:00
Mark Andrews
3bee64f722 Normalize all the line endings 2017-10-07 11:25:48 +11:00
Tinderbox User
ab0f4f3a40 update copyright notice / whitespace 2017-10-06 23:48:57 +00:00
Tinderbox User
1e38cd0470 newcopyrights 2017-10-06 23:31:31 +00:00
Evan Hunt
5cdb31e8df [v9_9] further restrict update-policy local
4762.	[func]		"update-policy local" is now restricted to updates
                from local addresses. (Previously, other addresses
                were allowed so long as updates were signed by the
                local session key.) [RT #45492]
2017-10-06 15:42:54 -07:00
Michał Kępień
c32a80e1d6 [v9_9] Add support for DOA
4761.	[protocol]	Add support for DOA. [RT #45612]

(cherry picked from commit 4ee1fbe056)
2017-10-06 13:00:00 +02:00
Evan Hunt
db719cde0e [v9_9] fix topology doc
4758.	[doc]		Remove documentation of unimplemented "topology".
			[RT #46161]
2017-10-05 18:52:24 -07:00
Tinderbox User
ad549211bf regen v9_9 2017-10-06 01:34:09 +00:00
Tinderbox User
e862384f39 update copyright notice / whitespace 2017-10-05 23:48:31 +00:00
Tinderbox User
faa0676625 newcopyrights 2017-10-05 23:31:23 +00:00
Evan Hunt
dd01fa285b [v9_9] revise style guide information on bracing 2017-10-05 11:28:31 -07:00
Michał Kępień
5b39c51232 [v9_9] Prevent dig INSIST failures and hangs in some failure modes
4756.	[bug]		Interrupting dig could lead to an INSIST failure after
			certain errors were encountered while querying a host
			whose name resolved to more than one address.  Change
			4537 increased the odds of triggering this issue by
			causing dig to hang indefinitely when certain error
			paths were evaluated.  dig now also retries TCP queries
			(once) if the server gracefully closes the connection
			before sending a response. [RT #42832, #45159]

(cherry picked from commit 1ddb1cd440)
2017-10-05 09:49:50 +02:00
Mark Andrews
6085a44615 4754. [bug] dns_zone_setview needs a two stage commit to properly
handle errors. [RT #45841]

(cherry picked from commit 2732d4922c)
2017-10-05 16:55:11 +11:00
Mark Andrews
ab94222d2f cast to unsigned int
(cherry picked from commit 34efd9ad93)
2017-10-05 13:35:45 +11:00
Evan Hunt
65eae37154 [v9_9] fix tag 2017-10-04 18:44:54 -07:00
Tinderbox User
512ef3fc26 update copyright notice / whitespace 2017-10-04 23:48:22 +00:00
Evan Hunt
11e723be2a [v9_9] remove nslint, query-loc and zkt from contrib
4753.	[contrib]	Software obtainable from known upstream locations
			(i.e., zkt, nslint, query-loc) has been removed.
			Links to these and other packages can be found at
			https://www.isc.org/community/tools [RT #46182]
2017-10-04 16:41:47 -07:00
Tinderbox User
f93e7b4783 newcopyrights 2017-10-04 23:30:54 +00:00
Mark Andrews
444447d610 add L for wide
(cherry picked from commit 055d310e54)
2017-10-04 20:45:26 +11:00
Mark Andrews
5248a8cc32 stderr to /dev/null also
(cherry picked from commit 4615bc5408)
2017-10-04 19:27:11 +11:00
Mark Andrews
3afd1e5a58 test for 'printf'
(cherry picked from commit d1e823af15)
2017-10-04 19:20:15 +11:00
Mark Andrews
eeb53d081a silence compiler warning 2017-10-04 18:08:23 +11:00
Mark Andrews
d84dbc76e6 #undef inet_ntop
(cherry picked from commit 396125eefe)
2017-10-04 17:50:32 +11:00
Mark Andrews
35c77c3f28 sort 2017-10-04 17:22:54 +11:00
Mark Andrews
68630cce3a 4752. [test] Add unit test for isc_net_pton. [RT #46171]
(cherry picked from commit 5fcdb09126)
2017-10-04 14:43:51 +11:00
Evan Hunt
630eb6e8c6 [v9_9] missing declaration of INSIST 2017-10-03 20:03:38 -07:00
Evan Hunt
aba55e24d5 [v9_9] remove spurious control character 2017-10-03 19:42:13 -07:00
Tinderbox User
16a6c249b5 update copyright notice / whitespace 2017-10-03 23:48:38 +00:00
Tinderbox User
1ffe5fd595 newcopyrights 2017-10-03 23:30:40 +00:00
Evan Hunt
28158e5698 [v9_9] de-DLV
4749.	[func]		The ISC DLV service has been shut down, and all
			DLV records have been removed from dlv.isc.org.
			- Removed references to ISC DLV in documentation
			- Removed DLV key from bind.keys
			[RT #46155]
2017-10-03 00:57:54 -07:00
Mark Andrews
068bd10a3a 4748. [cleanup] Sprintf to snprintf coversions. [RT #46132]
(cherry picked from commit a009d03a1a)
2017-10-03 15:00:57 +11:00
Tinderbox User
b22d220605 regen v9_9 2017-10-01 01:35:02 +00:00
Tinderbox User
cd56d1eef3 update copyright notice / whitespace 2017-09-30 23:53:55 +00:00
Tinderbox User
244cce2f6e newcopyrights 2017-09-30 23:31:22 +00:00
Evan Hunt
4e07f11772 [v9_9] add configured prefixes to summary
4746.	[cleanup]	Add configured prefixes to configure summary
			output. [RT #46153]

(cherry picked from commit c0f8a8f30a)
(cherry picked from commit 6d86c99e22)
2017-09-30 10:08:05 -07:00
Evan Hunt
788beb3a45 [v9_9] color-coded test output
4745.	[test]		Add color-coded pass/fail messages to system
			tests when running on terminals that support them.
			[RT #45977]

(cherry picked from commit 3bb6150cae)
2017-09-30 10:03:26 -07:00
Tinderbox User
cc7dac87cf update copyright notice / whitespace 2017-09-27 23:49:17 +00:00
Tinderbox User
abb996a1fe newcopyrights 2017-09-27 23:30:28 +00:00
Mark Andrews
2b9e2952ed switch to using snprintf from sprintf
(cherry picked from commit d386eb54c6)
2017-09-28 07:16:33 +10:00
Mukund Sivaraman
5b1cc88385 Make isc_refcount_current() atomically read the counter value (#46074)
(cherry picked from commit abb8813a33)
(cherry picked from commit a8fa3e2d44)
(cherry picked from commit 6da7b3227c)
2017-09-27 15:11:39 +05:30
Mukund Sivaraman
d182652781 Use stdatomic.h in acache code (#46085)
Part of change 4728.

(cherry picked from commit d0d2ba9546)
(cherry picked from commit b85bb66388)
2017-09-27 15:01:32 +05:30
Mark Andrews
4828d6c34f tcp test got reversed
(cherry picked from commit b4c31c8795)
2017-09-27 15:20:33 +10:00
Mark Andrews
80dd4971d9 4739. [cleanup] Address clang static analysis warnings. [RT #45952]
(cherry picked from commit f9f3f20d2d)
2017-09-27 13:19:37 +10:00
Mark Andrews
c86cff0104 4738. [port] win32: strftime mishandles %Z. [RT #46039]
(cherry picked from commit 744061a03b)
2017-09-26 23:33:45 +10:00
Mark Andrews
4ada70d71a 4737. [cleanup] Address Coverity warnings. [RT #46012]
(cherry picked from commit 08151d7fce)
2017-09-26 23:25:08 +10:00
Michał Kępień
696c2a7571 [v9_9] Comment NSEC3-related code and fix a few minor issues
4736.	[cleanup]	(a) Added comments to NSEC3-related functions in
			lib/dns/zone.c.  (b) Refactored NSEC3 salt formatting
			code.  (c) Minor tweaks to lock and result handling.
			[RT #46053]

(cherry picked from commit acc3728c47)
2017-09-26 11:29:24 +02:00
Mark Andrews
d4faf256b2 fix HMAC_Update arguement 2017-09-25 10:46:28 +10:00
Mukund Sivaraman
1c8b9ab360 Use stdint.h only when stdatomic.h is in use (stdint.h isn't available everywhere)
(cherry picked from commit fb9712f639)
(cherry picked from commit dc0d95a23d)
(cherry picked from commit 7cf6516670)
2017-09-22 15:16:22 +05:30
Mark Andrews
4468644033 #include <isc/string.h> as it includes both <string.h> and <strings.h> if they both exist
(cherry picked from commit 6138c5a5e4)
2017-09-22 18:10:04 +10:00
Tinderbox User
e958fc1c3d newcopyrights 2017-09-21 23:31:53 +00:00
Mark Andrews
f2fe80afca we don't build irs in 9.9 2017-09-21 19:38:56 +10:00
Tinderbox User
a7741835cc regen v9_9 2017-09-21 07:51:57 +00:00
Mark Andrews
07c3a58bd4 #include <stdint.h> 2017-09-21 14:21:04 +10:00
Tinderbox User
01bad075b6 regen v9_9 2017-09-21 04:07:03 +00:00
Mark Andrews
d6c258064b atomic_compare_exchange_strong_explicit's second argument should not be atomic_* 2017-09-21 13:42:05 +10:00
Mark Andrews
799bb89429 explicitly list test programs 2017-09-21 13:07:12 +10:00
Tinderbox User
288dd11e7a update copyright notice / whitespace 2017-09-19 23:51:07 +00:00
Tinderbox User
4d067e1501 newcopyrights 2017-09-19 23:31:04 +00:00
Evan Hunt
67a70cde7e [v9_9] correct the license info 2017-09-19 13:00:31 -07:00
Mukund Sivaraman
a9600f7404 Fix changeset numbers
(cherry picked from commit 36c67a310a)
2017-09-19 19:53:29 +05:30
Mukund Sivaraman
d90adc2def Fix out of bounds access in DHCID totext() method (#46001)
(cherry picked from commit 98998f3ddd)
(cherry picked from commit 027a4a5b5d)
(cherry picked from commit 71a86a75d9)
2017-09-19 19:34:46 +05:30
Mukund Sivaraman
d347cf40c8 Don't use memset() to wipe memory (#45947)
(cherry picked from commit d5707676e4)
(cherry picked from commit b5252fcde5)
(cherry picked from commit aaf04460a0)

# Conflicts:
#	lib/dns/pkcs11dh_link.c
#	lib/dns/pkcs11dsa_link.c
#	lib/dns/pkcs11gost_link.c
#	lib/dns/pkcs11rsa_link.c
#	lib/isc/hmacmd5.c
#	lib/isc/hmacsha.c
#	lib/isc/md5.c
#	lib/isc/sha1.c
#	lib/isc/sha2.c
2017-09-19 18:59:48 +05:30
Mukund Sivaraman
33d39430d0 Use C11's stdatomic.h instead of isc_atomic where available
(cherry picked from commit 404c9b1c53)
(cherry picked from commit 9905606390)
(cherry picked from commit 5bae58a2e7)
2017-09-19 15:57:44 +05:30
Tinderbox User
de1ba63361 update copyright notice / whitespace 2017-09-18 23:58:51 +00:00
Tinderbox User
24bc091953 newcopyrights 2017-09-18 23:33:29 +00:00
Michał Kępień
c0ef11fb2e [v9_9] Prevent possible infinite signing loop after retransferring an inline-signed slave using NSEC3
4727.	[bug]		Retransferring an inline-signed slave using NSEC3
			around the time its NSEC3 salt was changed could result
			in an infinite signing loop. [RT #45080]

(cherry picked from commit 4ceebc8874)
2017-09-18 09:30:56 +02:00
Mark Andrews
ecab2b21f1 4725. [bug] Nsupdate: "recvsoa" was incorrectly reported for
failures in sending the update message.  The correct
                        location to be reported is "update_completed".
                        [RT #46014]

(cherry picked from commit 0bcb8b0b7c)
2017-09-18 14:30:43 +10:00
Mark Andrews
b66c89c0e0 don't use strlcat with non NUL terminated strings rt45981_stage3
(cherry picked from commit dc71aa898a)
2017-09-15 13:15:01 +10:00
Tinderbox User
928c3c53c6 update copyright notice / whitespace 2017-09-14 23:59:05 +00:00
Tinderbox User
14676888e9 newcopyrights 2017-09-14 23:31:45 +00:00
Evan Hunt
57807b8e0d [v9_9] revert dlzexternal changes for portability 2017-09-14 11:34:40 -07:00
Mark Andrews
80420ec94f silence warning
(cherry picked from commit c59bf663e8)
2017-09-14 19:02:55 +10:00
Mark Andrews
7eb73f6288 #include <isc/string.h> 2017-09-14 18:57:53 +10:00
Mark Andrews
b3faa2b293 (cherry picked from commit 5fb0c09a5e) 2017-09-14 18:55:51 +10:00
Mark Andrews
af9aed27c1 more str{n}{cat,cpy} corrections rt45981_stage2
(cherry picked from commit cb629cdeda)
2017-09-14 18:43:48 +10:00
Mukund Sivaraman
d139a4936d Link dlzexternal system test's driver against libisc
(cherry picked from commit bbe9f1dd95)
(cherry picked from commit e05b7dc69a)
(cherry picked from commit 69cbd89f0d)
2017-09-14 13:38:12 +05:30
Evan Hunt
c9487f5d2e [v9_9] cast char * 2017-09-13 22:04:18 -07:00
Evan Hunt
acaa5bec31 [v9_9] clean up bufsize errors
(cherry picked from commit 9b729a06b0)
2017-09-13 21:19:38 -07:00
Tinderbox User
077f3c4e27 update copyright notice / whitespace 2017-09-14 00:03:54 +00:00
Tinderbox User
610b0a47da newcopyrights 2017-09-13 23:34:44 +00:00
Mark Andrews
55e9dba255 fix filenamelen so it has the buffer length rather than buffer length - 1
(cherry picked from commit 21c12d0107)
2017-09-14 09:30:16 +10:00
Evan Hunt
e59da386dc [v9_9] fix incorrect comment 2017-09-13 13:54:38 -07:00
Mukund Sivaraman
20a3b9a914 add #include <isc/string.h>
(cherry picked from commit 4c9ba9ded8)
(cherry picked from commit 28a55095f7)
(cherry picked from commit bf5e318303)
2017-09-13 20:00:18 +05:30
Mukund Sivaraman
4c9e65a0dd Add missing <isc/print.h>
(cherry picked from commit 188fa6ea68)
(cherry picked from commit a13e9f894c)
(cherry picked from commit 83dfa75ac3)
2017-09-13 19:59:05 +05:30
Mukund Sivaraman
de42212c63 Tweak hash_test.c further, passing sizeof(str)
(cherry picked from commit 8997fc0a3f)
(cherry picked from commit fc7ed600ae)
(cherry picked from commit f3e90ace9d)
2017-09-13 19:35:45 +05:30
Mukund Sivaraman
247224ab2d Tweak
(cherry picked from commit a2873eabf6)
(cherry picked from commit 4baac8b9f3)
(cherry picked from commit 1be28340db)
2017-09-13 19:35:06 +05:30
Mukund Sivaraman
da42d8e733 Fix size of output string in hash tests
(cherry picked from commit bc5e0a6868)
(cherry picked from commit 3dc00443bb)
(cherry picked from commit 6e338884b5)
2017-09-13 19:35:04 +05:30
Francis Dupont
8e0ecaf328 Added isc/string.h to shutdown_test which got strlcpy
(cherry picked from commit 804ca1d926)
2017-09-13 23:02:00 +10:00
Evan Hunt
cef35fcefc [v9_9] add print.h 2017-09-13 00:25:24 -07:00
Evan Hunt
f07825440f [master] cleanup strcat/strcpy
4722.	[cleanup]	Clean up uses of strcpy() and strcat() in favor of
			strlcpy() and strlcat() for safety. [RT #45981]

(cherry picked from commit 114f95089c)
(cherry picked from commit 7cd594b842)
(cherry picked from commit e0ddfb109e)
2017-09-13 00:20:09 -07:00
Mark Andrews
646280bc74 give more time for the initial signing of bits in the inline signing test to complete
(cherry picked from commit e930487ce7)
2017-09-13 12:19:56 +10:00
Mark Andrews
02bab3ed25 fix first if test in setoption
(cherry picked from commit abda73147d)
2017-09-13 11:58:59 +10:00
Mark Andrews
7ebef930d7 4719. [bug] Address PVS static analyzer warnings. [RT #45946]
(cherry picked from commit 34130ee25a)
2017-09-13 09:55:13 +10:00
Tinderbox User
907bd36c10 update copyright notice / whitespace 2017-09-12 23:50:35 +00:00
Tinderbox User
78cf416569 newcopyrights 2017-09-12 23:33:28 +00:00
Evan Hunt
3d7439205c [v9_9] improve handling of qcount=0 replies
4717.	[bug]		Treat replies with QCOUNT=0 as truncated if TC=1,
			FORMERR if TC=0, and log the error correctly.
			[RT #45836]

(cherry picked from commit 25b33bede4)
(cherry picked from commit a2a0100e0f)
2017-09-12 15:27:55 -07:00
Mark Andrews
171f1f06ab 4714. [port] openbsd/libressl: add support for building with
--enable-openssl-hash. [RT #45982]

(cherry picked from commit c75e9c7630)
2017-09-12 14:24:14 +10:00
Mark Andrews
e7095cb242 update 2017-09-12 12:52:18 +10:00
Evan Hunt
51b00c6c78 [v9_9] dig: retain domain when retrying with tcp
4712.	[bug]		"dig +domain" and "dig +search" didn't retain the
			search domain when retrying with TCP. [RT #45547]

(cherry picked from commit 8e014c45ae)
(cherry picked from commit 88e2cefcc2)
2017-09-11 10:34:10 -07:00
Evan Hunt
3e50ab8402 [v9_9] add missing rrtypes to genzones
4711.	[test]		Some RR types were missing from genzones.sh.
			[RT #45782]

(cherry picked from commit 3e66721b35)
(cherry picked from commit 29f0ced781)
2017-09-11 09:35:20 -07:00
Evan Hunt
7b34ffeeda [v9_9] removed outdated library reference 2017-09-09 11:50:55 -07:00
Tinderbox User
bc81291842 update copyright notice / whitespace 2017-09-08 23:50:57 +00:00
Tinderbox User
2b899df2df newcopyrights 2017-09-08 23:32:36 +00:00
Evan Hunt
e3c32fc3c1 [v9_9] change hash function for RRL
4709.	[cleanup]	Use dns_name_fullhash() to hash names for RRL.
			[RT #45435]

(cherry picked from commit f13385770e)
(cherry picked from commit b9fd54f8d4)
2017-09-08 15:47:26 -07:00
Tinderbox User
fae699ca45 update copyright notice / whitespace 2017-09-07 23:53:21 +00:00
Tinderbox User
c6df63d255 newcopyrights 2017-09-07 23:31:46 +00:00
Mark Andrews
79ec139d10 4705. [bug] Remove some name server statistics counters that
were accidentally back ported to the BIND 9.9 branch
                        in change 3938. [RT #45919]
2017-09-07 13:16:27 +10:00
Mark Andrews
c66f27d3ac 4703. [bug] BINDInstall.exe was missing some buffer length checks.
[RT #45898]

(cherry picked from commit 7e40d6274e)
2017-09-07 13:00:13 +10:00
Mark Andrews
a7364b097b sort order wrong 2017-09-06 18:21:54 +10:00
Mark Andrews
be531d9469 sync option order with master 2017-09-06 18:06:04 +10:00
Mark Andrews
65d92b5cfb add PYTHON_INSTALL_DIR 2017-09-06 13:24:24 +10:00
Tinderbox User
ecbf33009b regen v9_9 2017-09-05 01:41:33 +00:00
Tinderbox User
943ef26dac update copyright notice / whitespace 2017-09-04 23:50:06 +00:00
Tinderbox User
888d670bce newcopyrights 2017-09-04 23:31:48 +00:00
Michał Kępień
e3c7adc5e6 [v9_9] Add --with-python-install-dir configure option
4698.	[port]		Add --with-python-install-dir configure option to allow
			specifying a nonstandard installation directory for
			Python modules. [RT #45407]

(cherry picked from commit 25aeff76ad)
2017-09-04 08:45:46 +02:00
Mark Andrews
1fa2ebe609 4696. [port] Enable filter-aaaa support by default on Windows
builds. [RT #45883]

(cherry picked from commit b4eb8b9656)
2017-08-31 13:39:42 +10:00
Mark Andrews
e63daae5f9 sort view_clauses 2017-08-31 08:33:50 +10:00
Mark Andrews
fa4683b934 4692. [bug] Fix build failures with libressl introduced in 4676.
[RT #45879]

(cherry picked from commit c26370fc69)
2017-08-30 18:23:28 +10:00
Tinderbox User
a60b1b470b regen v9_9 2017-08-30 01:42:07 +00:00
Tinderbox User
0bee87c000 update copyright notice / whitespace 2017-08-29 23:52:07 +00:00
Tinderbox User
208935a547 newcopyrights 2017-08-29 23:31:14 +00:00
Michał Kępień
2e39f122dd [v9_9] Mark -4/-6 command line options as mutually exclusive
4690.	[doc]		Command line options -4/-6 for various tools are
			mutually exclusive. [RT #45632]

(cherry picked from commit 16650c6fa2)
2017-08-29 10:39:12 +02:00
Mark Andrews
8a5210cafe fix changes number
(cherry picked from commit 503223b800)
2017-08-26 13:27:11 +10:00
Evan Hunt
d2516c6507 [v9_9] turn on minimal responses for CDS/CDNSKEY
4678.	[cleanup]	Turn on minimal responses for CDNSKEY and CDS in
			addition to DNSKEY and DS. Thanks to Tony Finch.
			[RT #45690]

(cherry picked from commit 391a3a2f20)
2017-08-25 13:32:39 -07:00
Mark Andrews
fed404fe51 9.9 doesn't suppport +ednsopt 2017-08-25 12:51:04 +10:00
Tinderbox User
534627ef07 regen v9_9 2017-08-25 01:40:19 +00:00
Tinderbox User
444cddf00b update copyright notice / whitespace 2017-08-24 23:54:52 +00:00
Tinderbox User
f118c1a49b newcopyrights 2017-08-24 23:31:07 +00:00
Mark Andrews
6f799a2e5a 4688. [protocol] Check and display EDNS KEY TAG options (RFC 8145) in
messages. [RT #44804]

(cherry picked from commit 07741d43c8)
2017-08-25 08:53:05 +10:00
Tinderbox User
959c633493 regen v9_9 2017-08-22 01:41:01 +00:00
Tinderbox User
4996870514 update copyright notice / whitespace 2017-08-21 23:58:24 +00:00
Tinderbox User
598aa4e93f newcopyrights 2017-08-21 23:31:54 +00:00
Michał Kępień
4cca0a8ebb [v9_9] Prevent dnssec-settime from printing a bogus warning
4686.	[bug]		dnssec-settime -p could print a bogus warning about
			key deletion scheduled before its inactivation when a
			key had an inactivation date set but no deletion date
			set. [RT #45807]

(cherry picked from commit 330365566d)
2017-08-21 10:22:18 +02:00
Michał Kępień
1b66e67705 [v9_9] Fix calculation of dates for a successor key
4685.	[bug]		dnssec-settime incorrectly calculated publication and
			activation dates for a successor key. [RT #45806]

(cherry picked from commit 457dc09806)
2017-08-21 10:02:01 +02:00
Tinderbox User
9f8aa9f785 regen v9_9 2017-08-18 01:38:57 +00:00
Tinderbox User
f9f03d98b0 update copyright notice / whitespace 2017-08-17 23:52:36 +00:00
Tinderbox User
32b4dc927d newcopyrights 2017-08-17 23:32:39 +00:00
Michał Kępień
818da88182 [v9_9] Prevent nsupdate from immediately exiting on invalid user input in interactive mode
4683.	[bug]		Prevent nsupdate from immediately exiting on invalid
			user input in interactive mode. [RT #28194]

(cherry picked from commit e02fa56849)
2017-08-17 08:37:46 +02:00
Mark Andrews
eb7bdae9a0 4682. [bug] Don't report errors on records below a DNAME.
[RT #44880]

(cherry picked from commit 615b961e02)
2017-08-17 15:52:07 +10:00
Tinderbox User
d7b57c0506 update copyright notice / whitespace 2017-08-15 23:54:42 +00:00
Tinderbox User
8326f180f3 newcopyrights 2017-08-15 23:30:58 +00:00
Mark Andrews
78639b2ddf 'uname -o' is not portable, suppress error message; remove spurious cat tmp.out; provide forensics for failure analysis
(cherry picked from commit e85a2c5624)
2017-08-15 18:09:07 +10:00
Tinderbox User
4d89263d60 update copyright notice / whitespace 2017-08-14 23:53:17 +00:00
Tinderbox User
c5754548f3 newcopyrights 2017-08-14 23:31:18 +00:00
Michał Kępień
595779183a [v9_9] Fix master address failover when GSS-API is used
4680.	[bug]		Fix failing over to another master server address when
			nsupdate is used with GSS-API. [RT #45380]

(cherry picked from commit b55ec74eaa)
2017-08-14 15:01:07 +02:00
Michał Kępień
3e5191731e [v9_9] Make dnssec-verify suggest using -o when appropriate
4679.	[cleanup]	Suggest using -o when dnssec-verify finds a SOA record
			not at top of zone and -o is not used. [RT #45519]

(cherry picked from commit 877c264edc)
2017-08-14 14:03:30 +02:00
Mark Andrews
1f56b5c795 sort options
(cherry picked from commit 00f067539a)
2017-08-14 21:42:38 +10:00
Mark Andrews
1b2c8e7583 alphabetize options_clauses 2017-08-14 07:36:46 +00:00
Mark Andrews
581d481613 use isc_thread_self instead of pthread_self
(cherry picked from commit 5e9d9aa9d0)
2017-08-14 13:54:47 +10:00
Tinderbox User
f21e2d6c78 update copyright notice / whitespace 2017-08-11 23:52:00 +00:00
Tinderbox User
a78684345d newcopyrights 2017-08-11 23:31:50 +00:00
Evan Hunt
e785ee2e18 [v9_9] fix CHANGES note 2017-08-10 22:53:42 -07:00
Evan Hunt
18ad62b920 [v9_9] split up main and add callback function pointers to support iOS
4677.	[port]		Split up the main function in dig to better support
			the iOS app version. [RT #45508]

(cherry picked from commit 6640e00924)
2017-08-10 22:50:19 -07:00
Tinderbox User
01703a53fc regen v9_9 2017-08-10 01:43:02 +00:00
Mark Andrews
8d49cc93db 4676. [cleanup] Allow BIND to be built using OpenSSL 1.0.X with
deprecated functions removed. [RT #45706]

(cherry picked from commit cbc80a42d3)
2017-08-10 10:17:13 +10:00
Tinderbox User
ec9becf633 update copyright notice / whitespace 2017-08-09 23:54:45 +00:00
Tinderbox User
5aa00b2dc6 newcopyrights 2017-08-09 23:30:55 +00:00
Mark Andrews
f3ed36d3a1 4675. [cleanup] Don't use C++ keyword class. [RT #45726] 2017-08-10 08:51:22 +10:00
Evan Hunt
3e2fd1b2e7 [v9_9] grammar error 2017-08-09 15:06:58 -07:00
Evan Hunt
c06d35bb34 [v9_9] silence gcc 7 warnings
4673.	[port]		Silence GCC 7 warnings. [RT #45592]

(cherry picked from commit cdacec1dcb)
(cherry picked from commit 7dbeb5e7f0)
(cherry picked from commit 733404ab8c)
2017-08-09 00:38:10 -07:00
Mark Andrews
cf25cdac38 add comment
(cherry picked from commit 93049edb81)
(cherry picked from commit ef899b41f4)
2017-08-09 10:49:11 +05:30
Evan Hunt
8d9c7ef2e2 style
(cherry picked from commit 72f91848ef)
(cherry picked from commit 164d30e3a1)
2017-08-09 10:49:10 +05:30
Tinderbox User
16fd34ab85 update copyright notice / whitespace 2017-08-09 01:37:36 +00:00
Tinderbox User
074628c21a newcopyrights 2017-08-09 01:01:14 +00:00
Mukund Sivaraman
b7df525e93 Fix tsig_test.c unittest (OK'd by Mark on Jabber)
(cherry picked from commit f2b6eef899)
(cherry picked from commit 8ecd1dc557)
(cherry picked from commit dc94345bbd)
2017-08-08 21:56:57 +05:30
Mukund Sivaraman
6b230c0dd8 Fix bug where named as resolver would not try other fctx addresses upon fetch timeout (#45321)
(cherry picked from commit 88178e13e6)
2017-08-08 21:19:00 +05:30
Mukund Sivaraman
03acb6368a Fix a race in resume_dslookup() (#45168)
(cherry picked from commit c88efb83b3)
(cherry picked from commit 6e10f87913)
(cherry picked from commit 6859f1d265)
2017-08-08 13:17:22 +05:30
Evan Hunt
b435e88337 [v9_9] ensure verified_sig
4670.	[cleanup]	Ensure that a request MAC is never sent back
			in an XFR response unless the signature was
                        verified. [RT #45494]

(cherry picked from commit 0ad72b96d2)
(cherry picked from commit 37f6466aa3)
2017-08-07 18:58:50 -07:00
Evan Hunt
bce15d72e2 [v9_9] add missing eddsa files, fix dst_parse.c to handle eddsa correctly 2017-08-07 16:45:46 -07:00
Tinderbox User
d247177114 regen v9_9 2017-08-04 01:35:21 +00:00
Curtis Blackburn
d7b7531c02 fix pthread_np.h detection
[rt45680]
2017-08-03 18:10:52 -07:00
Tinderbox User
b0fc3288ec update copyright notice / whitespace 2017-08-03 00:01:44 +00:00
Tinderbox User
7ab2a0c94f newcopyrights 2017-08-02 23:53:42 +00:00
Mark Andrews
22e68fe50f fix merge error 2017-08-03 09:41:17 +10:00
Mark Andrews
b5b0fbc44c 4668. [bug] Use localtime_r and gmtime_r for thread safety.
[RT #45664]

(cherry picked from commit 2019cf29e2)
2017-08-03 08:47:15 +10:00
Mark Andrews
1a42ac0001 remove bin/tests/rdata_test.c 2017-08-02 12:43:14 +10:00
Tinderbox User
43e89f0de4 regen v9_9 2017-08-02 01:37:23 +00:00
Tinderbox User
f9d3d16a27 update copyright notice / whitespace 2017-08-01 23:55:29 +00:00
Tinderbox User
e9a29d2c0a newcopyrights 2017-08-01 23:32:41 +00:00
Michał Kępień
60b55fe41c [v9_9] Refactor RDATA unit tests
4667.	[cleanup]	Refactor RDATA unit tests. [RT #45610]

(cherry picked from commit 41620b94c4)
2017-08-01 13:08:33 +02:00
Evan Hunt
5e64f32ce7 [v9_9] revise CHANGES note and add release note 2017-07-31 23:50:11 -07:00
Mark Andrews
c0fa0fe477 handle .key and .private files
(cherry picked from commit 3c4dffefe8)
2017-08-01 12:11:44 +10:00
Tinderbox User
4fcca5caf4 regen v9_9 2017-08-01 01:36:19 +00:00
Tinderbox User
3204ebaed1 sync 2017-08-01 01:31:09 +00:00
Tinderbox User
f96e57a2c4 update copyright notice / whitespace 2017-07-31 23:49:05 +00:00
Tinderbox User
31bdb1dea7 newcopyrights 2017-07-31 23:32:20 +00:00
Francis Dupont
dea37aee81 Added Ed25519 support (#44696) 2017-07-31 17:02:24 +02:00
Tinderbox User
f15c57b877 regen v9_9 2017-07-29 01:38:45 +00:00
Tinderbox User
fd14aa6b8a update copyright notice / whitespace 2017-07-28 23:49:49 +00:00
Tinderbox User
304458b7f0 newcopyrights 2017-07-28 23:32:00 +00:00
Evan Hunt
f5f320dd91 [v9_9] remove unnecessary acronym expansions 2017-07-28 12:26:42 -07:00
Michał Kępień
d3d5a9780d [v9_9] Clarify error message printed by dnssec-dsfromkey
4663.	[cleanup]	Clarify error message printed by dnssec-dsfromkey.
			[RT #21731]

(cherry picked from commit c150f68609)
2017-07-28 10:30:25 +02:00
Evan Hunt
681e286ada [v9_9] Maintain ZEROTTL cache entries at the tail of the LRU lists
4662.	[performance]	Improve cache memory cleanup of zero TTL records
			by putting them at the tail of LRU header lists.
			[RT #45274]

(cherry picked from commit e924155211)
2017-07-28 00:14:08 -07:00
Evan Hunt
0991321029 [v9_9] race condition when reloading while resigning
4661.	[bug]		A race condition could occur if a zone was reloaded
			while resigning, triggering a crash in
			rbtdb.c:closeversion(). [RT #45276]

(cherry picked from commit 036305f00d)
2017-07-28 00:03:08 -07:00
Mark Andrews
9d51d7a967 4660. [bug] Remove spurious "peer" from Windows socket log
messages. [RT #45617]

(cherry picked from commit 5140501a0b)
2017-07-28 16:07:51 +10:00
Mark Andrews
6864306668 add semicolon 2017-07-28 15:58:52 +10:00
Mark Andrews
506ca12867 4658. [bug] Clean up build directory created by "setup.py install"
immediately.  [RT #45628]

(cherry picked from commit e54f256bb4)
2017-07-28 15:57:47 +10:00
Tinderbox User
f4c4c3aa15 update copyright notice / whitespace 2017-07-28 00:07:55 +00:00
Tinderbox User
4956a0cfaa newcopyrights 2017-07-27 23:41:24 +00:00
Evan Hunt
6b6cd5b4d6 [v9_9] fix typo in BADCDS
(cherry picked from commit 166d1bf5f5)
2017-07-27 15:43:10 -07:00
Mark Andrews
cffc5dc5d1 fix RT number
(cherry picked from commit cdc5e0cea0)
2017-07-26 16:40:49 +10:00
Mark Andrews
e5341d238f 9.9.11 2017-07-24 17:27:55 +10:00
Tinderbox User
b5f2eaec62 update copyright notice / whitespace 2017-07-21 23:48:17 +00:00
Tinderbox User
da330f1fa1 newcopyrights 2017-07-21 23:31:09 +00:00
Mark Andrews
169bf685a1 4654. [cleanup] Don't use C++ keywords delete, new and namespace.
[RT #45538]

(cherry picked from commit 4bf32aa587)
2017-07-21 12:50:13 +10:00
Tinderbox User
c722839d70 update copyright notice / whitespace 2017-07-20 23:47:02 +00:00
Tinderbox User
2a2eb95b2c newcopyrights 2017-07-20 23:30:33 +00:00
Mark Andrews
0c6141d41a 9.9.11rc2 2017-07-20 13:10:48 +10:00
Mark Andrews
f22330dc5c 4653. [bug] Reorder includes to move @DST_OPENSSL_INC@ and
@ISC_OPENSSL_INC@ after shipped include directories.
                        [RT #45581]

(cherry picked from commit 124712666e)
2017-07-20 12:09:43 +10:00
Tinderbox User
adfb3f05a8 update copyright notice / whitespace 2017-07-19 23:46:53 +00:00
Mark Andrews
8f0b7771d3 4653. [bug] Reorder includes in bin/nsupdate/Makefile.in.
[RT #45581]

(cherry picked from commit a5a4cf96c6)
2017-07-20 09:41:55 +10:00
Tinderbox User
8d2d7a8336 newcopyrights 2017-07-19 23:30:51 +00:00
Mark Andrews
a41f6ec208 correct for missing placeholder 2017-07-19 16:14:47 +10:00
Mark Andrews
927f84f485 use 'test "constant" <condition> "$variable"' [RT #45486]
(cherry picked from commit aed501fb88)
2017-07-19 16:10:38 +10:00
Mark Andrews
4442503b86 4651. [bug] Nsupdate could attempt to use a zeroed address on
server timeout. [RT #45417]

(cherry picked from commit dac36869f3)
2017-07-19 15:42:04 +10:00
Mark Andrews
afcc29ac05 4651. [bug] Nsupdate could attempt to use a zeroed address on
server timeout. [RT #45417]

(cherry picked from commit 38edf586f9)
2017-07-19 15:37:03 +10:00
Mark Andrews
49a977c6aa 4650. [test] Silence coverity warnings in tsig_test.c. [RT #45528]
(cherry picked from commit c0ac259940)
2017-07-19 14:37:10 +10:00
Tinderbox User
03e4fecdc9 regenerate 2017-07-16 22:28:07 +00:00
Tinderbox User
025e4343f5 regen v9_9 2017-07-16 21:39:21 +00:00
Evan Hunt
44bbb60075 [v9_9] update api ranges 2017-07-16 13:57:35 -07:00
Evan Hunt
9d9f75290f [v9_9] prep 9.9.11 2017-07-16 13:45:36 -07:00
Tinderbox User
e7a1f126d7 regen v9_9 2017-07-16 01:30:21 +00:00
Evan Hunt
344dd358d1 [v9_9] update relnotes to mention termination of windows XP support 2017-07-15 13:58:08 -07:00
Tinderbox User
369df8483a regen v9_9 2017-07-15 01:36:59 +00:00
Evan Hunt
6aea0a0133 [v9_9] add a release note for TSIG regression 2017-07-14 14:53:29 -07:00
Tinderbox User
4d1466b46b regen v9_9 2017-07-11 03:35:52 +00:00
Mark Andrews
a51a9c663a note change in AD setting on some truncated answers
(cherry picked from commit 56d8312a48)
2017-07-11 13:29:43 +10:00
Mark Andrews
b9e22a4a2b add note about .local
(cherry picked from commit 9987992232)
(cherry picked from commit 66afb7c86a)
2017-07-11 12:45:49 +10:00
Tinderbox User
0b3fb0379d update copyright notice / whitespace 2017-07-11 01:47:26 +00:00
Tinderbox User
7130e283a6 newcopyrights 2017-07-11 01:45:55 +00:00
Mark Andrews
6cbddd0137 update for 9.9.11rc1 2017-07-11 11:43:47 +10:00
Mark Andrews
7015ac4491 4435. [tuning] Only set IPV6_USE_MIN_MTU for UDP when the message
will not fit into a single IPv4 encapsulated IPv6
                        UDP packet when transmitted over a Ethernet link.
                        [RT #42871]

(cherry picked from commit 31ffec1541)
2017-07-11 11:42:43 +10:00
Tinderbox User
fa602b4194 regen v9_9 2017-07-10 07:23:16 +00:00
Tinderbox User
a0d79dadb1 regen v9_9 2017-07-10 06:39:25 +00:00
Mark Andrews
aac9afb0ed update for 9.9.11rc1 2017-07-10 15:24:48 +10:00
Tinderbox User
2c94690059 regen v9_9 2017-07-08 01:51:51 +00:00
Tinderbox User
59de594242 update copyright notice / whitespace 2017-07-07 23:47:50 +00:00
Tinderbox User
a0bfd95cbe newcopyrights 2017-07-07 23:30:48 +00:00
Evan Hunt
0a272fbf65 [v9_9] remove spurious "None" from relnotes 2017-07-07 13:19:38 -07:00
Mark Andrews
142d902f08 add #include <isc/print.h>
(cherry picked from commit 00a235c8e6)
2017-07-08 00:48:37 +10:00
Mark Andrews
2fc1b8102d 4647. [bug] Change 4643 broke verification of TSIG signed TCP
message sequences where not all the messages contain
                        TSIG records.  These may be used in AXFR and IXFR
                        responses.  [RT #45509]

(cherry picked from commit 58f0fb325b)
2017-07-07 23:32:01 +10:00
Mukund Sivaraman
869050dd36 Fix typo in configure output
(cherry picked from commit 5f88472fd1)
(cherry picked from commit 5eceaccb00)
(cherry picked from commit a876a730a1)
2017-07-07 17:34:26 +05:30
Tinderbox User
bbcbea7e72 update copyright notice / whitespace 2017-07-05 23:47:03 +00:00
Tinderbox User
6d7a895c35 newcopyrights 2017-07-05 23:30:19 +00:00
Mark Andrews
7ddd8b18e5 4646. [bug] Install lib/export libraries with ${INSTALL_LIBRARY}.
[RT #45497]
2017-07-05 12:13:32 +10:00
Tinderbox User
f09df6e593 update copyright notice / whitespace 2017-07-04 23:47:05 +00:00
Tinderbox User
20f2e0f8d3 newcopyrights 2017-07-04 23:30:22 +00:00
Ray Bellis
af1526af16 fixed new warning with previous iOS patch
(cherry picked from commit 70676a01eb)
2017-07-04 12:14:00 +01:00
Ray Bellis
2c8417447d fix warnings from iOS build of dig
(cherry picked from commit 03a4e4381e)
2017-07-04 11:58:29 +01:00
Evan Hunt
013994d939 [v9_9] remove unneeded ifdefs 2017-06-29 15:56:42 -07:00
Tinderbox User
3765187b5f regen v9_9 2017-06-29 00:18:14 +00:00
Evan Hunt
ad3d2229e4 [v9_9] complete change #4643 2017-06-28 09:12:18 -07:00
Tinderbox User
70780d51ce regen v9_9 2017-06-28 01:38:10 +00:00
Tinderbox User
d009ac5ae2 update copyright notice / whitespace 2017-06-27 23:47:52 +00:00
Tinderbox User
8330e2ecbb newcopyrights 2017-06-27 23:30:35 +00:00
Evan Hunt
adf886ca5b [v9_9] fix API ranges (170-179 was used for two branches) 2017-06-27 12:20:41 -07:00
Evan Hunt
a3f30d1aac [v9_9] address TSIG bypass/forgery vulnerabilities
4643.	[security]	An error in TSIG handling could permit unauthorized
			zone transfers or zone updates. (CVE-2017-3142)
			(CVE-2017-3143) [RT #45383]

(cherry picked from commit 581c1526ab)
(cherry picked from commit a03f4b1ea4)
2017-06-27 11:41:31 -07:00
Evan Hunt
ee44eb6448 [v9_9] enhanced rfc 5011 logging
4642.	[cleanup]	Add more logging of RFC 5011 events affecting the
			status of managed keys: newly observed keys,
			deletion of revoked keys, etc. [RT #45354]

(cherry picked from commit 0d90835d2a)
(cherry picked from commit a71114e8bd)
2017-06-27 10:51:20 -07:00
Tinderbox User
2771704850 regen v9_9 2017-06-26 03:04:09 +00:00
Mark Andrews
5870093bf8 copyrights 2017-06-26 12:36:40 +10:00
Mark Andrews
d96a0f1e9b update api for 9.9.11b1 2017-06-26 12:33:52 +10:00
Mark Andrews
a2ffb897d1 'name' should be on isc_thread_setname argument not isc_thread_create
(cherry picked from commit 15471a63a2)
2017-06-26 12:30:29 +10:00
Mark Andrews
e2f4b81af2 add 9.9.11b1 release marker 2017-06-26 12:25:59 +10:00
Mark Andrews
eff7c4c76d copyrights 2017-06-26 12:23:26 +10:00
Mark Andrews
9d3acdac8b 4641. [cleanup] Parallel builds (make -j) could fail with --with-atf /
--enable-developer. [RT #45373]

(cherry picked from commit 1be7580be7)
2017-06-26 10:03:03 +10:00
Mark Andrews
282980e448 4640. [bug] If query_findversion failed in query_getdb due to
memory failure the error status was incorrectly
                        discarded. [RT #45331]

(cherry picked from commit b551ee14bd)
(cherry picked from commit 18bb24bc37)
2017-06-23 17:19:15 +10:00
Tinderbox User
3bd0f5fc20 update copyright notice / whitespace 2017-06-13 23:47:54 +00:00
Tinderbox User
e62784bf74 newcopyrights 2017-06-13 23:30:51 +00:00
Mark Andrews
0b9020897d 4636. [bug] Normalize rpz policy zone names when checking for
existence. [RT #45358]

(cherry picked from commit e85e95c19e)
2017-06-13 13:15:06 +10:00
Tinderbox User
ce972b1a0c newcopyrights 2017-06-11 23:30:30 +00:00
Mark Andrews
15a79a8d4e 4634. [contrib] check5011.pl needs to handle optional space before
semi-colon in +multi-line output. [RT #45352]

(cherry picked from commit ed2659c974)
2017-06-11 22:05:29 +10:00
Tinderbox User
74ae478d95 update copyright notice / whitespace 2017-06-02 23:46:45 +00:00
Tinderbox User
40843c1f56 newcopyrights 2017-06-02 23:30:25 +00:00
Mark Andrews
8920aee710 4633. [maint] Updated AAAA (2001:500:200::b) for B.ROOT-SERVERS.NET.
(cherry picked from commit 9c179a5607)
2017-06-02 11:49:12 +10:00
Mark Andrews
800a88738d fix changes numbers
(cherry picked from commit 5e1cedb130)
(cherry picked from commit 5e9a9a823e)
2017-05-31 11:51:31 +10:00
Tinderbox User
524ca73aa1 regen v9_9 2017-05-31 01:33:20 +00:00
Tinderbox User
77dd47b406 update copyright notice / whitespace 2017-05-30 23:47:42 +00:00
Tinderbox User
74c0fab200 newcopyrights 2017-05-30 23:30:24 +00:00
Evan Hunt
ef0f8427a2 [v9_9] quote service registry paths
4532.	[security]	The BIND installer on Windows used an unquoted
                        service path, which can enable privilege escalation.
			(CVE-2017-3141) [RT #45229]

(cherry picked from commit 967a3b9419)
(cherry picked from commit c28e44f3f8)
2017-05-30 13:39:28 -07:00
Evan Hunt
10f80ef83a [v9_9] fix rpz formerr loop
4531.	[security]	Some RPZ configurations could go into an infinite
			query loop when encountering responses with TTL=0.
			(CVE-2017-3140) [RT #45181]

(cherry picked from commit 3440cf9c60)
(cherry picked from commit a57b289ed0)
2017-05-30 12:43:57 -07:00
Mark Andrews
fbfaa3e731 4629. [bug] dns_client_startupdate could not be called with a
running client. [RT #45277]

(cherry picked from commit e51d62ecae)
2017-05-30 10:07:15 +10:00
Tinderbox User
c426f41a3a update copyright notice / whitespace 2017-05-28 23:48:04 +00:00
Tinderbox User
8aefc9c582 newcopyrights 2017-05-28 23:30:36 +00:00
Evan Hunt
7334fbc55c [v9_9] Add DLZ db version to activeversions
4628.	[bug]		Fixed a potential reference leak in query_getdb().
			[RT #45247]

(cherry picked from commit 594eadcc34)
2017-05-28 14:34:14 -07:00
Evan Hunt
c212136796 [v9_9] Use 127.0.0.1 as interface for rndc in logfileconfig test 2017-05-28 14:23:45 -07:00
Mark Andrews
d3fcd71286 test crypto support
(cherry picked from commit 0a78894304)
2017-05-26 16:04:35 +10:00
Tinderbox User
2dbcf1439f update copyright notice / whitespace 2017-05-24 23:47:19 +00:00
Tinderbox User
2618f03bed newcopyrights 2017-05-24 23:30:32 +00:00
Mark Andrews
aedef6d0db make chain system test work with python 3
(cherry picked from commit b9c5b37e0c)
2017-05-24 21:45:36 +10:00
Mark Andrews
27c4fa86c6 use 'python -u' to run python scripts
(cherry picked from commit a5dc0d5066)
2017-05-24 15:16:54 +10:00
Evan Hunt
0b3a455cfd [v9_9] copyrights 2017-05-23 16:53:28 -07:00
Evan Hunt
3f25111cd4 [v9_9] add chain ordering tests
4626.	[test]		Added more tests for handling of different record
			ordering in CNAME and DNAME responses. [QA #430]
2017-05-22 17:19:57 -07:00
Tinderbox User
41dd796aff update copyright notice / whitespace 2017-05-21 23:47:32 +00:00
Tinderbox User
5b72ce8d50 newcopyrights 2017-05-21 23:30:29 +00:00
Evan Hunt
7cc666abf1 [v9_9] corrected a possible crash in isc_test_end()
(cherry picked from commit 9e44639ae0)
2017-05-21 15:44:39 -07:00
Tinderbox User
5b695651e8 regen v9_9 2017-05-19 01:38:05 +00:00
Tinderbox User
8b6ad36c54 update copyright notice / whitespace 2017-05-18 23:47:36 +00:00
Tinderbox User
8f5bec1a73 newcopyrights 2017-05-18 23:30:21 +00:00
Evan Hunt
6ef33666bf [v9_9] remove outdated reference to libbind
(cherry picked from commit ef9ab10ce0)
2017-05-18 15:35:40 -07:00
Tinderbox User
97c4ecec1b update copyright notice / whitespace 2017-05-11 23:47:22 +00:00
Tinderbox User
cb8751c323 newcopyrights 2017-05-11 23:30:31 +00:00
Mark Andrews
bd84d0a47a 4624. [bug] Check isc_mem_strdup results in dns_view_setnewzones.
[RT #45210]

(cherry picked from commit 5049d09bca)
2017-05-11 20:38:22 +10:00
Tinderbox User
6894f45100 regen v9_9 2017-05-11 01:37:50 +00:00
Mark Andrews
c3a2924e00 add warning about semicolon no longer being escaped
(cherry picked from commit d4d73bca79)
2017-05-11 11:03:18 +10:00
Mark Andrews
b737849335 4622. [bug] Remove unnecessary escaping of semicolon in CAA and
URI records. [RT #45216]

(cherry picked from commit 1611ceb8b2)
2017-05-11 10:58:29 +10:00
Tinderbox User
dbd030a74a update copyright notice / whitespace 2017-05-10 23:47:30 +00:00
Tinderbox User
5149eb1e0b newcopyrights 2017-05-10 23:30:28 +00:00
Mark Andrews
bc5403f4b0 4621. [port] Force alignment of oid arrays to silence loader
warnings. [RT #45131]

(cherry picked from commit 2fb1a0bdef)
2017-05-11 09:25:13 +10:00
Mark Andrews
c888ce0fa1 4620. [port] Handle EPFNOSUPPORT being returned when probing
to see if a socket type is supported. [RT #45214]

(cherry picked from commit d352a9db95)
(cherry picked from commit e1be9253cb)
2017-05-11 07:59:29 +10:00
Mark Andrews
e5f9d2b0f6 be consistent with master 2017-05-09 11:31:59 +10:00
Mark Andrews
e96268f453 cleanup 2017-05-09 11:15:31 +10:00
Tinderbox User
9654d3a4ab update copyright notice / whitespace 2017-05-08 23:47:19 +00:00
Tinderbox User
45f94f9095 newcopyrights 2017-05-08 23:30:25 +00:00
Mark Andrews
332193940d 4617. [test] Update rndc system test to be more delay tolerant.
[RT #45177]

(cherry picked from commit 31f4fb98e2)
2017-05-09 04:47:18 +10:00
Tinderbox User
8ebfb6cc9a update copyright notice / whitespace 2017-05-02 23:48:00 +00:00
Tinderbox User
bd73011191 newcopyrights 2017-05-02 23:30:31 +00:00
Mark Andrews
d7d9376e61 4615. [bug] AD could be set on truncated answer with no records
present in the answer and authority sections.
                        [RT #45140]

(cherry picked from commit 33e94f501f)
2017-05-03 08:09:05 +10:00
Mark Andrews
673dd20a78 remove unused assignments [RT #45147]
(cherry picked from commit 78551a3f2c)
2017-05-03 07:46:34 +10:00
Evan Hunt
7e48ed2240 [v9_9] error in sockaddr unit test
4614.	[test]		Fixed an error in the sockaddr unit test. [RT #45146]

(cherry picked from commit d73c32c17f)
(cherry picked from commit 512765ba1e)
2017-05-02 13:41:31 -07:00
Tinderbox User
116c184440 update copyright notice / whitespace 2017-05-01 23:47:23 +00:00
Tinderbox User
345be9e938 newcopyrights 2017-05-01 23:30:54 +00:00
Mark Andrews
b2970c4a93 4612. [bug] Silence 'may be use uninitalised' warning and simplify
the code in lwres/getaddinfo:process_answer.
                        [RT #45158]

(cherry picked from commit b09eb48f8a)
(cherry picked from commit 358aa43c8c)
2017-05-02 09:25:08 +10:00
Evan Hunt
ab642c3bf0 [v9_9] add util.h
(cherry picked from commit 532a001001)
2017-05-01 13:29:05 -07:00
Mark Andrews
a41a44bfb7 complete comment marker change
(cherry picked from commit c8abbc4312)
2017-04-30 20:55:49 +10:00
Tinderbox User
7cb8f844a9 update copyright notice / whitespace 2017-04-28 23:47:10 +00:00
Tinderbox User
d251ba561e newcopyrights 2017-04-28 23:30:27 +00:00
Evan Hunt
02cb20760b [v9_9] change markdown comment style for pandoc 2017-04-27 23:44:39 -07:00
Mark Andrews
4034a1176e silence 'may be used uninitialized' warning. [RT #45139]
(cherry picked from commit d1554926d0)
2017-04-28 11:02:25 +10:00
Tinderbox User
db6190e6ca regen v9_9 2017-04-26 23:46:04 +00:00
Evan Hunt
397271035d [v9_9] fix building of markdown output on docs 2017-04-26 16:20:34 -07:00
Tinderbox User
27ce6c57d3 regen v9_9 2017-04-25 01:22:11 +00:00
Tinderbox User
a658d80dc7 update copyright notice / whitespace 2017-04-24 23:47:23 +00:00
Tinderbox User
30450b8f5d newcopyrights 2017-04-24 23:30:31 +00:00
Evan Hunt
96762fdd4c [v9_9] allow parallel make
4609.	[cleanup]	Rearrange makefiles to enable parallel execution
			(i.e. "make -j"). [RT #45078]
2017-04-23 23:04:56 -07:00
Mark Andrews
36a2cde01f 4608. [func] DiG now warns about .local queries which are reserved
for Multicast DNS. [RT #44783]

(cherry picked from commit 7ef453bf43)
2017-04-24 12:07:52 +10:00
Tinderbox User
15731cd16c regen v9_9 2017-04-24 01:23:00 +00:00
Evan Hunt
5c08c59442 [v9_9] update copyrights that had been missed recently 2017-04-23 17:14:54 -07:00
Evan Hunt
4d7cd16627 [v9_9] recent_changes script could terminate too early
(cherry picked from commit 58502352f2)
2017-04-23 17:06:57 -07:00
Tinderbox User
65d4abb881 update copyright notice / whitespace 2017-04-23 23:47:17 +00:00
Mark Andrews
38abff9790 update 2017-04-24 09:44:28 +10:00
Tinderbox User
1966cf8c5e regen v9_9 2017-04-23 01:21:17 +00:00
Mukund Sivaraman
9af94db1da Add missing types for non-threaded build
(cherry picked from commit b1568eeedc)
(cherry picked from commit 5fb7dd046e)
(cherry picked from commit cb0c1c0b04)
2017-04-22 20:03:40 +05:30
Evan Hunt
7f0127c111 [v9_9] openssl backward compatibility fix
4604.	[bug]		Don't use ERR_load_crypto_strings() when building
			with OpenSSL 1.1.0. [RT #45117]

(cherry picked from commit 4c31eda5e1)
2017-04-21 18:56:37 -07:00
Evan Hunt
0f9808291c [v9_9] fix portability issue
(cherry picked from commit 8ee6a6afd8)
2017-04-21 18:16:30 -07:00
Tinderbox User
d77ee7c663 update copyright notice / whitespace 2017-04-21 23:47:35 +00:00
Evan Hunt
ae7d8f92d7 [v9_9] auto-generate named.conf.docbook
4603.	[doc]		Automatically generate named.conf(5) man page
			from doc/misc/options. Thanks to Tony Finch.
			[RT #43525]
2017-04-21 16:40:43 -07:00
Evan Hunt
9ad188ccaf [v9_9] give threads unique names to assist debugging
4602.	[func]		Threads are now set to human-readable
			names to assist debugging, when supported by
			the OS. [RT #43234]

(cherry picked from commit d26ae7fc08)
(cherry picked from commit 8b9c4592ed)
2017-04-21 14:00:54 -07:00
Evan Hunt
dc0a308b9a [v9_9] clear out relnotes 2017-04-21 13:39:29 -07:00
Evan Hunt
8e741d756e [v9_9] typo in rndc doc
(cherry picked from commit b9e736f4f6)
(cherry picked from commit 794e994b5b)
2017-04-21 13:19:57 -07:00
Mukund Sivaraman
4cf12b3916 Reject incorrect RSA key lengths during key generation and and sign/verify context creation (#45043)
(cherry picked from commit 239e9dc81c)
(cherry picked from commit 264e17e739)
(cherry picked from commit 2540059b7b)
2017-04-21 19:09:05 +05:30
Mukund Sivaraman
4973497287 Fix inconsistencies in inline signing time comparisons (#42112)
(cherry picked from commit 4176d278e2)
(cherry picked from commit eeb16584fb)
(cherry picked from commit fb5c4bc94c)
2017-04-21 16:49:03 +05:30
Mukund Sivaraman
3664176a73 Ignore SHA-1 DS digest type when SHA-384 DS digest type is present (#45017)
(cherry picked from commit 5d01eab088)
(cherry picked from commit 9540b42695)
(cherry picked from commit 4ab28446c1)
2017-04-21 16:24:23 +05:30
Mukund Sivaraman
e315a20bd4 Validate glue before adding it to the additional section (#45062)
(cherry picked from commit b0dbcba2d2)
(cherry picked from commit fec9247b8f)
(cherry picked from commit b958488b2e)
2017-04-21 16:03:28 +05:30
Evan Hunt
a63fabb7e0 [v9_9] fix merge error 2017-04-20 20:58:40 -07:00
Evan Hunt
4bb6e3f63e [v9_9] remove references to compile options that aren't in 9.9 2017-04-20 20:15:51 -07:00
Evan Hunt
6f90648dbd [v9_9] update README, remove FAQ
4593.	[doc]		Update README using markdown, remove outdated FAQ
			file in favor of the knowledge base.
2017-04-20 19:50:55 -07:00
Tinderbox User
c6df7a35cd regen v9_9 2017-04-21 01:20:35 +00:00
Evan Hunt
0fcdf50da3 [v9_9] fix change number 2017-04-20 17:43:39 -07:00
Evan Hunt
62fd7f8062 [v9_9] fix dispatch.c shutdown race
4952.	[bug]		A race condition on shutdown could trigger an
			assertion failure in dispatch.c. [RT #43822]

(cherry picked from commit 019132b70c)
2017-04-20 17:42:09 -07:00
Evan Hunt
09408d0381 [v9_9] python 3 compatibility
4591.	[port]		Addressed some python 3 compatibility issues.
			Thanks to Ville Skytta. [RT #44955] [RT #44956]

(cherry picked from commit 6d19d975c6)
(cherry picked from commit 17c7582ad8)
2017-04-20 17:31:53 -07:00
Tinderbox User
922d514bef update copyright notice / whitespace 2017-04-20 23:47:37 +00:00
Tinderbox User
52ad0d86bb newcopyrights 2017-04-20 23:30:55 +00:00
Evan Hunt
ab30439a36 [v9_9] correct a mistake in nsupdate help
(cherry picked from commit bdbdc69a75)
2017-04-20 16:18:13 -07:00
Evan Hunt
267520449b [v9_9] some output was not silenced with configure -q
4589.	[cleanup]	"configure -q" is now silent. [RT #44829]

(cherry picked from commit 897049d129)
(cherry picked from commit 4db2cb92da)
2017-04-20 15:51:40 -07:00
Tinderbox User
cf0cd17b7f regenerate 2017-04-20 18:32:49 +00:00
Tinderbox User
75c0725265 regen v9_9 2017-04-20 18:32:46 +00:00
Evan Hunt
78354abccc [v9_9] update EOL date 2017-04-20 11:26:10 -07:00
Evan Hunt
2a4e8c753e [v9_9] nsupdate: send tkey queries to the right server
4588.	[bug]		nsupdate could send queries for TKEY to the wrong
			server when using GSSAPI. Thanks to Tomas Hozza.
			[RT #39893]

(cherry picked from commit 66b71679b7)
2017-04-20 09:30:19 -07:00
Mark Andrews
3d61a6c12d 4587. [bug] named-checkzone failed to handle occulted data below
DNAMEs correctly. [RT #44877]

(cherry picked from commit 600b027731)
2017-04-20 13:30:57 +10:00
Mark Andrews
11a028ceb4 4585. [port] win32: Set CompileAS value. [RT #42474]
(cherry picked from commit 3742338a7b)
2017-04-20 13:01:35 +10:00
Tinderbox User
93830fbbf8 update copyright notice / whitespace 2017-04-17 23:47:45 +00:00
Tinderbox User
dc6229bc94 newcopyrights 2017-04-17 23:30:29 +00:00
Evan Hunt
b70ae741bf [v9_9] fix out of tree build error
(cherry picked from commit 28cff4f924)
2017-04-17 14:32:13 -07:00
Tinderbox User
1a7c6f9dc8 regenerate 2017-04-14 03:50:56 +00:00
Tinderbox User
9bd65261f6 regen v9_9 2017-04-14 03:50:52 +00:00
Evan Hunt
1398f719a6 [v9_9] prep 9.9.10 2017-04-13 20:44:50 -07:00
Tinderbox User
a27daee583 regen v9_9 2017-04-12 21:35:56 +00:00
Evan Hunt
835485d6a7 [v9_9] formatting
(cherry picked from commit 52e398c0af)
2017-04-12 14:06:18 -07:00
Tinderbox User
42bd0776fd regen v9_9 2017-04-12 01:20:23 +00:00
Tinderbox User
88036745f4 update copyright notice / whitespace 2017-04-11 23:47:24 +00:00
Tinderbox User
efd33e0dec newcopyrights 2017-04-11 23:30:29 +00:00
Evan Hunt
e6732ebd6f [v9_9] fix argument ordering in synopsis 2017-04-11 12:25:15 -07:00
Tinderbox User
abaf4a6a5c regenerate 2017-03-29 22:14:10 +00:00
Tinderbox User
1e6bd6b53a regen v9_9 2017-03-29 22:14:08 +00:00
Mark Andrews
91adc7a4da add CVE-2017-3138
(cherry picked from commit fe1ad70e51)
2017-03-30 02:57:16 +11:00
Tinderbox User
07967caf75 update copyright notice / whitespace 2017-03-24 23:47:23 +00:00
Tinderbox User
bb0783f9e8 newcopyrights 2017-03-24 23:30:31 +00:00
Mark Andrews
8c2d209f09 4582. [security] 'rndc ""' could trigger a assertion failure in named.
(CVE-2017-3138) [RT #44924]

(cherry picked from commit 8e8dfc5941)
2017-03-25 02:08:26 +11:00
Tinderbox User
fbe9182ffd regen v9_9 2017-03-15 01:24:19 +00:00
Mark Andrews
c43edd377b 4580. [bug] 4578 introduced a regression when handling CNAME to
referral below the current domain. [RT #44850]

(cherry picked from commit 638c7c635d)
2017-03-14 15:17:32 +11:00
Francis Dupont
17776a169c Visual Studio 2017 was published 2017-03-10 08:21:51 +01:00
Tinderbox User
ba9be2be7e regen v9_9 2017-03-01 02:26:17 +00:00
Tinderbox User
e66d21bcc5 update copyright notice / whitespace 2017-03-01 01:57:15 +00:00
Tinderbox User
c5b9c62f97 newcopyrights 2017-03-01 01:51:43 +00:00
Tinderbox User
7eea1026e7 regen v9_9 2017-03-01 01:19:35 +00:00
Mark Andrews
b99d097cc4 Reimplement:
4578.   [security]      Some chaining (CNAME or DNAME) responses to upstream
                        queries could trigger assertion failures.
                        (CVE-2017-3137) [RT #44734]

(cherry picked from commit f240f4a5de)
2017-03-01 12:07:56 +11:00
Tinderbox User
b83e4452ee update copyright notice / whitespace 2017-02-28 23:47:20 +00:00
Tinderbox User
1ca3f89dbd newcopyrights 2017-02-28 23:30:26 +00:00
Mark Andrews
72d96237ef fix nsupdate reference
(cherry picked from commit 02fa49a4d8)
2017-03-01 08:34:52 +11:00
Mark Andrews
da4d56894c fix version number 2017-02-27 16:18:20 +11:00
Tinderbox User
9f77d925fa regenerate 2017-02-24 02:40:48 +00:00
Tinderbox User
fe5d457dd8 regen v9_9 2017-02-24 01:19:56 +00:00
Evan Hunt
fcf1874867 [v9_9] remove unnecessary INSIST and prep 9.11.1rc2
4578.	[security]	Some chaining (CNAME or DNAME) responses to upstream
			queries could trigger assertion failures.
			(CVE-2017-3137) [RT #44734]

(cherry picked from commit a1365a0042)
(cherry picked from commit 559cbe04e7)
2017-02-23 15:26:55 -08:00
Mark Andrews
039a1489c8 explicitly cast to (unsigned int) 2017-02-20 17:05:53 +11:00
Mark Andrews
31099ddd3c explictly cast to isc_stdtime_t
(cherry picked from commit 9998a15284)
2017-02-20 16:57:41 +11:00
Tinderbox User
b2526c1003 regen v9_9 2017-02-16 01:47:16 +00:00
Mark Andrews
14d680e3bc 9.9.10; copyrights 2017-02-16 12:41:30 +11:00
Mark Andrews
4ebbb52b1b record ranges; account for -P's 2017-02-16 12:10:14 +11:00
Mark Andrews
52e42f648b add CVE-2017-3136 note
(cherry picked from commit d77eadc261)
2017-02-15 12:45:20 +11:00
Mark Andrews
93fe666d15 update description 2017-02-15 12:37:52 +11:00
Mark Andrews
35ca802c7b 4575. [security] Dns64 with break-dnssec yes; can result in a
assertion failure. (CVE-2017-3136) [RT #44653]

(cherry picked from commit 3bce12e4b6)
2017-02-15 12:24:33 +11:00
Tinderbox User
776ae3c697 regen v9_9 2017-02-08 01:19:36 +00:00
Evan Hunt
02f0aa2ed3 [v9_9] doc style 2017-02-07 08:19:39 -08:00
Tinderbox User
d3a3f28ce8 regen v9_9 2017-02-07 01:17:31 +00:00
Evan Hunt
0220addcca [v9_9] removed extra note about bind.keys update 2017-02-06 14:19:39 -08:00
Mark Andrews
c7fb2ad160 4571. [bug] Out-of-tree builds of backtrace_test failed.
(cherry picked from commit 3e48466e0a)
2017-02-06 13:47:42 +11:00
Tinderbox User
38e779ccaa newcopyrights 2017-02-05 23:30:25 +00:00
Tinderbox User
dea5b9d33d regenerate 2017-02-05 07:00:55 +00:00
Tinderbox User
6fdbc667fb regen v9_9 2017-02-05 06:55:18 +00:00
Evan Hunt
b4a0711e17 [v9_9] prep 9.9.10rc1 2017-02-04 22:36:23 -08:00
Evan Hunt
3b1b532d66 [v9_9] release note about new root key 2017-02-04 22:16:06 -08:00
Tinderbox User
c25649ae56 newcopyrights 2017-02-04 23:30:27 +00:00
Evan Hunt
d8edf39f95 [v9_9] fall back to builtin keys if bind.keys is empty
4570.	[cleanup]	named did not correctly fall back to the built-in
			initializing keys if the bind.keys file was present
			but empty. [RT #44531]
2017-02-04 00:42:31 -08:00
Evan Hunt
f3713038d5 [v9_9] revised comment 2017-02-04 00:24:25 -08:00
Tinderbox User
64258a6b83 regen v9_9 2017-02-04 01:22:01 +00:00
Evan Hunt
feec25e65a [v9_9] add "configure --with-bind" option to dnsperf
4568.	[contrib]	Added a --with-bind option to the dnsperf configure
			script to specify BIND prefix path.

(cherry picked from commit adcdff94d9)
2017-02-03 16:29:24 -08:00
Tinderbox User
84150b929e update copyright notice / whitespace 2017-02-03 23:47:22 +00:00
Tinderbox User
e3e1d782b9 newcopyrights 2017-02-03 23:30:22 +00:00
Evan Hunt
1b3a9c2755 [v9_9] silence "unused value" warning
(cherry picked from commit f4d20b15a2)
2017-02-03 11:27:19 -08:00
Mark Andrews
182d657891 remove outdated cvs $Id strings 2017-02-03 18:44:36 +11:00
Mark Andrews
3cf44b82b4 4567. [port] Call getprotobyname and getservbyname prior to calling
chroot so that shared libraries get loaded. [RT #44537]

(cherry picked from commit c550e75ade)
2017-02-03 14:23:45 +11:00
Tinderbox User
3afe116624 regen v9_9 2017-02-03 01:19:22 +00:00
Tinderbox User
2444ab6b88 update copyright notice / whitespace 2017-02-02 23:48:58 +00:00
Tinderbox User
759956293c newcopyrights 2017-02-02 23:30:44 +00:00
Evan Hunt
5d9663f99a [v9_9] Remove obsolete Id lines that showed old date on generated bind.keys.h 2017-02-02 11:16:41 -08:00
Mark Andrews
07f8c99017 new root KSK 2017-02-02 18:30:20 +11:00
Mark Andrews
5ef10219a1 9.9.10rc1 2017-02-02 18:16:52 +11:00
Mark Andrews
9543825c15 4564. [maint] Update the built in managed keys to include the
upcoming root KSK. [RT #44579]

(cherry picked from commit 00a83c64d7)
2017-02-02 17:38:21 +11:00
Evan Hunt
3e43702524 [v9_9] Squashed commit of the following:
4561.	[port]		Silence a warning in strict C99 compilers. [RT #44414]

(cherry picked from commit 6cb5e36ca3)
2017-02-01 17:31:37 -08:00
Tinderbox User
485b9c96c2 update copyright notice / whitespace 2017-01-31 23:48:07 +00:00
Tinderbox User
462b23e519 newcopyrights 2017-01-31 23:30:50 +00:00
Tinderbox User
861b9203ed regen v9_9 2017-01-31 01:21:13 +00:00
Evan Hunt
ad1ebb5b28 [v9_9] address portability issues
(cherry picked from commit a2bd99a959)
2017-01-30 16:52:42 -08:00
Mark Andrews
8da7fa7b52 add a REQUIRE to catch the NULL pointer dereference that triggered CVE-2017-3135
(cherry picked from commit 1d8995d226)
2017-01-31 11:21:25 +11:00
Tinderbox User
fb8d8cfc2c update copyright notice / whitespace 2017-01-30 23:48:49 +00:00
Evan Hunt
a6bae6d52c [v9_9] change 4558 was incomplete
(cherry picked from commit cd668ea57f)
2017-01-30 14:11:30 -08:00
Tinderbox User
61a5559acd regen v9_9 2017-01-25 01:19:18 +00:00
Tinderbox User
9e04eb78f1 update copyright notice / whitespace 2017-01-24 23:47:30 +00:00
Tinderbox User
0231497642 newcopyrights 2017-01-24 23:30:23 +00:00
Evan Hunt
54407a338b [v9_9] CHANGES typo 2017-01-24 13:10:32 -08:00
Mark Andrews
f0736f9780 fix changes note 2017-01-24 17:53:10 +11:00
Mark Andrews
b15e927949 4560. [bug] mdig: add -m option to enable memory debugging rather
than have in on all the time. [RT #44509]

4559.   [bug]           Openssl_link.c didn't compile if ISC_MEM_TRACKLINES
                        was turned off.  [RT #44509]

(cherry picked from commit 25da687db7)
(cherry picked from commit f7903e4bcc)
2017-01-24 17:50:24 +11:00
Mark Andrews
0ce2803ae7 4558. [bug] Synthesised CNAME before matching DNAME was still
being cached when it should have been.  [RT #44318]

(cherry picked from commit 9f4bf43b79)
2017-01-24 17:41:27 +11:00
Evan Hunt
4474e3aca7 [v9_9] expand relnote
(cherry picked from commit afa0ff0cbb)
2017-01-23 20:05:13 -08:00
Mark Andrews
48744b9b32 fix changes number 2017-01-24 12:39:31 +11:00
Tinderbox User
152947d4f7 regen v9_9 2017-01-24 01:19:27 +00:00
Mark Andrews
eaa394fcfa address rpz version issue 2017-01-24 11:21:55 +11:00
Mark Andrews
4b843e0cc8 4556. [security] Combining dns64 and rpz can result in dereferencing
a NULL pointer (read).  (CVE-2017-3135) [RT#44434]

(cherry picked from commit 5abe80ef13)
2017-01-24 09:56:20 +11:00
Tinderbox User
3d51a06d9d update copyright notice / whitespace 2017-01-19 23:47:43 +00:00
Tinderbox User
7bf85eadb9 newcopyrights 2017-01-19 23:30:24 +00:00
Mark Andrews
3f4d134e72 use TCP macro
(cherry picked from commit 2fa1676380)
2017-01-19 13:14:11 +11:00
Tinderbox User
38e1c56c6d update copyright notice / whitespace 2017-01-14 23:47:28 +00:00
Tinderbox User
f905606ccb newcopyrights 2017-01-14 23:30:29 +00:00
Mark Andrews
830f1c2f03 4554. [bug] Remove double unlock in dns_dispatchmgr_setudp.
[RT #44336]

(cherry picked from commit 5dfa5221d5)
2017-01-14 13:14:41 +11:00
Tinderbox User
eed41a2afc update copyright notice / whitespace 2017-01-13 23:47:32 +00:00
Tinderbox User
db66c73fab newcopyrights 2017-01-13 23:30:23 +00:00
Mark Andrews
f837844b4f make e's declaration unconditional. [RT #44324]
(cherry picked from commit b8eee0f48d)
2017-01-13 16:10:50 +11:00
Mark Andrews
0e948976b3 remove false negatives (add eol to grep patterns; add missing ret=0)
(cherry picked from commit bcfaac260a)
2017-01-13 16:00:38 +11:00
Tinderbox User
e8946b7517 regen v9_9 2017-01-13 01:19:37 +00:00
Tinderbox User
0ed649b6e5 update copyright notice / whitespace 2017-01-12 23:48:25 +00:00
Tinderbox User
0debc41d09 newcopyrights 2017-01-12 23:31:15 +00:00
Mark Andrews
2c5f4a8392 address shadow warning
(cherry picked from commit c2687b0594)
2017-01-13 09:15:17 +11:00
Evan Hunt
b4ff704eaf [v9_9] more specific date for DLV shutdown warning 2017-01-12 09:12:47 -08:00
Mark Andrews
ab9537f521 4553. [bug] Named could deadlock there were multiple changes to
NSEC/NSEC3 parameters for a zone being processed at
                        the same time. [RT #42770]

(cherry picked from commit d2e1b47d4f)
2017-01-12 14:26:17 +11:00
Mark Andrews
72a50181d2 4552. [bug] Named could trigger a assertion when sending notify
messages. [RT #44019]

(cherry picked from commit 42924b40af)
2017-01-12 14:20:18 +11:00
Mark Andrews
ff963a5d93 4552. [bug] Named could trigger a assertion when sending notify
messages. [RT #44019]

(cherry picked from commit 7b9e28f1a5)
2017-01-12 14:14:05 +11:00
Mark Andrews
da671124ad --enable-developer now compiles bin/tests's XTARGETS [RT #44205]
(cherry picked from commit 434477aa02)
2017-01-12 14:08:30 +11:00
Mark Andrews
d8c69ae14f remove false positives due to bad grep [RT #44178]
(cherry picked from commit 0c43d50368)
2017-01-12 13:59:39 +11:00
Mark Andrews
468345fe9b win2utils/Configure report modify file list [RT #43994]
(cherry picked from commit 260ca42f96)
2017-01-12 13:48:13 +11:00
Mark Andrews
da3532f41b 4551. [test] Add system tests for integrity checks of MX and
SRV records. [RT #43953]

(cherry picked from commit 750619b7a8)
2017-01-12 13:38:44 +11:00
Tinderbox User
fd687693fd update copyright notice / whitespace 2017-01-11 23:47:22 +00:00
Tinderbox User
6eb9a836ec newcopyrights 2017-01-11 23:30:18 +00:00
Evan Hunt
7d73d9aafb [v9_9] expand the flags field in dns_master_style
4550.	[cleanup]	Increased the number of available master file
			output style flags from 32 to 64. [RT #44043]
2017-01-11 12:05:54 -08:00
Tinderbox User
78c461f002 newcopyrights 2017-01-06 23:30:13 +00:00
Tinderbox User
72f2700147 regen v9_9 2017-01-06 01:19:58 +00:00
Tinderbox User
d68277c4ea update copyright notice / whitespace 2017-01-05 23:47:02 +00:00
Tinderbox User
d15325a1a9 newcopyrights 2017-01-05 23:30:24 +00:00
Tinderbox User
404fbbb4ff regen v9_9 2017-01-05 01:20:11 +00:00
Tinderbox User
6acf3c319e sync 2017-01-05 01:17:06 +00:00
Evan Hunt
43281eeb83 [v9_9] remove refrerences to keymgr 2016-12-29 11:29:13 -08:00
Tinderbox User
544318aabb newcopyrights 2016-12-29 12:19:34 +00:00
Mark Andrews
b5c3b88f39 remove dnssec-keymgr.html 2016-12-29 19:53:24 +11:00
Mark Andrews
f08cf0ad5a fix ProjectGuid 2016-12-29 19:29:00 +11:00
Mark Andrews
4f5440e435 dnssec-keymgr is not part of 9.9 2016-12-29 18:44:09 +11:00
Tinderbox User
218617c963 regenerate 2016-12-29 05:24:18 +00:00
Tinderbox User
4778e0bff1 regen v9_9 2016-12-29 05:14:34 +00:00
Evan Hunt
035e660ca5 [v9_9] README 2016-12-28 20:42:36 -08:00
Evan Hunt
4e8f6de3dd [v9_9] release notes 2016-12-28 20:10:52 -08:00
Mark Andrews
0faee78f98 9.9.10b1 2016-12-29 13:36:32 +11:00
Evan Hunt
3204e83716 [v9_9] silence warning
(cherry picked from commit b3aebb5890)
2016-12-28 17:54:52 -08:00
Tinderbox User
5fd22bd6c1 regen v9_9 2016-12-29 01:21:40 +00:00
Mark Andrews
0d1a60ec03 spelling 2016-12-29 12:11:21 +11:00
Mark Andrews
a14b7f0187 4510. [security] Named mishandled some responses where covering RRSIG
records are returned without the requested data
                        resulting in a assertion failure. (CVE-2016-9147)
                        [RT #43548]

(cherry picked from commit 6adf421e7e)
2016-12-29 11:53:58 +11:00
Mark Andrews
d372472f60 4508. [security] Named incorrectly tried to cache TKEY records which
could trigger a assertion failure when there was
                            a class mismatch. (CVE-2016-9131) [RT #43522]

(cherry picked from commit 2c1c4b99a1)
2016-12-29 11:35:54 +11:00
Tinderbox User
c38b1c7115 update copyright notice / whitespace 2016-12-28 23:58:02 +00:00
Mark Andrews
69cb8ebf15 4517. [security] Named could mishandle authority sections that were
missing RRSIGs triggering an assertion failure.
                        (CVE-2016-9444) [RT # 43632]

(cherry picked from commit 1df30cfd27c5a3c57fce357c54aaf6c702227d51)
2016-12-29 10:46:44 +11:00
Tinderbox User
9694bf30f5 newcopyrights 2016-12-28 23:32:08 +00:00
Evan Hunt
81a5785611 [v9_9] release notes 2016-12-28 13:54:44 -08:00
Evan Hunt
8a9a26e6a6 [v9_9] spelling 2016-12-28 11:52:52 -08:00
Mark Andrews
c161d54a65 4543. [bug] dns_client_startupdate now delays sending the update
request until isc_app_ctxrun has been called.
                        [RT #43976]

(cherry picked from commit 6f94747270)
2016-12-28 15:56:30 +11:00
Mark Andrews
354f7b05ef 4541. [bug] rndc addzone should properly reject non master/slave
zones. [RT #43665]

(cherry picked from commit e20db12918)
2016-12-28 11:08:26 +11:00
Tinderbox User
5b8a62f4cd regen v9_9 2016-12-27 01:23:10 +00:00
Evan Hunt
fba8395a4f [v9_9] document that RPZ is unmaintained in 9.9 2016-12-26 16:33:48 -08:00
Tinderbox User
7429284419 update copyright notice / whitespace 2016-12-26 23:51:09 +00:00
Tinderbox User
69b8b378af newcopyrights 2016-12-26 23:31:54 +00:00
Mark Andrews
387a64a898 remove references to catalog-zones 2016-12-27 09:42:45 +11:00
Mark Andrews
c8174a6268 4539. [bug] Referencing a nonexistant zone with rpz could lead
to a assertion failure when configuring. [RT #43787]

(cherry picked from commit 762c4fc5a8)
2016-12-27 09:41:14 +11:00
Mark Andrews
2af18c1396 4538. [bug] Call dns_client_startresolve from client->task.
[RT #43896]

(cherry picked from commit aceabacdb8)
2016-12-27 07:15:23 +11:00
Mark Andrews
7fe83fb929 if gen fails remove the target [RT #43949] 2016-12-23 09:23:13 +11:00
Mark Andrews
0e43b24249 if gen fails remove the file [RT #43949]
(cherry picked from commit e17d2f98be)
2016-12-23 09:21:26 +11:00
Mark Andrews
be7aa3f5a9 freeaddrinfo is called too early.
(cherry picked from commit c1870d0e44)
2016-12-15 09:40:03 +11:00
Mark Andrews
8806de3986 4537. [bug] Handle timouts better in dig/host/nslookup. [RT #43576]
(cherry picked from commit 6089c8df71)
2016-12-14 15:45:43 +11:00
Tinderbox User
8e87a1592d update copyright notice / whitespace 2016-12-13 23:51:10 +00:00
Mark Andrews
3fe3359031 4535. [bug] Address race condition in setting / testing of
DNS_REQUEST_F_SENDING. [RT #43889]

(cherry picked from commit 37a8db0ba4)
2016-12-14 10:34:43 +11:00
Tinderbox User
0bd4d32e3d newcopyrights 2016-12-13 23:31:54 +00:00
Mark Andrews
bcdf316ca5 4534. [bug] Only set RD, RA and CD in QUERY responses. [RT #43879]
(cherry picked from commit def6b33bad)
2016-12-13 16:38:50 +11:00
Mark Andrews
25725d525d spelling 2016-12-13 16:19:41 +11:00
Mark Andrews
0aa9619f9e 4533. [bug] dns_client_update should terminate on prerequiste
failures (NXDOMAIN, YXDOMAIN, NXRRSET, YXRRSET)
                        and also on BADZONE.  [RT #43865]

(cherry picked from commit 8ca45ba01a)
2016-12-13 16:12:45 +11:00
Mark Andrews
0e44069212 number all resolver tests
(cherry picked from commit 4914e3ddc6)
2016-12-13 15:14:26 +11:00
Tinderbox User
06526b634c newcopyrights 2016-12-12 23:31:21 +00:00
Evan Hunt
df1d48d1ee [v9_9] tweak logfileconfig test so it can pass on slower machines
(cherry picked from commit 76a26842a9)
2016-12-12 12:13:41 -08:00
Mark Andrews
05f16bb533 4532. [contrib] Make gen-data-queryperf.py python 3 compatible.
[RT #43836]

(cherry picked from commit 043ae106d2)
2016-12-12 17:47:54 +11:00
Tinderbox User
580760b8d5 update copyright notice / whitespace 2016-12-09 23:49:23 +00:00
Tinderbox User
bcf06a67a2 newcopyrights 2016-12-09 23:31:13 +00:00
Mark Andrews
2c74ad28ef 4530. [bug] Change 4489 broke the handling of CNAME -> DNAME
in responses resulting in SERVFAIL being returned.
                        [RT #43779]

(cherry picked from commit 60cb462c56)
2016-12-09 12:51:40 +11:00
Tinderbox User
881739ee87 regen v9_9 2016-12-09 01:20:54 +00:00
Tinderbox User
252c8f6395 update copyright notice / whitespace 2016-12-08 23:50:36 +00:00
Tinderbox User
b9e42afe9c newcopyrights 2016-12-08 23:31:13 +00:00
Mark Andrews
87dbe24a4f 4528. [bug] Only set the flag bits for the i/o we are waiting
for on EPOLLERR or EPOLLHUP. [RT #43617]

(cherry picked from commit c1619b8420)
2016-12-08 17:00:55 +11:00
Mark Andrews
45cd9d8bcd remove diff 2016-12-08 11:02:19 +11:00
Tinderbox User
298442a447 regen v9_9 2016-12-07 01:21:30 +00:00
Mark Andrews
3cf6fa831e 4527. [doc] Support DocBook XSL Stylesheets v1.79.1. [RT #43831]
(cherry picked from commit 1b8ce3b330)
2016-12-07 11:00:40 +11:00
Tinderbox User
1912945682 update copyright notice / whitespace 2016-12-05 23:51:33 +00:00
Tinderbox User
55c9607297 newcopyrights 2016-12-05 23:32:01 +00:00
Tinderbox User
5d5948e985 regenerate 2016-12-05 19:20:13 +00:00
Tinderbox User
c43ee4b39e regen v9_9 2016-12-05 18:38:16 +00:00
Evan Hunt
1ce8089b2c [v9_9] fixed ARM grammars
4526.	[doc]		Corrected errors and improved formatting of
			grammar defintiions in the ARM. [RT #43739]
2016-12-05 10:01:22 -08:00
Mark Andrews
f50199c329 look $UNLIMITEDFILE.4 as $UNLIMITEDFILE.5 may not exist yet 2016-12-05 18:19:41 +11:00
Mark Andrews
937a5311ff remove ns1/query_log 2016-12-05 17:31:38 +11:00
Evan Hunt
27dc8c9287 [v9_9] fix managed-keys doc
4525.	[doc]		Fixed outdated documentation on managed-keys.
			[RT #43810]

(cherry picked from commit e1ba21bd58)
(cherry picked from commit 9e42fd3420)
2016-12-04 20:25:30 -08:00
Mark Andrews
8b094c484c 4524. [bug] The net zero test was broken causing IPv4 servers
with addresses ending in .0 to be rejected. [RT #43776]

(cherry picked from commit df372d967e)
2016-12-05 10:50:36 +11:00
Mark Andrews
f11be93ae4 added -T keepstderr to keep stderr open when daemonizing [RT #43736]
(cherry picked from commit c9ee977f31)
2016-12-05 10:40:09 +11:00
Mukund Sivaraman
67b62f0062 Add doc function for cfg_type_querysource4 and cfg_type_querysource6 (#43768)
(cherry picked from commit 5c843b384d)
(cherry picked from commit 6ae22c4119)
(cherry picked from commit 150ff959d1)
2016-12-02 11:30:13 +05:30
Tinderbox User
85f8b3d7d8 regen v9_9 2016-12-01 01:21:55 +00:00
Tinderbox User
e91d41eba4 update copyright notice / whitespace 2016-11-30 23:53:47 +00:00
Mark Andrews
ae18cbb06c update 2016-12-01 10:40:28 +11:00
Evan Hunt
510e50591a [v9_9] fix merge error 2016-11-29 17:51:46 -08:00
Tinderbox User
72128b2a6d regen v9_9 2016-11-30 01:23:35 +00:00
Mark Andrews
c7948d9050 4522. [bug] Handle big gaps in log file version numbers better.
[RT #38688]

(cherry picked from commit cab871f1bc)
2016-11-30 11:29:34 +11:00
Evan Hunt
f47c8aa6f7 [v9_9] log as error if entropy unavailable
4521.	[cleanup]	Log it as an error if an entropy source is not
			found and there is no fallback available. [RT #43659]

(cherry picked from commit 6bdb70057d)
2016-11-29 11:38:42 -08:00
Mark Andrews
ef3856d2b2 4520. [cleanup] Alphabetise more of the grammar when printing it
out. Fix unbalanced indenting. [RT #43755]

(cherry picked from commit 4352551d23)
2016-11-29 15:50:27 +11:00
Mark Andrews
c04ad8ac8a 4519. [port] win32: handle ERROR_MORE_DATA. [RT #43534]
(cherry picked from commit a611e44f9a)
2016-11-29 11:31:06 +11:00
Tinderbox User
0cd3898b35 regen v9_9 2016-11-25 21:15:14 +00:00
Mark Andrews
94ae9bb8e2 automate insertion of copyright year list into Bv9ARM-book.xml
(cherry picked from commit cd1465de0e)
2016-11-26 07:53:36 +11:00
Francis Dupont
4a0b701129 Added VS 2017 RC 2016-11-24 17:46:02 +01:00
Tinderbox User
794b9fbd1a update copyright notice / whitespace 2016-11-19 23:51:53 +00:00
Mark Andrews
2bf6f5f865 regen 2016-11-19 20:13:17 +11:00
Curtis Blackburn
bc3145ccd8 4515. [port] FreeBSD: Find readline headers when they are in
edit/readline/ instead of readline/. [RT #43658]
2016-11-18 11:39:11 -08:00
Tinderbox User
d2ff14de43 regen v9_9 2016-11-17 01:23:40 +00:00
Tinderbox User
cecc117aca sync 2016-11-17 01:20:13 +00:00
Mark Andrews
1b4fe21a54 check the value of s
(cherry picked from commit 28f344c18a)
2016-11-15 16:52:45 +11:00
Mukund Sivaraman
fec9998849 Update CHANGES entry to match KB article
(cherry picked from commit ea3c3afadc)
(cherry picked from commit bc03086838)
2016-11-14 14:24:34 +09:00
Mark Andrews
0ed39f1c58 adjust test based on systems default ipv6only state 2016-11-11 09:10:40 +11:00
Mark Andrews
47e68339d2 4513. [cleanup] Minimum Python versions are now 2.7 and 3.2.
[RT #43566]

(cherry picked from commit 472e99cfa6)
2016-11-10 09:59:14 +11:00
Mark Andrews
dbd472d81a don't call dst_lib_destroy in t2_vfy
(cherry picked from commit 1106845b4e)
2016-11-09 17:04:45 +11:00
Mark Andrews
2b97639b9b use isc_mem_create2 2016-11-09 16:24:48 +11:00
Mark Andrews
01b507f4b4 missing semicolon 2016-11-09 15:49:33 +11:00
Tinderbox User
ff69a0423e update copyright notice / whitespace 2016-11-08 23:57:34 +00:00
Tinderbox User
0b9ab415a2 newcopyrights 2016-11-08 23:32:57 +00:00
Mark Andrews
193c1e2618 back port alway use a private memory pool with openssl 2016-11-09 10:22:35 +11:00
Mark Andrews
8176815e04 back port alway use a private memory pool with openssl 2016-11-09 10:17:28 +11:00
Mark Andrews
964e19cea8 4497. [port] Add support for OpenSSL 1.1.0. [RT #41284] 2016-11-09 09:59:32 +11:00
Mark Andrews
344911083f remove spurious newline [RT #43585]
(cherry picked from commit fed2f7e4c1)
2016-11-09 08:27:37 +11:00
Evan Hunt
1671fc195c [v9_9] typo in comment 2016-11-08 09:06:40 -08:00
Francis Dupont
e493ed7c45 Fixed filter-aaaa prereq.sh and feature-test.c 2016-11-04 15:00:25 +01:00
Tinderbox User
fc6f778fd8 update copyright notice / whitespace 2016-11-03 23:51:28 +00:00
Tinderbox User
721bb3ccc7 newcopyrights 2016-11-03 23:32:17 +00:00
Evan Hunt
4ba653c366 [v9_9] make rrl system test more robust
4508.	[test]		Make the rrl system test more reliable on slower
			machines by using mdig instead of dig. [RT #43280]

(cherry picked from commiti 1ecdb4d59e)
2016-11-02 20:53:59 -07:00
Mark Andrews
fcf72a5474 cleanup 2016-11-03 13:55:56 +11:00
Evan Hunt
76961a4dd8 [v9_9] corrected typo in nsupdate test (DIG-->$DIG) 2016-11-02 19:35:05 -07:00
Tinderbox User
d08d5a5949 regen v9_9 2016-11-03 01:24:35 +00:00
Tinderbox User
a06917d08f update copyright notice / whitespace 2016-11-02 23:51:39 +00:00
Mark Andrews
bd3a5fe9c1 add dns_db_getsize, dns_rdataslab_count, dns_zone_getmaxrecords, dns_zone_setmaxrecords
(cherry picked from commit aee76db9e3)
2016-11-03 10:48:33 +11:00
Mark Andrews
51fe40fd59 4504. [security] Allow the maximum number of records in a zone to
be specified.  This provides a control for issues
                        raised in CVE-2016-6170. [RT #42143]

(cherry picked from commit 5f8412a4cb)
2016-11-03 10:46:37 +11:00
Tinderbox User
34ffe07660 newcopyrights 2016-11-02 23:33:13 +00:00
Evan Hunt
5106233113 [v9_9] typo 2016-11-02 09:43:22 -07:00
Francis Dupont
d5d31e2b8d Name -> Named 2016-11-02 09:28:44 +01:00
Francis Dupont
187c8c80cc Fixed IP_PMTUDISC_OMIT typos 2016-11-02 09:22:58 +01:00
Mark Andrews
a4156963f0 4507. [bug] Name could incorrectly log 'allows updates by IP
address, which is insecure' [RT #43432]

(cherry picked from commit 2b2b85c897)
2016-11-02 18:22:04 +11:00
Mark Andrews
2a6337f7bf 4505. [port] Use IP_PMTUDISC_OMIT if available. [RT #35494]
(cherry picked from commit a61f252391)
2016-11-02 17:41:59 +11:00
Evan Hunt
bd97809fdf [v9_9] restore dropped #else block 2016-11-01 22:34:59 -07:00
Evan Hunt
ce1db2d9ce [v9_9] typo 2016-11-01 20:31:21 -07:00
Evan Hunt
60814deed8 [v9_9] make uninstall
4503.	[cleanup]	"make uninstall" now removes file installed by
			BIND. (This currently excludes Python files
			due to lack of support in setup.py.) [RT #42912]

(cherry picked from commit 6087f87afb)
(cherry picked from commit 398f8c32f3)
2016-11-01 20:22:35 -07:00
Mark Andrews
43af4ab515 4502. [func] Report multiple and experimental options when printing
grammar. [RT #43134]

(cherry picked from commit 89286906dc)
2016-11-02 13:37:23 +11:00
Tinderbox User
63066ab332 regen v9_9 2016-11-02 01:22:59 +00:00
Tinderbox User
f90ff76872 update copyright notice / whitespace 2016-11-01 23:51:11 +00:00
Tinderbox User
0313294c09 newcopyrights 2016-11-01 23:37:39 +00:00
Mark Andrews
ee77245897 4501. [bug] Fix 'dig -4 -6'/'dig -6 -4' error handling. [RT #43259] 2016-11-02 09:16:48 +11:00
Mark Andrews
efb91beba1 4500. [bug] Support modifier I64 in isc__print_printf. [RT #43526]
(cherry picked from commit e200da5044)
2016-11-02 08:46:52 +11:00
Evan Hunt
f1c484217a [v9_9] use arc4random_stir() when available
4499.	[port]		MacOSX: silence deprecated function warning
			by using arc4random_stir() when available
			instead of arc4random_addrandom(). [RT #43503]

(cherry picked from commit 3fb62a5a4e)
2016-11-01 14:01:05 -07:00
Evan Hunt
a9b5a3fbf9 [v9_9] clean up reporting of R:FAIL so it can't spuriously appear mid-test
(cherry picked from commit 7960fc596b)
2016-11-01 13:47:33 -07:00
Evan Hunt
1b8d070f9a [v9_9] simplify prereq checks by using feature-test.c
4498.	[test]		Simplify prerequisite checks in system tests.
			[RT #43516]

(cherry picked from commit 5480a74b70)
(cherry picked from commit 45fd95544c)
(cherry picked from commit 6e09e18400)
2016-11-01 13:10:07 -07:00
Evan Hunt
61a01f4860 [v9_9] 4496. [func] dig: add +idnout to control whether labels are
display in punycode or not.  Requires idn support
                        to be enabled at compile time. [RT #43398]

(cherry picked from commit 42470b0b87)
(cherry picked from commit 6552f33198)
(cherry picked from commit 7aec46a5ef)
2016-10-31 23:01:38 -07:00
Mark Andrews
a3a3eb95d7 update spelling in comment
(cherry picked from commit ace79092b3)
2016-11-01 10:52:07 +11:00
Mark Andrews
fa2ed4b627 update copyrights 2016-10-28 11:30:47 +11:00
Francis Dupont
6bafcb6553 Merged rt43345 libisccfg spuriously depended on libisccc 2016-10-27 14:14:50 +02:00
Mark Andrews
fa3609a32a 4494. [bug] Look for <editline/readline.h>. [RT #43429]
(cherry picked from commit 6fbb2b51d8)
2016-10-27 15:50:31 +11:00
Mark Andrews
9de8fa2535 4492. [bug] irs_resconf_load failed to initialise sortlistnxt
causing bad writes if resolv.conf contained a
                        sortlist directive. [RT #43459]

(cherry picked from commit 55b78fff62)
2016-10-27 13:20:39 +11:00
Tinderbox User
ffd842a66d update copyright notice / whitespace 2016-10-26 23:49:24 +00:00
Tinderbox User
7fb18f0d20 newcopyrights 2016-10-26 23:30:33 +00:00
Mark Andrews
2a9d8ad8a5 s/,/;/
(cherry picked from commit 856c77cc40)
2016-10-26 22:39:09 +11:00
Mark Andrews
97f909b7f4 4490. [maint] Added AAAA (2001:500:12::d0d) for G.ROOT-SERVERS.NET.
(cherry picked from commit 3b7cb2c5b1)
2016-10-21 22:44:55 +11:00
Mark Andrews
bbb7c613b3 4489. [security] It was possible to trigger assertions when processing
a response. (CVE-2016-8864) [RT #43465]

(cherry picked from commit bd6f27f5c3)
2016-10-21 14:56:32 +11:00
Tinderbox User
c31bd3e56c update copyright notice / whitespace 2016-10-20 23:50:25 +00:00
Tinderbox User
926fc21611 newcopyrights 2016-10-20 23:32:18 +00:00
Mark Andrews
ec1d0e6173 4488. [port] Darwin: use -framework for Kerberos. [RT #43418]
(cherry picked from commit 8d6fefac31)
2016-10-20 10:52:35 +11:00
Tinderbox User
b5877de271 regen v9_9 2016-10-16 01:18:39 +00:00
Tinderbox User
6170b0861f update copyright notice / whitespace 2016-10-15 23:49:32 +00:00
Tinderbox User
ae6f723a5f newcopyrights 2016-10-15 23:31:00 +00:00
Mark Andrews
971bd88807 add managed keys to view section
(cherry picked from commit 7551ec1ebe)
2016-10-16 08:16:22 +11:00
Mark Andrews
9f8625cbe4 fix changes numbers
(cherry picked from commit b1b595617b)
2016-10-12 12:35:12 +11:00
Mark Andrews
41bdf1cc10 further readline changes [RT #43139]
(cherry picked from commit 09f914d2d4)
2016-10-12 11:58:39 +11:00
Tinderbox User
e3a5eb9332 update copyright notice / whitespace 2016-10-11 23:49:14 +00:00
Tinderbox User
df0cb98bbe newcopyrights 2016-10-11 23:30:51 +00:00
Mark Andrews
f22bd288a0 don't clobber readline
(cherry picked from commit ccf0bea98a)
2016-10-11 17:32:18 +11:00
Mark Andrews
328dbc4cf4 fix typo
(cherry picked from commit 6bb84df34d)
2016-10-11 17:06:12 +11:00
Mark Andrews
3793d848bd don't require lctx to be non NULL 2016-10-11 17:02:12 +11:00
Mark Andrews
682639aa92 4485. [bug] Look in $prefix/lib/pythonX.Y/site-packages for
the python modules we install. [RT #43330]

(cherry picked from commit 01862dfaa5)
2016-10-11 15:22:56 +11:00
Mark Andrews
8588641801 4484. [bug] Failure to find readline when requested should be
fatal to configure. [RT #43328]

(cherry picked from commit 6caac8d9a9)
2016-10-11 15:16:32 +11:00
Mark Andrews
883e29ab4f 4483. [func] Check prefixes in acls to make sure the address and
prefix lengths are consistent.  Warn only in
                        BIND 9.11 and earlier. [RT #43367]
2016-10-11 15:04:34 +11:00
Mark Andrews
311060a573 4482. [bug] Address use before require check and remove extraneous
dns_message_gettsigkey call in dns_tsig_sign.
                        [RT #43374]

(cherry picked from commit 61463ab7a4)
2016-10-11 14:42:04 +11:00
Evan Hunt
2f6d8c714c [v9_9] add missing REQUIREs in cfg parser
(cherry picked from commit d58d861cbc)
2016-10-10 17:16:42 -07:00
Mark Andrews
b177dbf3e7 sleep 2 to let in progress lookups complete
(cherry picked from commit d3f29e7a4f)
2016-10-10 14:36:15 +11:00
Tinderbox User
0cf8d3a0b3 regen v9_9 2016-10-06 01:16:05 +00:00
Tinderbox User
0e5efd5369 update copyright notice / whitespace 2016-10-05 23:47:17 +00:00
Tinderbox User
81b9104ae9 newcopyrights 2016-10-05 23:30:22 +00:00
Witold Krecicki
a3aa9c4b05 4476. [test] Fix reclimit test on slower machines. [RT #43283] 2016-10-05 13:19:21 +02:00
Mark Andrews
5b390ffdce 4475. [doc] Update named-checkconf documentation. [RT #43153]
(cherry picked from commit 67cdd2d3a4)
2016-10-05 14:28:03 +11:00
Mark Andrews
90fe0b9474 4474. [bug] win32: call WSAStartup in fromtext_in_wks so that
getprotobyname and getservbyname work.  [RT #43197]

(cherry picked from commit 82a50a619a)
2016-10-05 12:30:10 +11:00
Mark Andrews
7416c4c181 4473. [bug] Only call fsync / _commit on regular files. [RT #43196]
(cherry picked from commit fe4d0fbc7c)
2016-10-05 12:20:59 +11:00
Tinderbox User
481a84d8ab update copyright notice / whitespace 2016-10-04 23:48:50 +00:00
Mark Andrews
3a125854c9 4472. [bug] Named could fail to find the correct NSEC3 records when
a zone was update between looking for the answer and
                        looking for the NSEC3 records proving non-existance
                        of the answer. [RT #43247]
2016-10-05 10:41:05 +11:00
Tinderbox User
b4cedc27be newcopyrights 2016-10-04 23:30:51 +00:00
Witold Krecicki
61a9e9108b [master] Fix a minor bug in isc_netaddr_masktoprefixlen
(cherry picked from commit f78603b534)
2016-10-05 09:07:30 +11:00
Mukund Sivaraman
78af9ed48a Typo
(cherry picked from commit b7d07b861b)
(cherry picked from commit 6f2752da7a)
(cherry picked from commit 62b4b99d0e)
2016-10-01 11:36:52 +05:30
Mark Andrews
5ed415cc8e use repo.isc.org rt43254
(cherry picked from commit ea23a4868c)
2016-09-26 15:25:50 +10:00
Tinderbox User
9bc05fc419 update copyright notice / whitespace 2016-09-21 23:51:39 +00:00
Evan Hunt
099cd0454b [v9_9] revert accidental query logging format change
4471.   [cleanup]       Revert a query logging change inadvertently
                        backported from 9.11. [RT #43238]

(cherry picked from commit 00d496d9e20b2c8c1d4a5ce752a1f8efb3009ca0)
(cherry picked from commit b9dc79840e)
2016-09-21 11:27:30 -07:00
Tinderbox User
8fbe0193ef regen v9_9 2016-09-09 02:28:17 +00:00
Mark Andrews
fa1f25ce83 add CVE-2016-2776 2016-09-09 11:53:18 +10:00
Mark Andrews
e1570b4fc0 add CVE-2016-2776 2016-09-09 11:41:41 +10:00
Mark Andrews
b487c305aa add CVE-2016-2776
(cherry picked from commit 9872e3fbd9)
2016-09-09 11:37:11 +10:00
Mark Andrews
51bcc28543 4467. [security] It was possible to trigger a assertion when rendering
a message. [RT #43139]

(cherry picked from commit 2bd0922cf9)
2016-09-09 11:32:22 +10:00
Tinderbox User
ab083050a6 update copyright notice / whitespace 2016-09-08 23:46:41 +00:00
Tinderbox User
cb0ab4ef73 newcopyrights 2016-09-08 23:30:14 +00:00
Mark Andrews
120de36b05 4466. [bug] Interface scanning didn't work on a Windows system
without a non local IPv6 addresses. [RT #43130]

(cherry picked from commit 61ca100b80)
2016-09-08 14:26:56 +10:00
Mark Andrews
24695806b8 4464. [bug] Fix windows python support. [RT #43173]
(cherry picked from commit 85468d4c81)
2016-09-08 14:02:24 +10:00
Francis Dupont
d5cd6390de Fixed obvious typo in t_atomic 2016-09-08 02:00:12 +02:00
Tinderbox User
7e8f6348fc update copyright notice / whitespace 2016-09-07 23:46:39 +00:00
Tinderbox User
ebeaadb48d newcopyrights 2016-09-07 23:30:20 +00:00
Mark Andrews
867ddf62f4 4461. [bug] win32: not all external data was properly marked
as external data for windows dll. [RT #43161]
2016-09-07 14:53:02 +10:00
Mark Andrews
c2c51d71fa silence unused variable 'pollstate' warning [RT #43109]
(cherry picked from commit 9d11e46714)
2016-08-30 14:26:34 +10:00
Mark Andrews
2a82be6f3d spelling 2016-08-30 09:57:00 +10:00
Mark Andrews
6eba8c2453 whitespace 2016-08-30 09:43:50 +10:00
Evan Hunt
5b6ef50033 Plug a geoip leak and some cleanup [RT #43106]
(cherry picked from commit a26a62cef2)
(cherry picked from commit af326c2e3f)
(cherry picked from commit a3cee5460d)
2016-08-30 00:41:28 +05:30
Mukund Sivaraman
05f676f3e6 Update assertions to be more correct, and also remove use of a reserved word (#43090)
Note: this doesn't actually fix #43090.
(cherry picked from commit becac651e8)
(cherry picked from commit ce78690029)
(cherry picked from commit 0edca7b6cd)
2016-08-29 18:58:09 +05:30
Mark Andrews
7468edf680 make depend needs to decend into lib/*/test [rt #43105]
(cherry picked from commit 5336feefb0)
2016-08-29 10:20:34 +10:00
Mark Andrews
d04daf6177 4457. [maint] Added AAAA (2001:500:a8::e) for E.ROOT-SERVERS.NET.
(cherry picked from commit c55b572ccf)
2016-08-29 10:17:07 +10:00
Tinderbox User
97be6440b7 update copyright notice / whitespace 2016-08-26 23:46:55 +00:00
Tinderbox User
804a5544e4 newcopyrights 2016-08-26 23:30:17 +00:00
Mark Andrews
38986ceb4d 4456. [doc] Add DOCTYPE and lang attribute to <html> tags.
[RT #42587]

(cherry picked from commit 63fe88e8d8)
2016-08-26 15:52:09 +10:00
Tinderbox User
9da1040540 update copyright notice / whitespace 2016-08-18 23:46:51 +00:00
Tinderbox User
6dd93e933a newcopyrights 2016-08-18 23:30:26 +00:00
Mark Andrews
12f7b04f08 install isc/errno.h
(cherry picked from commit dec17fb662)
2016-08-18 22:16:20 +10:00
Mark Andrews
a72ccc709d 4448. [bug] win32: ::1 was not being found when iterating
interfaces. [RT #42993]

(cherry picked from commit 6e4788dd12)
2016-08-18 22:01:29 +10:00
Tinderbox User
65588217fc update copyright notice / whitespace 2016-08-17 23:46:55 +00:00
Tinderbox User
edfe038690 newcopyrights 2016-08-17 23:30:47 +00:00
Evan Hunt
57cc5d16ef [v9_9] fix merge error 2016-08-17 12:34:36 -07:00
Evan Hunt
65e144e0de [v9_9] isc_errno_toresult()
4445.	[cleanup]	isc_errno_toresult() can now be used to call the
			formerly private function isc__errno2result().
			[RT #43050]

(cherry picked from commit ddef16e1d9)
2016-08-17 11:37:51 -07:00
Mark Andrews
69d239f1c9 4443. [func] Set TCP_MAXSEG in addition to IPV6_USE_MIN_MTU on
TCP sockets. [RT #42864]

(cherry picked from commit 7872d4d1c0)
2016-08-16 07:45:56 +10:00
Mark Andrews
c9fcc2ef9b 4441. [cleanup] Alphabetize host's help output. [RT #43031]
(cherry picked from commit 8a98ea9e94)
2016-08-15 11:24:14 +10:00
Tinderbox User
b2d178a72a update copyright notice / whitespace 2016-08-11 23:46:43 +00:00
Tinderbox User
bceb3d05bd newcopyrights 2016-08-11 23:30:32 +00:00
Evan Hunt
12d76b1b8f [v9_9] error on bad parameter to 'rndc dumpdb'
4433.	[cleanup]	Report an error when passing an invalid option or
			view name to "rndc dumpdb". [RT #42958]

(cherry picked from commit c38d989fdd)
(cherry picked from commit 17de0f290c)
2016-08-11 16:12:23 -07:00
Tinderbox User
2900a9c387 update copyright notice / whitespace 2016-08-10 23:46:31 +00:00
Tinderbox User
38a1b06f77 newcopyrights 2016-08-10 23:30:19 +00:00
Evan Hunt
5dec26625f [v9_9] correct [testing] tags to [test] 2016-08-10 09:28:53 -07:00
Mark Andrews
97058daadd 4432. [testing] Hide rndc output on expected failures in logfileconfig
system test. [RT #27996]

(cherry picked from commit 12895c8d6f)
2016-08-10 13:11:38 +10:00
Mark Andrews
74e3efd1d8 remove openssl-1.0.2f-patch and openssl-1.0.1q-patch 2016-08-09 10:29:21 +10:00
Tinderbox User
720210eb56 update copyright notice / whitespace 2016-08-09 00:26:28 +00:00
Mark Andrews
2b0ed2b030 update 2016-08-09 10:21:26 +10:00
Mark Andrews
39344a5739 4431. [bug] named-checkconf now checks the rate-limit clause.
[RT #42970]

(cherry picked from commit 632e67baa6)
2016-08-09 00:00:20 +10:00
Mark Andrews
9a05362952 4430. [bug] Lwresd died if a search list was not defined.
Found by 0x710DDDD At Alibaba Security. [RT #42895]

(cherry picked from commit 3146be6fd6)
2016-08-08 10:34:48 +10:00
Mark Andrews
6eed9cc033 remove spurious break 2016-08-01 12:26:43 +10:00
Tinderbox User
f0899e82c8 update copyright notice / whitespace 2016-07-25 23:49:53 +00:00
Tinderbox User
12d4dce932 newcopyrights 2016-07-25 23:31:23 +00:00
Mark Andrews
c49d97b741 4425. [bug] arpaname and dnstap-read were not being installed
into ${prefix}/bin.  Tidy up installation issues
                        with CHANGE 4421. [RT #42910]

(cherry picked from commit 711aff9fa7)
(cherry picked from commit c572930400)
2016-07-26 07:08:47 +10:00
Tinderbox User
f1295e65ed update copyright notice / whitespace 2016-07-22 23:49:47 +00:00
Tinderbox User
077917337a newcopyrights 2016-07-22 23:31:25 +00:00
Evan Hunt
211517ce9a [v9_9] add aaaa for b.root-servers.net
4423.	[maint]		Added missing IPv6 address 2001:500:84::b for
			B.ROOT-SERVERS.NET. [RT #42898]

Patch submitted by Xoze Vazquez Perez (xose.vazquez@gmail.com).
2016-07-21 20:02:58 -07:00
Tinderbox User
c8ef943d93 regen v9_9 2016-07-22 01:19:15 +00:00
Tinderbox User
a79bb92894 update copyright notice / whitespace 2016-07-21 23:48:16 +00:00
Tinderbox User
3211a13365 newcopyrights 2016-07-21 23:32:10 +00:00
Evan Hunt
d8eaff0417 [v9_9] silence clang warnings
4422.	[port]		Silence clang warnings in dig.c and dighost.c.
			[RT #42451]
2016-07-21 15:57:55 -07:00
Witold Krecicki
846c2d8235 4418. [bug] Fix a compiler warning in GSSAPI code. [RT #42879] 2016-07-21 12:19:55 +02:00
Tinderbox User
ca8077627b update copyright notice / whitespace 2016-07-19 23:48:19 +00:00
Tinderbox User
add56aed29 newcopyrights 2016-07-19 23:30:58 +00:00
Evan Hunt
c7954358a4 [v9_9] fix isc_atomic_xadd() on MIPS
4414.	[bug]		Corrected a bug in the MIPS implementation of
			isc_atomic_xadd(). [RT #41965]

Submitted by Lamont Jones (lamont@debian.org). Closes Debian issue #406409.
2016-07-19 11:12:19 -07:00
Tinderbox User
e52e476295 update copyright notice / whitespace 2016-07-14 23:54:00 +00:00
Tinderbox User
ca03d30f36 newcopyrights 2016-07-14 23:30:52 +00:00
Mark Andrews
456d497196 4413. [bug] GSSAPI negotiation could fail if GSS_S_CONTINUE_NEEDED
was returned. [RT #42733]

(cherry picked from commit 63e58ad048)
2016-07-14 15:08:36 +10:00
Mark Andrews
e7d1e4daad Visual Studio 2005 doesn't like named elements, construct addr using isc_netaddr_fromin6 2016-07-14 11:32:46 +10:00
Tinderbox User
5cc4be4275 regen v9_9 2016-07-14 01:20:31 +00:00
Mark Andrews
f4052d6e8f Windows doesn't like LLU use ULL instead
(cherry picked from commit 6b5d6472cdbdb57ee7d8247d85f07c42fb347663)
2016-07-14 11:14:09 +10:00
Tinderbox User
6fe5304a51 update copyright notice / whitespace 2016-07-13 23:47:37 +00:00
Mark Andrews
00e7b6dcca grammar
(cherry picked from commit 8f7881684b)
2016-07-14 09:43:04 +10:00
Tinderbox User
ba25dd47e1 newcopyrights 2016-07-13 23:30:26 +00:00
Mark Andrews
03021b1d0c bug -> security 2016-07-14 09:21:07 +10:00
Mukund Sivaraman
995cda9432 Some general cleanup (#42827)
(cherry picked from commit e65cd99461)
(cherry picked from commit 47ed813864)
(cherry picked from commit e7a3b8948f)
2016-07-13 15:00:36 +05:30
Mukund Sivaraman
01ccf0d480 Make fixes for GCC 6 (#42721)
(cherry picked from commit 4116177ac4)
(cherry picked from commit 2d5581de6e)
(cherry picked from commit 48ed0dec09)
2016-07-13 14:04:23 +05:30
Tinderbox User
bc45b98932 regen v9_9 2016-07-13 04:55:39 +00:00
Mark Andrews
e0f5ce3bad add [RT #42694] 2016-07-13 11:36:13 +10:00
Mark Andrews
eca42d74ef whitespace 2016-07-13 11:25:32 +10:00
Mark Andrews
d147d56227 add more DNS64 default exclude acl tests 2016-07-13 10:57:54 +10:00
Mark Andrews
aee0e51757 spelling/grammar
(cherry picked from commit 1256b0c344)
2016-07-13 10:27:25 +10:00
Tinderbox User
c79880a861 regen v9_9 2016-07-12 01:17:51 +00:00
Tinderbox User
3bb1ed07fa update copyright notice / whitespace 2016-07-11 23:49:12 +00:00
Tinderbox User
4cf3ee6639 newcopyrights 2016-07-11 23:31:24 +00:00
Mark Andrews
d05f0b2479 add CVE-2016-2775 2016-07-12 01:19:20 +10:00
Mark Andrews
9b93305605 dns_iptable_addprefix2 -> dns_iptable_addprefix 2016-07-11 16:05:50 +10:00
Mark Andrews
e92db5f0a0 4409. [bug] DNS64 should exlude mapped addresses by default when
a exclude acl is not defined. [RT #42810]
2016-07-11 14:18:21 +10:00
Tinderbox User
a9924aeb9a regen v9_9 2016-07-08 01:17:05 +00:00
Tinderbox User
6d4bd1a8ef update copyright notice / whitespace 2016-07-07 23:48:57 +00:00
Tinderbox User
96e0213d6e newcopyrights 2016-07-07 04:18:29 +00:00
Mark Andrews
8491339284 add note for rt42694
(cherry picked from commit aacf0753e9)
2016-07-07 13:55:57 +10:00
Mark Andrews
062b04898b 4406. [bug] getrrsetbyname with a non absolute name could
trigger a infinite recursion bug in lwresd
                        and named with lwres configured if when combined
                        with a search list entry the resulting name is
                        too long. [RT #42694]

(cherry picked from commit 38cc2d14e2)
2016-07-07 12:54:02 +10:00
Tinderbox User
434ff87fcb update copyright notice / whitespace 2016-07-06 23:49:15 +00:00
Tinderbox User
295e247057 newcopyrights 2016-07-06 23:33:04 +00:00
Mark Andrews
d9cc1ed8ea 4405. [bug] Change 4342 introduced a regression where you could
not remove a delegation in a NSEC3 signed zone using
                        OPTOUT via nsupdate. [RT #42702]

(cherry picked from commit d811a7d9ef)
2016-07-06 10:26:02 +10:00
Mark Andrews
8c4b590d3c 4404. [misc] Allow krb5-config to be used when configuring gssapi.
[RT #42580]
2016-07-04 15:56:27 +10:00
Tinderbox User
0d801f20ce update copyright notice / whitespace 2016-06-29 23:46:06 +00:00
Tinderbox User
f83f66a53c newcopyrights 2016-06-29 23:30:25 +00:00
Mark Andrews
aaabbc1362 ignore configure generated files 2016-06-29 23:34:15 +10:00
Mark Andrews
5b292a8320 ignore configure generated files 2016-06-29 23:33:32 +10:00
Mark Andrews
5ccb7b6341 4403. [bug] Rename variables and arguments that shadow: basename,
clone and gai_error.

(cherry picked from commit ecfa005085)
(cherry picked from commit c8f34dbca6)
2016-06-29 11:28:50 +10:00
Tinderbox User
80f40cce0e regen v9_9 2016-06-27 05:35:54 +00:00
Tinderbox User
6c3848c86b update copyright notice / whitespace 2016-06-24 23:45:45 +00:00
Tinderbox User
cbc4b46e68 newcopyrights 2016-06-24 23:30:09 +00:00
Mark Andrews
899d7319a5 4397. [bug] Update Windows python support. [RT #42538]
(cherry picked from commit 9f5443280f)
2016-06-24 16:13:50 +10:00
Mark Andrews
6e622fee16 distclean cleanup 2016-06-24 13:38:05 +10:00
Mark Andrews
1d235ab5a4 4395 [bug] Improve out-of-tree installation of python modules.
[RT #42586]

(cherry picked from commit 4840ef4581)
2016-06-24 12:54:59 +10:00
Jeremy C. Reed
278667503c Use test random file for tsig test using keygen
This is for #42565: tsig test hangs and KEYGEN and randomdev

It was okayed there and is a trivial fix. No changes log needed.
2016-06-23 18:53:45 -04:00
Tinderbox User
282335ccbc update copyright notice / whitespace 2016-06-22 23:45:59 +00:00
Tinderbox User
e6e3c2b7f9 newcopyrights 2016-06-22 23:30:37 +00:00
Mark Andrews
aa63052317 4387. [bug] Change 4336 was not complete leading to SERVFAIL
being return as NS records expired. [RT #42683]

(cherry picked from commit b56bd9b59f)
2016-06-22 15:43:05 +10:00
Mark Andrews
27740e8f15 seed is not always used rt42703
(cherry picked from commit a3a12fa575)
2016-06-22 11:13:18 +10:00
Tinderbox User
6345414fa0 regen v9_9 2016-06-22 01:12:24 +00:00
Mark Andrews
fe31cc8fab request-ixfr is a slave option rather than a master option
(cherry picked from commit 13dcf86725)
2016-06-22 08:12:39 +10:00
Mark Andrews
c697729930 report subtest number 2016-06-18 00:44:37 +10:00
Mark Andrews
c3ff4e9f8f 4384. [bug] Change 4256 accidentally disabled logging of the
rndc command. [RT #42654]

(cherry picked from commit 948fe5822b)
2016-06-18 00:32:42 +10:00
Mark Andrews
6d79461e07 report subtest number
(cherry picked from commit 3f0de196f7)
2016-06-17 10:51:19 +10:00
Tinderbox User
afb9f6c482 update copyright notice / whitespace 2016-06-16 23:46:03 +00:00
Tinderbox User
f03091c745 newcopyrights 2016-06-16 23:30:14 +00:00
Mark Andrews
8ae151e5db backport dns_name_t *name -> const dns_name_t *name
(cherry picked from commit ded95d497df16579852356fc5434671d24c7f00d)
2016-06-16 21:40:22 +10:00
Tinderbox User
08d747e2d5 update copyright notice / whitespace 2016-06-14 23:46:13 +00:00
Tinderbox User
d015f93d67 newcopyrights 2016-06-14 23:30:12 +00:00
Mark Andrews
b283aa31fc do not overflow exit status. [RT #42643]
(cherry picked from commit 3635d8f910)
2016-06-14 14:51:25 +10:00
Tinderbox User
ee76654094 regen v9_9 2016-06-14 01:12:31 +00:00
Tinderbox User
7c94357f5a newcopyrights 2016-06-13 23:30:24 +00:00
Francis Dupont
76ed14c700 Updated OpenSSL patches for 1.0.[12] (active/supported) 2016-06-13 18:08:12 +02:00
Francis Dupont
3bf5b841b3 AEP keyper PKCS#11 provider is available in 64 bits 2016-06-13 15:51:36 +02:00
Tinderbox User
c43713a34c update copyright notice / whitespace 2016-06-10 23:45:51 +00:00
Tinderbox User
102c91575c newcopyrights 2016-06-10 23:30:08 +00:00
Evan Hunt
733cd6524d [v9_9] cleanup 2016-06-09 22:50:56 -07:00
Mark Andrews
0ba8ac54c7 also cleanup node 2016-06-03 18:35:07 +10:00
Mark Andrews
e4ae68f50c detach before restore 2016-06-03 18:34:59 +10:00
Mark Andrews
944b398582 reset zversion on restart
(cherry picked from commit b4750b5991)
2016-06-03 14:33:52 +10:00
Tinderbox User
ee0f380702 update copyright notice / whitespace 2016-06-02 23:46:03 +00:00
Tinderbox User
f66b4bb189 newcopyrights 2016-06-02 23:30:08 +00:00
Evan Hunt
d082c2c3b0 [v9_9] 9.9 doesn't have native-pks11 2016-06-02 10:28:45 -07:00
Tinderbox User
2a49636dbf regen v9_9 2016-06-02 01:12:29 +00:00
Mark Andrews
97c0c6837c simplify poorly written conditional
(cherry picked from commit d055178624)
2016-06-02 10:19:57 +10:00
Tinderbox User
6c72d17b92 update copyright notice / whitespace 2016-06-01 23:46:16 +00:00
Tinderbox User
6a106d9624 newcopyrights 2016-06-01 23:30:11 +00:00
Francis Dupont
cc094e5885 Merged rt42563 (host.c fix) 2016-06-01 14:54:18 +02:00
Francis Dupont
c5f24b125f Merged rt42505 (misc DNSSEC bugs) 2016-06-01 09:33:50 +02:00
Tinderbox User
670c6bba05 newcopyrights 2016-05-31 23:30:11 +00:00
Mark Andrews
bf63e12b83 add isc_sha224_data, isc_sha224_end, v isc_sha384_end, isc_sha512_data and isc_sha512_end
(cherry picked from commit 3d1b4bf278)
2016-05-31 14:31:59 +10:00
Tinderbox User
cc753e22f6 sync 2016-05-31 01:08:50 +00:00
Tinderbox User
7167442d14 update copyright notice / whitespace 2016-05-27 23:46:03 +00:00
Tinderbox User
531777d427 newcopyrights 2016-05-27 23:30:28 +00:00
Mark Andrews
cb735b3f90 fix merge error 2016-05-27 18:39:33 +10:00
Mark Andrews
cf195d6467 4379. [bug] An INSIST could be triggered if a zone contains
RRSIG records with expiry fields that loop
                        using serial number arithmetic. [RT #40571]

(cherry picked from commit 9268297baa)
2016-05-27 15:26:48 +10:00
Evan Hunt
495569c9b6 [v9_9] use $DIG not dig 2016-05-26 18:39:31 -07:00
Mark Andrews
94adaadea7 4378. [contrib] #include <isc/string.h> for strlcat in zone2ldap.c.
[RT #42525]

(cherry picked from commit d7ab0204e2)
2016-05-27 11:21:05 +10:00
Tinderbox User
0053eb0d93 regen v9_9 2016-05-27 01:12:43 +00:00
Mark Andrews
dfdf6773a6 REDIRECT macro is 9.11.0+ 2016-05-27 10:06:42 +10:00
Mark Andrews
c3fbf330bc 4377. [bug] Don't reuse zero TTL responses beyond the current
client set (excludes ANY/SIG/RRSIG queries).
                        [RT #42142]

(cherry picked from commit aabcb1fde0)
2016-05-27 10:05:52 +10:00
Tinderbox User
addd839e4a update copyright notice / whitespace 2016-05-26 23:46:02 +00:00
Tinderbox User
fb68db1430 newcopyrights 2016-05-26 23:30:11 +00:00
Mark Andrews
5d2ab9b4b4 document python requirements 2016-05-26 15:41:24 +10:00
Mark Andrews
513b35b9a7 minor host man page cleanups from Tony Finch [RT #42476]
(cherry picked from commit 28784b996b)
2016-05-26 13:58:59 +10:00
Mark Andrews
900a63cb04 4374. [bug] Use SAVE/RESTORE macros in query.c to reduce the
probability of reference counting errors as seen
                        in 4365. [RT #42405]

(cherry picked from commit ac11084829)
2016-05-26 13:37:43 +10:00
Mark Andrews
59300548a7 4373. [bug] Address undefined behaviour in getaddrinfo. [RT #42479]
(cherry picked from commit ede52ba98d)
2016-05-26 12:06:09 +10:00
Mark Andrews
b413f4e54d 4372. [bug] Address undefined behaviour in libt_api. [RT #42480]
(cherry picked from commit a0f5a5e3c5)
2016-05-26 11:58:20 +10:00
Evan Hunt
08da9c0bc0 [v9_9] spelling 2016-05-25 18:45:49 -07:00
Evan Hunt
767c85f45a [v9_9] extend release notes 2016-05-25 18:43:56 -07:00
Mark Andrews
b8735615e1 4369. [bug] Fix 'make' and 'make install' out-of-tree python
support. [RT #42484]

(cherry picked from commit d3600bb89d)
2016-05-24 10:06:47 +10:00
Mark Andrews
f2a4962927 spelling 2016-05-22 07:57:09 +10:00
Mark Andrews
6deae303e1 update 4363 description 2016-05-20 11:52:38 +10:00
Mark Andrews
590a4026f0 simplify
(cherry picked from commit 26f652d387)
2016-05-18 10:40:55 +10:00
Mark Andrews
fae464f93f silence compiler warning
(cherry picked from commit 75167fb746)
2016-05-17 17:50:38 +10:00
Mark Andrews
2bf3a4d271 4366. [bug] Address race condition when updating rbtnode bit
fields. [RT #42379]

(cherry picked from commit e2047969de)
2016-05-17 13:16:41 +10:00
Tinderbox User
b74a1d6824 sync 2016-05-14 01:11:11 +00:00
Tinderbox User
3aec06cf73 sync 2016-05-12 01:09:27 +00:00
Tinderbox User
5b061c731b update copyright notice / whitespace 2016-05-11 23:46:05 +00:00
Tinderbox User
5d90fef683 newcopyrights 2016-05-11 23:30:25 +00:00
Mark Andrews
beaf0761bd add timestamp target 2016-05-12 09:20:20 +10:00
Tinderbox User
5e38ec60b8 regen v9_9 2016-05-10 01:13:35 +00:00
Mark Andrews
d0d4323c4d remove repeated like
(cherry picked from commit 2fef945936)
2016-05-10 07:23:28 +10:00
Mark Andrews
af0af7e3fd 4363. [port] Turn off triggering UAC when running BINDInstall
temporarily.

(cherry picked from commit 8090ceb932)
2016-05-09 19:08:29 +10:00
Tinderbox User
c88775524d update copyright notice / whitespace 2016-05-05 23:47:00 +00:00
Tinderbox User
7a20687edd newcopyrights 2016-05-05 23:31:26 +00:00
Evan Hunt
a1f4c3c55c [v9_9] nanosecond-accurate file modification times
4361.	[cleanup]	Where supported, file modification times returned
			by isc_file_getmodtime() are now accurate to the
			nanosecond. [RT #41968]
2016-05-05 12:22:55 -07:00
Mark Andrews
091afd6fdc 4360. [bug] Silence spurious 'bad key type' message when there is
a existing TSIG key. [RT #42195]

(cherry picked from commit 5ac427050f)
(cherry picked from commit 525dc475ee)
2016-05-05 22:44:58 +10:00
Mark Andrews
a6238a920b 4359. [bug] Inherited 'also-notify' lists were not being checked
by named-checkconf. [RT #42174]

(cherry picked from commit 594d15df25)
2016-05-05 22:01:57 +10:00
Mark Andrews
ab16ccd7fc add reported by
(cherry picked from commit b0ffe32862)
2016-05-05 14:30:57 +10:00
Mark Andrews
6d2a695001 4354. [bug] Check that the received HMAC length matches the
expected length prior to check the contents on the
                        control channel.  This prevents a OOB read error.
                        [RT #42215]

(cherry picked from commit 402c63495c)
2016-05-05 14:29:56 +10:00
Tinderbox User
ba0fbceb68 regen v9_9 2016-05-05 01:13:07 +00:00
Tinderbox User
fa144c4b7b update copyright notice / whitespace 2016-05-04 23:46:42 +00:00
Tinderbox User
f9de62aa49 newcopyrights 2016-05-04 23:30:34 +00:00
Evan Hunt
4ed8ffeab7 [v9_9] update pkcs11 headers
4353.	[cleanup]	Update PKCS#11 header files. [RT #42175]
2016-05-04 16:27:26 -07:00
Evan Hunt
d5ebc757a6 [v9_9] log message when using ISC DLV
4352.	[cleanup]	The ISC DNSSEC Lookaside Validation (DLV) service
			is scheduled to be disabled in 2017.  A warning is
			now logged when named is configured to use it,
			either explicitly or via "dnssec-lookaside auto;"
			[RT #42207]
2016-05-04 14:40:17 -07:00
Tinderbox User
c156623446 update copyright notice / whitespace 2016-04-30 23:48:10 +00:00
Tinderbox User
c6c20d1df2 newcopyrights 2016-04-30 23:30:48 +00:00
Evan Hunt
df9c8f4d37 [v9_9] Merge branch 'v9_9' of ssh://repo.isc.org/proj/git/prod/bind9 into v9_9 2016-04-30 15:57:38 -07:00
Mark Andrews
7f6e39558b break from loop if we have found a good python 2016-05-01 08:20:24 +10:00
Mark Andrews
669116e9a6 support truncated hashes longer that 7
(cherry picked from commit 5b291f619e312689e25de8fd5662b0b9d4a62679)
2016-05-01 07:48:23 +10:00
Evan Hunt
14c8f1aa1a [v9_9] fix merge error in coverage test 2016-04-29 19:08:42 -07:00
Tinderbox User
9058258609 regen v9_9 2016-04-30 01:15:12 +00:00
Tinderbox User
01e6868978 update copyright notice / whitespace 2016-04-29 23:46:47 +00:00
Tinderbox User
0a1bfe7bf3 newcopyrights 2016-04-29 23:30:39 +00:00
Evan Hunt
fb746f443f [v9_9] more python2/3 compatibility fixes; use setup.py to install 2016-04-29 14:45:07 -07:00
Evan Hunt
b1b0f5b7c6 [v9_9] address some python2/3 incompatibilities 2016-04-29 10:39:14 -07:00
Evan Hunt
1334b546ab [v9_9] remove gnu make dependency 2016-04-29 09:37:06 -07:00
Evan Hunt
bc592f68c8 [v9_9] copyrights 2016-04-28 22:36:52 -07:00
Evan Hunt
6a357b081d [v9_9] fix update_copyrights to deal with python modules correctly
(also removed an unnecessary part of python isc module, not used in 9.9)
2016-04-28 22:36:21 -07:00
Evan Hunt
ddc71a7c38 [v9_9] refactor python tools
4348.	[cleanup]	Refactor dnssec-coverage and dnssec-checkds
                        functionality into an "isc" python module. [RT #39211]
2016-04-28 19:46:07 -07:00
Mark Andrews
8e0abe93b8 4351. [bug] 'dig +noignore' didn't work. [RT #42273] 2016-04-29 12:42:39 +10:00
Mark Andrews
2d050f8e23 alphabetize host options
(cherry picked from commit cf69e3d8b2)
(cherry picked from commit df547d999a)
2016-04-29 11:35:31 +10:00
Tinderbox User
b7843f9794 regenerate 2016-04-20 20:11:30 +00:00
Tinderbox User
dacae8ec14 regen v9_9 2016-04-20 18:39:43 +00:00
Evan Hunt
84c835b1f8 [v9_9] prep 9.9.9 2016-04-20 10:28:09 -07:00
Mark Andrews
7f9a31319d fix changes
(cherry picked from commit 16591ba9ae)
2016-04-16 12:04:45 +10:00
Mark Andrews
dc7668b449 delv is not part of BIND 9.9 2016-04-15 16:42:19 +10:00
Tinderbox User
6047fd2256 update copyright notice / whitespace 2016-04-15 04:53:25 +00:00
Tinderbox User
254265b257 newcopyrights 2016-04-15 04:52:38 +00:00
Evan Hunt
6b4d6a9979 [v9_9] fix build error on x86_64 solaris 2016-04-14 19:23:47 -07:00
Evan Hunt
36adfbee06 [v9_9] copyrights 2016-04-14 19:12:35 -07:00
Evan Hunt
cd249675a1 [v9_9] fixed revoked key regression
4436.	[bug]		Fixed a regression introduced in change #4337 which
			caused signed domains with revoked KSKs to fail
			validation. [RT #42147]
2016-04-14 18:54:09 -07:00
Evan Hunt
669969d715 [v9_9] fix build error due to incorrect readline probing 2016-04-14 13:46:53 -07:00
Tinderbox User
cf05c7e3be regenerate 2016-04-14 00:06:32 +00:00
Tinderbox User
044671fc77 regen v9_9 2016-04-13 23:23:07 +00:00
Evan Hunt
9741e60b38 [v9_9] prep 9.9.9rc1 2016-04-13 16:12:12 -07:00
Tinderbox User
fafaa2c58e update copyright notice / whitespace 2016-04-12 23:45:50 +00:00
Tinderbox User
54c3aa0eac newcopyrights 2016-04-12 23:30:13 +00:00
Mark Andrews
293d3bff4b 4345. [contrib] perftcpdns mishandled the return values from
clock_nanosleep. [RT #42131]

(cherry picked from commit 8fcf2413e9)
2016-04-12 10:54:53 +10:00
Tinderbox User
221047cf64 update copyright notice / whitespace 2016-04-05 23:45:52 +00:00
Tinderbox User
a4b9c96497 newcopyrights 2016-04-05 23:30:12 +00:00
Mark Andrews
d0abe92a0e 4344. [port] Address openssl version differences. [RT #42059] 2016-04-06 04:34:47 +10:00
Tinderbox User
f190e304d4 regen v9_9 2016-03-31 01:12:57 +00:00
Tinderbox User
046e66c891 update copyright notice / whitespace 2016-03-30 23:45:53 +00:00
Jeremy C. Reed
a2f067c7b5 [v9_9] some release notes updates
mention that the document summarizes "significant" changes
since obviously it misses a lot.
Also refer to the CHANGES file.

Added a few bugs. Wording some discussed via email, phone call, and jabber.
2016-03-30 13:36:55 -04:00
Mark Andrews
6477bc6064 attempt to create a node at the flushtree name
(cherry picked from commit dd185fb371)
2016-03-27 08:26:11 +11:00
Tinderbox User
9192bcc379 update copyright notice / whitespace 2016-03-25 23:45:51 +00:00
Tinderbox User
edb176b978 newcopyrights 2016-03-25 23:30:12 +00:00
Mark Andrews
aacd2503bd fix typo in isc-hmac-fixup.exe 2016-03-26 09:09:59 +11:00
Tinderbox User
d6d860e96e regenerate 2016-03-25 05:30:42 +00:00
Tinderbox User
c79bf020a5 regen v9_9 2016-03-25 01:12:55 +00:00
Evan Hunt
7d5c94236b [v9_9] more release note corrections 2016-03-24 16:40:54 -07:00
Evan Hunt
7e76a21929 [v9_9] fixes for release notes 2016-03-24 14:43:05 -07:00
Evan Hunt
529734f9fc [v9_9] prep 9.9.9b2 2016-03-24 12:42:54 -07:00
Evan Hunt
0a6e7e9c62 [v9_9] windows: copy missing HTML man pages into zips 2016-03-24 12:27:24 -07:00
Mark Andrews
3e69d34a61 use full tag with git archive
(cherry picked from commit 32a09f01d61ce2fb963370b51e328a7b54c3ad27)
2016-03-24 17:03:50 +11:00
Mark Andrews
fe35097681 use shorthash to avoid race when using a branch name 2016-03-24 12:58:18 +11:00
Mark Andrews
7f39975df1 fix changes number
(cherry picked from commit b1888f0e2e)
2016-03-24 12:23:53 +11:00
Mark Andrews
6aec5717c7 4341. [bug] 'rndc flushtree' could fail to clean the tree if there
wasn't a node at the specified name. [RT #41846]

(cherry picked from commit 6214c3c93a)
2016-03-24 11:38:17 +11:00
Tinderbox User
42b854e5dd update copyright notice / whitespace 2016-03-23 23:46:03 +00:00
Tinderbox User
fd92fb6eb2 newcopyrights 2016-03-23 23:30:11 +00:00
Evan Hunt
955c101ff5 [v9_9] disallow out-of-range descriptors in isc_socket_fdwatchcreate() 2016-03-22 18:12:07 -07:00
Evan Hunt
bb68c78aac [v9_9] fix uiAccess for win64 build 2016-03-22 17:30:25 -07:00
Mark Andrews
a84d2e5e04 4338. [bug] Reimplement change 4324 as it wasn't properly doing
all the required book keeping. [RT #41941]

(cherry picked from commit 558278974e)
2016-03-23 11:06:52 +11:00
Tinderbox User
5cc724937d update copyright notice / whitespace 2016-03-22 23:45:44 +00:00
Tinderbox User
96708520e8 newcopyrights 2016-03-22 23:30:10 +00:00
Evan Hunt
0c3dc6f60f [v9_9] fix mkeys TTL 0 issue
4337.	[bug]		The previous change exposed a latent flaw in
			key refresh queries for managed-keys when
			a cached DNSKEY had TTL 0. [RT #41986]
2016-03-22 12:13:39 -07:00
Tinderbox User
1ae5ce7da8 update copyright notice / whitespace 2016-03-21 23:46:02 +00:00
Tinderbox User
33a8563ffe newcopyrights 2016-03-21 23:30:14 +00:00
Mark Andrews
0f8b11d8cd 4336. [bug] Don't emit records with zero ttl unless the records
were learnt with a zero ttl. [RT #41687]

(cherry picked from commit 0993cd5f22)
2016-03-21 14:34:30 +11:00
Mark Andrews
9076dd0d9b 4335. [bug] zone->view could be detached too early. [RT #41942]
(cherry picked from commit b8dcc13bc5)
2016-03-21 13:03:36 +11:00
Tinderbox User
a24b0e359c update copyright notice / whitespace 2016-03-17 23:45:55 +00:00
Tinderbox User
85caed40f0 newcopyrights 2016-03-17 23:30:09 +00:00
Mark Andrews
3ed767fc4b don't run 'make clean' if --no-create is specified
(cherry picked from commit 6e3839e1bb)
2016-03-18 08:30:28 +11:00
Jeremy C. Reed
a05b47e30f add comments about why the configuration is bad
I didn't get review. This is trivial.
2016-03-17 07:04:50 -04:00
Jeremy C. Reed
7ba56adcd3 change [=PATH] to [=ARG] for two dlz configure switches help text
this is for #41940
--with-dlz-filesystem and --with-dlz-stub don't use a path
so update the --help text for them

too trivial to add a CHANGES entry
2016-03-17 07:03:28 -04:00
Tinderbox User
082030a92b regen v9_9 2016-03-12 01:15:28 +00:00
Tinderbox User
0208e57e6b update copyright notice / whitespace 2016-03-11 23:46:03 +00:00
Tinderbox User
fe2bb2ed28 newcopyrights 2016-03-11 23:30:13 +00:00
Jeremy C. Reed
06212d490b use -r $RANDFILE for test using keygen
stops hang
this is for ticket #41898
2016-03-11 09:29:27 -05:00
Mark Andrews
1f24b9c1f4 4333. [maint] L.ROOT-SERVERS.NET is now 199.7.83.42 and
2001:500:9f::42.

(cherry picked from commit 1add4a7939)
2016-03-11 20:42:09 +11:00
Mark Andrews
ef0a86dfad note rrsig regeneration
(cherry picked from commit 98c5690bd9)
2016-03-11 12:28:11 +11:00
Mark Andrews
af59b16e3d 4331. [func] When loading managed signed zones detect if the
RRSIG's inception time is in the future and regenerate
                        the RRSIG immediately. [RT #41808]

(cherry picked from commit 7c52595464)
2016-03-11 12:26:16 +11:00
Tinderbox User
aad46e76a7 update copyright notice / whitespace 2016-03-10 23:45:46 +00:00
Tinderbox User
080c252c5f newcopyrights 2016-03-10 23:30:13 +00:00
Mark Andrews
927e9d8bbc 4330. [protocol] Identify the PAD option as "PAD" when printing out
a message.

(cherry picked from commit 33a4294f44)
2016-03-10 16:54:51 +11:00
Mark Andrews
335626b5dc silence compiler false positive
(cherry picked from commit 31a1cbf101)
2016-03-10 08:43:55 +11:00
Mark Andrews
258afdcffd silence compiler warning
(cherry picked from commit 37a931d774)
2016-03-09 14:43:58 +11:00
Mark Andrews
9833cd85a8 silence compiler warning
(cherry picked from commit 0e5c8a65a2)
2016-03-09 12:38:10 +11:00
Tinderbox User
c1d4f2b629 update copyright notice / whitespace 2016-03-09 00:56:39 +00:00
Tinderbox User
376ce060d1 newcopyrights 2016-03-09 00:56:01 +00:00
Tinderbox User
59a7eeeb9d regen v9_9 2016-03-09 00:45:55 +00:00
Mark Andrews
803a020814 use xmlint to process include
(cherry picked from commit 71e9df17b671f7ef5742967b25a1ab36ec3dd91b)
2016-03-09 11:34:55 +11:00
Tinderbox User
f1b6862922 newcopyrights 2016-03-08 23:03:35 +00:00
Tinderbox User
3e0800f3f7 9.9.9b1 2016-03-08 22:58:04 +00:00
Tinderbox User
6b5cdc391a regen v9_9 2016-03-08 22:42:49 +00:00
Mark Andrews
217178eb2b update 4327's description
(cherry picked from commit ade0aa3cb0)
2016-03-09 09:25:30 +11:00
Jeremy C. Reed
4943482c81 minor updates and a typo fix
mention SMIMEA, new contrib, and named -V
2016-03-08 08:52:45 -05:00
Jeremy C. Reed
34c9083464 fix two spelling typos 2016-03-08 08:49:37 -05:00
Tinderbox User
f3c7b35464 newcopyrights 2016-03-08 06:32:32 +00:00
Tinderbox User
594bdc79df regen v9_9 2016-03-08 06:22:46 +00:00
Mark Andrews
757e02d75c update copyrights 2016-03-08 16:19:15 +11:00
Mark Andrews
c85aaaaf17 9.9.9b1 2016-03-08 16:14:23 +11:00
Mark Andrews
13540e8c7b sync with 9.9.8-P4 2016-03-08 12:15:45 +11:00
Mark Andrews
cb73ec2f66 add dns_name_isrfc1918 and dns_name_isula 2016-03-08 12:01:40 +11:00
Tinderbox User
e1f19f3b4b update copyright notice / whitespace 2016-03-07 23:46:05 +00:00
Mark Andrews
0649f3a0c0 4329. [func] Warn about a common misconfiguration when forwarding
RFC 1918 zones. [RT #41441]
2016-03-08 10:12:02 +11:00
Mukund Sivaraman
4bb2aa3e15 Repack dns_rbtnode struct to gain some space (reduce packing holes) (#41854)
(cherry picked from commit 8dbf9ceb8c)
(cherry picked from commit 2a461f1348)
2016-03-07 16:18:02 +05:30
Evan Hunt
d78d3e3814 [v9_9] silence coverity warning 2016-03-05 19:50:57 -08:00
Tinderbox User
6119bb7066 regen v9_9 2016-03-06 01:10:55 +00:00
Mark Andrews
7728dadf12 add AVC
(cherry picked from commit e011df2927)
2016-03-05 17:57:55 +11:00
Tinderbox User
14f69ff3f3 regen v9_9 2016-03-05 01:24:27 +00:00
Tinderbox User
dc16fb4615 update copyright notice / whitespace 2016-03-04 23:46:07 +00:00
Tinderbox User
15ac1165cc newcopyrights 2016-03-04 23:30:22 +00:00
Mukund Sivaraman
f0e2a58862 Revert DEFAULT_NODE_LOCK_COUNT back to 7 (#40997)
(cherry picked from commit 09b9ffc029)
2016-03-04 16:31:07 +05:30
Mukund Sivaraman
da1c336ddf Include missing isc/print.h
(cherry picked from commit 1cbbc0bde6)
2016-03-04 14:57:29 +05:30
Mukund Sivaraman
8000419f5a Check if threads support is available
(cherry picked from commit 2457a4b245)
(cherry picked from commit 491a5a2a3c)
2016-03-04 14:08:05 +05:30
Mukund Sivaraman
09e84a2072 Use libisc thread functions
(cherry picked from commit 051197362b)
(cherry picked from commit cb93542612)
2016-03-04 14:01:21 +05:30
Mukund Sivaraman
fc875fb1ab Add dns_name_fromwire() benchmark
(cherry picked from commit 59328c7674)
(cherry picked from commit d820e8ff8a)
2016-03-04 13:50:17 +05:30
Mukund Sivaraman
6439dc94d5 Log query and depth counters during fetches when querytrace is enabled (#41787)
(cherry picked from commit 275265ab27)
(cherry picked from commit 666fa20ef3)
2016-03-04 13:30:12 +05:30
Evan Hunt
038cb7aa01 [rt41656] line length
(cherry picked from commit 6957e9451cc7bf89d44716dfe4266281867e00e5)
(cherry picked from commit d4ed29b019)
(cherry picked from commit 1c57a595b1)
2016-03-04 13:02:31 +05:30
Mukund Sivaraman
65f562e5e4 Code cleanups (#41656)
(cherry picked from commit 9da98335c1)
(cherry picked from commit b15dde2889)
2016-03-04 13:00:43 +05:30
Mark Andrews
cb3e40e655 add AVC 2016-03-04 18:17:39 +11:00
Mark Andrews
f38f7eb97f 4326. [protocol] Add support for AVC. [RT #41819
(cherry picked from commit 8398f00156)
2016-03-04 18:15:47 +11:00
Evan Hunt
b5957e6c2d [v9_9] recursively clean empty interior nodes when deleting database records
4324.	[bug]		When deleting records from a zone database, interior
			nodes could be left empty but not deleted, damaging
			search performance afterward. [RT #40997]

(cherry picked from commit 44c86318ed)
(cherry picked from commit db06cd726c)
2016-03-03 21:19:59 -08:00
Tinderbox User
3d6be0705b update copyright notice / whitespace 2016-03-02 23:45:56 +00:00
Tinderbox User
d0d9b8620d newcopyrights 2016-03-02 23:30:09 +00:00
Mark Andrews
a4729f884a fix changes number 2016-03-02 12:27:49 +11:00
Mark Andrews
7e83911c77 4223. [bug] Improve HTTP header processing on statschannel.
[RT #41674]

(cherry picked from commit ce7216c40a)
(cherry picked from commit 62e7d7533a)
2016-03-02 11:11:11 +11:00
Tinderbox User
bd177afa9f regen v9_9 2016-03-01 01:10:05 +00:00
Mark Andrews
885b3a09f2 re-order security list into reverse order 2016-02-29 12:47:03 +11:00
Mark Andrews
35ef2fe236 spelling
(cherry picked from commit 40401165e4)
2016-02-29 12:23:13 +11:00
Mark Andrews
a7646fe8cf silence may be used when unset false positive
(cherry picked from commit c7aae79b62)
2016-02-29 11:25:16 +11:00
Mark Andrews
ce3cd91cae Part 2 of:
4319.   [security]      Fix resolver assertion failure due to improper
                        DNAME handling when parsing fetch reply messages.
                        (CVE-2016-1286) [RT #41753]

(cherry picked from commit 2de89ee9de)
2016-02-29 07:17:41 +11:00
Mark Andrews
44982ad2fb add CVE-2016-1286 2016-02-24 13:13:27 +11:00
Tinderbox User
03dee95971 update copyright notice / whitespace 2016-02-23 23:46:37 +00:00
Tinderbox User
173911c978 newcopyrights 2016-02-23 23:30:49 +00:00
Mukund Sivaraman
f073ab5de0 Test bin/tests/system/checkconf/good-*.conf
(cherry picked from commit 77fe016206)
2016-02-23 13:01:19 +05:30
Mukund Sivaraman
16aab138b3 Fix allocation for "none" ACL that caused assertion failure (#41745)
(cherry picked from commit 293a9e9978)
(cherry picked from commit c685f0d741)
2016-02-23 13:01:16 +05:30
Mark Andrews
61f2429b71 update usage
(cherry picked from commit a125381c60)
2016-02-23 16:58:31 +11:00
Tinderbox User
9a749e4775 regen v9_9 2016-02-23 01:10:26 +00:00
Mukund Sivaraman
76c3c9fe9f Fix resolver assertion failure due to improper DNAME handling (CVE-2016-1286) (#41753)
(cherry picked from commit 5995fec51c)
(cherry picked from commit 456e1eadd2)
2016-02-22 12:25:46 +05:30
Tinderbox User
d3d817e611 regen v9_9 2016-02-19 01:09:51 +00:00
Tinderbox User
878528bdcb update copyright notice / whitespace 2016-02-18 23:46:23 +00:00
Tinderbox User
7f9a55c54f newcopyrights 2016-02-18 23:30:27 +00:00
Evan Hunt
a078c9eeae [v9_9] fix backport error 2016-02-17 19:13:22 -08:00
Mark Andrews
31e4657cf2 4318. [security] Malformed control messages can trigger assertions
in named and rndc. (CVE-2016-1285) [RT #41666]

(cherry picked from commit a2b15b3305)
2016-02-18 12:18:00 +11:00
Tinderbox User
ee55571b61 newcopyrights 2016-02-12 23:30:19 +00:00
Mark Andrews
8a550860b8 4317. [bug] Age all unused servers on fetch timeout. [RT #41597]
(cherry picked from commit d372f426ca)
2016-02-12 12:35:19 +11:00
Tinderbox User
653c466529 regen v9_9 2016-02-12 01:10:00 +00:00
Mark Andrews
2aef94156e add sanity check that $base is '.docbook' 2016-02-12 11:13:39 +11:00
Mark Andrews
e1a21681df automatically set year to 'DOCBOOK' if '.docbook' exists for MAN and HTML 2016-02-12 11:13:35 +11:00
Mark Andrews
023656fa50 inherit years from docbook 2016-02-12 10:50:39 +11:00
Mark Andrews
cbf91c5377 copyrights / whitespace 2016-02-11 10:47:24 +11:00
Mukund Sivaraman
6ba259b626 Remove nodechain from dns_rbt_addnode() (#41246)
(cherry picked from commit 9267cc8e83)
(cherry picked from commit 6f3e21cd9b)
2016-02-08 15:42:10 +05:30
Mukund Sivaraman
80eff380a8 Add tests for hash function, and comment dns_rbt_addnode() (#41179)
No CHANGES entry necessary.

(cherry picked from commit 614ce1b65f)
(cherry picked from commit 400dd1020c)
2016-02-08 15:03:40 +05:30
Mukund Sivaraman
cab5a2b180 Check that configured view class isn't a meta class (#41572)
(cherry picked from commit 0c29904b27)
(cherry picked from commit 0b46608d6e)
2016-02-08 14:04:40 +05:30
Mark Andrews
88624c9c32 specify what to copy 2016-02-05 13:53:39 +11:00
Mark Andrews
87c8fae1dc add missing line break
(cherry picked from commit 68ecf1c9a5)
2016-02-04 11:52:24 +11:00
Tinderbox User
3173074531 newcopyrights 2016-02-03 23:32:01 +00:00
Evan Hunt
73a990b284 [v9_9] add dnsperf to contrib
4314.	[contrib]	Added 'dnsperf-2.1.0.0-1', a set of performance
			testing tools provided by Nominum, Inc.
2016-02-03 15:29:32 -08:00
Mark Andrews
04e34494ea 4313. [bug] Handle ns_client_replace failures in test mode.
[RT #41190]

(cherry picked from commit d88ba93712)
2016-02-03 15:04:06 +11:00
Mark Andrews
6442633cc2 4312. [bug] dig's unknown dns and edns flags (MBZ value) logging
was not consistent. [RT #41600]

(cherry picked from commit 8d00c5ab2c)
2016-02-02 14:22:46 +11:00
Mark Andrews
c4cf9df942 handle permission denied
(cherry picked from commit 4c375c6fa8)
2016-02-02 12:38:55 +11:00
Mark Andrews
eaed2bda9c capture rndc output
(cherry picked from commit 2d58f4aee2)
2016-02-02 12:26:49 +11:00
Tinderbox User
757b2400b8 update copyright notice / whitespace 2016-02-01 23:46:15 +00:00
Tinderbox User
a8814986f5 newcopyrights 2016-02-01 23:30:12 +00:00
Evan Hunt
b63bcfa9f5 [v9_9] add [performance] 2016-02-01 09:52:57 -08:00
Evan Hunt
d861c0943c [v9_9] disallow delzone on policiy zones
4311.	[bug]		Prevent "rndc delzone" from being used on
			response-policy zones. [RT #41593]
2016-02-01 09:47:31 -08:00
Mukund Sivaraman
48915fab93 Use __built_expect() where available (#41411)
(cherry picked from commit d1dbf6b20f)
(cherry picked from commit 6e2e0f72b1)
2016-02-01 09:13:28 +05:30
Tinderbox User
02367cb149 update copyright notice / whitespace 2016-01-30 23:46:09 +00:00
Tinderbox User
7c6e60a912 newcopyrights 2016-01-30 23:30:14 +00:00
Evan Hunt
1265a35391 [v9_9] add uname data to named -V
4308.	[func]		Added operating system details to "named -V"
			output. [RT #41452]
2016-01-30 11:08:14 -08:00
Tinderbox User
15953bbb99 regen v9_9 2016-01-30 01:09:55 +00:00
Tinderbox User
41e19479a4 newcopyrights 2016-01-29 23:30:09 +00:00
Evan Hunt
b23d9e68e9 [v9_9] remove reporter's name per his request 2016-01-29 10:36:17 -08:00
Tinderbox User
a0c12a8dd2 regen v9_9 2016-01-29 01:10:02 +00:00
Tinderbox User
00f6aff939 update copyright notice / whitespace 2016-01-28 23:46:23 +00:00
Tinderbox User
7f8b4b8c70 newcopyrights 2016-01-28 23:30:27 +00:00
Evan Hunt
332b3d9fd1 [v9_9] openssl 1.0.2f patch
4306.	[maint]		Added a PKCS#11 openssl patch supporting
			version 1.0.2f [RT #38312]
2016-01-28 13:28:40 -08:00
Mark Andrews
3eda1730b7 4305. [bug] dnssec-signzone was not removing unnecessary rrsigs
from the zone's apex. [RT #41483]

(cherry picked from commit 832ab79d1f)
2016-01-28 15:43:00 +11:00
Mark Andrews
a066b4c550 4304. [port] xfer system test failed as 'tail -n +value' is not
portable. [RT #41315]

(cherry picked from commit 9d85a77382)
2016-01-28 15:39:05 +11:00
Evan Hunt
ee738a1793 [v9_9] correct also-notify grammar 2016-01-27 19:13:57 -08:00
Tinderbox User
7d4914549b regen v9_9 2016-01-28 01:09:44 +00:00
Evan Hunt
d4452d1926 [v9_9] removed /Gy- from VS project files
4302.	[port]		win32: fixed a build error in VS 2015. [RT #41426]
2016-01-27 15:33:02 -08:00
Evan Hunt
e1997cc26e [v9_9] update EOL date 2016-01-27 12:08:08 -08:00
Tinderbox User
181b6c3f19 update copyright notice / whitespace 2016-01-25 23:46:11 +00:00
Tinderbox User
e1aad13df0 newcopyrights 2016-01-25 23:30:11 +00:00
Mark Andrews
1ffe5cf19e use 0 not ISC_FALSE for dns_name_fromtext 2016-01-25 16:57:43 +11:00
Tinderbox User
4705cfe0a9 update copyright notice / whitespace 2016-01-22 23:46:10 +00:00
Tinderbox User
19d91cb3e8 newcopyrights 2016-01-22 23:30:08 +00:00
Evan Hunt
70280057b4 [v9_9] expanded query trace logging
4300.	[cleanup]	Added new querytrace logging. [RT #41155]
2016-01-22 14:33:50 -08:00
Tinderbox User
7b7d845166 update copyright notice / whitespace 2016-01-21 23:46:08 +00:00
Tinderbox User
b206943393 newcopyrights 2016-01-21 23:30:09 +00:00
Mark Andrews
4bec1debc6 4299. [bug] Check that exactly totallen bytes are read when
reading a RRset from raw files in both single read
                        and incremental modes. [RT #41402]

(cherry picked from commit 1d383fd4b2)
2016-01-21 15:34:31 +11:00
Evan Hunt
edb9e54018 [v9_9] rpz zone errors fail more robustly
4297.	[bug]		RPZ zones with errors could cause a crash when a
			pointer was cleaned up twice. [RT #41518]
2016-01-20 17:41:37 -08:00
Evan Hunt
4b8c357439 [v9_9] hold 2016-01-20 17:32:39 -08:00
Evan Hunt
b6d7675298 [v9_9] fix unchecked result
4295.	[bug]		An unchecked result in dns_message_pseudosectiontotext()
			could allow incorrect text formatting of EDNS EXPIRE
			options. [RT #41437]
2016-01-20 17:19:57 -08:00
Tinderbox User
f74f5b2ed7 update copyright notice / whitespace 2016-01-20 23:46:07 +00:00
Tinderbox User
24bd9be5b1 newcopyrights 2016-01-20 23:30:09 +00:00
Evan Hunt
c89127acbb [v9_9] fixed rndc stop -p
4294.	[bug]		Fixed a regression in which "rndc stop -p" failed
			to print the PID. [RT #41513]
2016-01-20 09:57:01 -08:00
Mark Andrews
dcc3dd16f6 4293. [bug] Address memory leak on priming query creation failure.
[RT #41512]

(cherry picked from commit 73fbd4c9d3)
2016-01-20 16:39:37 +11:00
Tinderbox User
17833da3fd update copyright notice / whitespace 2016-01-18 23:46:02 +00:00
Tinderbox User
f347acf408 newcopyrights 2016-01-18 23:30:06 +00:00
Mark Andrews
a03adeb86d 4292. [bug] Build lib/export/dns/gen with native compiler.
[RT #41502]
2016-01-19 08:33:11 +11:00
Tinderbox User
45449617be update copyright notice / whitespace 2016-01-14 23:46:05 +00:00
Tinderbox User
87f6f7598c newcopyrights 2016-01-14 23:30:12 +00:00
Evan Hunt
6deb83615c [v9_9] added sockaddr.h
4291.	[cleanup]	Added a required include to dns/forward.h. [RT #41474]

(cherry picked from commit b4ccec331d)
(cherry picked from commit 25da0107d1)
2016-01-14 10:27:41 -08:00
Tinderbox User
b5a7c1c32b newcopyrights 2016-01-13 23:30:12 +00:00
Francis Dupont
b028720c51 Fixed small bugs in WIN32 legacy 2016-01-13 15:26:13 +01:00
Francis Dupont
fd10a2afb5 Fixed incorrect paths in WIN32 legacy 2016-01-13 14:55:42 +01:00
Tinderbox User
1fa401a65c regen v9_9 2016-01-06 01:10:10 +00:00
Tinderbox User
8df239e201 update copyright notice / whitespace 2016-01-05 23:46:15 +00:00
Tinderbox User
b3bb6a07e1 newcopyrights 2016-01-05 23:30:07 +00:00
Francis Dupont
18ff66186c Fixed unknown WIN32 switches 2016-01-05 19:22:01 +01:00
Francis Dupont
2fe1325e3a Silent WIN64 warnings (alrady fixed in master) 2016-01-05 18:59:14 +01:00
Francis Dupont
e1b5692773 Fixed WIN32 BIND9_CONFIG 2016-01-05 18:09:55 +01:00
Evan Hunt
75214d0c59 [v9_9] fix use after free on xfr timeout
4289.	[bug]		The server could crash due to memory being used
			after it was freed if a zone transfer timed out.
			[RT #41297]
2016-01-04 22:06:35 -08:00
Tinderbox User
9f30a9119c regen v9_9 2016-01-05 01:09:53 +00:00
Evan Hunt
97efa261cb [v9_9] Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2016-01-04 16:10:15 -08:00
Evan Hunt
f6ab9b3a28 [v9_9] fixed bogus server regression
4288.	[bug]		Fixed a regression in resolver.c:possibly_mark()
			which caused known-bogus servers to be queried
			anyway. [RT #41321]
2016-01-04 16:06:27 -08:00
Evan Hunt
7128c44787 [v9_9] clean up relnotes to include only things added since 9.9.8 2016-01-04 16:05:44 -08:00
Tinderbox User
c40fa54eab update copyright notice / whitespace 2016-01-04 23:46:16 +00:00
Evan Hunt
9afd579edd [v9_9] document return values from nslookup 2016-01-04 15:38:29 -08:00
Tinderbox User
1c9c199b0f newcopyrights 2016-01-04 23:30:07 +00:00
Evan Hunt
c5109e5850 [v9_9] silence noisy logging
4287.	[bug]		Silence an overly noisy log message when message
			parsing fails. [RT #41374]
2016-01-04 13:07:25 -08:00
Francis Dupont
0b70cee9de Updated copyrights 2016-01-04 19:41:17 +01:00
Francis Dupont
ff6129a61c Updated WIN32 files (rt40877) bis 2016-01-04 19:37:30 +01:00
Francis Dupont
deb9d1b1e7 Updated WIN32 files (rt40877) 2016-01-04 18:44:27 +01:00
Evan Hunt
717129f35a [v9_9] clean up notes 2016-01-03 21:23:52 -08:00
Tinderbox User
867a0ff40e newcopyrights 2016-01-02 23:30:07 +00:00
Tinderbox User
4b4e69c745 update copyright notice / whitespace 2016-01-01 23:46:02 +00:00
Tinderbox User
59d9e7e359 newcopyrights 2016-01-01 23:30:10 +00:00
Tinderbox User
427ff415a3 regen v9_9 2016-01-01 01:09:57 +00:00
Mark Andrews
435ab2044a 4285. [security] Specific APL data could trigger a INSIST.
(CVE-2015-8704) [RT #41396]

(cherry picked from commit 1b3d211802)
2015-12-31 13:47:08 +11:00
Mark Andrews
4a870e0954 fix changes #
(cherry picked from commit 4fa9eaf073)
2015-12-24 12:23:20 +11:00
Mark Andrews
08994ed201 4383. [bug] OPENSSL_config is no longer re-callable. [RT #41348]
(cherry picked from commit bed6e9d614)
2015-12-24 10:33:34 +11:00
Francis Dupont
a3866fa7be updated copyrights 2015-12-23 22:57:13 +01:00
Francis Dupont
f1a767002f Cleaned up OpenSSL patches 2015-12-23 21:15:53 +01:00
Francis Dupont
bbcb0014f8 Updated OpenSSL 1.0.1 patch 2015-12-23 19:34:46 +01:00
Francis Dupont
6456fd361e Updated OpenSSL 1.0.0 patch 2015-12-23 18:50:32 +01:00
Francis Dupont
e8fb4db3ca Updated OpenSSL 0.9.8 patch 2015-12-23 17:56:54 +01:00
Mark Andrews
5ddff6e532 fixes for tests with --disable-ipv6 2015-12-17 16:31:09 +11:00
Evan Hunt
4c6035f933 [master] reclimit test was broken with v6
(cherry picked from commit 0321aa184e)

Conflicts:
	bin/tests/system/reclimit/tests.sh
2015-12-17 16:26:58 +11:00
Mark Andrews
62d64f9868 spelling
(cherry picked from commit 757e405d3c)

Conflicts:
	CHANGES
2015-12-17 16:00:59 +11:00
Tinderbox User
ecbbfd3a88 update copyright notice / whitespace 2015-12-16 23:46:16 +00:00
Tinderbox User
21c59d9373 newcopyrights 2015-12-16 23:30:24 +00:00
Mark Andrews
71eafb2cb8 perform a more complete cleanup after running system tests [rt41255]
(cherry picked from commit ecfedec0e0)

Conflicts:
	bin/tests/system/acl/clean.sh
	bin/tests/system/addzone/clean.sh
	bin/tests/system/allow_query/clean.sh
	bin/tests/system/autosign/clean.sh
	bin/tests/system/case/clean.sh
	bin/tests/system/checknames/clean.sh
	bin/tests/system/dlzexternal/clean.sh
	bin/tests/system/dscp/clean.sh
	bin/tests/system/ednscompliance/clean.sh
	bin/tests/system/emptyzones/clean.sh
	bin/tests/system/formerr/clean.sh
	bin/tests/system/forward/clean.sh
	bin/tests/system/glue/clean.sh
	bin/tests/system/limits/clean.sh
	bin/tests/system/lwresd/clean.sh
	bin/tests/system/masterfile/clean.sh
	bin/tests/system/names/clean.sh
	bin/tests/system/nslookup/clean.sh
	bin/tests/system/nsupdate/clean.sh
	bin/tests/system/sfcache/clean.sh
	bin/tests/system/sit/clean.sh
	bin/tests/system/sortlist/clean.sh
	bin/tests/system/stub/clean.sh
	bin/tests/system/xferquota/clean.sh

(cherry picked from commit f9c9fce5c7)

Conflicts:
	bin/tests/system/digdelv/tests.sh
	bin/tests/system/dlzexternal/clean.sh
	bin/tests/system/formerr/clean.sh
	bin/tests/system/resolver/clean.sh
	bin/tests/system/rndc/clean.sh
	bin/tests/system/rrl/prereq.sh
	bin/tests/system/sit/clean.sh
	bin/tests/system/tkey/clean.sh
	bin/tests/system/zonechecks/clean.sh
	lib/export/isc/nothreads/include/Makefile.in
2015-12-16 17:04:30 +11:00
Tinderbox User
565e69abd6 regen v9_9 2015-12-16 01:09:48 +00:00
Tinderbox User
e315ea819c update copyright notice / whitespace 2015-12-15 23:46:11 +00:00
Tinderbox User
853d976be1 newcopyrights 2015-12-15 23:30:14 +00:00
Mukund Sivaraman
15faf2a1fd Update notes.xml for #40996
(cherry picked from commit 6960e7fd12)
(cherry picked from commit f2d05dbb6f)
2015-12-15 18:07:37 +05:30
Mukund Sivaraman
50201b1e62 Use optimal message sizes to improve compression in AXFRs (#40996)
(cherry picked from commit ecc06cbc32)

Backported from master to not include the config option.

(cherry picked from commit 1780ade486)
2015-12-15 16:01:51 +05:30
Mark Andrews
b1fd8ee3ad 4281. [bug] Teach dns_message_totext about BADCOOKIE. [RT #41257]
(cherry picked from commit f647c0df9f)

Conflicts:
	CHANGES
	bin/named/query.c
	bin/tests/system/sit/tests.sh
	lib/dns/message.c

(cherry picked from commit d090709551)

Conflicts:
	CHANGES
2015-12-15 20:10:37 +11:00
Evan Hunt
7b022a9a2a [v9_9] use perl for query burst 2015-12-14 21:28:38 -08:00
Tinderbox User
d9acbe311a update copyright notice / whitespace 2015-12-11 23:47:08 +00:00
Tinderbox User
2646aebc8c newcopyrights 2015-12-11 23:30:16 +00:00
Evan Hunt
64fa79be37 [master] comments
(cherry picked from commit f21d2ee372)
(cherry picked from commit f5f9dc0d83)
2015-12-11 11:03:08 +05:30
Mukund Sivaraman
a28d8e8bf5 Improve performance of RBT (#41165)
(cherry picked from commit 5d79b60fc5)
(cherry picked from commit 318158d66a)
2015-12-11 10:29:36 +05:30
Mark Andrews
51aed18274 add digdelv 2015-12-11 14:52:12 +11:00
Mark Andrews
c30ac363b1 whitespace
(cherry picked from commit 564968bc0a)
2015-12-11 14:30:07 +11:00
Mark Andrews
9f18d8f777 make the lib/dns newrr target visible at the top level
(cherry picked from commit be123554f0)
2015-12-08 16:40:14 +11:00
Tinderbox User
db76389030 regen v9_9 2015-12-08 01:09:43 +00:00
Tinderbox User
0089590e4c newcopyrights 2015-12-07 23:30:21 +00:00
Mark Andrews
e533381eec 4276. [protocol] Add support for SMIMEA. [RT #40513]
(cherry picked from commit 322e6b5be7)
2015-12-08 08:18:25 +11:00
Mukund Sivaraman
5961808892 Speed up typemap_fromtext() (#41196)
(cherry picked from commit 5b13a593fe)
(cherry picked from commit d048a2c7f4)
2015-12-07 12:38:24 +05:30
Mark Andrews
507ffb566b bracket mismatch; window openssl version check 2015-12-06 23:10:31 +11:00
Evan Hunt
7504e5a982 [v9_9] fix dig +norrcomments
4272.	[bug]		dig: the +norrcomments option didn't work with +multi.
			[RT #41234]
2015-12-04 16:20:29 -08:00
Evan Hunt
036b9decf5 [v9_9] isc__taskmgr_pause() could deadlock
4271.	[test]		Unit tests could deadlock in isc__taskmgr_pause().
			[RT #41235]
2015-12-03 20:48:53 -08:00
Tinderbox User
da0669809b regen v9_9 2015-12-04 01:09:47 +00:00
Tinderbox User
8b2549eca8 update copyright notice / whitespace 2015-12-03 23:46:14 +00:00
Mark Andrews
47ef11c1b2 4270. [security] Update allowed OpenSSL versions as named is
potentially vulnerable to CVE-2015-3193.

(cherry picked from commit 10d7ab44cc)
2015-12-04 10:36:42 +11:00
Mark Andrews
22e8c09a00 update description
(cherry picked from commit 7bde79b32a)
2015-12-03 15:43:21 +11:00
Mark Andrews
f3896ba963 Add CVE-2015-8461
(cherry picked from commit ff2f98076c)
2015-12-03 15:33:06 +11:00
Mark Andrews
abc40b6330 update copyrights 2015-12-03 14:19:19 +11:00
Mark Andrews
585f8e4a74 change 4253 to security and add CVE
(cherry picked from commit 92cc6acdff)
2015-12-03 09:51:40 +11:00
Evan Hunt
487b2795a2 [v9_9] mention --enable-full-report in config summary output 2015-12-02 14:03:24 -08:00
Evan Hunt
626e00274f [v9_9] grammar 2015-12-02 00:07:32 -08:00
Mark Andrews
54d655f513 4266. [bug] The sdlz driver failed pass some errors back to the
caller. [RT #41142]
2015-12-02 13:17:19 +11:00
Mark Andrews
04a5a82333 4267. [test] Check sdlz error handling. [RT #41142]
(cherry picked from commit 26177be294)
2015-12-02 13:08:30 +11:00
Tinderbox User
651eecd42d update copyright notice / whitespace 2015-11-30 23:46:12 +00:00
Tinderbox User
51e89862c2 newcopyrights 2015-11-30 23:30:13 +00:00
Mukund Sivaraman
9b5f2aaade Mark performance CHANGES as such
(cherry picked from commit 35928b7e1a)
(cherry picked from commit 06df62fd7b)
2015-11-30 14:02:31 +05:30
Mark Andrews
372bc0c02e 4265. [bug] Address unchecked isc_mem_get calls. [RT #41187]
(cherry picked from commit 8e73941f33)
2015-11-30 10:30:11 +11:00
Tinderbox User
8b9eae483f update copyright notice / whitespace 2015-11-24 23:46:12 +00:00
Tinderbox User
22673f836c newcopyrights 2015-11-24 23:30:12 +00:00
Evan Hunt
771f458d49 [v9_9] update developer guide, expanding on comments and unit tests 2015-11-24 14:43:47 -08:00
Francis Dupont
5a4c81a16d Applied VS 2015 64 bit warning fixes (#40373) 2015-11-23 18:21:57 +01:00
Mark Andrews
f49d1544ab use isc_buffer_constinit
(cherry picked from commit 447591a49c)
2015-11-23 07:27:51 +11:00
Mark Andrews
ab4bfc7cd8 fix path for CHANGES.SE
(cherry picked from commit e948cf361c75ff0a64bb3365271efbbdaec740f3)
2015-11-21 12:23:09 +11:00
Tinderbox User
115deb9917 regen v9_9 2015-11-21 01:09:40 +00:00
Tinderbox User
28f860c226 update copyright notice / whitespace 2015-11-20 23:46:13 +00:00
Tinderbox User
1a0ee5dea1 newcopyrights 2015-11-20 23:30:13 +00:00
Mark Andrews
31085192d6 4264. [bug] Check const of strchr/strrchr assignments match
argument's const status. [RT #41150]

(cherry picked from commit 5b1c7ef35b)
2015-11-20 18:41:10 +11:00
Mark Andrews
a7f8c044ee spelling
(cherry picked from commit cbc660172d)
2015-11-20 14:55:54 +11:00
李昶
da024f69cc Cleanup in journal_open() correctly (#41129)
(cherry picked from commit 65f6e2f909)
(cherry picked from commit 264d7653dd)
2015-11-19 11:22:48 +05:30
Mukund Sivaraman
4452ce8b4f Fix bug in epoll_ctl() usage causing blocked connections (#41067)
(cherry picked from commit 7bc21557f3)
(cherry picked from commit dd2b5cf45b)
2015-11-19 11:09:22 +05:30
Tinderbox User
603bef1c44 regen v9_9 2015-11-18 01:09:42 +00:00
Mark Andrews
8735803562 note the address changes for H.ROOT-SERVERS.NET
(cherry picked from commit b57276f89e)
2015-11-18 11:09:24 +11:00
Tinderbox User
836da3bda8 update copyright notice / whitespace 2015-11-17 23:46:19 +00:00
Jeremy C. Reed
765e43f5b1 add simpara to some note tags
So generated "Note" header isn't on same line as content.

Also removed one place that said "Note" (so doesn't say
"Note Note").
2015-11-17 10:56:18 -05:00
Jeremy C. Reed
0a80e73ca3 remove errant word
a word is repeated in a sentence and didn't make sense as-is
so removed it
2015-11-17 10:50:36 -05:00
Jeremy C. Reed
36f0a36c78 get rid of the "See also fetch-glue" since is obsolete
This doesn't remove the description but don't have other
options refer to obsolete option.

No CHANGES entry since very minor.
2015-11-17 10:50:27 -05:00
Mark Andrews
eab11c6f0e add CVE-2015-8000 2015-11-17 15:30:12 +11:00
Evan Hunt
000165a414 [v9_9] typo 2015-11-16 18:21:59 -08:00
Mark Andrews
66915d0257 4261. [maint] H.ROOT-SERVERS.NET is 198.97.190.53 and 2001:500:1::53.
[RT #40556]

(cherry picked from commit 268c4e79c4)
2015-11-17 13:19:36 +11:00
Mark Andrews
f1a3a2dda7 api as of 9.9.8-P1 2015-11-17 12:49:00 +11:00
Tinderbox User
cf1ac058ae regen v9_9 2015-11-17 01:11:23 +00:00
Tinderbox User
6b8b2e5752 update copyright notice / whitespace 2015-11-16 23:46:12 +00:00
Tinderbox User
ef130908dd newcopyrights 2015-11-16 23:30:13 +00:00
Mark Andrews
5857144184 use *newrdatas rather than *oldrdatas in sizeof for consistency [RT #41131]
(cherry picked from commit a248b59381)
2015-11-17 06:29:49 +11:00
Mark Andrews
3cf5c97ae9 add dns_message_setclass
(cherry picked from commit 0d44dd6131)
2015-11-16 14:27:32 +11:00
Mark Andrews
9631d0769e 4260. [security] Insufficient testing when parsing a message allowed
records with an incorrect class to be be accepted,
                        triggering a REQUIRE failure when those records
                        were subsequently cached. (CVE-2015-8000) [RT #4098]

(cherry picked from commit c8821d124c)
2015-11-16 13:28:28 +11:00
Tinderbox User
b73a3c4491 update copyright notice / whitespace 2015-11-11 23:46:12 +00:00
Tinderbox User
6046556d60 newcopyrights 2015-11-11 23:30:14 +00:00
Mark Andrews
6c90a60a12 check ptr is not NULL
(cherry picked from commit 946e2cd351)
2015-11-11 22:34:40 +11:00
Mukund Sivaraman
b745d37107 Limit rndc query message sizes to 32 KiB (#41073)
(cherry picked from commit 9b17fd447c)
(cherry picked from commit 380eee242d)
2015-11-11 10:01:39 +05:30
Mark Andrews
1e43861d6c don't run {doc,man}clean for releaseinfo.xml and friend
(cherry picked from commit 1d83f85752)
2015-11-10 14:40:12 +11:00
Tinderbox User
4acf5216d7 update copyright notice / whitespace 2015-11-09 23:46:11 +00:00
Tinderbox User
23ccd6262b newcopyrights 2015-11-09 23:30:22 +00:00
Evan Hunt
7d984067ee [v9_9] fix python script versions
4257.	[cleanup]	Python scripts reported incorrect version. [RT #41080]
2015-11-08 21:41:04 -08:00
Tinderbox User
000afdc0fd update copyright notice / whitespace 2015-11-06 23:46:12 +00:00
Tinderbox User
09eb1bf5d8 newcopyrights 2015-11-06 23:30:13 +00:00
Evan Hunt
47a8327820 [v9_9] allow spaces in rndc arguments
4256.	[bug]		Allow rndc command arguments to be quoted so as
			to allow spaces. [RT #36665]

(cherry picked from commit b513918481)
(cherry picked from commit d1ce32ad70)
2015-11-05 21:42:27 -08:00
Mark Andrews
7124919ff3 4254. [bug] Address missing lock when getting zone's serial.
[RT #41072]

(cherry picked from commit 29868ebbe3)
2015-11-05 17:44:34 +11:00
Mark Andrews
65927e0eca 4253. [bug] Address fetch context reference count handling error
on socket error.  [RT#40945]

(cherry picked from commit 2f450fcd29)
2015-11-05 17:28:20 +11:00
Tinderbox User
1ece14f6e6 update copyright notice / whitespace 2015-10-29 23:46:33 +00:00
Tinderbox User
5e92868bd4 newcopyrights 2015-10-29 23:30:09 +00:00
Evan Hunt
74250ec617 [v9_9] typo 2015-10-29 15:54:56 -07:00
Mark Andrews
fcf31042f8 0xf5f5f5f5f5f5f5f5 is a LLU
(cherry picked from commit 7c38fa994b)
2015-10-30 08:13:53 +11:00
Mark Andrews
b087c53842 #ifdef ISC_PLATFORM_HAVEATOMICSTORE
(cherry picked from commit f75f9e1b62)
2015-10-30 07:07:05 +11:00
Evan Hunt
da7e65a6aa [v9_9] isc_atomic_storeq()/stats improvements
4248.	[func]		Add an isc_atomic_storeq() function, use it in
			stats counters to improve performance.
			[RT #39972] [RT #39979]
2015-10-28 22:22:04 -07:00
Mark Andrews
95d37b0a03 return dns_dbtable_add result on error [RT #40653]
(cherry picked from commit 1ff2118d6c)
2015-10-29 15:48:24 +11:00
Evan Hunt
8a28710e0c [v9_9] update README-SGML 2015-10-28 21:36:58 -07:00
Tinderbox User
a2b3a83f82 regen v9_9 2015-10-29 03:01:47 +00:00
Mark Andrews
73cf46fdad 4244. [bug] The parser was not reporting that use-ixfr is obsolete.
[RT #41010]
2015-10-29 12:53:56 +11:00
Tinderbox User
8cbf7ab243 regen v9_9 2015-10-22 05:58:58 +00:00
Mark Andrews
d1bf3f9e8f cleanup trailing whitespace 2015-10-22 16:26:06 +11:00
Mark Andrews
abe4242926 cleanup trailing white space in SGML like files 2015-10-22 16:11:37 +11:00
Tinderbox User
049a3d7388 regen v9_9 2015-10-20 01:11:13 +00:00
Tinderbox User
ef1750b4a3 update copyright notice / whitespace 2015-10-19 23:46:09 +00:00
Evan Hunt
eb82119fb3 [v9_9] update TSIG, TKEY, SIG(0) documentation
4241.	[doc]		Improved the TSIG, TKEY, and SIG(0) sections in
			the ARM. [RT #40955]
2015-10-19 08:57:02 -07:00
Mark Andrews
c43eabc241 fix changes
(cherry picked from commit 9d8169cbf8)
2015-10-19 12:28:11 +11:00
Mark Andrews
db5b6b7150 4340. [port] Fix LibreSSL compatibility. [RT #40977]
(cherry picked from commit f824c65d1f)
2015-10-19 10:46:43 +11:00
Tinderbox User
514488e7cf update copyright notice / whitespace 2015-10-15 23:46:07 +00:00
Tinderbox User
20bc08a7ec newcopyrights 2015-10-15 23:30:09 +00:00
Mark Andrews
b2cb638754 4238. [bug] Don't send to servers on net zero (0.0.0.0/8).
[RT #40947]

(cherry picked from commit 6588a2b404)
2015-10-16 08:07:58 +11:00
Tinderbox User
2922eb5078 regen v9_9 2015-10-15 01:15:48 +00:00
Evan Hunt
d92c22d393 [v9_9] remove unneeded xsl code, fix a link in ARM 2015-10-14 14:58:12 -07:00
Tinderbox User
69d2776907 regen v9_9 2015-10-13 01:10:59 +00:00
Evan Hunt
1d934788ab [v9_9] add link anchors to <section> tags 2015-10-12 13:02:03 -07:00
Tinderbox User
50f00fc386 regen v9_9 2015-10-07 04:17:56 +00:00
Mark Andrews
4995787320 use /usr/local/share/xsl/docbook-ns on freebsd 2015-10-07 15:05:21 +11:00
Mark Andrews
d46705d524 restore copyright notice 2015-10-07 12:55:14 +11:00
Tinderbox User
916eba060b regen v9_9 2015-10-07 01:14:42 +00:00
Tinderbox User
b88cd03904 update copyright notice / whitespace 2015-10-06 23:46:15 +00:00
Mark Andrews
824bb205cc update 2015-10-07 10:39:56 +11:00
Mark Andrews
0da5824b1b teach merge_copyrights about .sty, .pdf, and .eps
(cherry picked from commit f7a6d4f915)
2015-10-07 10:37:40 +11:00
Mark Andrews
f67969466f look for opening [
(cherry picked from commit d9156bba3e)
2015-10-06 19:40:33 +11:00
Mark Andrews
f014ce8ea4 handle <!ENTITY within <!DOCTYPE
(cherry picked from commit 3db767c98f)
2015-10-06 19:16:33 +11:00
Evan Hunt
22ebfe3741 [v9_9] fix copyright warnings 2015-10-05 23:15:16 -07:00
Evan Hunt
abe52fa827 [v9_9] put back headings 2015-10-05 22:53:44 -07:00
Tinderbox User
673a236ab1 regen v9_9 2015-10-06 05:51:07 +00:00
Tinderbox User
bbed6bdd52 regen v9_9 2015-10-06 05:34:39 +00:00
Evan Hunt
d6e0d893be [v9_9] upgrade doc toolchain
4237.	[doc]		Upgraded documentation toolchain to use DocBook 5
			and dblatex. [RT #40766]
2015-10-05 22:01:25 -07:00
Mukund Sivaraman
d295a92663 Add note about Windows (#40761)
(cherry picked from commit 31cca00bba)
(cherry picked from commit 0774c4c6f6)
2015-10-06 05:58:09 +05:30
Mukund Sivaraman
328ec79fe9 Update named manual page (#40761)
(cherry picked from commit 1a989c4322)
(cherry picked from commit 56a1cede21)
2015-10-06 05:52:43 +05:30
Mukund Sivaraman
d7f3a35b30 Fix notes and CHANGES for #40761
(cherry picked from commit 56ebb560a1)
(cherry picked from commit 450f4f0ef8)
2015-10-06 05:46:24 +05:30
Tinderbox User
1550e536f5 regen v9_9 2015-10-04 01:22:44 +00:00
Mukund Sivaraman
2f1b6c0ed7 Update the default value for number of UDP listeners (#40761)
(cherry picked from commit 930719e876)
(cherry picked from commit 4039647930)
2015-10-03 07:16:45 +05:30
Tinderbox User
35f57c5986 update copyright notice / whitespace 2015-10-01 23:46:28 +00:00
Tinderbox User
938c8017e1 newcopyrights 2015-10-01 23:30:10 +00:00
Mark Andrews
9bcd5b76a1 emit "E:TESTNAME:DATE" when we can't start a server
(cherry picked from commit 3ed714b961)
2015-10-01 16:50:50 +10:00
Mark Andrews
c4f318b6d9 fix CHANGES numbers
(cherry picked from commit 18749940ae)
2015-10-01 11:29:11 +10:00
Tinderbox User
add73e606f regen v9_9 2015-10-01 01:15:40 +00:00
Tinderbox User
9c50a149e8 update copyright notice / whitespace 2015-09-30 23:46:34 +00:00
Tinderbox User
59fb97f5df newcopyrights 2015-09-30 23:30:15 +00:00
Mark Andrews
eb5a75a73e spelling
(cherry picked from commit c7e5ba1d17)
2015-09-30 16:10:19 +10:00
Mark Andrews
5c6e1683d1 4232. [test] Add tests for CDS and CDNSKEY with delegation-only.
[RT #40597]

(cherry picked from commit 65d59a4307)
2015-09-30 16:01:12 +10:00
Mark Andrews
b75f4f4220 4231. [contrib] Address unchecked memory allocation calls in
query-loc and zone2ldap. [RT #40789]

(cherry picked from commit ffdd3bc812)
2015-09-30 15:48:51 +10:00
Mark Andrews
c3bba75c40 4229. [bug] A variable could be used uninitalised in
dns_update_signaturesinc. [RT #40784]

(cherry picked from commit 24231afa05)
2015-09-30 15:29:48 +10:00
Mark Andrews
4f5cd75d23 4228. [bug] Address race condition in dns_client_destroyrestrans.
[RT #40605]

(cherry picked from commit 8a0b6b3901)
2015-09-30 14:59:22 +10:00
Mark Andrews
3b8f8695af 4227. [bug] Silence static analysis warnings. [RT #40828
(cherry picked from commit 2a12984ce6)
2015-09-30 14:35:42 +10:00
Evan Hunt
20daed5087 [v9_9] document the spill category 2015-09-29 21:22:06 -07:00
Tinderbox User
325a2e2c32 regen v9_9 2015-09-30 03:56:38 +00:00
Mark Andrews
bc7dce5ceb split out logging-categories [RT #40844]
(cherry picked from commit 6c4f9b5cf6)
2015-09-30 13:27:51 +10:00
Mark Andrews
f86ee83432 address linking issues
(cherry picked from commit 1a0e5b0504)
2015-09-30 12:41:45 +10:00
Tinderbox User
f9325b5da3 update copyright notice / whitespace 2015-09-29 23:46:27 +00:00
Tinderbox User
dd179addd3 newcopyrights 2015-09-29 23:30:39 +00:00
Evan Hunt
1045e8f764 [v9_9] fix theoretical shutdown race
4226.	[bug]		Address a theoretical shutdown race in
			zone.c:notify_send_queue(). [RT #38958]
2015-09-29 15:27:40 -07:00
Mar Andrews
9c5282dd07 4225. [port] freebsd/openbsd: Use '${CC} -shared' for building
shared libraries. [RT #39557]

(cherry picked from commit 87e7d08a8b)
2015-09-30 01:58:42 +10:00
Mark Andrews
17747a8059 make macro name match category name
(cherry picked from commit 4d085258cc)
2015-09-29 15:05:53 +10:00
Tinderbox User
e05dcd57f5 newcopyrights 2015-09-28 23:30:16 +00:00
Mark Andrews
b21f98c192 Introduce end-of-line normalization 2015-09-29 08:27:48 +10:00
Mark Andrews
bac25ffe08 4221. [bug] Resource leak on DNS_R_NXDOMAIN in fctx_create.
[RT #40583]

(cherry picked from commit 8d80b4939d)
2015-09-25 09:19:43 +10:00
Tinderbox User
a28556f2ec newcopyrights 2015-09-23 23:30:12 +00:00
Mark Andrews
608b52e9f7 add S: T: and E: log lines
(cherry picked from commit 1cb514f56a)
2015-09-24 07:44:04 +10:00
Tinderbox User
17d2830ace regen v9_9 2015-09-23 01:13:39 +00:00
Tinderbox User
ad89136024 update copyright notice / whitespace 2015-09-22 23:46:07 +00:00
Tinderbox User
1ea4442cd4 newcopyrights 2015-09-22 23:30:17 +00:00
Evan Hunt
e30b7c5165 [v9_9] need id tag on refentry 2015-09-21 21:36:42 -07:00
Tinderbox User
8c2e88fffa regen v9_9 2015-09-22 01:14:48 +00:00
Tinderbox User
ddd0dd179c update copyright notice / whitespace 2015-09-21 23:46:09 +00:00
Tinderbox User
f86674f2b9 newcopyrights 2015-09-21 23:30:19 +00:00
Evan Hunt
a6b8f77c75 [v9_9] comment no longer needed 2015-09-21 13:18:03 -07:00
Evan Hunt
9cc50c0e15 [v9_9] named.conf and lwresd man pages missing from ARM 2015-09-21 13:15:34 -07:00
Jeremy C. Reed
283aa1864b fix typo 2015-09-21 11:14:18 -04:00
Jeremy C. Reed
f1fc17033e Improve docs for zone-statistics
This is for ticket #36955.
Improve grammar for zone-statistics to list new arguments.
Refer to the docs in the options section.
Clarify about stats may not show view name.
2015-09-21 11:09:57 -04:00
Mark Andrews
1460b2afe3 4219. [bug] Set event->result to ISC_R_WOULDBLOCK on EWOULDBLOCK,
EGAIN when these soft error are not retried for
                        isc_socket_send*().

(cherry picked from commit a21c415687)
2015-09-21 18:05:39 +10:00
Tinderbox User
0548dbd69b regen v9_9 2015-09-19 01:21:11 +00:00
Tinderbox User
2a074779d4 update copyright notice / whitespace 2015-09-18 23:46:09 +00:00
Tinderbox User
05f8c8c454 newcopyrights 2015-09-18 23:30:21 +00:00
Evan Hunt
b1ec9cd9a2 [v9_9] fix wire_test so it can read files with comment lines 2015-09-18 11:40:33 -07:00
Mark Andrews
80f453032b 4217. [protocol] Add support for CSYNC. [RT #40532]
(cherry picked from commit f6e45a5c54)
2015-09-18 23:54:33 +10:00
Mark Andrews
0ae238037c 4216. [cleanup] Silence static analysis warnings. [RT #40649]
(cherry picked from commit 705d56b47a)
2015-09-18 23:36:48 +10:00
Mark Andrews
dcaa892d40 document optional class
(cherry picked from commit 2592ee16b5)
2015-09-18 13:26:03 +10:00
Mark Andrews
18abce5e9c document that the syslog facility is optional
(cherry picked from commit 03fac9f931)
2015-09-18 13:15:40 +10:00
Tinderbox User
c2845e1c28 regen v9_9 2015-09-18 01:16:23 +00:00
Mark Andrews
f632ee7815 4215. [bug] nsupdate: skip to next request on GSSTKEY create
failure. [RT #40685]

(cherry picked from commit ff55c577ba)
2015-09-18 09:54:06 +10:00
Tinderbox User
1ececb23f4 update copyright notice / whitespace 2015-09-17 23:46:13 +00:00
Tinderbox User
22d2d2b052 newcopyrights 2015-09-17 23:30:21 +00:00
Mark Andrews
478070a3f2 4214. [protocol] Add support for TALINK. [RT #40544]
(cherry picked from commit e0a30050c8)
2015-09-18 07:46:29 +10:00
Evan Hunt
c6d2559e8a [v9_9] some options were in the wrong section of the ARM 2015-09-17 09:39:05 -07:00
Mark Andrews
4cbbeae1aa 4213. [bug] Don't reuse a cache across multiple classes.
[RT #40205]

(cherry picked from commit dd1bcab25c)
2015-09-17 14:53:45 +10:00
Mark Andrews
fd82172e14 address race condition in ecdsa system test leading to differing authority sections. [RT #40283]; no CHANGES entry.
(cherry picked from commit 1d5ebfc05f)
2015-09-17 14:24:19 +10:00
Mark Andrews
b50e4fe492 4210. [cleanup] Silence use after free false positive. [RT #40743]
(cherry picked from commit f43e5c8ed2)
2015-09-17 14:07:06 +10:00
Tinderbox User
2f82eb9011 regen v9_9 2015-09-17 01:17:29 +00:00
Mark Andrews
466e043c41 fix company name
(cherry picked from commit eb4de5324b)
2015-09-17 10:18:40 +10:00
Mark Andrews
c36c68c796 update util/copyrights 2015-09-17 09:41:58 +10:00
Mark Andrews
31d8f73ff9 4208. [bug] Address null pointer dereferences on out of memory.
[RT #40764]

(cherry picked from commit fe51e068f0)
2015-09-17 08:52:28 +10:00
Jeremy C. Reed
4e83c1c986 document zone "type" in the ARM
This is for ticket #39577
It only added two sentences so didn't update changelog.

This is derived from commit 7d2c4d1c9f
but v9_9 doesn't have in-view so don't mention that.
2015-09-16 10:59:10 -04:00
Mark Andrews
246cad50c6 4207. [bug] Handle class mismatches with raw zone files.
[RT #40746]

(cherry picked from commit 0f2ecf4b5c)
2015-09-16 10:44:32 +10:00
Evan Hunt
c045de62c2 [v9_9] add debian/ubuntu path for docbook-xsl to configure 2015-09-14 20:20:21 -07:00
Tinderbox User
c45ebf6131 update copyright notice / whitespace 2015-09-14 23:46:06 +00:00
Tinderbox User
affd5e4821 newcopyrights 2015-09-14 23:30:13 +00:00
Evan Hunt
a1021b8945 [v9_9] spurious spaces in named-checkconf -p
4205.	[bug]		'named-checkconf -p' could include unwanted spaces
			when printing tuples with unset optional fields.
			[RT #40731]
2015-09-14 08:53:25 -07:00
Tinderbox User
d5e0a33dd7 newcopyrights 2015-09-12 23:30:09 +00:00
Tinderbox User
7562b1091c regen v9_9 2015-09-12 01:21:01 +00:00
Tinderbox User
24f3539e13 update copyright notice / whitespace 2015-09-11 23:46:29 +00:00
Tinderbox User
bb242b553b newcopyrights 2015-09-11 23:30:20 +00:00
Mark Andrews
0ee0aafa30 4204. [bug] 'dig +trace' failed to lookup the correct type if
the initial root ns query was retried. [RT #40296]
`

(cherry picked from commit 295a711b72)
2015-09-12 09:08:18 +10:00
Jeremy C. Reed
411259a6f2 add docbook tag for dns64 suffix value
add missing docbook formatting.
Note the element is standard, but that can be fixed in bulk later.
2015-09-11 14:37:25 -04:00
Mark Andrews
3f08efe54a 4199. [protocol] Add support for NINFO, RKEY, SINK, TA.
[RT #40545] [RT #40547] [RT #40561] [RT #40563]

(cherry picked from commit f7ec0518c3270bd72887b23a209b83437e7a1473)
2015-09-11 17:32:43 +10:00
Evan Hunt
f4e2fb819d [v9_9] incorrect result code in isccc
4202.	[bug]		isccc_cc_fromwire() could return an incorrect
			result. [RT #40614]
2015-09-11 00:05:44 -07:00
Mark Andrews
33eddc9bc0 4201. [func] The default preferred-glue is now the address record
type of the transport the query was received
                        over.  [RT #40468]

(cherry picked from commit a0ef8211d3)
2015-09-11 13:28:31 +10:00
Mark Andrews
21094e3172 add dnssec-importkey.docbook 2015-09-11 13:09:12 +10:00
Mark Andrews
745319ff00 remove bind 9.10 files 2015-09-11 12:56:36 +10:00
Mark Andrews
0cfc7d124d 4200. [cleanup] win32: update BINDinstall to be BIND release
independent. [RT #38915]

(cherry picked from commit 3fa134363f)
2015-09-11 12:45:32 +10:00
Mark Andrews
ace52db014 add NINFO and RKEY
(cherry picked from commit 329073f6b8)
2015-09-11 11:41:31 +10:00
Tinderbox User
f000432d22 regen v9_9 2015-09-11 01:14:54 +00:00
Tinderbox User
86634ce4c2 update copyright notice / whitespace 2015-09-10 23:47:14 +00:00
Tinderbox User
34417c8569 newcopyrights 2015-09-10 23:30:39 +00:00
Jeremy C. Reed
91e9bc341e add missing space
noticed in manual review of the PDF
minor so wasn't reviewed

and fixed conflicts after cherry-pick
2015-09-10 10:38:02 -04:00
Mark Andrews
5b15652954 4199. [protocol] Add support for NINFO, RKEY, TA.
[RT #40545] [RT #40547] [RT #40563]

(cherry picked from commit 3dd63ba00f)
2015-09-10 18:12:32 +10:00
Mark Andrews
c6501326e7 4199. [protocol] Add support for NINFO, RKEY. [RT #40547] [RT #40563]
(cherry picked from commit 63874956de)
2015-09-10 17:08:48 +10:00
Mark Andrews
d4e6bcf663 4199. [protocol] Add support for RKEY. [RT #40563]
(cherry picked from commit 8b29fc0b7a)
2015-09-10 16:33:00 +10:00
Tinderbox User
3661041123 regen v9_9 2015-09-10 01:17:55 +00:00
Mark Andrews
52c7a8f10e update 2015-09-10 10:41:06 +10:00
Evan Hunt
2c5304a185 [v9_9] clean up dead code 2015-09-09 08:38:37 -07:00
Mark Andrews
7a20b1cfc4 address race condition rt40242
(cherry picked from commit 5be3128599)
2015-09-09 18:12:28 +10:00
Mark Andrews
1b92050394 4198. [doc] Add fetch-quota-params, fetches-per-server, and
fetches-per-zone to doc/misc/options. [RT #40601]

(cherry picked from commit 513f6f6ff5)
2015-09-09 18:05:43 +10:00
Mark Andrews
d5265dc115 4196. [doc] Improve how "enum + other" types are documented.
[RT #40608]

(cherry picked from commit 4ca7391e64)
2015-09-09 17:34:17 +10:00
Mark Andrews
428fd64aea 4194. [bug] named-checkconf -p failed to properly print a port
range.  [RT #40634]

(cherry picked from commit fbd9aaa58c)
2015-09-09 16:50:31 +10:00
Tinderbox User
2d6d4babba regenerate 2015-09-09 02:23:50 +00:00
Tinderbox User
6cc044a469 regen v9_9 2015-09-09 02:18:09 +00:00
Evan Hunt
87a864e304 [v9_9] prep 9.9.8 2015-09-08 18:34:28 -07:00
Tinderbox User
95b7b580f9 regen v9_9 2015-09-09 01:15:29 +00:00
Jeremy C. Reed
d4fb9cc433 fix grammar for keys to use key_id
This is for ticket #23009.
Remove statement about grammar too.
No CHANGES entry done.
Note that commit 176b2c47db wouldn't
cherry-pick cleanly due to changes on nearby lines.
2015-09-08 16:21:22 -04:00
Jeremy C. Reed
16f999c96b improve dnssec-enable and dnssec-validation documentation
This is for #37362
Okayed via jabber
No CHANGES entry
2015-09-08 16:02:21 -04:00
Tinderbox User
28281f4ed6 regen v9_9 2015-09-01 01:14:23 +00:00
Tinderbox User
bfa0e7feb8 update copyright notice / whitespace 2015-08-31 23:46:15 +00:00
Tinderbox User
bc3e856af7 newcopyrights 2015-08-31 23:30:09 +00:00
Jeremy C. Reed
7f5144a235 grammar 2015-08-31 12:53:38 -04:00
Mark Andrews
e9e1f34979 update list of supported types in the ARM 2015-08-31 15:19:46 +10:00
Tinderbox User
11b4537a1b regen v9_9 2015-08-28 01:15:10 +00:00
Tinderbox User
5d6c147d61 newcopyrights 2015-08-28 00:01:27 +00:00
Mark Andrews
724abe6d75 add support for .gitattributes
(cherry picked from commit 6376f61899)
2015-08-27 23:57:43 +00:00
Mark Andrews
c3563b72ca *.vcxproj.in should use CRLF as EOL 2015-08-27 22:00:44 +00:00
Evan Hunt
06ee49b9db [v9_9] fix incorrect bug ID 2015-08-27 10:23:05 -07:00
Evan Hunt
b12d98ac3a [v9_9] fix tag 2015-08-27 10:20:40 -07:00
Tinderbox User
fc6d414147 update copyright notice / whitespace 2015-08-26 23:46:10 +00:00
Tinderbox User
83e5fd71b7 newcopyrights 2015-08-26 23:30:12 +00:00
Curtis Blackburn
e87080cac3 removing .gitattributes file, to resolve issues with permanantly modified .vcxproj.in files in git 2.4 and up 2015-08-26 11:55:24 -07:00
Mark Andrews
b7a02c9e9b eol -> crlf 2015-08-26 12:42:08 +10:00
Tinderbox User
5ad0557d5b update copyright notice / whitespace 2015-08-25 23:46:19 +00:00
Tinderbox User
e0530006ee newcopyrights 2015-08-25 23:30:20 +00:00
Tinderbox User
73a3d1f8cf regenerate 2015-08-25 21:42:10 +00:00
Tinderbox User
015ce0e4ef regen v9_9 2015-08-25 20:52:17 +00:00
Evan Hunt
84b7eda6f1 [v9_9] relnotes 2015-08-25 13:36:37 -07:00
Evan Hunt
fa43390ed9 [v9_9] prep 9.9.8rc1 2015-08-25 11:22:50 -07:00
Mark Andrews
6c09fd0e6b 4193. [bug] Handle broken servers that return BADVERS incorrectly.
[RT #40427]
2015-08-25 16:55:19 +10:00
Mark Andrews
7d0a5cd8c9 4192. [bug] The default rrset-order of random was not always being
applied. [RT #40456]

(cherry picked from commit 9b956d342e)
2015-08-25 14:53:04 +10:00
Mark Andrews
79f23b271e 4191. [protocol] Accept DNS-SD non LDH PTR records in reverse zones
as per RFC 6763. [RT #37889]

(cherry picked from commit 5855fd79e3)
2015-08-25 14:46:41 +10:00
Mark Andrews
f921bb1806 check isc_buffer_allocate result 2015-08-23 19:43:25 +10:00
Tinderbox User
13d451f810 update copyright notice / whitespace 2015-08-22 23:46:11 +00:00
Tinderbox User
6958353346 newcopyrights 2015-08-22 23:30:16 +00:00
Mark Andrews
fea8a9d56b 4190. [protocol] Accept Active Diretory gc._msdcs.<forest> name as
valid with check-names.  <forest> still needs to be
                        LDH. [RT #40399]

(cherry picked from commit dc3912f3ca)
2015-08-22 15:28:16 +10:00
Mark Andrews
d7ef667588 4189. [cleanup] Don't exit on overly long tokens in named.conf.
[RT #40418]

(cherry picked from commit 7d0dfa63cf)
2015-08-22 15:08:56 +10:00
Tinderbox User
a9d52ddcf5 newcopyrights 2015-08-20 23:30:09 +00:00
Mark Andrews
79529b636b ignore *-symtbl.c
(cherry picked from commit 2c210d117e)
2015-08-20 14:06:27 +10:00
Mark Andrews
0986b57c10 ignore xmlstats 2015-08-20 14:01:18 +10:00
Mark Andrews
66882699d9 4188. [bug] Support HTTP/1.0 client properly on the statistics
channel. [RT #40261]

(cherry picked from commit 18ba804f3a)
2015-08-20 09:56:10 +10:00
Tinderbox User
d901205191 update copyright notice / whitespace 2015-08-18 23:46:14 +00:00
Tinderbox User
afdb3e3e43 newcopyrights 2015-08-18 23:30:35 +00:00
Mark Andrews
2726af6715 #include <isc/safe.h> 2015-08-19 05:35:09 +10:00
Mukund Sivaraman
e37f7fb8ce Use unknown format when totext() is not implemented for any RDATA (#40317)
(cherry picked from commit ec3dbae9eb)
(cherry picked from commit ff82214714)

Conflicts:
	CHANGES
2015-08-18 20:17:44 +05:30
Mark Andrews
0698d8b473 check for libxml2 2015-08-18 22:05:15 +10:00
Mark Andrews
88045c98ea Revert "#include <isc/safe.h>"
This reverts commit e901c42e9f.
2015-08-18 21:23:22 +10:00
Mark Andrews
e901c42e9f #include <isc/safe.h> 2015-08-18 19:43:19 +10:00
Mark Andrews
d610c75100 9.9 doesn't have isc_buffer_reserve 2015-08-18 19:41:35 +10:00
Evan Hunt
7517938e97 [v9_9] credit loganaden 2015-08-17 22:59:25 -07:00
Evan Hunt
ab4fc879d4 [v9_9] improve wire_test.c for large messages 2015-08-17 22:45:15 -07:00
Mark Andrews
06642559b7 add isc_safe_memequal and isc_safe_memcompare; remove isc_safe_memcmp
(cherry picked from commit 47d459ef43)
2015-08-18 12:25:43 +10:00
Evan Hunt
05d0d33cb8 [v9_9] timing safe memory comparisons
4183.	[cleanup]	Use timing-safe memory comparisons in cryptographic
			code. Also, the timing-safe comparison functions have
			been renamed to avoid possible confusion with
			memcmp(). [RT #40148]

(cherry picked from commit 420a43c8d8)
2015-08-17 18:31:11 -07:00
Mark Andrews
d4f07f0f01 use grep/awk rather than xmllint 2015-08-18 10:22:50 +10:00
Tinderbox User
c4e27dcf82 update copyright notice / whitespace 2015-08-17 23:46:29 +00:00
Tinderbox User
30b8cc6fd1 newcopyrights 2015-08-17 23:30:18 +00:00
Evan Hunt
b479d0f857 [v9_9] win32: vs2015 compliance 2015-08-17 11:37:00 -07:00
Mukund Sivaraman
09796fdd84 Use mnemonics for RR class and type comparisons (#40297)
(cherry picked from commit b0ba1a6059)
(cherry picked from commit 25747be3cb)
2015-08-17 12:29:02 +05:30
Mark Andrews
5c0836a295 4181. [bug] Queued notify messages could be dequeued from the
wrong rate limiter queue. [RT #40350]

(cherry picked from commit 70862302f8)
2015-08-17 10:38:40 +10:00
Tinderbox User
f37017d0f4 update copyright notice / whitespace 2015-08-16 23:46:35 +00:00
Tinderbox User
1e4a4ba727 newcopyrights 2015-08-16 23:30:18 +00:00
Mark Andrews
a8ac264163 address use after free error
(cherry picked from commit 6458ad3ab2)
2015-08-16 20:30:10 +10:00
Tinderbox User
e01f04d64f regen v9_9 2015-08-16 01:13:36 +00:00
Tinderbox User
ec356e8f98 newcopyrights 2015-08-15 23:30:18 +00:00
Evan Hunt
593fe634ce [v9_9] fix the o umlaut for HTML and TXT too 2015-08-14 19:58:21 -07:00
Tinderbox User
c8b1b9141e update copyright notice / whitespace 2015-08-14 23:46:19 +00:00
Tinderbox User
42562d7d50 newcopyrights 2015-08-14 23:30:28 +00:00
Mukund Sivaraman
4abc820714 Fix double frees in getaddrinfo() in libirs (#40209)
(cherry picked from commit d7262e5c86)
(cherry picked from commit cec7b98404)
2015-08-14 14:10:14 +05:30
Mukund Sivaraman
0ada9e238a Fix assertion failure in parsing UNSPEC(103) RR from text (#40274)
(cherry picked from commit 984d2bb9e5)
(cherry picked from commit 9a88ab054b)
2015-08-14 13:35:11 +05:30
Mukund Sivaraman
ee7ee1c4f7 Fix assertion failure in parsing NSAP records from text
(cherry picked from commit 474921d733)
(cherry picked from commit 9250173510)
2015-08-14 13:15:25 +05:30
Mark Andrews
1b52fc8df0 4176. [bug] Address race issues with lwresd. [RT #40284]
(cherry picked from commit 563878539a)
2015-08-14 15:48:22 +10:00
Evan Hunt
52537c8ce4 [v9_9] typo 2015-08-13 21:35:57 -07:00
Mark Andrews
c54ff771bd printmsg.[ch] are no more 2015-08-14 11:25:34 +10:00
Tinderbox User
0bdc6b5f60 regen v9_9 2015-08-14 01:12:38 +00:00
Tinderbox User
1820a3a14a update copyright notice / whitespace 2015-08-13 23:46:17 +00:00
Tinderbox User
be7b51c01f newcopyrights 2015-08-13 23:30:13 +00:00
Evan Hunt
0fd8edc3c7 [v9_9] add CVE number 2015-08-13 15:31:39 -07:00
Mark Andrews
84cfddb9d3 4175. [bug] TKEY with GSS-API keys needed bigger buffers.
[RT #40333]

(cherry picked from commit 9dc5ef7f24)
2015-08-14 08:25:59 +10:00
Tinderbox User
c85be0c8ec document omlaut
(cherry picked from commit f619a2035b)
2015-08-14 06:45:33 +10:00
Tinderbox User
4103379b9f support umlaut 'o'
(cherry picked from commit a73d9c0b4d)
2015-08-14 05:52:23 +10:00
Evan Hunt
9183f4d5fe [v9_9] better reporting of xml/json unavailability
- error if "configure --with-libxml2" but the library isn't available
2015-08-12 22:00:17 -07:00
Evan Hunt
08de7b3790 [v9_9] xml doesn't define &ouml; 2015-08-12 18:16:50 -07:00
Tinderbox User
26846a23ab update copyright notice / whitespace 2015-08-12 23:46:15 +00:00
Tinderbox User
7d69e898b7 newcopyrights 2015-08-12 23:30:21 +00:00
Evan Hunt
1605488758 [v9_9] handle time units in dnssec-coverage -r
4174.	[bug]		"dnssec-coverage -r" didn't handle time unit
			suffixes correctly. [RT #38444]
2015-08-12 12:21:20 -07:00
Mark Andrews
b009c5c389 4173. [bug] dig +sigchase was not properly matching the trusted
key. [RT #40188]

(cherry picked from commit efb028b6c8)
2015-08-12 19:12:24 +10:00
Mark Andrews
d9ce8a0667 4172. [bug] Named / named-checkconf didn't handle a view of CLASS0.
[RT #40265]

(cherry picked from commit 151f1bcd5e)
2015-08-12 19:06:41 +10:00
Evan Hunt
7d665f7666 [v9_9] fix tsig class checks
4171.	[bug]		Fixed incorrect class checks in TSIG RR
			implementation. [RT #40287]
2015-08-11 22:17:24 -07:00
Evan Hunt
75f4d49205 [v9_9] fix length check in OPENPGPKEY
4170.	[security]	An incorrect boundary check in the OPENPGPKEY
			rdatatype could trigger an assertion failure.
			[RT #40286]
2015-08-11 20:02:45 -07:00
Evan Hunt
171d830be4 [v9_9] use dns_message_totext() in wire_data 2015-08-10 20:51:51 -07:00
Evan Hunt
6a7a54bca0 [v9_9] use libdns functions to convert rcode and opcode to text 2015-08-10 20:29:01 -07:00
Mark Andrews
c8c6367023 address len being shadowed
(cherry picked from commit f260e3a188)
2015-08-11 13:00:29 +10:00
Tinderbox User
376a0b66a9 update copyright notice / whitespace 2015-08-10 23:46:11 +00:00
Tinderbox User
493aedaa32 newcopyrights 2015-08-10 23:30:19 +00:00
Evan Hunt
3b56383dde [v9_9] add a "wire_test -d" option to read raw binary data
4169.	[test]		Added a 'wire_test -d' option to read input as
			raw binary data, for use as a fuzzing harness.
			[RT #40312]
2015-08-10 14:45:05 -07:00
Tinderbox User
2efa02bae5 regen v9_9 2015-08-08 01:17:32 +00:00
Tinderbox User
cd80053809 update copyright notice / whitespace 2015-08-07 23:46:19 +00:00
Tinderbox User
78deb16548 newcopyrights 2015-08-07 23:30:12 +00:00
Evan Hunt
0d83784a75 [v9_9] address buffer accounting error
4168.	[security]	A buffer accounting error could trigger an
			assertion failure when parsing certain malformed
			DNSSEC keys. (CVE-2015-5722) [RT #40212]

(cherry picked from commit ce9f893e21)
2015-08-07 13:22:40 -07:00
Tinderbox User
c0fef5552a regen v9_9 2015-08-07 01:15:03 +00:00
Evan Hunt
7a4e4c17a3 [v9_9] remove spurious "None" 2015-08-06 14:17:05 -07:00
Evan Hunt
f30ac9e0f1 [v9_9] revert incorrect 'correction' 2015-08-05 12:15:44 -07:00
Evan Hunt
eca0e613de [v9_9] fix an awk portability issue 2015-08-03 14:22:15 -07:00
Evan Hunt
de476c9f4d [v9_9] add fetchlimit to README 2015-08-03 12:54:01 -07:00
Tinderbox User
1c74d995a4 update copyright notice / whitespace 2015-08-02 23:46:06 +00:00
Tinderbox User
068d11cce4 newcopyrights 2015-08-02 23:30:14 +00:00
Evan Hunt
f73bed07b5 [v9_9] reduce code duplication 2015-08-02 12:21:14 -07:00
Tinderbox User
0cd1091ce6 regen v9_9 2015-08-01 01:16:11 +00:00
Tinderbox User
6278caf810 update copyright notice / whitespace 2015-07-31 23:46:18 +00:00
Tinderbox User
486fe7c856 newcopyrights 2015-07-31 23:30:13 +00:00
Evan Hunt
77a4a1bf02 [v9_9] use 7 character short hash for srcid 2015-07-31 14:11:08 -07:00
Evan Hunt
c61fd79b0a [v9_9] corrected relnotes -- assertion in name.c not message.c 2015-07-31 12:03:49 -07:00
Mukund Sivaraman
4df82d6ab8 Remove missing symbols (Windows) 2015-07-31 20:33:06 +05:30
Mukund Sivaraman
5cfbc228ca Bump api versions for 9.9.8b1 2015-07-31 19:42:23 +05:30
Tinderbox User
7e8a691744 regenerate 2015-07-31 14:02:36 +00:00
Tinderbox User
e846218545 regen v9_9 2015-07-31 13:31:50 +00:00
Mukund Sivaraman
bb641f8e3a Bump version to 9.9.8b1 and update CHANGES 2015-07-31 18:57:34 +05:30
Mukund Sivaraman
d6ef589b99 Fix win32 build (UNUSED is present later)
(cherry picked from commit 63dcc28d3e)
2015-07-31 15:01:20 +05:30
Tinderbox User
06325cd2e2 regen v9_9 2015-07-24 01:12:20 +00:00
Mark Andrews
9115ff0255 whitespace 2015-07-23 19:52:25 +10:00
Tinderbox User
ff710362d9 regen v9_9 2015-07-21 01:12:42 +00:00
Evan Hunt
9ff2198baf [v9_9] add missing doc section on max-recursion-{depth,queries} 2015-07-20 15:30:26 -07:00
Tinderbox User
059561425f regen v9_9 2015-07-15 01:12:12 +00:00
Mark Andrews
3fa6d28ea3 add CVE-2015-5477 2015-07-15 08:01:11 +10:00
Mark Andrews
21a25c7db0 change tag to security
(cherry picked from commit 13c55f6a60)
2015-07-15 07:31:11 +10:00
Evan Hunt
b15d0b7839 [v9_9] spelling 2015-07-14 00:38:02 -07:00
Mark Andrews
5dc3a1c3d3 4165. [bug] An failure to reset a value to NULL in tkey.c could
result in an assertion failure. (CVE-2015-5477)
                        [RT #40046]

(cherry picked from commit dbb064aa79)
2015-07-14 14:49:21 +10:00
Tinderbox User
cc1a709402 update copyright notice / whitespace 2015-07-13 23:46:09 +00:00
Tinderbox User
667eacc86b newcopyrights 2015-07-13 23:30:13 +00:00
Mark Andrews
82b6caf613 4164. [bug] Don't rename slave files and journals on out of memory.
[RT #40033]

4163.   [bug]           Address compiler warnings. [RT #40024]

(cherry picked from commit 3a49d0ff10)
2015-07-13 09:49:09 +10:00
Mark Andrews
e0fd534cdd 4162. [bug] httpdmgr->flags was not being initialized. [RT #40017]
(cherry picked from commit 0bc743f9bc)
2015-07-10 18:44:16 +10:00
Tinderbox User
aa1535671f regen v9_9 2015-07-10 01:12:20 +00:00
Tinderbox User
835eaef8e3 update copyright notice / whitespace 2015-07-09 23:46:11 +00:00
Tinderbox User
dd9c682869 newcopyrights 2015-07-09 23:31:19 +00:00
Evan Hunt
400f206788 [v9_9] fix build error with ISC_MEM_TRACKLINES=0 2015-07-09 14:24:29 -07:00
Evan Hunt
c1009e506a [v9_9] add missing functions 2015-07-09 00:04:25 -07:00
Evan Hunt
ea36796f82 [v9_9] DDoS mitigation features
3938.	[func]		Added quotas to be used in recursive resolvers
			that are under high query load for names in zones
			whose authoritative servers are nonresponsive or
			are experiencing a denial of service attack.

			- "fetches-per-server" limits the number of
			  simultaneous queries that can be sent to any
			  single authoritative server.  The configured
			  value is a starting point; it is automatically
			  adjusted downward if the server is partially or
			  completely non-responsive. The algorithm used to
			  adjust the quota can be configured via the
			  "fetch-quota-params" option.
			- "fetches-per-zone" limits the number of
			  simultaneous queries that can be sent for names
			  within a single domain.  (Note: Unlike
			  "fetches-per-server", this value is not
			  self-tuning.)
			- New stats counters have been added to count
			  queries spilled due to these quotas.

			These options are not available by default;
			use "configure --enable-fetchlimit" (or
			--enable-developer) to include them in the build.

			See the ARM for details of these options. [RT #37125]
2015-07-08 23:00:58 -07:00
Mark Andrews
1ffb96f3dd add comment about +trace and @server
(cherry picked from commit 2561b2dd84)
2015-07-09 12:12:38 +10:00
Tinderbox User
363cc9876a regen v9_9 2015-07-08 01:12:11 +00:00
Mark Andrews
2f01090351 4159. [cleanup] Alphabetize dig's help output. [RT #39966] 2015-07-08 09:56:48 +10:00
Tinderbox User
d23960eb33 update copyright notice / whitespace 2015-07-07 23:46:10 +00:00
Tinderbox User
d552198cc6 newcopyrights 2015-07-07 23:30:12 +00:00
Mark Andrews
bb53e1de90 remove extranious ) 2015-07-07 20:49:19 +10:00
Mark Andrews
8f40aae418 restore 9.9 style output 2015-07-07 18:09:06 +10:00
Mark Andrews
61299de7c3 unknown family is now a error 2015-07-07 17:55:15 +10:00
Mark Andrews
5e137ea841 add EXPIRE 2015-07-07 15:52:34 +10:00
Mark Andrews
5e210b5fe5 4158. [protocol] Support the printing of EDNS COOKIE options.
[RT #39928]
2015-07-07 15:49:36 +10:00
Mark Andrews
3918cc69da update 2015-07-07 10:31:53 +10:00
Mark Andrews
f5386a21a8 4154. [bug] A OPT record should be included with the FORMERR
response when there is a malformed EDNS option.
                        [RT #39647]

4153.   [bug]           Check that non significant ECS bits are zero on
                        receipt. [RT #39647]
2015-07-06 16:34:48 +10:00
Tinderbox User
2043cb5835 update copyright notice / whitespace 2015-07-03 23:46:09 +00:00
Tinderbox User
802baac834 newcopyrights 2015-07-03 23:30:16 +00:00
Mark Andrews
83028bc232 4151. [bug] 'rndc flush' could cause a deadlock. [RT #39835] 2015-07-03 10:17:57 +10:00
Mark Andrews
09c55d9237 remove bin/tests/system/statistics/prereq.sh 2015-07-02 11:09:39 +10:00
Tinderbox User
c75c73b598 update copyright notice / whitespace 2015-07-01 23:46:06 +00:00
Tinderbox User
32d6a56a57 newcopyrights 2015-07-01 23:30:10 +00:00
Mark Andrews
0a4dd766f6 4150. [bug] win32: listen-on-v6 { any; }; was not working. Apply
minimal fix.  [RT #39667]

(cherry picked from commit 753b27a7d3)
2015-07-01 11:52:17 +10:00
Mark Andrews
d19dfe8793 make test work for both old and new stats 2015-07-01 10:58:59 +10:00
Tinderbox User
2a77c900b6 update copyright notice / whitespace 2015-06-30 23:46:07 +00:00
Tinderbox User
00a577090c newcopyrights 2015-06-30 23:30:20 +00:00
Mukund Sivaraman
eb2c433d1f Add prereq.sh check for --enable-newstats 2015-06-30 14:45:27 +05:30
Mukund Sivaraman
d927c02041 Fix build for configure --enable-newstats 2015-06-30 14:45:26 +05:30
Mukund Sivaraman
fc0797977d Fix a bug printing zone names with '/' character in XML and JSON stats (#39873)
(cherry picked from commit 08f0129732)

Conflicts:
	bin/tests/system/statistics/clean.sh

(cherry picked from commit f69f188b90)

Conflicts:
	bin/named/statschannel.c
	bin/tests/system/statistics/clean.sh
	bin/tests/system/statistics/ns1/named.conf
	bin/tests/system/statistics/tests.sh

Conflicts:
	CHANGES
2015-06-30 14:45:13 +05:30
Tinderbox User
8780da5841 update copyright notice / whitespace 2015-06-29 23:46:07 +00:00
Tinderbox User
a9e1bd06b8 newcopyrights 2015-06-29 23:30:13 +00:00
Mukund Sivaraman
ad0a9403c3 Fix race in getaddrinfo() in libirs (#39873)
(cherry picked from commit c44c77178e)
(cherry picked from commit 6141f501d9)

Conflicts:
	CHANGES
2015-06-29 19:51:23 +05:30
Mark Andrews
6f02a4e2a6 4147. [bug] Filter-aaaa / filter-aaaa-on-v4 / filter-aaaa-on-v6
was returning referrals rather than nodata responses
                        when the AAAA records were filtered.  [RT #39843]

(cherry picked from commit 4a61eae651)
2015-06-29 15:49:19 +10:00
Mark Andrews
1ef6de05cd 4146. [bug] Address reference leak that could prevent a clean
shutdown. [RT #37125]

(cherry picked from commit adbf81335b)
2015-06-25 18:36:58 +10:00
Mark Andrews
f02f4ce874 4145. [bug] Not all unassociated adb entries where being printed.
[RT #37125]

(cherry picked from commit 2f66e2dd81)
2015-06-25 18:28:14 +10:00
Tinderbox User
e12e9426c1 regen v9_9 2015-06-25 01:12:23 +00:00
Mark Andrews
07ab217f7f 4143. [bug] serial-query-rate was not effective for notify.
[RT #39858]

(cherry picked from commit be4b9178f0)
2015-06-24 20:55:30 +10:00
Tinderbox User
2f74d016c6 update copyright notice / whitespace 2015-06-23 23:46:05 +00:00
Tinderbox User
0bb01b2dc0 newcopyrights 2015-06-23 23:30:14 +00:00
Mukund Sivaraman
22f467116c Fix parsing of NZFs saved by rndc addzone with view specified (#39845)
(cherry picked from commit 0439bfedd9)

Conflicts:
	bin/named/server.c
	bin/tests/system/addzone/tests.sh

(cherry picked from commit 8134e7662e)

Conflicts:
	CHANGES
2015-06-23 15:01:26 +05:30
Mukund Sivaraman
734c2fd9fc Tweak CHANGES to match style
(cherry picked from commit 71931ab6b3)

Conflicts:
	CHANGES

(cherry picked from commit 62c6267220)

Conflicts:
	CHANGES
2015-06-23 13:50:14 +05:30
Tinderbox User
e2e9af23ac regen v9_9 2015-06-19 01:12:51 +00:00
Mark Andrews
cef5a9fe72 don't use C++ keyword new; use (const char *) for output of strchr((const char *), char)
(cherry picked from commit d4422ec231)
2015-06-18 11:16:20 +10:00
Tinderbox User
483bfb9692 newcopyrights 2015-06-17 23:30:06 +00:00
Mark Andrews
80d7a03384 address merge error 2015-06-18 07:54:33 +10:00
Mukund Sivaraman
e6b7e545b5 Add comma
(cherry picked from commit f4d1c19691)
(cherry picked from commit f38cbc4cc9)
2015-06-17 12:26:40 +05:30
Mark Andrews
0bf16e3d36 add release notes for CVE-2015-4620
(cherry picked from commit 572e95f52a)
2015-06-17 11:22:03 +10:00
Mark Andrews
64c2a6bf0a grammar 2015-06-17 10:04:23 +10:00
Mark Andrews
60c101120e 4138. [bug] A uninitialized value in validator.c could result
in a assertion failure. (CVE-2015-4620) [RT #39795]

(cherry picked from commit a85c6b35af)
(cherry picked from commit f7d53a6f3b)
2015-06-17 09:18:27 +10:00
Tinderbox User
6cd76847a1 update copyright notice / whitespace 2015-06-12 23:46:19 +00:00
Tinderbox User
eb78a1e722 newcopyrights 2015-06-12 23:30:14 +00:00
Witold Krecicki
ece6e87818 rndc reconfig reports configuration errors the same way rndc reload does [RT #39635] 2015-06-12 11:13:36 +02:00
Tinderbox User
ed2fcdc27f regen v9_9 2015-06-06 01:17:24 +00:00
Mark Andrews
1aeff7e839 update rpz doc as per rt39703 2015-06-05 11:18:20 +10:00
Tinderbox User
ceed6cbf1a regen v9_9 2015-06-05 01:12:25 +00:00
Mark Andrews
18dd646c3e update comment as per rt39703 2015-06-05 11:08:27 +10:00
Evan Hunt
b2d3001654 [v9_9] dig option cleanups
4132.	[cleanup]	dig: added +rd as a synonym for +recurse,
			added +class as an unabbreviated alternative
			to +cl. [RT #39686]
2015-06-04 08:56:11 -07:00
Mark Andrews
0abb12c694 unlock T4_mx
(cherry picked from commit b704d25ff3)
2015-05-30 17:54:59 +10:00
Mark Andrews
a72248d413 silence coverity warnings
(cherry picked from commit e0fea0bf85)
2015-05-30 17:45:18 +10:00
Mark Andrews
c303b3a033 add INSIST to silence coverity
(cherry picked from commit 03089dd420)
2015-05-30 17:37:42 +10:00
Tinderbox User
007cc2f36f regen v9_9 2015-05-29 01:12:09 +00:00
Tinderbox User
11884ddefe Merge branch 'v9_9' of ssh://repo.isc.org/proj/git/prod/bind9 into v9_9 2015-05-29 01:08:49 +00:00
Tinderbox User
2a71b08491 update copyright notice / whitespace 2015-05-28 23:46:13 +00:00
Tinderbox User
14b169888a newcopyrights 2015-05-28 23:30:12 +00:00
Mark Andrews
263cbd6fa1 4130. [bug] The compatability shim for *printf() misprinted some
large numbers. [RT #39586]

(cherry picked from commit 38c19e5779)
2015-05-29 07:25:31 +10:00
Mark Andrews
f86443709f fix typo 2015-05-28 18:35:01 +10:00
Mark Andrews
03d6a43845 fix merge error 2015-05-28 16:31:35 +10:00
Mark Andrews
4adbc24505 4129. [port] Address API changes in OpenSSL 1.1.0. [RT #39532]
(cherry picked from commit 8bb630c751)
2015-05-28 14:41:59 +10:00
Mark Andrews
fe8790e6c9 update 2015-05-28 14:27:59 +10:00
Mark Andrews
8167dedf5e Handle git commit -mifdef BIND9 case 2015-05-28 14:07:56 +10:00
Mark Andrews
263a38f27b Revert "link against ISC_OPENSSL_LIBS"
This is not needed for 9.9.x.

This reverts commit 6035a1c215.
2015-05-28 13:57:01 +10:00
Mark Andrews
64b34aee39 4128. [bug] Address issues raised by Coverity 7.6. [RT #39537]
(cherry picked from commit e53e202ef3)
2015-05-28 13:26:19 +10:00
Tinderbox User
baecf74879 regen v9_9 2015-05-28 01:12:04 +00:00
Mark Andrews
6035a1c215 link against ISC_OPENSSL_LIBS
(cherry picked from commit 52a487f71a)
2015-05-28 11:11:34 +10:00
Tinderbox User
118ba5c7f3 update copyright notice / whitespace 2015-05-27 23:46:14 +00:00
Mark Andrews
f302a82da9 add dns_zone_cdscheck
(cherry picked from commit e7b7ede003)
2015-05-27 16:18:44 +10:00
Mark Andrews
f381cb86da 4127. [protocol] CDS and CDNSKEY need to be signed by the key signing
key as per RFC 7344, Section 4.1. [RT #37215]

(cherry picked from commit 598b502695)
2015-05-27 15:45:46 +10:00
Tinderbox User
15203066d1 update copyright notice / whitespace 2015-05-24 23:46:09 +00:00
Tinderbox User
74da13cf67 newcopyrights 2015-05-24 23:30:15 +00:00
Mark Andrews
a5df8b2945 use unsigned constants
(cherry picked from commit 5af7557757)
2015-05-24 12:54:40 +10:00
Mark Andrews
68791000c4 don't include <isc/print.h>
(cherry picked from commit cb9b145f39)
2015-05-24 12:53:48 +10:00
Tinderbox User
a644e40d6c update copyright notice / whitespace 2015-05-23 23:47:21 +00:00
Tinderbox User
75fb8a59bb newcopyrights 2015-05-23 23:30:14 +00:00
Mark Andrews
50a4326d7b #undef before #define
(cherry picked from commit 503f0b324a)
2015-05-24 06:05:26 +10:00
Mark Andrews
b63d350995 specfiy where libisc is
(cherry picked from commit c907e7b512e88b641595d514790e2b41575f149e)
2015-05-24 06:02:53 +10:00
Mark Andrews
29913f5c1a link against ISCLIBS
(cherry picked from commit e6e7de5cda)
2015-05-24 05:43:07 +10:00
Francis Dupont
c97747f92b finished print.h stuff 2015-05-23 16:29:54 +02:00
Francis Dupont
ad047f128b updated copyrights 2015-05-23 16:10:02 +02:00
Francis Dupont
5627414c1e added print.h includes 2015-05-23 15:40:05 +02:00
Tinderbox User
52781ed043 update copyright notice / whitespace 2015-05-22 23:46:12 +00:00
Tinderbox User
9145eef4c0 newcopyrights 2015-05-22 23:30:20 +00:00
Mark Andrews
fcac756e85 all of NEED*PRINT are needed if %z is not supported
(cherry picked from commit 7507c1826f)
2015-05-22 22:14:07 +10:00
Mark Andrews
03e0f9f78c add print.o/print.c forn ISC_PLATFORM_NEEDPRINTF abd ISC_PLATFORM_NEEDFPRINTF
(cherry picked from commit 83a938d0f9)
2015-05-22 13:32:59 +10:00
Mark Andrews
13c3d180d2 unconditionally include stdio.h
(cherry picked from commit 22909ca827)
2015-05-22 10:09:02 +10:00
Tinderbox User
dabbf1436e update copyright notice / whitespace 2015-05-21 23:46:24 +00:00
Tinderbox User
78e8908fd5 newcopyrights 2015-05-21 23:30:16 +00:00
Mark Andrews
349dc6a6d3 exclude isc_print_printf and isc_print_fprintf 2015-05-22 08:23:14 +10:00
Evan Hunt
c65022d938 [v9_9] add %z format options to printf
4123.	[port]		Added %z (size_t) format options to the portable
			internal printf/sprintf implementation. [RT #39586]

(cherry picked from commit cadf8d687b)
2015-05-21 14:56:40 -07:00
Tinderbox User
d8794b1e3a update copyright notice / whitespace 2015-05-19 23:46:12 +00:00
Tinderbox User
ff2f0372e4 newcopyrights 2015-05-19 23:30:18 +00:00
Mark Andrews
7eb6f597ff 4118. [bug] Teach isc-config.sh about irs. [RT #39213]
(cherry picked from commit d9a0f1bea7)
2015-05-19 12:43:50 +10:00
Mark Andrews
aec5c211a9 4117. [protocol] Add EMPTY.AS112.ARPA as per RFC 7534.
(cherry picked from commit 8f20f6c9d7)
2015-05-15 08:23:43 +10:00
Tinderbox User
8eb77bc70b update copyright notice / whitespace 2015-05-11 23:46:10 +00:00
Tinderbox User
b210fe3c81 newcopyrights 2015-05-11 23:30:15 +00:00
Mark Andrews
51a82fe30d update variable name to better reflect reality 2015-05-11 13:41:13 +10:00
Mark Andrews
20890f61bf use dns_opcode_t
(cherry picked from commit 844b568182)
2015-05-11 12:17:50 +10:00
Tinderbox User
b1c33f6dca update copyright notice / whitespace 2015-05-05 23:46:11 +00:00
Tinderbox User
8ecae68618 newcopyrights 2015-05-05 23:30:12 +00:00
Evan Hunt
9f12734de6 [v9_9] Allow some tests to run partially if Net::DNS is unavailable 2015-05-05 08:33:43 -07:00
Tinderbox User
985cabe465 regen v9_9 2015-05-05 01:12:43 +00:00
Tinderbox User
61f5647c9e update copyright notice / whitespace 2015-05-04 23:46:10 +00:00
Tinderbox User
591a4d3978 newcopyrights 2015-05-04 23:30:17 +00:00
Mark Andrews
d283e45d85 whitespace 2015-05-05 08:30:49 +10:00
Mark Andrews
e2a68a396d 4111. [doc] Alphabetize rndc man page. [RT #39360] 2015-05-05 08:20:49 +10:00
Evan Hunt
31584685f2 [v9_9] check for Net::DNS
4113.	[test]		Check for Net::DNS is some system test
			prerequisites. [RT #39369]
2015-05-04 12:52:44 -07:00
Evan Hunt
a25f1b3cf5 [v9_9] fix root-delegation-only without exclude
4112.	[bug]		Named failed to load when "root-delegation-only"
			was used without a list of domains to exclude.
			[RT #39380]
2015-05-04 12:46:11 -07:00
Tinderbox User
9bd61f393f update copyright notice / whitespace 2015-04-28 23:46:12 +00:00
Tinderbox User
b09ed12fbe newcopyrights 2015-04-28 23:30:12 +00:00
Mark Andrews
fdb83d87d6 4110. [bug] Address memory leaks / null pointer dereferences
on out of memory. [RT #39310]

(cherry picked from commit b292230ab8)
2015-04-29 03:37:25 +10:00
Tinderbox User
7dc09dd9ab regen v9_9 2015-04-25 01:16:00 +00:00
Tinderbox User
1a22cdc2b1 update copyright notice / whitespace 2015-04-24 23:46:17 +00:00
Tinderbox User
8ebe060763 newcopyrights 2015-04-24 23:30:06 +00:00
Mark Andrews
63cab783fa 4109. [port] linux: support reading the local port range from
net.ipv4.ip_local_port_range. [RT # 39379]
2015-04-25 08:28:17 +10:00
Mark Andrews
a146e6c683 4107. [bug] Address potential deadlock when updating zone content.
[RT #39269]

(cherry picked from commit ef0e674456)
2015-04-18 13:45:36 +10:00
Tinderbox User
fc78ea1f10 update copyright notice / whitespace 2015-04-17 23:46:14 +00:00
Tinderbox User
595db6d2cd newcopyrights 2015-04-17 23:30:10 +00:00
Evan Hunt
3f050b6930 [v9_9] improve readline support
4106.	[port]		Improve readline support. [RT #38938]
2015-04-17 15:32:58 -07:00
Evan Hunt
7faa1a7221 [v9_9] misc x64 VS 2015 CTP fixes [#39308]
(cherry picked from commit ab973ec40c)
(cherry picked from commit 0fdcf394cb)
2015-04-17 15:32:41 -07:00
Mark Andrews
5abfe27109 don't set rdh_ttl in init_rdataset
(cherry picked from commit def6608a44)
2015-04-17 23:50:36 +10:00
Mark Andrews
397ae92d8e dns_updatemethod_none is not appropriate for 9.10
(cherry picked from commit 6a905abeff)
2015-04-17 15:46:32 +10:00
Mark Andrews
bcca7135a8 active is not a element 2015-04-17 14:30:51 +10:00
Mark Andrews
6433ff7b93 4104. [bug] Address uninitialized elements. [RT #39252]
(cherry picked from commit f1a261ba2d)
2015-04-17 14:09:00 +10:00
Francis Dupont
88460e9cfc fixed test == bugs for PYTHON 2015-04-17 05:04:05 +02:00
Mark Andrews
8ad183c694 use awk for line count rather that wc -l which may space pad
(cherry picked from commit e834b30f7c)
2015-04-16 12:18:22 +10:00
Tinderbox User
8fae5f5da8 regen v9_9 2015-04-16 01:12:15 +00:00
Tinderbox User
25b8dd84c9 update copyright notice / whitespace 2015-04-15 23:46:11 +00:00
Tinderbox User
213b14041b newcopyrights 2015-04-15 23:30:11 +00:00
Evan Hunt
8d1941a8ce [v9_9] use after free in resquery_destroy()
4102.	[bug]		Fix a use after free bug introduced in change
			#4094.  [RT #39281]
2015-04-15 15:39:03 -07:00
Evan Hunt
ef6df1745c [v9_9] fix +split with dig +short
4101.	[bug]		dig: the +split option didn't work with +short.
			[RT #39291]
2015-04-15 10:09:01 -07:00
Mark Andrews
0251c08693 4100. [bug] Inherited owernames on the line immediately following
a $INCLUDE were not working.  [RT #39268]

(cherry picked from commit c855e7170a)
2015-04-15 12:52:43 +10:00
Mark Andrews
61f5aaa50e 4099. [port] clang: make unknown commandline options hard errors
when determining what options are supported.
                        [RT #39273]

(cherry picked from commit e840f92bfb)
2015-04-15 12:40:26 +10:00
Mark Andrews
caf9636770 4098. [bug] Address use-after-free issue when using a
predecessor key with dnssec-settime. [RT #39272]

(cherry picked from commit bc8f82492d)
2015-04-15 12:34:27 +10:00
Tinderbox User
645e5b2460 update copyright notice / whitespace 2015-04-14 23:46:08 +00:00
Tinderbox User
be1d4a14af newcopyrights 2015-04-14 23:30:12 +00:00
Mukund Sivaraman
182a53d7dd Add additional logging about xfrin transfer status (#39170)
(cherry picked from commit ac31adc3b7)
(cherry picked from commit 6065cb0858)
2015-04-14 12:24:14 +05:30
Mukund Sivaraman
9087397f01 Don't use query->sendevent after it's been destroyed (#39132)
(cherry picked from commit 2c4d5faf7f)
(cherry picked from commit 7f2b905c81)

Conflicts:
	CHANGES
2015-04-13 15:08:40 +05:30
Tinderbox User
4ef68de38f regen v9_9 2015-04-09 01:12:30 +00:00
Evan Hunt
df3550ef06 [v9_9] hold a reference on fetch context during query
4094.	[bug]		A race during shutdown or reconfiguration could
			cause an assertion in mem.c. [RT #38979]

(cherry picked from commit 2cfe85e6ee33ec97102b6e2e80c86f827bba8594)
(cherry picked from commit 4426003759850ebef210abd2fa339b57ddda3355)
2015-04-08 13:54:05 -07:00
Tinderbox User
84e03d24a4 regen v9_9 2015-04-07 01:12:29 +00:00
Evan Hunt
65feddc176 [v9_9] minor doc fixes 2015-04-06 13:48:54 -07:00
Tinderbox User
a64367f9cf sync 2015-04-03 01:08:50 +00:00
Tinderbox User
eb2c19a22e update copyright notice / whitespace 2015-03-27 23:46:09 +00:00
Tinderbox User
716b59587b newcopyrights 2015-03-27 23:30:15 +00:00
Mukund Sivaraman
ea42d94d51 Some cleanups in isc mem code (#38896)
(cherry picked from commit fba894c98b)
(cherry picked from commit 8bf3c4972b)
2015-03-28 00:06:57 +05:30
Mukund Sivaraman
c04823752a Fix a crash while parsing malformed CAA RRs in presentation format (#39003)
(cherry picked from commit f9f81abff0)
(cherry picked from commit ffc5d17ea8)
2015-03-27 10:34:50 +05:30
Tinderbox User
372cfb50ad newcopyrights 2015-03-25 23:30:10 +00:00
Evan Hunt
239636b76e [v9_9] updated contrib/README 2015-03-25 13:12:32 -05:00
Mukund Sivaraman
0b9f3a195d Send notifies immediately for slave zones during startup (#38843)
(cherry picked from commit 9a7532f836)
(cherry picked from commit 76d6b3c544)
2015-03-25 13:03:56 +05:30
Tinderbox User
b76eafbbe3 update copyright notice / whitespace 2015-03-23 23:46:06 +00:00
Tinderbox User
bbc1041b56 newcopyrights 2015-03-23 23:30:11 +00:00
Mark Andrews
5b5eb259ed @ISC_OPENSSL_INC@ needs to not be by itself
(cherry picked from commit a5885354413d503105521b7bf4cd603927f81814)
2015-03-24 07:54:40 +11:00
Evan Hunt
c497f6ee4d [v9_9] fixed build errors with libressl
4088.	[port]		Fixed errors when building with libressl. [RT #38899]
2015-03-23 13:35:47 -05:00
Mukund Sivaraman
972cbafea3 Fix a crash due to use-after-free (#38495)
(cherry picked from commit ebeb4b3e09)
(cherry picked from commit ac1ccdd323)

Conflicts:
	CHANGES
2015-03-18 06:44:17 +05:30
Francis Dupont
a4598f0df5 update VS last version 2015-03-14 15:51:00 +01:00
Evan Hunt
5c7c93660e [v9_9] fix CHANGES numbers 2015-03-09 18:49:02 -07:00
Tinderbox User
86f0823d2b update copyright notice / whitespace 2015-03-09 23:46:06 +00:00
Tinderbox User
f0cb3985cc newcopyrights 2015-03-09 23:30:07 +00:00
Francis Dupont
a1140f15ca Added stat.h which is used by file.h 2015-03-09 16:01:23 +01:00
Mark Andrews
fa4e26234c 4095. [bug] ISC_PLATFORM_HAVEXADDQ could be inconsistently set.
[RT #38828]

(cherry picked from commit 77b179cbbe)
2015-03-09 23:07:55 +11:00
Mukund Sivaraman
416c182380 Fix a possible race in updating stats counters (#38826)
and do some other isc mem cleanups.

(cherry picked from commit 24f2cc7d06)

Conflicts:
	CHANGES

(cherry picked from commit 26406f9997)

Conflicts:
	lib/isc/mem.c
2015-03-09 11:13:50 +05:30
Mukund Sivaraman
99d84ecd2a Fix -Wshadow warnings (#38762)
These happen due to ntohs()/htons() macro expansion in glibc.

(cherry picked from commit f5a62d97e3)
(cherry picked from commit c203b9040a)
2015-03-09 09:41:13 +05:30
Tinderbox User
fa669e2cdd regen v9_9 2015-03-05 01:11:42 +00:00
Mark Andrews
983259ad48 add missing defs 2015-03-05 10:47:01 +11:00
Tinderbox User
124e64db5e update copyright notice / whitespace 2015-03-04 23:46:08 +00:00
Tinderbox User
65bb7ea125 newcopyrights 2015-03-04 23:30:08 +00:00
Mark Andrews
263413c7a7 4082. [bug] Incrementally sign large inline zone deltas.
[RT #37927]

(cherry picked from commit 1b05d22789)
2015-03-05 10:08:11 +11:00
Francis Dupont
8d47120f7d updated OpenSSL PKCS#11 engine patches 2015-03-04 15:19:32 +01:00
Mark Andrews
006fd71e36 use unique query names 2015-03-04 17:12:47 +11:00
Tinderbox User
2477b2ba0f update copyright notice / whitespace 2015-03-03 23:46:07 +00:00
Tinderbox User
988f8ddb41 newcopyrights 2015-03-03 23:30:11 +00:00
Mark Andrews
1c33552240 4081. [cleanup] Use dns_rdatalist_init consistently. [RT #38759]
(cherry picked from commit 29d52c001f)
(cherry picked from commit a55c3151b2)
2015-03-03 16:52:02 +11:00
Tinderbox User
343238f666 regen v9_9 2015-03-03 01:13:07 +00:00
Tinderbox User
f7b9f247b3 update copyright notice / whitespace 2015-03-02 23:46:08 +00:00
Tinderbox User
0c529bc2e7 newcopyrights 2015-03-02 23:30:09 +00:00
Mark Andrews
7578e855f0 add copyright 2015-03-03 10:11:24 +11:00
Mukund Sivaraman
02d78b09a0 Add support for Valgrind's helgrind tool (#38706)
Also fix one locking issue that helgrind found: Maintain stats->lock
while stats->reference is used.

(cherry picked from commit 10dd5f62f2)
2015-03-02 13:45:01 +05:30
Mukund Sivaraman
5d9f7fcf62 Update win32 configure for --enable-querytrace (#37520)
Also enable querytrace when --enable-developer is specified.

(cherry picked from commit 84f95ddb25)
(cherry picked from commit 5ec24730f9)

Conflicts:
	config.h.win32
	win32utils/Configure
2015-03-02 13:01:19 +05:30
Tinderbox User
16fdaa39cc update copyright notice / whitespace 2015-03-01 23:46:02 +00:00
Mark Andrews
2644de0f6c merge copyrights 2015-03-02 10:15:19 +11:00
Tinderbox User
194f099f30 regen v9_9 2015-02-28 01:12:33 +00:00
Tinderbox User
5b862e53bf Merge branch 'v9_9' of ssh://repo.isc.org/proj/git/prod/bind9 into v9_9 2015-02-28 01:09:10 +00:00
Evan Hunt
9fc649c969 [v9_9] include dso.h when testing DSO_METHOD_dlfcn 2015-02-27 09:06:36 -08:00
Mark Andrews
ff26fbe9f6 add $DESCRIPTION 2015-02-28 00:08:25 +11:00
Mark Andrews
389d4e47c1 fix version tests
(cherry picked from commit 326b84f20e)
2015-02-27 17:02:24 +11:00
Mark Andrews
5105b58cb8 4077. [test] Add static-stub regression test for DS NXDOMAIN
return making the static stub disappear. [RT #38564]

(cherry picked from commit be9720ae2c)
(cherry picked from commit f0d388e561)
2015-02-27 12:48:30 +11:00
Mark Andrews
f16ab01da5 4076. [bug] Named could crash on shutdown with outstanding
reload / reconfig events. [RT #38622]

(cherry picked from commit bb5df338d9)
2015-02-27 12:36:08 +11:00
Mark Andrews
36b67292b3 4075. [bug] Increase nsupdate's input buffer to accomodate
very large RRs. [RT #38689]
2015-02-27 12:26:58 +11:00
Mark Andrews
96d8c8e0af add semicolon 2015-02-27 11:27:01 +11:00
Mark Andrews
237afce3d9 add isrunning 2015-02-27 11:21:08 +11:00
Mark Andrews
fc07bc787f 4074. [cleanup] Cleaned up more warnings from gcc -Wshadow. [RT #38708]
(cherry picked from commit af669cb4fd)

Conflicts:
	bin/named/client.c
	lib/dns/request.c
	lib/dns/view.c

(cherry picked from commit 374fce8495)

Conflicts:
	bin/named/statschannel.c
	lib/dns/rbtdb.c
	lib/dns/request.c
	lib/dns/resolver.c
	lib/isc/unix/file.c
2015-02-27 11:05:33 +11:00
Tinderbox User
15dce01ef4 update copyright notice / whitespace 2015-02-26 23:46:12 +00:00
Tinderbox User
65f2397936 newcopyrights 2015-02-26 23:30:13 +00:00
Evan Hunt
fa01c77ac6 [v9_9] version cleanup
4073.	[cleanup]	Add libjson-c version number reporting to
			"named -V"; normalize version number formatting.
			[RT #38056]
2015-02-26 12:12:31 -08:00
Evan Hunt
a12d972925 [v9_9] incorrect RT # 2015-02-26 10:49:17 -08:00
Evan Hunt
83548f55da [v9_9] clear out the relnotes from 9.9.7 2015-02-26 10:37:45 -08:00
Mukund Sivaraman
e62afa3177 Add a --enable-querytrace configure switch for very verbose query tracelogging (#37520)
(cherry picked from commit 1783676a64)
(cherry picked from commit b83c20df65)

Conflicts:
	CHANGES
	config.h.in
	configure
	configure.in
2015-02-26 17:04:18 +05:30
Mukund Sivaraman
1040bbb55a Fix a segfault when running nslookup (#38548)
(cherry picked from commit db93c0def5)
(cherry picked from commit 9b56539c01)

Conflicts:
	lib/isc/app_api.c
	lib/isc/win32/libisc.def.in
2015-02-26 14:33:19 +05:30
Evan Hunt
3a77b9658c [v9_9] fix merge glitch 2015-02-25 21:18:52 -08:00
Evan Hunt
eb984e5339 [v9_9] minor python3 portability fix 2015-02-25 17:12:27 -08:00
Tinderbox User
4d65fd02e6 regen v9_9 2015-02-26 01:11:50 +00:00
Evan Hunt
c5b280c686 [v9_9] reorganize nsupdate man page
4069.	[doc]		Reorganize options in the nsupdate man page.
                        [RT #38516]

(cherry picked from commit ca6e60cb70)
2015-02-25 17:09:36 -08:00
Evan Hunt
7e64c7630c [v9_9] reduce rrl logging noise
4067.	[cleanup]	Reduce noise from RRL when query logging is
			disabled. [RT #38648]

(cherry picked from commit 8378b0c190)
2015-02-25 16:45:07 -08:00
Evan Hunt
1122ee94b9 [v9_9] reorganize options in dig man page
4066.	[doc]		Reorganize options in the dig man page. [RT #38516]

(cherry picked from commit 53ae008f27)
(cherry picked from commit 29fc775372)
2015-02-25 16:39:31 -08:00
Evan Hunt
3cad633f0d [v9_9] Add facility to run system test nameds under Valgrind (#38546) 2015-02-25 16:27:50 -08:00
Evan Hunt
feb6b8efd3 [v9_9] dnssec-keyset.sh
4064.	[contrib]	dnssec-keyset.sh: Generates a specified number
			of DNSSEC keys with timing set to implement a
			pre-publication key rollover strategy. Thanks
			to Jeffry A. Spain. [RT #38459]

(cherry picked from commit 177e523c48)
(cherry picked from commit 9a8e6aaeec)
2015-02-25 16:18:01 -08:00
Evan Hunt
14926c3403 [v9_9] fix LOADPENDING issues
4063.	[bug]		Asynchronous zone loads were not handled
			correctly when the zone load was already in
			progress; this could trigger a crash in zt.c.
			[RT #37573]

(cherry picked from commit 7acc2f2156)
(cherry picked from commit 62fd632bcb)
2015-02-25 16:12:34 -08:00
Evan Hunt
ec856a0ed6 [v9_9] add better servfail logging
3937.	[func]		Added some debug logging to better indicate the
			conditions causing SERVFAILs when resolving.
			[RT #35538]

(cherry picked from commit f5c24a7f48)
(cherry picked from commit 09a87d841f)
2015-02-25 16:05:45 -08:00
Evan Hunt
f430aca158 [v9_9] set mkeytimers from #defines 2015-02-23 21:11:07 -08:00
Mark Andrews
907a003690 merge copyrights 2015-02-23 08:07:35 +11:00
Evan Hunt
83f9359dde [v9_9] report library version numbers on win32 2015-02-20 23:30:33 -08:00
Mark Andrews
0878951d71 used unsigned zero
(cherry picked from commit 072ce62d23)
2015-02-19 15:42:50 +11:00
Tinderbox User
e6b067d20e update copyright notice / whitespace 2015-02-18 23:46:12 +00:00
Tinderbox User
6a051bef79 newcopyrights 2015-02-18 23:30:13 +00:00
Mukund Sivaraman
76a3ca378c RPZ: Don't diff keys out of bounds, found via Valgrind (#38559)
(cherry picked from commit 73639a33fa)

Conflicts:
	CHANGES
	lib/dns/rpz.c
2015-02-18 12:57:28 +05:30
Tinderbox User
e87fa9ae0f regenerate 2015-02-18 01:56:06 +00:00
Tinderbox User
889ba84460 regen v9_9 2015-02-18 01:43:34 +00:00
Evan Hunt
baf4fd7a81 [v9_9] prep 9.9.7 2015-02-17 17:11:56 -08:00
Evan Hunt
8b2b8f4e73 [v9_9] edit CHANGES note 2015-02-17 08:50:27 -08:00
Tinderbox User
73250aacb6 update copyright notice / whitespace 2015-02-12 23:46:08 +00:00
Tinderbox User
8e9fed8716 newcopyrights 2015-02-12 23:30:19 +00:00
Evan Hunt
4e47ec42a8 [v9_9] spelling 2015-02-12 14:56:18 -08:00
Evan Hunt
0a6000c3ac [v9_9] fixed testing problems with bdbhtp DLZ module 2015-02-12 10:25:23 -08:00
Mukund Sivaraman
fe865bb8ff Remove canary code from hash destroy function (#38602)
This triggers a Valgrind out-of-bounds read report. It was introduced by
commit 5d7849ad7f.

No CHANGES entry necessary as it doesn't have any user-visible or
behavioral change. It removes an out-of-bounds read issue that went
undetected when allocated through isc_mem as the memory was present.
The memory read was compared to itself, so it has no behavioral change.

(cherry picked from commit ffc393dd18)
2015-02-12 18:19:33 +05:30
Mark Andrews
b90130d4e7 ignore dig's result when expecting 'connection timed out'
(cherry picked from commit 82c6bce26a)
2015-02-12 13:45:04 +11:00
Tinderbox User
9a7e7654c5 update copyright notice / whitespace 2015-02-11 23:46:17 +00:00
Tinderbox User
fc3a03c7e0 newcopyrights 2015-02-11 23:30:12 +00:00
Evan Hunt
d7e11eb2d3 [v9_9] typo 2015-02-10 22:45:15 -08:00
Mark Andrews
93e687366d spelling 2015-02-11 16:59:44 +11:00
Mark Andrews
db2d24ec06 4061. [bug] Handle timeout in legacy system test. [RT #38573]
(cherry picked from commit 2ff2145ff5)
2015-02-11 16:54:54 +11:00
Mark Andrews
31cdad2c40 4060. [bug] dns_rdata_freestruct could be call on a uninitialised
structure when handling a error. [RT #38568]

(cherry picked from commit f4102ab13e)
2015-02-11 16:51:25 +11:00
Mark Andrews
f31f3bf055 add CVE-2015-1349 2015-02-11 16:39:56 +11:00
Evan Hunt
52a4a34e83 [v9_9] missing external 2015-02-10 18:26:00 -08:00
Evan Hunt
25e41bb8f5 [v9_9] oops, win32 data exports work differently now 2015-02-10 17:27:52 -08:00
Evan Hunt
28de7317a5 [v9_9] export dns_zone_mkey_{month,day,hour} 2015-02-10 17:00:51 -08:00
Tinderbox User
4fa09b7fe8 regenerate 2015-02-11 00:05:50 +00:00
Tinderbox User
f5dd3f2aa7 regen v9_9 2015-02-11 00:04:21 +00:00
Tinderbox User
ae051b2f18 update copyright notice / whitespace 2015-02-10 23:46:11 +00:00
Tinderbox User
25b4785ed6 newcopyrights 2015-02-10 23:30:11 +00:00
Evan Hunt
f6e085baa6 [v9_9] prep 9.9.7rc2 2015-02-10 15:16:27 -08:00
Evan Hunt
adf9e1c676 [v9_9] silence RPZ log messages
4050.	[cleanup]	Silence occasional spurious "duplicate query" log
			messages from RPZ. [RT #38510]
2015-02-10 15:03:05 -08:00
Evan Hunt
0d6547c706 [v9_9] address valgrind warnings
4059.	[bug]		Addressed valgrind warnings. [RT #38549]
2015-02-10 14:04:13 -08:00
Evan Hunt
e42b98f0a9 [v9_9] fix PRNG selection in dispatch.c
4058.	[bug]		UDP dispatches could use the wrong psuedorandom
			number generator context. [RT #38578]
2015-02-10 13:55:21 -08:00
Evan Hunt
9aa4fc8758 [v9_9] cleanup 2015-02-10 13:50:13 -08:00
Evan Hunt
c3c201cf15 [v9_9] fix "initialize with revoked key" test 2015-02-10 13:46:45 -08:00
Evan Hunt
efe260cc94 [v9_9] 5011 fixes
4056.	[bug]		Fixed several small bugs in automatic trust anchor
			management, including a memory leak and a possible
			loss of key state information. [RT #38458]
2015-02-10 13:12:55 -08:00
Mark Andrews
4d7243f152 4057. [bug] 'dnssec-dsfromkey -T 0' failed to add ttl field.
[RT #38565]

(cherry picked from commit e785f9c1c7)
2015-02-06 17:03:01 +11:00
Tinderbox User
9563c89a47 regen v9_9 2015-02-06 01:11:44 +00:00
Evan Hunt
c6e7641aa7 [v9_9] avoid crash due to managed-key rollover
4053.	[security]	Revoking a managed trust anchor and supplying
			an untrusted replacement could cause named
			to crash with an assertion failure.
			(CVE-2015-1349) [RT #38344]
2015-02-03 18:26:14 -08:00
Tinderbox User
59faed1fed regen v9_9 2015-02-04 01:11:39 +00:00
Mukund Sivaraman
5194055c08 Fix notes.xml for v9_9 (#38454) 2015-02-03 22:35:35 +05:30
Mukund Sivaraman
61c5a7f241 Update notes.xml for #38454
(cherry picked from commit e3e783a0e9)
2015-02-03 12:09:52 +05:30
Mukund Sivaraman
015371d584 Fix a leak of query fetchlock (#38454)
4052.	[bug]		Fix a leak of query fetchlock. [RT #38454]

Conflicts:
	CHANGES
2015-02-03 11:54:16 +05:30
Tinderbox User
b9f235969d update copyright notice / whitespace 2015-01-30 23:46:04 +00:00
Tinderbox User
9914098dcc newcopyrights 2015-01-30 23:30:10 +00:00
Mark Andrews
89c24debae 4049. [bug] CDS and CDNSKEY had the wrong attributes. [RT #38491]
(cherry picked from commit e77ef50a57)
2015-01-30 21:49:34 +11:00
Tinderbox User
1502ae0be7 update copyright notice / whitespace 2015-01-29 23:47:14 +00:00
Tinderbox User
94e001bca6 newcopyrights 2015-01-29 23:30:09 +00:00
Mark Andrews
8318b90adf copy COPYRIGHT and OpenSSL Licence to Build\Release 2015-01-29 14:36:50 +11:00
Mark Andrews
b8658b5b2e 4048. [bug] adb hash table was not being grown. [RT #38470]
(cherry picked from commit 4b36b9c1ff)
2015-01-29 11:53:06 +11:00
Tinderbox User
1e590ad71b regenerate 2015-01-26 19:13:48 +00:00
Tinderbox User
38358d3511 regen v9_9 2015-01-23 01:11:53 +00:00
Tinderbox User
1e43fee9ea newcopyrights 2015-01-22 23:30:18 +00:00
Evan Hunt
54ce28a692 [v9_9] fixed library version reporting
- forgot to include a CHANGES note
- disabled on windows (it fails to link)
2015-01-22 11:18:55 -08:00
Tinderbox User
ccf0156f17 regenerate 2015-01-22 18:40:36 +00:00
Evan Hunt
9ea29ff2ab [v9_9] prep 9.9.7rc1 2015-01-22 10:35:27 -08:00
Evan Hunt
1974b7b42d [v9_9] fix 'total use' accounting
4046.   [bug]           Accounting of "total use" in memory context
                        statistics was not correct. [RT #38370]
2015-01-22 09:53:44 -08:00
Evan Hunt
f560e081dc [v9_9] silence warning 2015-01-22 09:09:12 -08:00
Mark Andrews
769f36bc5f 4045. [bug] Skip to next master on dns_request_createvia4 failure.
[RT #25185]

(cherry picked from commit 875574f1e4)
2015-01-22 15:57:22 +11:00
Tinderbox User
c4a7cdde61 regen v9_9 2015-01-22 01:11:48 +00:00
Tinderbox User
ec2d41db1e update copyright notice / whitespace 2015-01-21 23:46:16 +00:00
Evan Hunt
4ae994bce8 [v9_9] typos 2015-01-21 15:42:30 -08:00
Mark Andrews
29879c1942 4044. [bug] Change 3955 was not complete resulting is a assertion
failure is the timing was just right. [RT #38352]

(cherry picked from commit 17dc146c7c)
2015-01-22 10:39:36 +11:00
Tinderbox User
94e3777033 newcopyrights 2015-01-21 23:30:10 +00:00
Evan Hunt
363950d7d9 [v9_9] oops, semicolons were still wrong 2015-01-21 11:43:14 -08:00
Evan Hunt
fb91b437f1 [v9_9] reformat response-policy grammar
There was an overly long line that ran off the end of the
page in the PDF; also missing semicolons and close brace.
2015-01-21 11:17:23 -08:00
Mark Andrews
3c7fdfbf1f 4042. [bug] zone.c:iszonesecure was being called too late.
[RT #38371]

(cherry picked from commit 22e3e00ac9)
2015-01-21 13:19:43 +11:00
Tinderbox User
9cbd625449 update copyright notice / whitespace 2015-01-20 23:47:26 +00:00
Evan Hunt
1105bc65fb [v9_9] more windows VS14 compatibility work
(completes change #3987)
2015-01-20 15:46:25 -08:00
Tinderbox User
bd7279ef52 newcopyrights 2015-01-20 23:30:28 +00:00
Evan Hunt
57f015bd2a [v9_9] clean up gcc -Wshadow warnings
4039.	[cleanup]	Cleaned up warnings from gcc -Wshadow. [RT #37381]
2015-01-20 14:55:41 -08:00
Mark Andrews
398a63d660 4038. [bug] Add 'rpz' flag to node and use it to determine whether
to call dns_rpz_delete.  This should prevent unbalanced
                        add / delete calls. [RT #36888

(cherry picked from commit cc0a48a381)
2015-01-20 17:48:51 +11:00
Mark Andrews
7305bf2f5e 4037. [bug] also-notify was ignoring the tsig key when checking
for duplicates resulting in some expected notify
                        messages not being sent. [RT #38369]

(cherry picked from commit f8eb4e5bfd)
2015-01-20 16:46:25 +11:00
Evan Hunt
89f60705ee [v9_9] remove a potentially misleading log message 2015-01-19 20:15:28 -08:00
Mukund Sivaraman
ece19205b7 Close FILEs before overwriting NZF file (#38332)
Based on a patch sent in by Tony Finch <dot@dotat.at>.

(cherry picked from commit 1721fb782c)

Conflicts:
	CHANGES
	bin/named/server.c
2015-01-16 15:41:15 +05:30
Tinderbox User
a36c06520a update copyright notice / whitespace 2015-01-14 23:46:09 +00:00
Tinderbox User
ed14ccc1f9 newcopyrights 2015-01-14 23:30:11 +00:00
Tony Finch
60b42fedca doc: ignore and clean up isc-notes-html.xsl
(cherry picked from commit eb4221895f)

Conflicts:
	doc/xsl/.gitignore

(cherry picked from commit 94f84083e4)
2015-01-14 17:28:26 +05:30
Tinderbox User
b7b15824e2 regen v9_9 2015-01-14 01:11:52 +00:00
Tinderbox User
78e84c080c update copyright notice / whitespace 2015-01-13 23:46:06 +00:00
Tinderbox User
cd08faaeb2 newcopyrights 2015-01-13 23:30:11 +00:00
Evan Hunt
d585b1d664 [v9_9] document default DNSKEY TTL
- see RT #38268
2015-01-13 09:55:27 -08:00
Tinderbox User
70cc592543 newcopyrights 2015-01-12 23:30:24 +00:00
Tinderbox User
7dd8da542e regen v9_9 2015-01-12 03:48:47 +00:00
Tinderbox User
4a11087ee5 regen v9_9 2015-01-11 01:12:41 +00:00
Tinderbox User
f9db30be50 update copyright notice / whitespace 2015-01-10 23:46:13 +00:00
Tinderbox User
c9fd8d7f83 newcopyrights 2015-01-10 23:30:06 +00:00
Mark Andrews
15738c0888 4032. [bug] Built-in "empty" zones did not correctly inherit the
"allow-transfer" ACL from the options or view.
                        [RT #38310]

(cherry picked from commit 7952156995)
2015-01-10 22:04:32 +11:00
Evan Hunt
09ea1d9dde [v9_9] clarify change note further 2015-01-10 00:25:48 -08:00
Evan Hunt
7b1767cc76 [v9_9] backport gperftools
3973.	[test]		Added hooks for Google Performance Tools
			CPU profiler, including real-time/wall-clock
			profiling. [RT #37339]
2015-01-10 00:19:19 -08:00
Tinderbox User
da81925d7c newcopyrights 2015-01-09 23:30:06 +00:00
Tinderbox User
09385af6f4 regen v9_9 2015-01-09 01:12:24 +00:00
Tinderbox User
7e35cef570 update copyright notice / whitespace 2015-01-08 23:46:12 +00:00
Tinderbox User
f5ed831985 newcopyrights 2015-01-08 23:30:15 +00:00
Mark Andrews
94124ad484 4031. [bug] named-checkconf -z failed to report a missing file
with a hint zone. [RT #38294]

(cherry picked from commit d1f1f13c7f)
2015-01-08 19:20:31 +11:00
Evan Hunt
265ad0d3e4 [v9_9] clean up release note stylesheets 2015-01-07 17:29:37 -08:00
Tinderbox User
a3346b1efa update copyright notice / whitespace 2015-01-06 23:46:10 +00:00
Tinderbox User
e1d355261a newcopyrights 2015-01-06 23:30:20 +00:00
Tinderbox User
e69cd48cdd regen v9_9 2015-01-06 01:11:35 +00:00
Mark Andrews
f199e8dd80 4028. [bug] $GENERATE with a zero step was not being caught as a
error.  A $GENERATE with a / but no step was not being
                        caught as a error. [RT #38262]

(cherry picked from commit b0c18fffd3)
2015-01-06 11:33:38 +11:00
Tinderbox User
c9ddf8d4b1 update copyright notice / whitespace 2015-01-05 23:46:08 +00:00
Tinderbox User
2003c8b734 newcopyrights 2015-01-05 23:30:05 +00:00
Evan Hunt
ad3a2247f6 [v9_9] suppress table of contents in notes.html and notes.pdf 2015-01-05 14:31:57 -08:00
Mark Andrews
cda1b964f2 remove old openssl patches 2015-01-03 11:13:02 +11:00
Tinderbox User
cf839cab4d newcopyrights 2015-01-02 23:30:22 +00:00
Francis Dupont
84e3441610 update OpenSSL 1.0.1 patch 2015-01-02 16:08:24 +01:00
Francis Dupont
04625d6eb0 update OpenSSL 1.0.0 patch 2015-01-02 15:29:08 +01:00
Francis Dupont
57171e61d2 update OpenSSL 0.9.8 patch 2015-01-02 15:01:47 +01:00
Tinderbox User
4627104234 update copyright notice / whitespace 2015-01-01 23:46:08 +00:00
Tinderbox User
8b005dbf8a newcopyrights 2015-01-01 23:30:07 +00:00
Mark Andrews
0ff0521870 use gmtime
(cherry picked from commit c7b785510e)
2015-01-01 10:03:01 +11:00
Mark Andrews
6858dd3598 mkd comments are not quite sgml comments
(cherry picked from commit e2653c8e84)
2015-01-01 09:12:09 +11:00
Mark Andrews
443329888d add MKD
(cherry picked from commit 18483fce5b)
2015-01-01 09:12:07 +11:00
Evan Hunt
c77ea52df6 [v9_9] add style and developer guide source 2014-12-31 12:51:17 -08:00
Tinderbox User
c4e46bc409 update copyright notice / whitespace 2014-12-30 23:47:09 +00:00
Tinderbox User
2df0b63fb2 newcopyrights 2014-12-30 23:30:33 +00:00
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
cvs2git
3a926c01e1 This commit was manufactured by cvs2git to create branch 'rt27336'. 2012-01-25 02:46:54 +00:00
cvs2git
931a50f631 This commit was manufactured by cvs2git to create branch 'rt27557'. 2012-01-23 23:46:49 +00:00
cvs2git
00d8872b05 This commit was manufactured by cvs2git to create branch 'rt23311'. 2012-01-22 05:17:08 +00:00
cvs2git
77feec5ca7 This commit was manufactured by cvs2git to create branch 'rt26543'. 2012-01-18 23:17:53 +00:00
cvs2git
7a7ac426fc This commit was manufactured by cvs2git to create branch 'rt27497'. 2012-01-17 02:16:51 +00:00
cvs2git
b970bf11d8 This commit was manufactured by cvs2git to create branch 'rt27344'. 2012-01-09 23:45:05 +00:00
cvs2git
2d34d15048 This commit was manufactured by cvs2git to create branch 'rt27292'. 2012-01-04 04:17:00 +00:00
cvs2git
fe6fca3d69 This commit was manufactured by cvs2git to create branch 'rt27185'. 2011-12-24 00:16:44 +00:00
cvs2git
1081c10c5e This commit was manufactured by cvs2git to create branch 'rt27139'. 2011-12-21 00:17:06 +00:00
cvs2git
8ac30db15f This commit was manufactured by cvs2git to create branch 'rt27087'. 2011-12-17 01:16:54 +00:00
cvs2git
8a3a842f41 This commit was manufactured by cvs2git to create branch 'rt27057'. 2011-12-16 02:16:43 +00:00
cvs2git
0665d1de8a This commit was manufactured by cvs2git to create branch 'rt25419a'. 2011-12-12 12:16:43 +00:00
cvs2git
b5853fb6e3 This commit was manufactured by cvs2git to create branch 'rt26973'. 2011-12-09 03:16:59 +00:00
cvs2git
32adae39f3 This commit was manufactured by cvs2git to create branch 'rt26676'. 2011-12-08 16:16:42 +00:00
cvs2git
5bd5d94e8a This commit was manufactured by cvs2git to create branch 'rt26845'. 2011-12-07 23:16:35 +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
cvs2git
a318497823 This commit was manufactured by cvs2git to create branch 'rt26587a'. 2011-12-02 08:17:03 +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
cvs2git
26cb554579 This commit was manufactured by cvs2git to create branch 'rt26830'. 2011-11-30 06:16:12 +00:00
cvs2git
78994030ab This commit was manufactured by cvs2git to create branch 'rt26632'. 2011-11-30 05:17:08 +00:00
cvs2git
46b89fbb62 This commit was manufactured by cvs2git to create branch 'rt26677'. 2011-11-29 23:17:34 +00:00
cvs2git
49538e5978 This commit was manufactured by cvs2git to create branch 'rt26796'. 2011-11-29 01:16:36 +00:00
cvs2git
25c597945a This commit was manufactured by cvs2git to create branch 'rt26684'. 2011-11-28 03:17:01 +00:00
cvs2git
e474ecbe1f This commit was manufactured by cvs2git to create branch 'rt26507'. 2011-11-18 23:17:34 +00:00
cvs2git
7064aed978 This commit was manufactured by cvs2git to create branch 'rt26624'. 2011-11-17 23:17:23 +00:00
cvs2git
f9b62501e8 This commit was manufactured by cvs2git to create branch 'rt26523'. 2011-11-14 19:16:54 +00:00
cvs2git
5b144fac25 This commit was manufactured by cvs2git to create branch 'rt21751'. 2011-11-11 01:16:36 +00:00
cvs2git
8700f5e1b4 This commit was manufactured by cvs2git to create branch 'rt23219'. 2011-11-08 01:16:34 +00:00
cvs2git
8478216b5a This commit was manufactured by cvs2git to create branch 'rt26232'. 2011-11-08 00:16:43 +00:00
cvs2git
73726b08bf This commit was manufactured by cvs2git to create branch 'rt20287'. 2011-11-04 19:16:10 +00:00
cvs2git
212d67894e This commit was manufactured by cvs2git to create branch 'rt24858'. 2011-11-04 18:16:26 +00:00
cvs2git
a6a28314eb This commit was manufactured by cvs2git to create branch 'rt25690'. 2011-11-04 04:16:32 +00:00
cvs2git
14ab630b23 This commit was manufactured by cvs2git to create branch 'rt26416'. 2011-11-03 03:26:20 +00:00
cvs2git
978e394c54 This commit was manufactured by cvs2git to create branch 'rt25960'. 2011-11-03 03:17:04 +00:00
cvs2git
901cf705f5 This commit was manufactured by cvs2git to create branch 'rt25060'. 2011-11-03 00:16:51 +00:00
cvs2git
0ddaec4692 This commit was manufactured by cvs2git to create branch 'rt25419'. 2011-11-02 14:16:14 +00:00
cvs2git
5c8d35f8f0 This commit was manufactured by cvs2git to create branch 'rt26386'. 2011-11-01 04:16:20 +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
4587 changed files with 429449 additions and 284623 deletions

View File

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

3
.gitattributes vendored Normal file
View File

@@ -0,0 +1,3 @@
*.sln.in eol=crlf
*.vcxproj.in eol=crlf
*.vcxproj.filters.in eol=crlf

52
.gitignore vendored Normal file
View File

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

207
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,207 @@
variables:
DEBIAN_FRONTEND: noninteractive
LC_ALL: C
DOCKER_DRIVER: overlay2
CI_REGISTRY_IMAGE: oerdnj/bind9
CCACHE_DIR: "/ccache"
stages:
- precheck
- build
- test
.debian-jessie-amd64: &debian_jessie_amd64_image
image: "$CI_REGISTRY_IMAGE:debian-jessie-amd64"
tags:
- linux
- docker
- amd64
.debian-jessie-i386: &debian_jessie_i386_image
image: "$CI_REGISTRY_IMAGE:debian-jessie-i386"
tags:
- linux
- docker
- i386
.debian-stretch-amd64: &debian_stretch_amd64_image
image: "$CI_REGISTRY_IMAGE:debian-stretch-amd64"
tags:
- linux
- docker
- amd64
.debian-stretch-i386:: &debian_stretch_i386_image
image: "$CI_REGISTRY_IMAGE:debian-stretch-i386"
tags:
- linux
- docker
- i386
.debian-buster-amd64: &debian_buster_amd64_image
image: "$CI_REGISTRY_IMAGE:debian-buster-amd64"
tags:
- linux
- docker
- amd64
.debian-buster-i386:: &debian_buster_i386_image
image: "$CI_REGISTRY_IMAGE:debian-buster-i386"
tags:
- linux
- docker
- i386
.debian-sid-amd64: &debian_sid_amd64_image
image: "$CI_REGISTRY_IMAGE:debian-sid-amd64"
tags:
- linux
- docker
- amd64
.debian-sid-i386: &debian_sid_i386_image
image: "$CI_REGISTRY_IMAGE:debian-sid-i386"
tags:
- linux
- docker
- i386
.ubuntu-trusty-amd64: &ubuntu_trusty_amd64_image
image: "$CI_REGISTRY_IMAGE:ubuntu-trusty-amd64"
tags:
- linux
- docker
- amd64
.ubuntu-trusty-i386: &ubuntu_trusty_i386_image
image: "$CI_REGISTRY_IMAGE:ubuntu-trusty-i386"
tags:
- linux
- docker
- i386
.ubuntu-xenial-amd64: &ubuntu_xenial_amd64_image
image: "$CI_REGISTRY_IMAGE:ubuntu-xenial-amd64"
tags:
- linux
- docker
- amd64
.ubuntu-xenial-i386: &ubuntu_xenial_i386_image
image: "$CI_REGISTRY_IMAGE:ubuntu-xenial-i386"
tags:
- linux
- docker
- i386
.build: &build_job
stage: build
before_script:
- test -w "${CCACHE_DIR}" && export PATH="/usr/lib/ccache:${PATH}"
- autoreconf -fi
script:
- ./configure --enable-developer --with-libtool --disable-static --with-atf=/usr/local
- make -j${PARALLEL_JOBS_BUILD:-1} -k all V=1
artifacts:
expire_in: '1 hour'
untracked: true
.system_test: &system_test_job
stage: test
before_script:
- rm -rf .ccache
- bash -x bin/tests/system/ifconfig.sh up
script:
- ( cd bin/tests && make -j${TEST_PARALLEL_JOBS:-1} -k test V=1 )
- test -s bin/tests/system/systests.output
artifacts:
untracked: true
expire_in: '1 week'
when: on_failure
.unit_test: &unit_test_job
stage: test
before_script:
- export KYUA_RESULT="$CI_PROJECT_DIR/kyua.results"
script:
- make unit
after_script:
- kyua report-html --force --results-file kyua.results --results-filter "" --output kyua_html
artifacts:
paths:
- atf.out
- kyua.log
- kyua.results
- kyua_html/
expire_in: '1 week'
when: on_failure
precheck:debian:sid:amd64:
<<: *debian_sid_amd64_image
stage: precheck
script:
- perl util/check-changes CHANGES
- perl -w util/merge_copyrights
- diff -urNap util/copyrights util/newcopyrights
- rm util/newcopyrights
artifacts:
paths:
- util/newcopyrights
expire_in: '1 week'
when: on_failure
#build:debian:jessie:amd64:
# <<: *debian_jessie_amd64_image
# <<: *build_job
#
#build:debian:jessie:i386:
# <<: *debian_jessie_i386_image
# <<: *build_job
#
#build:debian:stretch:amd64:
# <<: *debian_stretch_amd64_image
# <<: *build_job
#
#build:debian:buster:i386:
# <<: *debian_buster_i386_image
# <<: *build_job
#
#build:ubuntu:trusty:amd64:
# <<: *ubuntu_trusty_amd64_image
# <<: *build_job
#
#build:ubuntu:xenial:i386:
# <<: *ubuntu_xenial_i386_image
# <<: *build_job
build:debian:sid:amd64:
<<: *debian_sid_amd64_image
<<: *build_job
build:debian:sid:i386:
<<: *debian_sid_i386_image
<<: *build_job
unittest:debian:sid:amd64:
<<: *debian_sid_amd64_image
<<: *unit_test_job
dependencies:
- build:debian:sid:amd64
unittest:debian:sid:i386:
<<: *debian_sid_i386_image
<<: *unit_test_job
dependencies:
- build:debian:sid:i386
systemtest:debian:sid:amd64:
<<: *debian_sid_amd64_image
<<: *system_test_job
dependencies:
- build:debian:sid:amd64
systemtest:debian:sid:i386:
<<: *debian_sid_i386_image
<<: *system_test_job
dependencies:
- build:debian:sid:i386

3727
CHANGES

File diff suppressed because it is too large Load Diff

186
CONTRIBUTING Normal file
View File

@@ -0,0 +1,186 @@
BIND Source Access and Contributor Guidelines
Feb 22, 2018
Contents
1. Access to source code
2. Reporting bugs
3. Contributing code
Introduction
Thank you for using BIND!
BIND is open source software that implements the Domain Name System (DNS)
protocols for the Internet. It is a reference implementation of those
protocols, but it is also production-grade software, suitable for use in
high-volume and high-reliability applications. It is by far the most
widely used DNS software, providing a robust and stable platform on top of
which organizations can build distributed computing systems with the
knowledge that those systems are fully compliant with published DNS
standards.
BIND is and will always remain free and openly available. It can be used
and modified in any way by anyone.
BIND is maintained by the Internet Systems Consortium, a public-benefit
501(c)(3) nonprofit, using a "managed open source" approach: anyone can
see the source, but only ISC employees have commit access. Until recently,
the source could only be seen once ISC had published a release: read
access to the source repository was restricted just as commit access was.
That's now changing, with the opening of a public git mirror to the BIND
source tree (see below).
Access to source code
Public BIND releases are always available from the ISC FTP site.
A public-access GIT repository is also available at https://gitlab.isc.org
. This repository is a mirror, updated several times per day, of the
source repository maintained by ISC. It contains all the public release
branches; upcoming releases can be viewed in their current state at any
time. It does not contain development branches or unreviewed work in
progress. Commits which address security vulnerablilities are withheld
until after public disclosure.
You can browse the source online via https://gitlab.isc.org/isc-projects/
bind9
To clone the repository, use:
$ git clone https://gitlab.isc.org/isc-projects/bind9.git
Release branch names are of the form v9_X, where X represents the second
number in the BIND 9 version number. So, to check out the BIND 9.12
branch, use:
$ git checkout v9_12
Whenever a branch is ready for publication, a tag will be placed of the
form v9_X_Y. The 9.12.0 release, for instance, is tagged as v9_12_0.
The branch in which the next major release is being developed is called
master.
Reporting bugs
Reports of flaws in the BIND package, including software bugs, errors in
the documentation, missing files in the tarball, suggested changes or
requests for new features, etc, can be filed using https://gitlab.isc.org/
isc-projects/bind9/issues.
Due to a large ticket backlog, we are sometimes slow to respond,
especially if a bug is cosmetic or if a feature request is vague or low in
priority, but we will try at least to acknowledge legitimate bug reports
within a week.
ISC's ticketing system is publicly readable; however, you must have an
account to file a new issue. You can either register locally or use
credentials from an existing account at GitHub, GitLab, Google, Twitter,
or Facebook.
Reporting possible security issues
If you think you may be seeing a potential security vulnerability in BIND
(for example, a crash with REQUIRE, INSIST, or ASSERT failure), please
report it immediately by emailing to security-officer@isc.org. Plain-text
e-mail is not a secure choice for communications concerning undisclosed
security issues so please encrypt your communications to us if possible,
using the ISC Security Officer public key.
Do not discuss undisclosed security vulnerabilites on any public mailing
list. ISC has a long history of handling reported vulnerabilities promptly
and effectively and we respect and acknowledge responsible reporters.
ISC's Security Vulnerability Disclosure Policy is documented at https://
kb.isc.org/article/AA-00861/0.
If you have a crash, you may want to consult ?What to do if your BIND or
DHCP server has crashed.?
Contributing code
BIND is licensed under the Mozilla Public License 2.0. Earier versions
(BIND 9.10 and earlier) were licensed under the ISC License
ISC does not require an explicit copyright assignment for patch
contributions. However, by submitting a patch to ISC, you implicitly
certify that you are the author of the code, that you intend to reliquish
exclusive copyright, and that you grant permission to publish your work
under the open source license used for the BIND version(s) to which your
patch will be applied.
BIND code
Patches for BIND may be submitted directly via merge requests in ISC's
Gitlab source repository for BIND.
Patches can also be submitted as diffs against a specific version of BIND
-- preferably the current top of the master branch. Diffs may be generated
using either git format-patch or git diff.
Those wanting to write code for BIND may be interested in the developer
information page, which includes information about BIND design and coding
practices, including discussion of internal APIs and overall system
architecture. (This is a work in progress, and still quite preliminary.)
Every patch submitted will be reviewed by ISC engineers following our code
review process before it is merged.
It may take considerable time to review patch submissions, especially if
they don't meet ISC style and quality guidelines. If a patch is a good
idea, we can and will do additional work to bring it up to par, but if
we're busy with other work, it may take us a long time to get to it.
To ensure your patch is acted on as promptly as possible, please:
* Try to adhere to the BIND 9 coding style.
* Run make check to ensure your change hasn't caused any functional
regressions.
* Document your work, both in the patch itself and in the accompanying
email.
* In patches that make non-trivial functional changes, include system
tests if possible; when introducing or substantially altering a
library API, include unit tests. See Testing for more information.
Changes to configure
If you need to make changes to configure, you should not edit it directly;
instead, edit configure.in, then run autoconf. Similarly, instead of
editing config.h.in directly, edit configure.in and run autoheader.
When submitting a patch as a diff, it's fine to omit the configure diffs
to save space. Just send the configure.in diffs and we'll generate the new
configure during the review process.
Documentation
All functional changes should be documented. There are three types of
documentation in the BIND source tree:
* Man pages are kept alongside the source code for the commands they
document, in files ending in .docbook; for example, the named man page
is bin/named/named.docbook.
* The BIND 9 Administrator Reference Manual is mostly in doc/arm/
Bv9ARM-book.xml, plus a few other XML files that are included in it.
* API documentation is in the header file describing the API, in
Doxygen-formatted comments.
It is not necessary to edit any documentation files other than these; all
PDF, HTML, and nroff-format man page files will be updated automatically
from the docbook and XML files after merging.
Patches to improve existing documentation are also very welcome!
Tests
BIND is a large and complex project. We rely heavily on continuous
automated testing and cannot merge new code without adequate test
coverage. Please see the 'Testing' section of doc/dev/dev.md for more
information.
Thanks
Thank you for your interest in contributing to the ongoing development of
BIND.

206
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,206 @@
<!--
- Copyright (C) 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.
-->
## BIND Source Access and Contributor Guidelines
*Feb 22, 2018*
### Contents
1. [Access to source code](#access)
1. [Reporting bugs](#bugs)
1. [Contributing code](#contrib)
### Introduction
Thank you for using BIND!
BIND is open source software that implements the Domain Name System (DNS)
protocols for the Internet. It is a reference implementation of those
protocols, but it is also production-grade software, suitable for use in
high-volume and high-reliability applications. It is by far the most
widely used DNS software, providing a robust and stable platform on top of
which organizations can build distributed computing systems with the
knowledge that those systems are fully compliant with published DNS
standards.
BIND is and will always remain free and openly available. It can be
used and modified in any way by anyone.
BIND is maintained by the [Internet Systems Consortium](https://www.isc.org),
a public-benefit 501(c)(3) nonprofit, using a "managed open source" approach:
anyone can see the source, but only ISC employees have commit access.
Until recently, the source could only be seen once ISC had published
a release: read access to the source repository was restricted just
as commit access was. That's now changing, with the opening of a
public git mirror to the BIND source tree (see below).
### <a name="access"></a>Access to source code
Public BIND releases are always available from the
[ISC FTP site](ftp://ftp.isc.org/isc/bind9).
A public-access GIT repository is also available at
[https://gitlab.isc.org](https://gitlab.isc.org).
This repository is a mirror, updated several times per day, of the
source repository maintained by ISC. It contains all the public release
branches; upcoming releases can be viewed in their current state at any
time. It does *not* contain development branches or unreviewed work in
progress. Commits which address security vulnerablilities are withheld
until after public disclosure.
You can browse the source online via
[https://gitlab.isc.org/isc-projects/bind9](https://gitlab.isc.org/isc-projects/bind9)
To clone the repository, use:
> $ git clone https://gitlab.isc.org/isc-projects/bind9.git
Release branch names are of the form `v9_X`, where X represents the second
number in the BIND 9 version number. So, to check out the BIND 9.12
branch, use:
> $ git checkout v9_12
Whenever a branch is ready for publication, a tag will be placed of the
form `v9_X_Y`. The 9.12.0 release, for instance, is tagged as `v9_12_0`.
The branch in which the next major release is being developed is called
`master`.
### <a name="bugs"></a>Reporting bugs
Reports of flaws in the BIND package, including software bugs, errors
in the documentation, missing files in the tarball, suggested changes
or requests for new features, etc, can be filed using
[https://gitlab.isc.org/isc-projects/bind9/issues](https://gitlab.isc.org/isc-projects/bind9/issues).
Due to a large ticket backlog, we are sometimes slow to respond,
especially if a bug is cosmetic or if a feature request is vague or
low in priority, but we will try at least to acknowledge legitimate
bug reports within a week.
ISC's ticketing system is publicly readable; however, you must have
an account to file a new issue. You can either register locally or
use credentials from an existing account at GitHub, GitLab, Google,
Twitter, or Facebook.
### Reporting possible security issues
If you think you may be seeing a potential security vulnerability in BIND
(for example, a crash with REQUIRE, INSIST, or ASSERT failure), please
report it immediately by emailing to security-officer@isc.org. Plain-text
e-mail is not a secure choice for communications concerning undisclosed
security issues so please encrypt your communications to us if possible,
using the [ISC Security Officer public key](https://www.isc.org/downloads/software-support-policy/openpgp-key/).
Do not discuss undisclosed security vulnerabilites on any public mailing list.
ISC has a long history of handling reported vulnerabilities promptly and
effectively and we respect and acknowledge responsible reporters.
ISC's Security Vulnerability Disclosure Policy is documented at [https://kb.isc.org/article/AA-00861/0](https://kb.isc.org/article/AA-00861/0).
If you have a crash, you may want to consult
[What to do if your BIND or DHCP server has crashed.](https://kb.isc.org/article/AA-00340/89/What-to-do-if-your-BIND-or-DHCP-server-has-crashed.html)
### <a name="bugs"></a>Contributing code
BIND is licensed under the
[Mozilla Public License 2.0](http://www.isc.org/downloads/software-support-policy/isc-license/).
Earier versions (BIND 9.10 and earlier) were licensed under the [ISC License](http://www.isc.org/downloads/software-support-policy/isc-license/)
ISC does not require an explicit copyright assignment for patch
contributions. However, by submitting a patch to ISC, you implicitly
certify that you are the author of the code, that you intend to reliquish
exclusive copyright, and that you grant permission to publish your work
under the open source license used for the BIND version(s) to which your
patch will be applied.
#### <a name="bind"></a>BIND code
Patches for BIND may be submitted directly via merge requests in
[ISC's Gitlab](https://gitlab.isc.org/isc-projects/bind9/) source
repository for BIND.
Patches can also be submitted as diffs against a specific version of
BIND -- preferably the current top of the `master` branch. Diffs may
be generated using either `git format-patch` or `git diff`.
Those wanting to write code for BIND may be interested in the
[developer information](doc/dev/dev.md) page, which includes information
about BIND design and coding practices, including discussion of internal
APIs and overall system architecture. (This is a work in progress, and
still quite preliminary.)
Every patch submitted will be reviewed by ISC engineers following our
[code review process](doc/dev/dev.md#reviews) before it is merged.
It may take considerable time to review patch submissions, especially if
they don't meet ISC style and quality guidelines. If a patch is a good
idea, we can and will do additional work to bring it up to par, but if
we're busy with other work, it may take us a long time to get to it.
To ensure your patch is acted on as promptly as possible, please:
* Try to adhere to the [BIND 9 coding style](doc/dev/style.md).
* Run `make` `check` to ensure your change hasn't caused any
functional regressions.
* Document your work, both in the patch itself and in the
accompanying email.
* In patches that make non-trivial functional changes, include system
tests if possible; when introducing or substantially altering a
library API, include unit tests. See [Testing](doc/dev/dev.md#testing)
for more information.
##### Changes to `configure`
If you need to make changes to `configure`, you should not edit it
directly; instead, edit `configure.in`, then run `autoconf`. Similarly,
instead of editing `config.h.in` directly, edit `configure.in` and run
`autoheader`.
When submitting a patch as a diff, it's fine to omit the `configure`
diffs to save space. Just send the `configure.in` diffs and we'll
generate the new `configure` during the review process.
##### Documentation
All functional changes should be documented. There are three types
of documentation in the BIND source tree:
* Man pages are kept alongside the source code for the commands
they document, in files ending in `.docbook`; for example, the
`named` man page is `bin/named/named.docbook`.
* The *BIND 9 Administrator Reference Manual* is mostly in
`doc/arm/Bv9ARM-book.xml`, plus a few other XML files that are included
in it.
* API documentation is in the header file describing the API, in
Doxygen-formatted comments.
It is not necessary to edit any documentation files other than these;
all PDF, HTML, and `nroff`-format man page files will be updated
automatically from the `docbook` and `XML` files after merging.
Patches to improve existing documentation are also very welcome!
##### Tests
BIND is a large and complex project. We rely heavily on continuous
automated testing and cannot merge new code without adequate test coverage.
Please see [the 'Testing' section of doc/dev/dev.md](doc/dev/dev.md#testing)
for more information.
#### Thanks
Thank you for your interest in contributing to the ongoing development
of BIND.

View File

@@ -1,5 +1,4 @@
Copyright (C) 2004-2012 Internet Systems Consortium, Inc. ("ISC")
Copyright (C) 1996-2003 Internet Software Consortium.
Copyright (C) 1996-2018 Internet Systems Consortium, Inc. ("ISC")
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
@@ -13,8 +12,6 @@ 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.19 2012/01/03 23:46:59 tbox Exp $
Portions of this code release fall under one or more of the
following Copyright notices. Please see individual source
files for details.
@@ -99,11 +96,7 @@ are met:
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software
must display the following acknowledgement:
This product includes software developed by the University of
California, Berkeley and its contributors.
4. Neither the name of the University nor the names of its contributors
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.
@@ -516,3 +509,29 @@ 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]

893
FAQ
View File

@@ -1,893 +0,0 @@
Frequently Asked Questions about BIND 9
Copyright © 2004-2010 Internet Systems Consortium, Inc. ("ISC")
Copyright © 2000-2003 Internet Software Consortium.
-----------------------------------------------------------------------
1. Compilation and Installation Questions
Q: I'm trying to compile BIND 9, and "make" is failing due to files not
being found. Why?
A: Using a parallel or distributed "make" to build BIND 9 is not
supported, and doesn't work. If you are using one of these, use normal
make or gmake instead.
Q: Isn't "make install" supposed to generate a default named.conf?
A: Short Answer: No.
Long Answer: There really isn't a default configuration which fits any
site perfectly. There are lots of decisions that need to be made and
there is no consensus on what the defaults should be. For example
FreeBSD uses /etc/namedb as the location where the configuration files
for named are stored. Others use /var/named.
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
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.
2. Configuration and Setup Questions
Q: Why does named log the warning message "no TTL specified - using SOA
MINTTL instead"?
A: Your zone file is illegal according to RFC1035. It must either have a
line like:
$TTL 86400
at the beginning, or the first record in it must have a TTL field, like
the "84600" in this example:
example.com. 86400 IN SOA ns hostmaster ( 1 3600 1800 1814400 3600 )
Q: Why do I get errors like "dns_zone_load: zone foo/IN: loading master
file bar: ran out of space"?
A: This is often caused by TXT records with missing close quotes. Check
that all TXT records containing quoted strings have both open and close
quotes.
Q: How do I restrict people from looking up the server version?
A: Put a "version" option containing something other than the real version
in the "options" section of named.conf. Note doing this will not
prevent attacks and may impede people trying to diagnose problems with
your server. Also it is possible to "fingerprint" nameservers to
determine their version.
Q: How do I restrict only remote users from looking up the server version?
A: The following view statement will intercept lookups as the internal
view that holds the version information will be matched last. The
caveats of the previous answer still apply, of course.
view "chaos" chaos {
match-clients { <those to be refused>; };
allow-query { none; };
zone "." {
type hint;
file "/dev/null"; // or any empty file
};
};
Q: What do "no source of entropy found" or "could not open entropy source
foo" mean?
A: The server requires a source of entropy to perform certain operations,
mostly DNSSEC related. These messages indicate that you have no source
of entropy. On systems with /dev/random or an equivalent, it is used by
default. A source of entropy can also be defined using the
random-device option in named.conf.
Q: I'm trying to use TSIG to authenticate dynamic updates or zone
transfers. I'm sure I have the keys set up correctly, but the server is
rejecting the TSIG. Why?
A: This may be a clock skew problem. Check that the the clocks on the
client and server are properly synchronised (e.g., using ntp).
Q: I see a log message like the following. Why?
couldn't open pid file '/var/run/named.pid': Permission denied
A: You are most likely running named as a non-root user, and that user
does not have permission to write in /var/run. The common ways of
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).
Q: I can query the nameserver from the nameserver but not from other
machines. Why?
A: This is usually the result of the firewall configuration stopping the
queries and / or the replies.
Q: How can I make a server a slave for both an internal and an external
view at the same time? When I tried, both views on the slave were
transferred from the same view on the master.
A: You will need to give the master and slave multiple IP addresses and
use those to make sure you reach the correct view on the other machine.
Master: 10.0.1.1 (internal), 10.0.1.2 (external, IP alias)
internal:
match-clients { !10.0.1.2; !10.0.1.4; 10.0.1/24; };
notify-source 10.0.1.1;
transfer-source 10.0.1.1;
query-source address 10.0.1.1;
external:
match-clients { any; };
recursion no; // don't offer recursion to the world
notify-source 10.0.1.2;
transfer-source 10.0.1.2;
query-source address 10.0.1.2;
Slave: 10.0.1.3 (internal), 10.0.1.4 (external, IP alias)
internal:
match-clients { !10.0.1.2; !10.0.1.4; 10.0.1/24; };
notify-source 10.0.1.3;
transfer-source 10.0.1.3;
query-source address 10.0.1.3;
external:
match-clients { any; };
recursion no; // don't offer recursion to the world
notify-source 10.0.1.4;
transfer-source 10.0.1.4;
query-source address 10.0.1.4;
You put the external address on the alias so that all the other dns
clients on these boxes see the internal view by default.
A: BIND 9.3 and later: Use TSIG to select the appropriate view.
Master 10.0.1.1:
key "external" {
algorithm hmac-sha256;
secret "xxxxxxxxxxxxxxxxxxxxxxxx";
};
view "internal" {
match-clients { !key external; // reject message ment for the
// external view.
10.0.1/24; }; // accept from these addresses.
...
};
view "external" {
match-clients { key external; any; };
server 10.0.1.2 { keys external; }; // tag messages from the
// external view to the
// other servers for the
// view.
recursion no;
...
};
Slave 10.0.1.2:
key "external" {
algorithm hmac-sha256;
secret "xxxxxxxxxxxxxxxxxxxxxxxx";
};
view "internal" {
match-clients { !key external; 10.0.1/24; };
...
};
view "external" {
match-clients { key external; any; };
server 10.0.1.1 { keys external; };
recursion no;
...
};
Q: I get error messages like "multiple RRs of singleton type" and "CNAME
and other data" when transferring a zone. What does this mean?
A: These indicate a malformed master zone. You can identify the exact
records involved by transferring the zone using dig then running
named-checkzone on it.
dig axfr example.com @master-server > tmp
named-checkzone example.com tmp
A CNAME record cannot exist with the same name as another record except
for the DNSSEC records which prove its existence (NSEC).
RFC 1034, Section 3.6.2: "If a CNAME RR is present at a node, no other
data should be present; this ensures that the data for a canonical name
and its aliases cannot be different. This rule also insures that a
cached CNAME can be used without checking with an authoritative server
for other RR types."
Q: I get error messages like "named.conf:99: unexpected end of input"
where 99 is the last line of named.conf.
A: There are unbalanced quotes in named.conf.
A: Some text editors (notepad and wordpad) fail to put a line title
indication (e.g. CR/LF) on the last line of a text file. This can be
fixed by "adding" a blank line to the end of the file. Named expects to
see EOF immediately after EOL and treats text files where this is not
met as truncated.
Q: How do I share a dynamic zone between multiple views?
A: You choose one view to be master and the second a slave and transfer
the zone between views.
Master 10.0.1.1:
key "external" {
algorithm hmac-sha256;
secret "xxxxxxxxxxxxxxxxxxxxxxxx";
};
key "mykey" {
algorithm hmac-sha256;
secret "yyyyyyyyyyyyyyyyyyyyyyyy";
};
view "internal" {
match-clients { !key external; 10.0.1/24; };
server 10.0.1.1 {
/* Deliver notify messages to external view. */
keys { external; };
};
zone "example.com" {
type master;
file "internal/example.db";
allow-update { key mykey; };
also-notify { 10.0.1.1; };
};
};
view "external" {
match-clients { key external; any; };
zone "example.com" {
type slave;
file "external/example.db";
masters { 10.0.1.1; };
transfer-source 10.0.1.1;
// allow-update-forwarding { any; };
// allow-notify { ... };
};
};
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
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.
Q: Why are my logs in GMT (UTC).
A: You are running chrooted (-t) and have not supplied local timezone
information in the chroot area.
FreeBSD: /etc/localtime
Solaris: /etc/TIMEZONE and /usr/share/lib/zoneinfo
OSF: /etc/zoneinfo/localtime
See also tzset(3) and zic(8).
Q: I get "rndc: connect failed: connection refused" when I try to run
rndc.
A: This is usually a configuration error.
First ensure that named is running and no errors are being reported at
startup (/var/log/messages or equivalent). Running "named -g <usual
arguments>" from a title can help at this point.
Secondly ensure that named is configured to use rndc either by
"rndc-confgen -a", rndc-confgen or manually. The Administrators
Reference manual has details on how to do this.
Old versions of rndc-confgen used localhost rather than 127.0.0.1 in /
etc/rndc.conf for the default server. Update /etc/rndc.conf if
necessary so that the default server listed in /etc/rndc.conf matches
the addresses used in named.conf. "localhost" has two address
(127.0.0.1 and ::1).
If you use "rndc-confgen -a" and named is running with -t or -u ensure
that /etc/rndc.conf has the correct ownership and that a copy is in the
chroot area. You can do this by re-running "rndc-confgen -a" with
appropriate -t and -u arguments.
Q: I get "transfer of 'example.net/IN' from 192.168.4.12#53: failed while
receiving responses: permission denied" error messages.
A: These indicate a filesystem permission error preventing named creating
/ renaming the temporary file. These will usually also have other
associated error messages like
"dumping master file: sl/tmp-XXXX5il3sQ: open: permission denied"
Named needs write permission on the directory containing the file.
Named writes the new cache file to a temporary file then renames it to
the name specified in named.conf to ensure that the contents are always
complete. This is to prevent named loading a partial zone in the event
of power failure or similar interrupting the write of the master file.
Note file names are relative to the directory specified in options and
any chroot directory ([<chroot dir>/][<options dir>]).
If named is invoked as "named -t /chroot/DNS" with the following
named.conf then "/chroot/DNS/var/named/sl" needs to be writable by the
user named is running as.
options {
directory "/var/named";
};
zone "example.net" {
type slave;
file "sl/example.net";
masters { 192.168.4.12; };
};
Q: I want to forward all DNS queries from my caching nameserver to another
server. But there are some domains which have to be served locally, via
rbldnsd.
How do I achieve this ?
A: options {
forward only;
forwarders { <ip.of.primary.nameserver>; };
};
zone "sbl-xbl.spamhaus.org" {
type forward; forward only;
forwarders { <ip.of.rbldns.server> port 530; };
};
zone "list.dsbl.org" {
type forward; forward only;
forwarders { <ip.of.rbldns.server> port 530; };
};
Q: Can you help me understand how BIND 9 uses memory to store DNS zones?
Some times it seems to take several times the amount of memory it needs
to store the zone.
A: When reloading a zone named my have multiple copies of the zone in
memory at one time. The zone it is serving and the one it is loading.
If reloads are ultra fast it can have more still.
e.g. Ones that are transferring out, the one that it is serving and the
one that is loading.
BIND 8 destroyed the zone before loading and also killed off outgoing
transfers of the zone.
The new strategy allows slaves to get copies of the new zone regardless
of how often the master is loaded compared to the transfer time. The
slave might skip some intermediate versions but the transfers will
complete and it will keep reasonably in sync with the master.
The new strategy also allows the master to recover from syntax and
other errors in the master file as it still has an in-core copy of the
old contents.
Q: I want to use IPv6 locally but I don't have a external IPv6 connection.
External lookups are slow.
A: You can use server clauses to stop named making external lookups over
IPv6.
server fd81:ec6c:bd62::/48 { bogus no; }; // site ULA prefix
server ::/0 { bogus yes; };
3. Operations Questions
Q: How to change the nameservers for a zone?
A: Step 1: Ensure all nameservers, new and old, are serving the same zone
content.
Step 2: Work out the maximum TTL of the NS RRset in the parent and
child zones. This is the time it will take caches to be clear of a
particular version of the NS RRset. If you are just removing
nameservers you can skip to Step 6.
Step 3: Add new nameservers to the NS RRset for the zone and wait until
all the servers for the zone are answering with this new NS RRset.
Step 4: Inform the parent zone of the new NS RRset then wait for all
the parent servers to be answering with the new NS RRset.
Step 5: Wait for cache to be clear of the old NS RRset. See Step 2 for
how long. If you are just adding nameservers you are done.
Step 6: Remove any old nameservers from the zones NS RRset and wait for
all the servers for the zone to be serving the new NS RRset.
Step 7: Inform the parent zone of the new NS RRset then wait for all
the parent servers to be answering with the new NS RRset.
Step 8: Wait for cache to be clear of the old NS RRset. See Step 2 for
how long.
Step 9: Turn off the old nameservers or remove the zone entry from the
configuration of the old nameservers.
Step 10: Increment the serial number and wait for the change to be
visible in all nameservers for the zone. This ensures that zone
transfers are still working after the old servers are decommissioned.
Note: the above procedure is designed to be transparent to dns clients.
Decommissioning the old servers too early will result in some clients
not being able to look up answers in the zone.
Note: while it is possible to run the addition and removal stages
together it is not recommended.
4. General Questions
Q: I keep getting log messages like the following. Why?
Dec 4 23:47:59 client 10.0.0.1#1355: updating zone 'example.com/IN':
update failed: 'RRset exists (value dependent)' prerequisite not
satisfied (NXRRSET)
A: DNS updates allow the update request to test to see if certain
conditions are met prior to proceeding with the update. The message
above is saying that conditions were not met and the update is not
proceeding. See doc/rfc/rfc2136.txt for more details on prerequisites.
Q: I keep getting log messages like the following. Why?
Jun 21 12:00:00.000 client 10.0.0.1#1234: update denied
A: Someone is trying to update your DNS data using the RFC2136 Dynamic
Update protocol. Windows 2000 machines have a habit of sending dynamic
update requests to DNS servers without being specifically configured to
do so. If the update requests are coming from a Windows 2000 machine,
see <http://support.microsoft.com/support/kb/articles/q246/8/04.asp>
for information about how to turn them off.
Q: When I do a "dig . ns", many of the A records for the root servers are
missing. Why?
A: This is normal and harmless. It is a somewhat confusing side effect of
the way BIND 9 does RFC2181 trust ranking and of the efforts BIND 9
makes to avoid promoting glue into answers.
When BIND 9 first starts up and primes its cache, it receives the root
server addresses as additional data in an authoritative response from a
root server, and these records are eligible for inclusion as additional
data in responses. Subsequently it receives a subset of the root server
addresses as additional data in a non-authoritative (referral) response
from a root server. This causes the addresses to now be considered
non-authoritative (glue) data, which is not eligible for inclusion in
responses.
The server does have a complete set of root server addresses cached at
all times, it just may not include all of them as additional data,
depending on whether they were last received as answers or as glue. You
can always look up the addresses with explicit queries like "dig
a.root-servers.net A".
Q: Why don't my zones reload when I do an "rndc reload" or SIGHUP?
A: A zone can be updated either by editing zone files and reloading the
server or by dynamic update, but not both. If you have enabled dynamic
update for a zone using the "allow-update" option, you are not supposed
to edit the zone file by hand, and the server will not attempt to
reload it.
Q: Why is named listening on UDP port other than 53?
A: Named uses a system selected port to make queries of other nameservers.
This behaviour can be overridden by using query-source to lock down the
port and/or address. See also notify-source and transfer-source.
Q: I get warning messages like "zone example.com/IN: refresh: failure
trying master 1.2.3.4#53: timed out".
A: Check that you can make UDP queries from the slave to the master
dig +norec example.com soa @1.2.3.4
You could be generating queries faster than the slave can cope with.
Lower the serial query rate.
serial-query-rate 5; // default 20
Q: I don't get RRSIG's returned when I use "dig +dnssec".
A: You need to ensure DNSSEC is enabled (dnssec-enable yes;).
Q: Can a NS record refer to a CNAME.
A: No. The rules for glue (copies of the *address* records in the parent
zones) and additional section processing do not allow it to work.
You would have to add both the CNAME and address records (A/AAAA) as
glue to the parent zone and have CNAMEs be followed when doing
additional section processing to make it work. No nameserver
implementation supports either of these requirements.
Q: What does "RFC 1918 response from Internet for 0.0.0.10.IN-ADDR.ARPA"
mean?
A: If the IN-ADDR.ARPA name covered refers to a internal address space you
are using then you have failed to follow RFC 1918 usage rules and are
leaking queries to the Internet. You should establish your own zones
for these addresses to prevent you querying the Internet's name servers
for these addresses. Please see <http://as112.net/> for details of the
problems you are causing and the counter measures that have had to be
deployed.
If you are not using these private addresses then a client has queried
for them. You can just ignore the messages, get the offending client to
stop sending you these messages as they are most probably leaking them
or setup your own zones empty zones to serve answers to these queries.
zone "10.IN-ADDR.ARPA" {
type master;
file "empty";
};
zone "16.172.IN-ADDR.ARPA" {
type master;
file "empty";
};
...
zone "31.172.IN-ADDR.ARPA" {
type master;
file "empty";
};
zone "168.192.IN-ADDR.ARPA" {
type master;
file "empty";
};
empty:
@ 10800 IN SOA <name-of-server>. <contact-email>. (
1 3600 1200 604800 10800 )
@ 10800 IN NS <name-of-server>.
Note
Future versions of named are likely to do this automatically.
Q: Will named be affected by the 2007 changes to daylight savings rules in
the US.
A: No, so long as the machines internal clock (as reported by "date -u")
remains at UTC. The only visible change if you fail to upgrade your OS,
if you are in a affected area, will be that log messages will be a hour
out during the period where the old rules do not match the new rules.
For most OS's this change just means that you need to update the
conversion rules from UTC to local time. Normally this involves
updating a file in /etc (which sets the default timezone for the
machine) and possibly a directory which has all the conversion rules
for the world (e.g. /usr/share/zoneinfo). When updating the OS do not
forget to update any chroot areas as well. See your OS's documentation
for more details.
The local timezone conversion rules can also be done on a individual
basis by setting the TZ environment variable appropriately. See your
OS's documentation for more details.
Q: Is there a bugzilla (or other tool) database that mere mortals can have
(read-only) access to for bind?
A: No. The BIND 9 bug database is kept closed for a number of reasons.
These include, but are not limited to, that the database contains
proprietory information from people reporting bugs. The database has in
the past and may in future contain unfixed bugs which are capable of
bringing down most of the Internet's DNS infrastructure.
The release pages for each version contain up to date lists of bugs
that have been fixed post release. That is as close as we can get to
providing a bug database.
Q: Why do queries for NSEC3 records fail to return the NSEC3 record?
A: NSEC3 records are strictly meta data and can only be returned in the
authority section. This is done so that signing the zone using NSEC3
records does not bring names into existence that do not exist in the
unsigned version of the zone.
5. Operating-System Specific Questions
5.1. HPUX
Q: I get the following error trying to configure BIND:
checking if unistd.h or sys/types.h defines fd_set... no
configure: error: need either working unistd.h or sys/select.h
A: You have attempted to configure BIND with the bundled C compiler. This
compiler does not meet the minimum compiler requirements to for
building BIND. You need to install a ANSI C compiler and / or teach
configure how to find the ANSI C compiler. The later can be done by
adjusting the PATH environment variable and / or specifying the
compiler via CC.
./configure CC=<compiler> ...
5.2. Linux
Q: Why do I get the following errors:
general: errno2result.c:109: unexpected error:
general: unable to convert errno to isc_result: 14: Bad address
client: UDP client handler shutting down due to fatal receive error: unexpected error
A: This is the result of a Linux kernel bug.
See: <http://marc.theaimsgroup.com/?l=linux-netdev&m=113081708031466&w=
2>
Q: Why does named lock up when it attempts to connect over IPSEC tunnels?
A: This is due to a kernel bug where the fact that a socket is marked
non-blocking is ignored. It is reported that setting xfrm_larval_drop
to 1 helps but this may have negative side effects. See: <https://
bugzilla.redhat.com/show_bug.cgi?id=427629> and <http://lkml.org/lkml/
2007/12/4/260>.
xfrm_larval_drop can be set to 1 by the following procedure:
echo "1" > proc/sys/net/core/xfrm_larval_drop
Q: Why do I see 5 (or more) copies of named on Linux?
A: Linux threads each show up as a process under ps. The approximate
number of threads running is n+4, where n is the number of CPUs. Note
that the amount of memory used is not cumulative; if each process is
using 10M of memory, only a total of 10M is used.
Newer versions of Linux's ps command hide the individual threads and
require -L to display them.
Q: Why does BIND 9 log "permission denied" errors accessing its
configuration files or zones on my Linux system even though it is
running as root?
A: On Linux, BIND 9 drops most of its root privileges on startup. This
including the privilege to open files owned by other users. Therefore,
if the server is running as root, the configuration files and zone
files should also be owned by root.
Q: I get the error message "named: capset failed: Operation not permitted"
when starting named.
A: The capability module, part of "Linux Security Modules/LSM", has not
been loaded into the kernel. See insmod(8), modprobe(8).
The relevant modules can be loaded by running:
modprobe commoncap
modprobe capability
Q: I'm running BIND on Red Hat Enterprise Linux or Fedora Core -
Why can't named update slave zone database files?
Why can't named create DDNS journal files or update the master zones
from journals?
Why can't named create custom log files?
A: Red Hat Security Enhanced Linux (SELinux) policy security protections :
Red Hat have adopted the National Security Agency's SELinux security
policy (see <http://www.nsa.gov/selinux>) and recommendations for BIND
security , which are more secure than running named in a chroot and
make use of the bind-chroot environment unnecessary .
By default, named is not allowed by the SELinux policy to write, create
or delete any files EXCEPT in these directories:
$ROOTDIR/var/named/slaves
$ROOTDIR/var/named/data
$ROOTDIR/var/tmp
where $ROOTDIR may be set in /etc/sysconfig/named if bind-chroot is
installed.
The SELinux policy particularly does NOT allow named to modify the
$ROOTDIR/var/named directory, the default location for master zone
database files.
SELinux policy overrules file access permissions - so even if all the
files under /var/named have ownership named:named and mode rw-rw-r--,
named will still not be able to write or create files except in the
directories above, with SELinux in Enforcing mode.
So, to allow named to update slave or DDNS zone files, it is best to
locate them in $ROOTDIR/var/named/slaves, with named.conf zone
statements such as:
zone "slave.zone." IN {
type slave;
file "slaves/slave.zone.db";
...
};
zone "ddns.zone." IN {
type master;
allow-updates {...};
file "slaves/ddns.zone.db";
};
To allow named to create its cache dump and statistics files, for
example, you could use named.conf options statements such as:
options {
...
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
...
};
You can also tell SELinux to allow named to update any zone database
files, by setting the SELinux tunable boolean parameter
'named_write_master_zones=1', using the system-config-securitylevel
GUI, using the 'setsebool' command, or in /etc/selinux/targeted/
booleans.
You can disable SELinux protection for named entirely by setting the
'named_disable_trans=1' SELinux tunable boolean parameter.
The SELinux named policy defines these SELinux contexts for named:
named_zone_t : for zone database files - $ROOTDIR/var/named/*
named_conf_t : for named configuration files - $ROOTDIR/etc/{named,rndc}.*
named_cache_t: for files modifiable by named - $ROOTDIR/var/{tmp,named/{slaves,data}}
If you want to retain use of the SELinux policy for named, and put
named files in different locations, you can do so by changing the
context of the custom file locations .
To create a custom configuration file location, e.g. '/root/
named.conf', to use with the 'named -c' option, do:
# chcon system_u:object_r:named_conf_t /root/named.conf
To create a custom modifiable named data location, e.g. '/var/log/
named' for a log file, do:
# chcon system_u:object_r:named_cache_t /var/log/named
To create a custom zone file location, e.g. /root/zones/, do:
# chcon system_u:object_r:named_zone_t /root/zones/{.,*}
See these man-pages for more information : selinux(8), named_selinux
(8), chcon(1), setsebool(8)
Q: I'm running BIND on Ubuntu -
Why can't named update slave zone database files?
Why can't named create DDNS journal files or update the master zones
from journals?
Why can't named create custom log files?
A: Ubuntu uses AppArmor <http://en.wikipedia.org/wiki/AppArmor> in
addition to normal file system permissions to protect the system.
Adjust the paths to use those specified in /etc/apparmor.d/
usr.sbin.named or adjust /etc/apparmor.d/usr.sbin.named to allow named
to write at the location specified in named.conf.
Q: Listening on individual IPv6 interfaces does not work.
A: This is usually due to "/proc/net/if_inet6" not being available in the
chroot file system. Mount another instance of "proc" in the chroot file
system.
This can be be made permanent by adding a second instance to /etc/
fstab.
proc /proc proc defaults 0 0
proc /var/named/proc proc defaults 0 0
5.3. Windows
Q: Zone transfers from my BIND 9 master to my Windows 2000 slave fail.
Why?
A: This may be caused by a bug in the Windows 2000 DNS server where DNS
messages larger than 16K are not handled properly. This can be worked
around by setting the option "transfer-format one-answer;". Also check
whether your zone contains domain names with embedded spaces or other
special characters, like "John\032Doe\213s\032Computer", since such
names have been known to cause Windows 2000 slaves to incorrectly
reject the zone.
Q: I get "Error 1067" when starting named under Windows.
A: This is the service manager saying that named exited. You need to
examine the Application log in the EventViewer to find out why.
Common causes are that you failed to create "named.conf" (usually "C:\
windows\dns\etc\named.conf") or failed to specify the directory in
named.conf.
options {
Directory "C:\windows\dns\etc";
};
5.4. FreeBSD
Q: I have FreeBSD 4.x and "rndc-confgen -a" just sits there.
A: /dev/random is not configured. Use rndcontrol(8) to tell the kernel to
use certain interrupts as a source of random events. You can make this
permanent by setting rand_irqs in /etc/rc.conf.
rand_irqs="3 14 15"
See also <http://people.freebsd.org/~dougb/randomness.html>.
5.5. Solaris
Q: How do I integrate BIND 9 and Solaris SMF
A: Sun has a blog entry describing how to do this.
<http://blogs.sun.com/roller/page/anay/Weblog?catname=%2FSolaris>
5.6. Apple Mac OS X
Q: How do I run BIND 9 on Apple Mac OS X?
A: If you run Tiger(Mac OS 10.4) or later then this is all you need to do:
% sudo rndc-confgen > /etc/rndc.conf
Copy the key statement from /etc/rndc.conf into /etc/rndc.key, e.g.:
key "rndc-key" {
algorithm hmac-md5;
secret "uvceheVuqf17ZwIcTydddw==";
};
Then start the relevant service:
% sudo service org.isc.named start
This is persistent upon a reboot, so you will have to do it only once.
A: Alternatively you can just generate /etc/rndc.key by running:
% sudo rndc-confgen -a
Then start the relevant service:
% sudo service org.isc.named start
Named will look for /etc/rndc.key when it starts if it doesn't have a
controls section or the existing controls are missing keys sub-clauses.
This is persistent upon a reboot, so you will have to do it only once.

183
FAQ.xml
View File

@@ -1,8 +1,5 @@
<!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) 2000-2003 Internet Software Consortium.
- Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
@@ -17,33 +14,20 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: FAQ.xml,v 1.54 2010/01/19 23:48:55 tbox Exp $ -->
<!-- Converted by db4-upgrade version 1.0 -->
<article xmlns="http://docbook.org/ns/docbook" version="5.0" class="faq">
<article class="faq">
<title>Frequently Asked Questions about BIND 9</title>
<articleinfo>
<copyright>
<year>2004</year>
<year>2005</year>
<year>2006</year>
<year>2007</year>
<year>2008</year>
<year>2009</year>
<year>2010</year>
<year>2017</year>
<year>2018</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
<year>2000</year>
<year>2001</year>
<year>2002</year>
<year>2003</year>
<holder>Internet Software Consortium.</holder>
</copyright>
</articleinfo>
<qandaset defaultlabel='qanda'>
<qandadiv><title>Compilation and Installation Questions</title>
<qandaset defaultlabel="qanda">
<qandadiv><title>Compilation and Installation Questions</title>
<qandaentry>
<question>
<para>
@@ -59,7 +43,7 @@
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
@@ -68,7 +52,7 @@
</question>
<answer>
<para>
Short Answer: No.
Short Answer: No.
</para>
<para>
Long Answer: There really isn't a default configuration which fits
@@ -82,8 +66,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
@@ -91,9 +75,9 @@
</para>
</answer>
</qandaentry>
</qandadiv> <!-- Compilation and Installation Questions -->
<qandadiv><title>Configuration and Setup Questions</title>
<qandaentry>
@@ -123,7 +107,7 @@ example.com. 86400 IN SOA ns hostmaster ( 1 3600 1800 1814400 3600 )</programlis
</informalexample>
</answer>
</qandaentry>
<qandaentry>
<!-- configuration -->
<question>
@@ -221,7 +205,7 @@ view "chaos" chaos {
<answer>
<para>
This may be a clock skew problem. Check that the the clocks
on the client and server are properly synchronised (e.g.,
on the client and server are properly synchronized (e.g.,
using ntp).
</para>
</answer>
@@ -245,11 +229,11 @@ 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>
<qandaentry>
<question>
<para>
@@ -264,7 +248,7 @@ view "chaos" chaos {
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
@@ -357,7 +341,7 @@ Slave 10.0.1.2:
</informalexample>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
@@ -390,7 +374,7 @@ named-checkzone example.com tmp</programlisting>
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
@@ -414,7 +398,7 @@ named-checkzone example.com tmp</programlisting>
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
@@ -479,7 +463,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
@@ -499,7 +483,7 @@ Master 10.0.1.1:
You are running chrooted (-t) and have not supplied local timezone
information in the chroot area.
</para>
<simplelist>
<simplelist type="vert">
<member>FreeBSD: /etc/localtime</member>
<member>Solaris: /etc/TIMEZONE and /usr/share/lib/zoneinfo</member>
<member>OSF: /etc/zoneinfo/localtime</member>
@@ -509,7 +493,7 @@ Master 10.0.1.1:
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
@@ -549,7 +533,7 @@ Master 10.0.1.1:
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
@@ -601,7 +585,7 @@ zone "example.net" {
</informalexample>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
@@ -692,9 +676,9 @@ server ::/0 { bogus yes; };
</programlisting>
</answer>
</qandaentry>
</qandadiv> <!-- Configuration and Setup Questions -->
<qandadiv><title>Operations Questions</title>
<qandaentry>
@@ -766,7 +750,7 @@ server ::/0 { bogus yes; };
</qandadiv> <!-- Operations Questions -->
<qandadiv><title>General Questions</title>
<qandaentry>
<question>
<para>
@@ -805,14 +789,13 @@ server ::/0 { bogus yes; };
of sending dynamic update requests to DNS servers without
being specifically configured to do so. If the update
requests are coming from a Windows 2000 machine, see
<ulink
url="http://support.microsoft.com/support/kb/articles/q246/8/04.asp">
&lt;http://support.microsoft.com/support/kb/articles/q246/8/04.asp&gt;</ulink>
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://support.microsoft.com/support/kb/articles/q246/8/04.asp">
&lt;http://support.microsoft.com/support/kb/articles/q246/8/04.asp&gt;</link>
for information about how to turn them off.
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
@@ -847,7 +830,7 @@ server ::/0 { bogus yes; };
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
@@ -865,7 +848,7 @@ server ::/0 { bogus yes; };
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
@@ -881,7 +864,7 @@ server ::/0 { bogus yes; };
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
@@ -908,7 +891,7 @@ serial-query-rate 5; // default 20</programlisting>
</answer>
</qandaentry>
<qandaentry>
<qandaentry>
<question>
<para>
I don't get RRSIG's returned when I use "dig +dnssec".
@@ -920,7 +903,7 @@ serial-query-rate 5; // default 20</programlisting>
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
@@ -957,7 +940,7 @@ serial-query-rate 5; // default 20</programlisting>
usage rules and are leaking queries to the Internet. You
should establish your own zones for these addresses to prevent
you querying the Internet's name servers for these addresses.
Please see <ulink url="http://as112.net/">&lt;http://as112.net/&gt;</ulink>
Please see <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://as112.net/">&lt;http://as112.net/&gt;</link>
for details of the problems you are causing and the counter
measures that have had to be deployed.
</para>
@@ -1004,7 +987,7 @@ empty:
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
@@ -1081,9 +1064,9 @@ empty:
</qandaentry>
</qandadiv> <!-- General Questions -->
<qandadiv><title>Operating-System Specific Questions</title>
<qandadiv><title>HPUX</title>
<qandaentry>
@@ -1111,9 +1094,9 @@ configure: error: need either working unistd.h or sys/select.h</programlisting>
</qandadiv> <!-- HPUX -->
<qandadiv><title>Linux</title>
<qandaentry>
<question>
<question>
<para>
Why do I get the following errors:
<programlisting>general: errno2result.c:109: unexpected error:
@@ -1127,7 +1110,7 @@ client: UDP client handler shutting down due to fatal receive error: unexpected
</para>
<para>
See:
<ulink url="http://marc.theaimsgroup.com/?l=linux-netdev&amp;m=113081708031466&amp;w=2">&lt;http://marc.theaimsgroup.com/?l=linux-netdev&amp;m=113081708031466&amp;w=2&gt;</ulink>
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://marc.theaimsgroup.com/?l=linux-netdev&amp;m=113081708031466&amp;w=2">&lt;http://marc.theaimsgroup.com/?l=linux-netdev&amp;m=113081708031466&amp;w=2&gt;</link>
</para>
</answer>
</qandaentry>
@@ -1144,9 +1127,9 @@ client: UDP client handler shutting down due to fatal receive error: unexpected
non-blocking is ignored. It is reported that setting
xfrm_larval_drop to 1 helps but this may have negative side effects.
See:
<ulink url="https://bugzilla.redhat.com/show_bug.cgi?id=427629">&lt;https://bugzilla.redhat.com/show_bug.cgi?id=427629&gt;</ulink>
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://bugzilla.redhat.com/show_bug.cgi?id=427629">&lt;https://bugzilla.redhat.com/show_bug.cgi?id=427629&gt;</link>
and
<ulink url="http://lkml.org/lkml/2007/12/4/260">&lt;http://lkml.org/lkml/2007/12/4/260&gt;</ulink>.
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://lkml.org/lkml/2007/12/4/260">&lt;http://lkml.org/lkml/2007/12/4/260&gt;</link>.
</para>
<para>
xfrm_larval_drop can be set to 1 by the following procedure:
@@ -1176,7 +1159,7 @@ echo "1" &gt; proc/sys/net/core/xfrm_larval_drop</programlisting>
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
@@ -1195,7 +1178,7 @@ echo "1" &gt; proc/sys/net/core/xfrm_larval_drop</programlisting>
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
@@ -1216,7 +1199,7 @@ modprobe capability</programlisting>
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
@@ -1242,8 +1225,7 @@ modprobe capability</programlisting>
<para>
Red Hat have adopted the National Security Agency's
SELinux security policy (see <ulink
url="http://www.nsa.gov/selinux">&lt;http://www.nsa.gov/selinux&gt;</ulink>)
SELinux security policy (see <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.nsa.gov/selinux">&lt;http://www.nsa.gov/selinux&gt;</link>)
and recommendations for BIND security , which are more
secure than running named in a chroot and make use of
the bind-chroot environment unnecessary .
@@ -1277,7 +1259,7 @@ $ROOTDIR/var/tmp
able to write or create files except in the directories
above, with SELinux in Enforcing mode.
</para>
<para>
So, to allow named to update slave or DDNS zone files,
it is best to locate them in $ROOTDIR/var/named/slaves,
@@ -1288,7 +1270,7 @@ zone "slave.zone." IN {
type slave;
file "slaves/slave.zone.db";
...
};
};
zone "ddns.zone." IN {
type master;
allow-updates {...};
@@ -1321,13 +1303,13 @@ options {
system-config-securitylevel GUI, using the 'setsebool'
command, or in /etc/selinux/targeted/booleans.
</para>
<para>
You can disable SELinux protection for named entirely by
setting the 'named_disable_trans=1' SELinux tunable boolean
parameter.
</para>
<para>
The SELinux named policy defines these SELinux contexts for named:
<informalexample>
@@ -1338,7 +1320,7 @@ named_cache_t: for files modifiable by named - $ROOTDIR/var/{tmp,named/{slaves,d
</programlisting>
</informalexample>
</para>
<para>
If you want to retain use of the SELinux policy for named,
and put named files in different locations, you can do
@@ -1356,7 +1338,7 @@ named_cache_t: for files modifiable by named - $ROOTDIR/var/{tmp,named/{slaves,d
</programlisting>
</informalexample>
</para>
<para>
To create a custom modifiable named data location, e.g.
'/var/log/named' for a log file, do:
@@ -1366,7 +1348,7 @@ named_cache_t: for files modifiable by named - $ROOTDIR/var/{tmp,named/{slaves,d
</programlisting>
</informalexample>
</para>
<para>
To create a custom zone file location, e.g. /root/zones/, do:
<informalexample>
@@ -1375,7 +1357,7 @@ named_cache_t: for files modifiable by named - $ROOTDIR/var/{tmp,named/{slaves,d
</programlisting>
</informalexample>
</para>
<para>
See these man-pages for more information : selinux(8),
named_selinux(8), chcon(1), setsebool(8)
@@ -1401,8 +1383,8 @@ named_cache_t: for files modifiable by named - $ROOTDIR/var/{tmp,named/{slaves,d
</question>
<answer>
<para>
Ubuntu uses AppArmor <ulink url="http://en.wikipedia.org/wiki/AppArmor">
&lt;http://en.wikipedia.org/wiki/AppArmor&gt;</ulink> in
Ubuntu uses AppArmor <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://en.wikipedia.org/wiki/AppArmor">
&lt;http://en.wikipedia.org/wiki/AppArmor&gt;</link> in
addition to normal file system permissions to protect the system.
</para>
<para>
@@ -1436,11 +1418,11 @@ proc /var/named/proc proc defaults 0 0</programlisting>
</para>
</answer>
</qandaentry>
</qandadiv> <!-- Linux -->
<qandadiv><title>Windows</title>
<qandaentry>
<question>
<para>
@@ -1461,7 +1443,7 @@ proc /var/named/proc proc defaults 0 0</programlisting>
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
@@ -1487,11 +1469,11 @@ options {
</informalexample>
</answer>
</qandaentry>
</qandadiv> <!-- Windows -->
<qandadiv><title>FreeBSD</title>
<qandaentry>
<question>
<para>
@@ -1511,16 +1493,16 @@ rand_irqs="3 14 15"</programlisting>
</informalexample>
<para>
See also
<ulink url="http://people.freebsd.org/~dougb/randomness.html">
&lt;http://people.freebsd.org/~dougb/randomness.html&gt;</ulink>.
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://people.freebsd.org/~dougb/randomness.html">
&lt;http://people.freebsd.org/~dougb/randomness.html&gt;</link>.
</para>
</answer>
</qandaentry>
</qandadiv> <!-- FreeBSD -->
<qandadiv><title>Solaris</title>
<qandaentry>
<question>
<para>
@@ -1532,15 +1514,14 @@ rand_irqs="3 14 15"</programlisting>
Sun has a blog entry describing how to do this.
</para>
<para>
<ulink
url="http://blogs.sun.com/roller/page/anay/Weblog?catname=%2FSolaris">
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://blogs.sun.com/roller/page/anay/Weblog?catname=%2FSolaris">
&lt;http://blogs.sun.com/roller/page/anay/Weblog?catname=%2FSolaris&gt;
</ulink>
</link>
</para>
</answer>
</qandaentry>
</qandadiv>
</qandadiv> <!-- Solaris -->
<qandadiv><title>Apple Mac OS X</title>
@@ -1556,7 +1537,7 @@ rand_irqs="3 14 15"</programlisting>
</para>
<informalexample>
<programlisting>
% sudo rndc-confgen > /etc/rndc.conf</programlisting>
% sudo rndc-confgen &gt; /etc/rndc.conf</programlisting>
</informalexample>
<para>
Copy the key statement from /etc/rndc.conf into /etc/rndc.key, e.g.:
@@ -1564,7 +1545,7 @@ rand_irqs="3 14 15"</programlisting>
<informalexample>
<programlisting>
key "rndc-key" {
algorithm hmac-md5;
algorithm hmac-sha256;
secret "uvceheVuqf17ZwIcTydddw==";
};</programlisting>
</informalexample>
@@ -1604,8 +1585,8 @@ key "rndc-key" {
</answer>
</qandaentry>
</qandadiv>
</qandadiv> <!-- Apple Mac OS X -->
</qandadiv> <!-- Operating-System Specific Questions -->
</qandaset>

516
HISTORY
View File

@@ -1,313 +1,233 @@
Summary of functional enhancements from prior major releases of BIND 9:
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.
* 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.
* 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.
* 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 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 () 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.
* DNSSEC is now DS based (RFC 3658).
* DNSSEC lookaside validation.
* check-names is now implemented.
* rrset-order is 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.
* 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.
* 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.

246
HISTORY.md Normal file
View File

@@ -0,0 +1,246 @@
<!--
- Copyright (C) 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.
-->
### 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).
- DNSSEC lookaside validation.
- check-names is now implemented.
- rrset-order is 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.
- 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.

4
Kyuafile Normal file
View File

@@ -0,0 +1,4 @@
syntax(2)
test_suite('bind9')
include('lib/Kyuafile')

View File

@@ -1,5 +1,4 @@
# Copyright (C) 2004-2009, 2011 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-2002 Internet Software Consortium.
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
@@ -13,13 +12,12 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.62 2011/09/06 04:06:37 marka Exp $
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = @top_builddir@
@BIND9_VERSION@
VERSION=@BIND9_VERSION@
SUBDIRS = make unit lib bin doc @LIBEXPORT@
TARGETS =
@@ -28,10 +26,13 @@ MANPAGES = isc-config.sh.1
HTMLPAGES = isc-config.sh.html
MANOBJS = ${MANPAGES} ${HTMLPAGES}
MANOBJS = README HISTORY OPTIONS ${MANPAGES} ${HTMLPAGES}
@BIND9_MAKE_RULES@
newrr:
cd lib/dns; ${MAKE} newrr
distclean::
rm -f config.cache config.h config.log config.status TAGS
rm -f libtool isc-config.sh configure.lineno
@@ -54,25 +55,66 @@ installdirs:
install:: isc-config.sh installdirs
${INSTALL_SCRIPT} isc-config.sh ${DESTDIR}${bindir}
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}
uninstall::
rm -f ${DESTDIR}${sysconfdir}/bind.keys
rm -f ${DESTDIR}${mandir}/man1/bind9-config.1
rm -f ${DESTDIR}${mandir}/man1/isc-config.sh.1
rm -f ${DESTDIR}${bindir}/bind9-config
rm -f ${DESTDIR}${bindir}/isc-config.sh
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:
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; \
(test -f ${top_builddir}/unit/unittest.sh && \
$(SHELL) ${top_builddir}/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 $@
README: README.md
${PANDOC} --email-obfuscation=none -s -t html README.md | \
${W3M} -dump -cols 75 -O ascii -T text/html | \
sed -e '$${/^$$/d;}' > $@
HISTORY: HISTORY.md
${PANDOC} --email-obfuscation=none -s -t html HISTORY.md | \
${W3M} -dump -cols 75 -O ascii -T text/html | \
sed -e '$${/^$$/d;}' > $@
OPTIONS: OPTIONS.md
${PANDOC} --email-obfuscation=none -s -t html OPTIONS.md | \
${W3M} -dump -cols 75 -O ascii -T text/html | \
sed -e '$${/^$$/d;}' > $@
CONTRIBUTING: CONTRIBUTING.md
${PANDOC} --email-obfuscation=none -s -t html CONTRIBUTING.md | \
${W3M} -dump -cols 75 -O ascii -T text/html | \
sed -e '$${/^$$/d;}' > $@
unit::
sh ${top_builddir}/unit/unittest.sh
clean::
rm -f FAQ.tmp

29
OPTIONS Normal file
View File

@@ -0,0 +1,29 @@
Setting the STD_CDEFINES environment variable before running configure can
be used to enable certain compile-time options that are not explicitly
defined in configure.
Some of these settings are:
Setting Description
Don't ovewrite memory when allocating or freeing
-DISC_MEM_FILL=0 it; this improves performance but makes
debugging more difficult.
Don't track memory allocations by file and line
-DISC_MEM_TRACKLINES=0 number; this improves performance but makes
debugging more difficult.
-DISC_FACILITY=LOG_LOCAL0 Change the default syslog facility for named
-DNS_CLIENT_DROPPORT=0 Disable dropping queries from particular
well-known ports:
-DCHECK_SIBLING=0 Don't check sibling glue in named-checkzone
-DCHECK_LOCAL=0 Don't check out-of-zone addresses in
named-checkzone
-DNS_RUN_PID_DIR=0 Create default PID files in ${localstatedir}/run
rather than ${localstatedir}/run/{named,lwresd}/
Enable DNSSEC signature chasing support in dig.
-DDIG_SIGCHASE=1 (Note: This feature is deprecated. Use delv
instead.)
Increase the maximum number of configurable
-DNS_RPZ_MAX_ZONES=64 response policy zones from 32 to 64; this is the
highest possible setting
-DISC_HEAP_CHECK Test heap consistency after every heap
operation; used when debugging

33
OPTIONS.md Normal file
View File

@@ -0,0 +1,33 @@
<!--
- Copyright (C) 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.
-->
Setting the `STD_CDEFINES` environment variable before running `configure`
can be used to enable certain compile-time options that are not explicitly
defined in `configure`.
Some of these settings are:
|Setting |Description |
|-----------------------------------|----------------------------------------|
|`-DISC_MEM_FILL=0`|Don't ovewrite memory when allocating or freeing it; this improves performance but makes debugging more difficult.|
|`-DISC_MEM_TRACKLINES=0`|Don't track memory allocations by file and line number; this improves performance but makes debugging more difficult.|
|<nobr>`-DISC_FACILITY=LOG_LOCAL0`</nobr>|Change the default syslog facility for `named`|
|`-DNS_CLIENT_DROPPORT=0`|Disable dropping queries from particular well-known ports:|
|`-DCHECK_SIBLING=0`|Don't check sibling glue in `named-checkzone`|
|`-DCHECK_LOCAL=0`|Don't check out-of-zone addresses in `named-checkzone`|
|`-DNS_RUN_PID_DIR=0`|Create default PID files in `${localstatedir}/run` rather than `${localstatedir}/run/{named,lwresd}/`|
|`-DDIG_SIGCHASE=1`|Enable DNSSEC signature chasing support in `dig`. (Note: This feature is deprecated. Use `delv` instead.)|
|`-DNS_RPZ_MAX_ZONES=64`|Increase the maximum number of configurable response policy zones from 32 to 64; this is the highest possible setting|
|`-DISC_HEAP_CHECK`|Test heap consistency after every heap operation; used when debugging|

704
README
View File

@@ -1,376 +1,464 @@
BIND 9
BIND version 9 is a major rewrite of nearly all aspects of the
underlying BIND architecture. Some of the important features of
BIND 9 are:
Contents
- DNS Security
DNSSEC (signed zones)
TSIG (signed DNS requests)
1. Introduction
2. Reporting bugs and getting help
3. Contributing to BIND
4. BIND 9.9 features
5. Building BIND
6. macOS
7. Compile-time options
8. Automated testing
9. Documentation
10. Change log
11. Acknowledgments
- IP version 6
Answers DNS queries on IPv6 sockets
IPv6 resource records (AAAA)
Experimental IPv6 Resolver Library
Introduction
- DNS Protocol Enhancements
IXFR, DDNS, Notify, EDNS0
Improved standards conformance
BIND (Berkeley Internet Name Domain) is a complete, highly portable
implementation of the DNS (Domain Name System) protocol.
- Views
One server process can provide multiple "views" of
the DNS namespace, e.g. an "inside" view to certain
clients, and an "outside" view to others.
The BIND name server, named, is able to serve as an authoritative name
server, recursive resolver, DNS forwarder, or all three simultaneously. It
implements views for split-horizon DNS, automatic DNSSEC zone signing and
key management, catalog zones to facilitate provisioning of zone data
throughout a name server constellation, response policy zones (RPZ) to
protect clients from malicious data, response rate limiting (RRL) and
recursive query limits to reduce distributed denial of service attacks,
and many other advanced DNS features. BIND also includes a suite of
administrative tools, including the dig and delv DNS lookup tools,
nsupdate for dynamic DNS zone updates, rndc for remote name server
administration, and more.
- Multiprocessor Support
BIND 9 is a complete re-write of the BIND architecture that was used in
versions 4 and 8. Internet Systems Consortium (https://www.isc.org), a 501
(c)(3) public benefit corporation dedicated to providing software and
services in support of the Internet infrastructure, developed BIND 9 and
is responsible for its ongoing maintenance and improvement. BIND is open
source software licenced under the terms of the ISC License for all
versions up to and including BIND 9.10, and the Mozilla Public License
version 2.0 for all subsequent verisons.
- Improved Portability Architecture
For a summary of features introduced in past major releases of BIND, see
the file HISTORY.
For a detailed list of changes made throughout the history of BIND 9, see
the file CHANGES. See below for details on the CHANGES file format.
BIND version 9 development has been underwritten by the following
organizations:
For up-to-date release notes and errata, see http://www.isc.org/software/
bind9/releasenotes
Sun Microsystems, Inc.
Hewlett Packard
Compaq Computer Corporation
IBM
Process Software Corporation
Silicon Graphics, Inc.
Network Associates, Inc.
U.S. Defense Information Systems Agency
USENIX Association
Stichting NLnet - NLnet Foundation
Nominum, Inc.
Reporting bugs and getting help
For a summary of functional enhancements in previous
releases, see the HISTORY file.
To report non-security-sensitive bugs or request new features, you may
open an Issue in the BIND 9 project on the ISC GitLab server at https://
gitlab.isc.org/isc-projects/bind9.
For a detailed list of user-visible changes from
previous releases, see the CHANGES file.
Please note that, unless you explicitly mark the newly created Issue as
"confidential", it will be publicly readable. Please do not include any
information in bug reports that you consider to be confidential unless the
issue has been marked as such. In particular, if submitting the contents
of your configuration file in a non-confidential Issue, it is advisable to
obscure key secrets: this can be done automatically by using
named-checkconf -px.
BIND 9.9.0
If the bug you are reporting is a potential security issue, such as an
assertion failure or other crash in named, please do NOT use GitLab to
report it. Instead, please send mail to security-officer@isc.org.
BIND 9.9.0 includes a number of changes from BIND 9.8 and earlier
releases. New features include:
Professional support and training for BIND are available from ISC at
https://www.isc.org/support.
- 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
To join the BIND Users mailing list, or view the archives, visit https://
lists.isc.org/mailman/listinfo/bind-users.
BIND 9.8.0
If you're planning on making changes to the BIND 9 source code, you may
also want to join the BIND Workers mailing list, at https://lists.isc.org/
mailman/listinfo/bind-workers.
BIND 9.8.0 includes a number of changes from BIND 9.7 and earlier
releases. New features include:
Contributing to BIND
- 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.
ISC maintains a public git repository for BIND; details can be found at
http://www.isc.org/git/.
Information for BIND contributors can be found in the following files: -
General information: doc/dev/contrib.md - BIND 9 code style: doc/dev/
style.md - BIND architecture and developer guide: doc/dev/dev.md
Building
Patches for BIND may be submitted as Merge Requests in the ISC GitLab
server at at https://gitlab.isc.org/isc-projects/bind9/merge_requests.
BIND 9 currently requires a UNIX system with an ANSI C compiler,
basic POSIX support, and a 64 bit integer type.
By default, external contributors don't have ability to fork BIND in the
GitLab server, but if you wish to contribute code to BIND, you may request
permission to do so. Thereafter, you can create git branches and directly
submit requests that they be reviewed and merged.
We've had successful builds and tests on the following systems:
If you prefer, you may also submit code by opening a GitLab Issue and
including your patch as an attachment, preferably generated by git
format-patch.
COMPAQ Tru64 UNIX 5.1B
Fedora Core 6
FreeBSD 4.10, 5.2.1, 6.2
HP-UX 11.11
Mac OS X 10.5
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
BIND 9.9 features
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.
BIND 9.9.0 includes a number of changes from BIND 9.8 and earlier
releases. New features include:
We have recent reports from the user community that a supported
version of BIND will build and run on the following systems:
* 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
AIX 4.3, 5L
CentOS 4, 4.5, 5
Darwin 9.0.0d1/ARM
Debian 4, 5, 6
Fedora Core 5, 7, 8
FreeBSD 6, 7, 8
HP-UX 11.23 PA
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
6303.
To build, just
* 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
./configure
make
BIND 9.9.1
Do not use a parallel "make".
BIND 9.9.1 is a maintenance release.
Several environment variables that can be set before running
configure will affect compilation:
BIND 9.9.2
CC
The C compiler to use. configure tries to figure
out the right one for supported systems.
BIND 9.9.2 is a maintenance release, and addresses the security flaw
described in CVE-2012-4244.
CFLAGS
C compiler flags. Defaults to include -g and/or -O2
as supported by the compiler.
BIND 9.9.3
STD_CINCLUDES
System header file directories. Can be used to specify
where add-on thread or IPv6 support is, for example.
Defaults to empty string.
BIND 9.9.3 is a maintenance release and addresses the security flaws
described in CVE-2012-5688, CVE-2012-5689 and CVE-2013-2266.
STD_CDEFINES
Any additional preprocessor symbols you want defined.
Defaults to empty string.
BIND 9.9.4
Possible settings:
Change the default syslog facility of named/lwresd.
-DISC_FACILITY=LOG_LOCAL0
Enable DNSSEC signature chasing support in dig.
-DDIG_SIGCHASE=1 (sets -DDIG_SIGCHASE_TD=1 and
-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.
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.,
-DISC_SOCKET_POLLWATCH_TIMEOUT=20
BIND 9.9.4 is a maintenance release, and addresses 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.
LDFLAGS
Linker flags. Defaults to empty string.
BIND 9.9.5
The following need to be set when cross compiling.
BIND 9.9.5 is a maintenance release, and addresses the security flaws
described in CVE-2013-6320 and CVE-2014-0591. It also includes the
following functional enhancements:
BUILD_CC
The native C compiler.
BUILD_CFLAGS (optional)
BUILD_CPPFLAGS (optional)
Possible Settings:
-DNEED_OPTARG=1 (optarg is not declared in <unistd.h>)
BUILD_LDFLAGS (optional)
BUILD_LIBS (optional)
* 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.
To build shared libraries, specify "--with-libtool" on the
configure command line.
BIND 9.9.6
For the server to support DNSSEC, you need to build it
with crypto support. You must have OpenSSL 0.9.5a
or newer installed and specify "--with-openssl" on the
configure command line. If OpenSSL is installed under
a nonstandard prefix, you can tell configure where to
look for it using "--with-openssl=/prefix".
BIND 9.9.6 is a maintenance release, and also includes the following new
functionality.
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.
* 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.
On some platforms, BIND 9 can be built with multithreading
support, allowing it to take advantage of multiple CPUs.
You can specify whether to build a multithreaded BIND 9
by specifying "--enable-threads" or "--disable-threads"
on the configure command line. The default is operating
system dependent.
BIND 9.9.7
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.
BIND 9.9.7 is a maintenance release, and addresses the security flaws
described in CVE-2014-8500 and CVE-2015-1349.
If your operating system has integrated support for IPv6, it
will be used automatically. If you have installed KAME IPv6
separately, use "--with-kame[=PATH]" to specify its location.
BIND 9.9.8
"make install" will install "named" and the various BIND 9 libraries.
By default, installation is into /usr/local, but this can be changed
with the "--prefix" option when running "configure".
BIND 9.9.8 is a maintenance release, and addresses the security flaws
described in CVE-2015-4620, CVE-2015-5477, CVE-2015-5722, and
CVE-2015-5986.
You may specify the option "--sysconfdir" to set the directory
where configuration files like "named.conf" go by default,
and "--localstatedir" to set the default parent directory
of "run/named.pid". For backwards compatibility with BIND 8,
--sysconfdir defaults to "/etc" and --localstatedir defaults to
"/var" if no --prefix option is given. If there is a --prefix
option, sysconfdir defaults to "$prefix/etc" and localstatedir
defaults to "$prefix/var".
It also makes the following new features available via a compile-time
option:
To see additional configure options, run "configure --help".
Note that the help message does not reflect the BIND 8
compatibility defaults for sysconfdir and localstatedir.
* New "fetchlimit" quotas are now available for the use of recursive
resolvers that are are under high query load for domains whose
authoritative servers are nonresponsive or are experiencing a denial
of service attack.
+ fetches-per-server limits the number of simultaneous queries that
can be sent to any single authoritative server. The configured
value is a starting point; it is automatically adjusted downward
if the server is partially or completely non-responsive. The
algorithm used to adjust the quota can be configured via the
fetch-quota-params option.
+ fetches-per-zone limits the number of simultaneous queries that
can be sent for names within a single domain. (Note: Unlike
fetches-per-server, this value is not self-tuning.)
+ New stats counters have been added to count queries spilled due to
these quotas. NOTE: These options are NOT built in by default; use
configure --enable-fetchlimit to enable them.
If you're planning on making changes to the BIND 9 source, you
should also "make depend". If you're using Emacs, you might find
"make tags" helpful.
BIND 9.9.9
If you need to re-run configure please run "make distclean" first.
This will ensure that all the option changes take.
BIND 9.9.9 is a maintenance release and addresses bugs found in BIND 9.9.8
and earlier, as well as the security flaws described in CVE-2015-8000,
CVE-2015-8461, CVE-2015-8704, CVE-2016-1285, CVE-2016-1286, CVE-2016-2775
and CVE-2016-2776.
Building with gcc is not supported, unless gcc is the vendor's usual
compiler (e.g. the various BSD systems, Linux).
Known compiler issues:
* gcc-3.2.1 and gcc-3.1.1 is known to cause problems with solaris-x86.
* gcc prior to gcc-3.2.3 ultrasparc generates incorrect code at -02.
* gcc-3.3.5 powerpc generates incorrect code at -02.
* Irix, MipsPRO 7.4.1m is known to cause problems.
BIND 9.9.10
A limited test suite can be run with "make test". Many of
the tests require you to configure a set of virtual IP addresses
on your system, and some require Perl; see bin/tests/system/README
for details.
BIND 9.9.10 is a maintenance release and addresses the security flaws
disclosed in CVE-2016-2775, CVE-2016-2776, CVE-2016-6170, CVE-2016-8864,
CVE-2016-9131, CVE-2016-9147, CVE-2016-9444, CVE-2017-3135, CVE-2017-3136,
CVE-2017-3137, and CVE-2017-3138.
SunOS 4 requires "printf" to be installed to make the shared
libraries. sh-utils-1.16 provides a "printf" which compiles
on SunOS 4.
BIND 9.9.11
BIND 9.9.11 is a maintenance release, and addresses the security flaws
disclosed in CVE-2017-3140, CVE-2017-3141, CVE-2017-3142 and
CVE-2017-3143.
BIND 9.9.12
BIND 9.9.12 is a maintenance release, and addresses the security flaw
disclosed in CVE-2017-3145.
BIND 9.9.13
BIND 9.9.13 is a maintenance release, and addresses the security flaw
disclosed in CVE-2018-5738.
Building BIND
BIND requires a UNIX or Linux system with an ANSI C compiler, basic POSIX
support, and a 64-bit integer type. Successful builds have been observed
on many versions of Linux and UNIX, including RedHat, Fedora, Debian,
Ubuntu, SuSE, Slackware, FreeBSD, NetBSD, OpenBSD, Mac OS X, Solaris,
HP-UX, AIX, SCO OpenServer, and OpenWRT.
BIND is also available for Windows XP, 2003, 2008, and higher. See
win32utils/readme1st.txt for details on building for Windows systems.
To build on a UNIX or Linux system, use:
$ ./configure
$ make
If you're planning on making changes to the BIND 9 source, you should run
make depend. If you're using Emacs, you might find make tags helpful.
Several environment variables that can be set before running configure
will affect compilation:
Variable Description
CC The C compiler to use. configure tries to figure out the
right one for supported systems.
C compiler flags. Defaults to include -g and/or -O2 as
CFLAGS supported by the compiler. Please include '-g' if you need
to set CFLAGS.
System header file directories. Can be used to specify
STD_CINCLUDES where add-on thread or IPv6 support is, for example.
Defaults to empty string.
Any additional preprocessor symbols you want defined.
STD_CDEFINES Defaults to empty string. For a list of possible settings,
see the file OPTIONS.
LDFLAGS Linker flags. Defaults to empty string.
BUILD_CC Needed when cross-compiling: the native C compiler to use
when building for the target system.
BUILD_CFLAGS Optional, used for cross-compiling
BUILD_CPPFLAGS
BUILD_LDFLAGS
BUILD_LIBS
macOS
Building on macOS assumes that the "Command Tools for Xcode" is installed.
This can be downloaded from https://developer.apple.com/download/more/ or
if you have Xcode already installed you can run "xcode-select --install".
This will add /usr/include to the system and install the compiler and
other tools so that they can be easily found.
Compile-time options
To see a full list of configuration options, run configure --help.
On most platforms, BIND 9 is built with multithreading support, allowing
it to take advantage of multiple CPUs. You can configure this by
specifying --enable-threads or --disable-threads on the configure command
line. The default is to enable threads, except on some older operating
systems on which threads are known to have had problems in the past.
(Note: Prior to BIND 9.10, the default was to disable threads on Linux
systems; this has now been reversed. On Linux systems, the threaded build
is known to change BIND's behavior with respect to file permissions; it
may be necessary to specify a user with the -u option when running named.)
To build shared libraries, specify --with-libtool on the configure command
line.
Certain compiled-in constants and default settings can be increased to
values better suited to large servers with abundant memory resources (e.g,
64-bit servers with 12G or more of memory) by specifying --with-tuning=
large on the configure command line. This can improve performance on big
servers, but will consume more memory and may degrade performance on
smaller systems.
For the server to support DNSSEC, you need to build it with crypto
support. To use OpenSSL, you should have OpenSSL 1.0.2e or newer
installed. If the OpenSSL library is installed in a nonstandard location,
specify the prefix using "--with-openssl=<PREFIX>" on the configure
command line. To use a PKCS#11 hardware service module for cryptographic
operations, specify the path to the PKCS#11 provider library using
"--with-pkcs11=<PREFIX>", and configure BIND with
"--enable-native-pkcs11".
To support the HTTP statistics channel, the server must be linked with
libxml2 http://xmlsoft.org If this is installed at a nonstandard location,
specify the prefix using --with-libxml2=/prefix.
Portions of BIND that are written in Python, including dnssec-coverage,
dnssec-checkds, and some of the system tests, require the 'argparse'
module to be available. 'argparse' is a standard module as of Python 2.7
and Python 3.2.
On some platforms it is necessary to explicitly request large file support
to handle files bigger than 2GB. This can be done by using
--enable-largefile on the configure command line.
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. By default, fixed rrset-order 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 separately, use --with-kame
[=PATH] to specify its location.
make install will install named and the various BIND 9 libraries. By
default, installation is into /usr/local, but this can be changed with the
--prefix option when running configure.
You may specify the option --sysconfdir to set the directory where
configuration files like named.conf go by default, and --localstatedir to
set the default parent directory of run/named.pid. For backwards
compatibility with BIND 8, --sysconfdir defaults to /etc and
--localstatedir defaults to /var if no --prefix option is given. If there
is a --prefix option, sysconfdir defaults to $prefix/etc and localstatedir
defaults to $prefix/var.
Automated testing
A system test suite can be run with make test. The system tests require
you to configure a set of virtual IP addresses on your system (this allows
multiple servers to run locally and communicate with one another). These
IP addresses can be configured by running the command bin/tests/system/
ifconfig.sh up as root.
Some tests require Perl and the Net::DNS and/or IO::Socket::INET6 modules,
and will be skipped if these are not available. Some tests require Python
and the 'dnspython' module and will be skipped if these are not available.
See bin/tests/system/README for further details.
Unit tests are implemented using Automated Testing Framework (ATF). To run
them, use configure --with-atf, then run make test or make unit.
Documentation
The BIND 9 Administrator Reference Manual is included with the
source distribution in DocBook XML and HTML format, in the
doc/arm directory.
The BIND 9 Administrator Reference Manual is included with the source
distribution, in DocBook XML, HTML and PDF format, in the doc/arm
directory.
Some of the programs in the BIND 9 distribution have man pages
in their directories. In particular, the command line
options of "named" are documented in /bin/named/named.8.
There is now also a set of man pages for the lwres library.
Some of the programs in the BIND 9 distribution have man pages in their
directories. In particular, the command line options of named are
documented in bin/named/named.8.
If you are upgrading from BIND 8, please read the migration
notes in doc/misc/migration. If you are upgrading from
BIND 4, read doc/misc/migration-4to9.
Frequently (and not-so-frequently) asked questions and their answers can
be found in the ISC Knowledge Base at https://kb.isc.org.
Frequently asked questions and their answers can be found in
FAQ.
Additional information on various subjects can be found in other README
files throughout the source tree.
Additional information on various subjects can be found
in the other README files.
Change log
A detailed list of all changes that have been made throughout the
development 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:
Change Log
Category Description
[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 performance
[performance] Other changes to improve server performance
[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
Used in the master development branch to reserve change
[placeholder] numbers for use in other branches, e.g. when fixing a bug
that only exists in older releases
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:
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.
[func] New feature
Acknowledgments
[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
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
bind9-bugs@isc.org
To join the BIND Users mailing list, send mail to
bind-users-request@isc.org
archives of which can be found via
http://www.isc.org/ops/lists/
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
bind-workers-request@isc.org
* The original development of BIND 9 was underwritten by the following
organizations:
Sun Microsystems, Inc.
Hewlett Packard
Compaq Computer Corporation
IBM
Process Software Corporation
Silicon Graphics, Inc.
Network Associates, Inc.
U.S. Defense Information Systems Agency
USENIX Association
Stichting NLnet - NLnet Foundation
Nominum, Inc.
* This product includes software developed by the OpenSSL Project for
use in the OpenSSL Toolkit. http://www.OpenSSL.org/
* This product includes cryptographic software written by Eric Young
(eay@cryptsoft.com)
* This product includes software written by Tim Hudson
(tjh@cryptsoft.com)

472
README.md Normal file
View File

@@ -0,0 +1,472 @@
<!--
- Copyright (C) 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.
-->
# BIND 9
### Contents
1. [Introduction](#intro)
1. [Reporting bugs and getting help](#help)
1. [Contributing to BIND](#contrib)
1. [BIND 9.9 features](#features)
1. [Building BIND](#build)
1. [macOS](#macos)
1. [Compile-time options](#opts)
1. [Automated testing](#testing)
1. [Documentation](#doc)
1. [Change log](#changes)
1. [Acknowledgments](#ack)
### <a name="intro"/> Introduction
BIND (Berkeley Internet Name Domain) is a complete, highly portable
implementation of the DNS (Domain Name System) protocol.
The BIND name server, `named`, is able to serve as an authoritative name
server, recursive resolver, DNS forwarder, or all three simultaneously. It
implements views for split-horizon DNS, automatic DNSSEC zone signing and
key management, catalog zones to facilitate provisioning of zone data
throughout a name server constellation, response policy zones (RPZ) to
protect clients from malicious data, response rate limiting (RRL) and
recursive query limits to reduce distributed denial of service attacks,
and many other advanced DNS features. BIND also includes a suite of
administrative tools, including the `dig` and `delv` DNS lookup tools,
`nsupdate` for dynamic DNS zone updates, `rndc` for remote name server
administration, and more.
BIND 9 is a complete re-write of the BIND architecture that was used in
versions 4 and 8. Internet Systems Consortium
([https://www.isc.org](https://www.isc.org)), a 501(c)(3) public benefit
corporation dedicated to providing software and services in support of the
Internet infrastructure, developed BIND 9 and is responsible for its
ongoing maintenance and improvement. BIND is open source software
licenced under the terms of the ISC License for all versions up to and
including BIND 9.10, and the Mozilla Public License version 2.0 for all
subsequent verisons.
For a summary of features introduced in past major releases of BIND,
see the file [HISTORY](HISTORY.md).
For a detailed list of changes made throughout the history of BIND 9, see
the file [CHANGES](CHANGES). See [below](#changes) for details on the
CHANGES file format.
For up-to-date release notes and errata, see
[http://www.isc.org/software/bind9/releasenotes](http://www.isc.org/software/bind9/releasenotes)
### <a name="help"/> Reporting bugs and getting help
To report non-security-sensitive bugs or request new features, you may
open an Issue in the BIND 9 project on the
[ISC GitLab server](https://gitlab.isc.org) at
[https://gitlab.isc.org/isc-projects/bind9](https://gitlab.isc.org/isc-projects/bind9).
Please note that, unless you explicitly mark the newly created Issue as
"confidential", it will be publicly readable. Please do not include any
information in bug reports that you consider to be confidential unless
the issue has been marked as such. In particular, if submitting the
contents of your configuration file in a non-confidential Issue, it is
advisable to obscure key secrets: this can be done automatically by
using `named-checkconf -px`.
If the bug you are reporting is a potential security issue, such as an
assertion failure or other crash in `named`, please do *NOT* use GitLab to
report it. Instead, please send mail to
[security-officer@isc.org](mailto:security-officer@isc.org).
Professional support and training for BIND are available from
ISC at [https://www.isc.org/support](https://www.isc.org/support).
To join the __BIND Users__ mailing list, or view the archives, visit
[https://lists.isc.org/mailman/listinfo/bind-users](https://lists.isc.org/mailman/listinfo/bind-users).
If you're planning on making changes to the BIND 9 source code, you
may also want to join the __BIND Workers__ mailing list, at
[https://lists.isc.org/mailman/listinfo/bind-workers](https://lists.isc.org/mailman/listinfo/bind-workers).
### <a name="contrib"/> Contributing to BIND
ISC maintains a public git repository for BIND; details can be found
at [http://www.isc.org/git/](http://www.isc.org/git/).
Information for BIND contributors can be found in the following files:
- General information: [doc/dev/contrib.md](doc/dev/contrib.md)
- BIND 9 code style: [doc/dev/style.md](doc/dev/style.md)
- BIND architecture and developer guide: [doc/dev/dev.md](doc/dev/dev.md)
Patches for BIND may be submitted as
[Merge Requests](https://gitlab.isc.org/isc-projects/bind9/merge_requests)
in the [ISC GitLab server](https://gitlab.isc.org) at
at [https://gitlab.isc.org/isc-projects/bind9/merge_requests](https://gitlab.isc.org/isc-projects/bind9/merge_requests).
By default, external contributors don't have ability to fork BIND in the
GitLab server, but if you wish to contribute code to BIND, you may request
permission to do so. Thereafter, you can create git branches and directly
submit requests that they be reviewed and merged.
If you prefer, you may also submit code by opening a
[GitLab Issue](https://gitlab.isc.org/isc-projects/bind9/issues) and
including your patch as an attachment, preferably generated by
`git format-patch`.
### <a name="features"/> BIND 9.9 features
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
#### BIND 9.9.1
BIND 9.9.1 is a maintenance release.
#### BIND 9.9.2
BIND 9.9.2 is a maintenance release, and addresses the security flaw
described in CVE-2012-4244.
#### BIND 9.9.3
BIND 9.9.3 is a maintenance release and addresses the security
flaws described in CVE-2012-5688, CVE-2012-5689 and CVE-2013-2266.
#### BIND 9.9.4
BIND 9.9.4 is a maintenance release, and addresses 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.5
BIND 9.9.5 is a maintenance release, and addresses 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.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.7
BIND 9.9.7 is a maintenance release, and addresses the security flaws
described in CVE-2014-8500 and CVE-2015-1349.
#### BIND 9.9.8
BIND 9.9.8 is a maintenance release, and addresses the security flaws
described in CVE-2015-4620, CVE-2015-5477, CVE-2015-5722, and
CVE-2015-5986.
It also makes the following new features available via a compile-time
option:
* New "fetchlimit" quotas are now available for the use of
recursive resolvers that are are under high query load for
domains whose authoritative servers are nonresponsive or are
experiencing a denial of service attack.
* `fetches-per-server` limits the number of simultaneous queries that
can be sent to any single authoritative server. The configured value
is a starting point; it is automatically adjusted downward if the
server is partially or completely non-responsive. The algorithm used
to adjust the quota can be configured via the `fetch-quota-params`
option.
* `fetches-per-zone` limits the number of simultaneous queries that can
be sent for names within a single domain. (Note: Unlike
`fetches-per-server`, this value is not self-tuning.)
* New stats counters have been added to count queries spilled due to
these quotas.
NOTE: These options are NOT built in by default; use
`configure --enable-fetchlimit` to enable them.
#### BIND 9.9.9
BIND 9.9.9 is a maintenance release and addresses bugs found
in BIND 9.9.8 and earlier, as well as the security flaws
described in CVE-2015-8000, CVE-2015-8461, CVE-2015-8704,
CVE-2016-1285, CVE-2016-1286, CVE-2016-2775 and CVE-2016-2776.
#### BIND 9.9.10
BIND 9.9.10 is a maintenance release and addresses the security
flaws disclosed in CVE-2016-2775, CVE-2016-2776, CVE-2016-6170,
CVE-2016-8864, CVE-2016-9131, CVE-2016-9147, CVE-2016-9444,
CVE-2017-3135, CVE-2017-3136, CVE-2017-3137, and CVE-2017-3138.
#### BIND 9.9.11
BIND 9.9.11 is a maintenance release, and addresses the security flaws
disclosed in CVE-2017-3140, CVE-2017-3141, CVE-2017-3142 and CVE-2017-3143.
#### BIND 9.9.12
BIND 9.9.12 is a maintenance release, and addresses the security flaw
disclosed in CVE-2017-3145.
#### BIND 9.9.13
BIND 9.9.13 is a maintenance release, and addresses the security flaw
disclosed in CVE-2018-5738.
### <a name="build"/> Building BIND
BIND requires a UNIX or Linux system with an ANSI C compiler, basic POSIX
support, and a 64-bit integer type. Successful builds have been observed on
many versions of Linux and UNIX, including RedHat, Fedora, Debian, Ubuntu,
SuSE, Slackware, FreeBSD, NetBSD, OpenBSD, Mac OS X, Solaris, HP-UX, AIX,
SCO OpenServer, and OpenWRT.
BIND is also available for Windows XP, 2003, 2008, and higher. See
`win32utils/readme1st.txt` for details on building for Windows systems.
To build on a UNIX or Linux system, use:
$ ./configure
$ make
If you're planning on making changes to the BIND 9 source, you should run
`make depend`. If you're using Emacs, you might find `make tags` helpful.
Several environment variables that can be set before running `configure` will
affect compilation:
|Variable|Description |
|--------------------|-----------------------------------------------|
|`CC`|The C compiler to use. `configure` tries to figure out the right one for supported systems.|
|`CFLAGS`|C compiler flags. Defaults to include -g and/or -O2 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 where add-on thread or IPv6 support is, for example. Defaults to empty string.|
|`STD_CDEFINES`|Any additional preprocessor symbols you want defined. Defaults to empty string. For a list of possible settings, see the file [OPTIONS](OPTIONS.md).|
|`LDFLAGS`|Linker flags. Defaults to empty string.|
|`BUILD_CC`|Needed when cross-compiling: the native C compiler to use when building for the target system.|
|`BUILD_CFLAGS`|Optional, used for cross-compiling|
|`BUILD_CPPFLAGS`||
|`BUILD_LDFLAGS`||
|`BUILD_LIBS`||
#### <a name="macos"> macOS
Building on macOS assumes that the "Command Tools for Xcode" is installed.
This can be downloaded from https://developer.apple.com/download/more/
or if you have Xcode already installed you can run "xcode-select --install".
This will add /usr/include to the system and install the compiler and other
tools so that they can be easily found.
#### <a name="opts"/> Compile-time options
To see a full list of configuration options, run `configure --help`.
On most platforms, BIND 9 is built with multithreading support, allowing it
to take advantage of multiple CPUs. You can configure this by specifying
`--enable-threads` or `--disable-threads` on the `configure` command line.
The default is to enable threads, except on some older operating systems on
which threads are known to have had problems in the past. (Note: Prior to
BIND 9.10, the default was to disable threads on Linux systems; this has
now been reversed. On Linux systems, the threaded build is known to change
BIND's behavior with respect to file permissions; it may be necessary to
specify a user with the -u option when running `named`.)
To build shared libraries, specify `--with-libtool` on the `configure`
command line.
Certain compiled-in constants and default settings can be increased to
values better suited to large servers with abundant memory resources (e.g,
64-bit servers with 12G or more of memory) by specifying
`--with-tuning=large` on the `configure` command line. This can improve
performance on big servers, but will consume more memory and may degrade
performance on smaller systems.
For the server to support DNSSEC, you need to build it with crypto support.
To use OpenSSL, you should have OpenSSL 1.0.2e or newer installed. If the
OpenSSL library is installed in a nonstandard location, specify the prefix
using "--with-openssl=&lt;PREFIX&gt;" on the configure command line. To use a
PKCS#11 hardware service module for cryptographic operations, specify the
path to the PKCS#11 provider library using "--with-pkcs11=&lt;PREFIX&gt;", and
configure BIND with "--enable-native-pkcs11".
To support the HTTP statistics channel, the server must be linked with
libxml2 [http://xmlsoft.org](http://xmlsoft.org) If this is installed at a
nonstandard location, specify the prefix using `--with-libxml2=/prefix`.
Portions of BIND that are written in Python, including
`dnssec-coverage`, `dnssec-checkds`, and some of the
system tests, require the 'argparse' module to be available.
'argparse' is a standard module as of Python 2.7 and Python 3.2.
On some platforms it is necessary to explicitly request large file support
to handle files bigger than 2GB. This can be done by using
`--enable-largefile` on the `configure` command line.
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. By default, fixed rrset-order 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 separately, use
`--with-kame[=PATH]` to specify its location.
`make install` will install `named` and the various BIND 9 libraries. By
default, installation is into /usr/local, but this can be changed with the
`--prefix` option when running `configure`.
You may specify the option `--sysconfdir` to set the directory where
configuration files like `named.conf` go by default, and `--localstatedir`
to set the default parent directory of `run/named.pid`. For backwards
compatibility with BIND 8, `--sysconfdir` defaults to `/etc` and
`--localstatedir` defaults to `/var` if no `--prefix` option is given. If
there is a `--prefix` option, sysconfdir defaults to `$prefix/etc` and
localstatedir defaults to `$prefix/var`.
### <a name="testing"/> Automated testing
A system test suite can be run with `make test`. The system tests require
you to configure a set of virtual IP addresses on your system (this allows
multiple servers to run locally and communicate with one another). These
IP addresses can be configured by running the command
`bin/tests/system/ifconfig.sh up` as root.
Some tests require Perl and the Net::DNS and/or IO::Socket::INET6 modules,
and will be skipped if these are not available. Some tests require Python
and the 'dnspython' module and will be skipped if these are not available.
See bin/tests/system/README for further details.
Unit tests are implemented using Automated Testing Framework (ATF).
To run them, use `configure --with-atf`, then run `make test` or
`make unit`.
### <a name="doc"/> Documentation
The *BIND 9 Administrator Reference Manual* is included with the source
distribution, in DocBook XML, HTML and PDF format, in the `doc/arm`
directory.
Some of the programs in the BIND 9 distribution have man pages in their
directories. In particular, the command line options of `named` are
documented in `bin/named/named.8`.
Frequently (and not-so-frequently) asked questions and their answers
can be found in the ISC Knowledge Base at
[https://kb.isc.org](https://kb.isc.org).
Additional information on various subjects can be found in other
`README` files throughout the source tree.
### <a name="changes"/> Change log
A detailed list of all changes that have been made throughout the
development 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:
|Category |Description |
|-------------- |-----------------------------------------------|
| [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 performance |
| [performance] | Other changes to improve server performance |
| [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.
### <a name="ack"/> Acknowledgments
* The original development of BIND 9 was underwritten by the
following organizations:
Sun Microsystems, Inc.
Hewlett Packard
Compaq Computer Corporation
IBM
Process Software Corporation
Silicon Graphics, Inc.
Network Associates, Inc.
U.S. Defense Information Systems Agency
USENIX Association
Stichting NLnet - NLnet Foundation
Nominum, Inc.
* This product includes software developed by the OpenSSL Project for use
in the OpenSSL Toolkit.
[http://www.OpenSSL.org/](http://www.OpenSSL.org/)
* This product includes cryptographic software written by Eric Young
(eay@cryptsoft.com)
* This product includes software written by Tim Hudson (tjh@cryptsoft.com)

View File

@@ -1,35 +0,0 @@
Redirect zones are used to find answers to queries when normal resolution
would result in NXDOMAIN being returned. Only one redirect zone per view
is currently supported.
To redirect to 100.100.100.2 and 2001:ffff:ffff::100.100.100.2 on NXDOMAIN
one would configure the redirect zone like this.
zone "." {
type redirect;
file "redirect.db";
};
redirect.db:
$TTL 300
@ IN SOA ns.example.net hostmaster.example.net 0 0 0 0 0
@ IN NS ns.example.net
;
; NS records do not need address records in this zone as it is not in the
; normal namespace.
;
*. IN A 100.100.100.2
*. IN AAAA 2001:ffff:ffff::100.100.100.2
To redirect all Spanish names (under .ES) one would use entries like these:
*.ES. IN A 100.100.100.3
*.ES. IN AAAA 2001:ffff:ffff::100.100.100.3
To redirect all commercial Spanish names (under COM.ES) one would use
entries like these:
*.COM.ES. IN A 100.100.100.4
*.COM.ES. IN AAAA 2001:ffff:ffff::100.100.100.4
The redirect zone supports all possible types. It is not limited to
A and AAAA record.

View File

@@ -1,6 +1,5 @@
/*
* Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -15,8 +14,6 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: acconfig.h,v 1.53 2008/12/01 23:47:44 tbox Exp $ */
/*! \file */
/***
@@ -70,9 +67,6 @@
/** define if gai_strerror() exists */
#undef HAVE_GAISTRERROR
/** define if arc4random() exists */
#undef HAVE_ARC4RANDOM
/**
* define if pthread_setconcurrency() should be called to tell the
* OS how many threads we might want to run.
@@ -138,8 +132,14 @@ 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
/* Define if threads need PTHREAD_SCOPE_SYSTEM */
#undef NEED_PTHREAD_SCOPE_SYSTEM
/* Define to 1 if you have the uname library function. */
#undef HAVE_UNAME

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,5 +1,4 @@
# Copyright (C) 2004, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-2001 Internet Software Consortium.
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
@@ -13,14 +12,12 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $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 tools nsupdate \
check confgen @PKCS11_TOOLS@
SUBDIRS = named rndc dig dnssec tools tests nsupdate \
check confgen @PYTHON_TOOLS@ @PKCS11_TOOLS@ tests
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,5 +1,4 @@
# Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000-2003 Internet Software Consortium.
# Copyright (C) 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
@@ -19,7 +18,7 @@ srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
@BIND9_VERSION@
VERSION=@BIND9_VERSION@
@BIND9_MAKE_INCLUDES@
@@ -70,7 +69,7 @@ named-checkzone.@O@: named-checkzone.c
-c ${srcdir}/named-checkzone.c
named-checkconf@EXEEXT@: named-checkconf.@O@ check-tool.@O@ ${ISCDEPLIBS} \
${ISCCFGDEPLIBS} ${BIND9DEPLIBS}
${DNSDEPLIBS} ${ISCCFGDEPLIBS} ${BIND9DEPLIBS}
export BASEOBJS="named-checkconf.@O@ check-tool.@O@"; \
export LIBS0="${BIND9LIBS} ${ISCCFGLIBS} ${DNSLIBS}"; \
${FINALBUILDCMD}
@@ -96,5 +95,12 @@ install:: named-checkconf@EXEEXT@ named-checkzone@EXEEXT@ installdirs
for m in ${MANPAGES}; do ${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man8; done
(cd ${DESTDIR}${mandir}/man8; rm -f named-compilezone.8; ${LINK_PROGRAM} named-checkzone.8 named-compilezone.8)
uninstall::
rm -f ${DESTDIR}${mandir}/man8/named-compilezone.8
for m in ${MANPAGES}; do rm -f ${DESTDIR}${mandir}/man8/$$m ; done
rm -f ${DESTDIR}${sbindir}/named-compilezone@EXEEXT@
${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/named-checkconf@EXEEXT@
${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/named-checkzone@EXEEXT@
clean distclean::
rm -f ${TARGETS} r1.htm

View File

@@ -1,6 +1,5 @@
/*
* Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2002 Internet Software Consortium.
* Copyright (C) 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
@@ -33,6 +32,7 @@
#include <isc/mem.h>
#include <isc/netdb.h>
#include <isc/net.h>
#include <isc/print.h>
#include <isc/region.h>
#include <isc/stdio.h>
#include <isc/string.h>
@@ -196,6 +196,10 @@ checkns(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner,
a->type == dns_rdatatype_a);
REQUIRE(aaaa == NULL || !dns_rdataset_isassociated(aaaa) ||
aaaa->type == dns_rdatatype_aaaa);
if (a == NULL || aaaa == NULL)
return (answer);
memset(&hints, 0, sizeof(hints));
hints.ai_flags = AI_CANONNAME;
hints.ai_family = PF_UNSPEC;
@@ -206,8 +210,9 @@ checkns(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner,
/*
* Turn off search.
*/
if (dns_name_countlabels(name) > 1U)
strcat(namebuf, ".");
if (dns_name_countlabels(name) > 1U) {
strlcat(namebuf, ".", sizeof(namebuf));
}
dns_name_format(owner, ownerbuf, sizeof(ownerbuf));
result = getaddrinfo(namebuf, NULL, &hints, &ai);
@@ -258,8 +263,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.
*/
@@ -396,8 +400,9 @@ checkmx(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
/*
* Turn off search.
*/
if (dns_name_countlabels(name) > 1U)
strcat(namebuf, ".");
if (dns_name_countlabels(name) > 1U) {
strlcat(namebuf, ".", sizeof(namebuf));
}
dns_name_format(owner, ownerbuf, sizeof(ownerbuf));
result = getaddrinfo(namebuf, NULL, &hints, &ai);
@@ -481,8 +486,9 @@ checksrv(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
/*
* Turn off search.
*/
if (dns_name_countlabels(name) > 1U)
strcat(namebuf, ".");
if (dns_name_countlabels(name) > 1U) {
strlcat(namebuf, ".", sizeof(namebuf));
}
dns_name_format(owner, ownerbuf, sizeof(ownerbuf));
result = getaddrinfo(namebuf, NULL, &hints, &ai);
@@ -597,7 +603,7 @@ load_zone(isc_mem_t *mctx, const char *zonename, const char *filename,
dns_zone_settype(zone, dns_zone_master);
isc_buffer_init(&buffer, zonename, strlen(zonename));
isc_buffer_constinit(&buffer, zonename, strlen(zonename));
isc_buffer_add(&buffer, strlen(zonename));
dns_fixedname_init(&fixorigin);
origin = dns_fixedname_name(&fixorigin);
@@ -640,6 +646,9 @@ dump_zone(const char *zonename, dns_zone_t *zone, const char *filename,
{
isc_result_t result;
FILE *output = stdout;
const char *flags;
flags = (fileformat == dns_masterformat_text) ? "w+" : "wb+";
if (debug) {
if (filename != NULL && strcmp(filename, "-") != 0)
@@ -650,7 +659,7 @@ dump_zone(const char *zonename, dns_zone_t *zone, const char *filename,
}
if (filename != NULL && strcmp(filename, "-") != 0) {
result = isc_stdio_open(filename, "w+", &output);
result = isc_stdio_open(filename, flags, &output);
if (result != ISC_R_SUCCESS) {
fprintf(stderr, "could not open output "

View File

@@ -1,6 +1,5 @@
/*
* Copyright (C) 2004, 2005, 2007, 2010, 2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2002 Internet Software Consortium.
* Copyright (C) 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

View File

@@ -1,5 +1,4 @@
.\" Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2002 Internet Software Consortium.
.\" Copyright (C) 2000-2002, 2004, 2005, 2007, 2009, 2014-2016, 2018 Internet Systems Consortium, Inc. ("ISC")
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
@@ -13,107 +12,132 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: named-checkconf.8,v 1.33 2009/12/29 01:14:03 tbox Exp $
.\"
.hy 0
.ad l
.\" Title: named\-checkconf
'\" t
.\" Title: named-checkconf
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
.\" Date: June 14, 2000
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 2014-01-10
.\" Manual: BIND9
.\" Source: BIND9
.\" Source: ISC
.\" Language: English
.\"
.TH "NAMED\-CHECKCONF" "8" "June 14, 2000" "BIND9" "BIND9"
.TH "NAMED\-CHECKCONF" "8" "2014\-01\-10" "ISC" "BIND9"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
named\-checkconf \- named configuration file syntax checking tool
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\-p\fR] [\fB\-z\fR]
.HP \w'\fBnamed\-checkconf\fR\ 'u
\fBnamed\-checkconf\fR [\fB\-hjvz\fR] [\fB\-p\fR\ [\fB\-x\fR\ ]] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] {filename}
.SH "DESCRIPTION"
.PP
\fBnamed\-checkconf\fR
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.
configuration file\&. The file is parsed and checked for syntax errors, along with all files included by it\&. If no file is specified,
/etc/named\&.conf
is read by default\&.
.PP
Note: files that
\fBnamed\fR
reads in separate parser contexts, such as
\fIrndc.key\fR
rndc\&.key
and
\fIbind.keys\fR, are not automatically read by
\fBnamed\-checkconf\fR. Configuration errors in these files may cause
bind\&.keys, 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.
was successful\&.
\fBnamed\-checkconf\fR
can be run on these files explicitly, however.
can be run on these files explicitly, however\&.
.SH "OPTIONS"
.PP
\-h
.RS 4
Print the usage summary and exit.
Print the usage summary and exit\&.
.RE
.PP
\-j
.RS 4
When loading a zonefile read the journal if it exists\&.
.RE
.PP
\-p
.RS 4
Print out the
named\&.conf
and included files in canonical form if no errors were detected\&. See also the
\fB\-x\fR
option\&.
.RE
.PP
\-t \fIdirectory\fR
.RS 4
Chroot to
\fIdirectory\fR
so that include directives in the configuration file are processed as if run by a similarly chrooted named.
directory
so that include directives in the configuration file are processed as if run by a similarly chrooted
\fBnamed\fR\&.
.RE
.PP
\-v
.RS 4
Print the version of the
\fBnamed\-checkconf\fR
program and exit.
program and exit\&.
.RE
.PP
\-p
\-x
.RS 4
Print out the
\fInamed.conf\fR
and included files in canonical form if no errors were detected.
When printing the configuration files in canonical form, obscure shared secrets by replacing them with strings of question marks (\*(Aq?\*(Aq)\&. This allows the contents of
named\&.conf
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
\fInamed.conf\fR.
.RE
.PP
\-j
.RS 4
When loading a zonefile read the journal if it exists.
named\&.conf\&.
.RE
.PP
filename
.RS 4
The name of the configuration file to be checked. If not specified, it defaults to
\fI/etc/named.conf\fR.
The name of the configuration file to be checked\&. If not specified, it defaults to
/etc/named\&.conf\&.
.RE
.SH "RETURN VALUES"
.PP
\fBnamed\-checkconf\fR
returns an exit status of 1 if errors were detected and 0 otherwise.
returns an exit status of 1 if errors were detected and 0 otherwise\&.
.SH "SEE ALSO"
.PP
\fBnamed\fR(8),
\fBnamed\-checkzone\fR(8),
BIND 9 Administrator Reference Manual.
\fBnamed-checkzone\fR(8),
BIND 9 Administrator Reference Manual\&.
.SH "AUTHOR"
.PP
Internet Systems Consortium
\fBInternet Systems Consortium, Inc\&.\fR
.SH "COPYRIGHT"
Copyright \(co 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000\-2002 Internet Software Consortium.
Copyright \(co 2000-2002, 2004, 2005, 2007, 2009, 2014-2016, 2018 Internet Systems Consortium, Inc. ("ISC")
.br

View File

@@ -1,6 +1,5 @@
/*
* Copyright (C) 2004-2007, 2009-2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
* Copyright (C) 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
@@ -31,6 +30,7 @@
#include <isc/hash.h>
#include <isc/log.h>
#include <isc/mem.h>
#include <isc/print.h>
#include <isc/result.h>
#include <isc/string.h>
#include <isc/util.h>
@@ -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"
@@ -64,7 +67,7 @@ usage(void) ISC_PLATFORM_NORETURN_POST;
static void
usage(void) {
fprintf(stderr, "usage: %s [-h] [-j] [-p] [-v] [-z] [-t directory] "
fprintf(stderr, "usage: %s [-hjvz] [-p [-x]] [-t directory] "
"[named.conf]\n", program);
exit(1);
}
@@ -140,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 */
@@ -161,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;
@@ -195,15 +211,42 @@ configure_zone(const char *vclass, const char *view,
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)) {
@@ -294,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) {
@@ -314,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;
@@ -329,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 */
@@ -366,15 +420,27 @@ configure_view(const char *vclass, const char *view, const cfg_obj_t *config,
return (result);
}
static isc_result_t
config_getclass(const cfg_obj_t *classobj, dns_rdataclass_t defclass,
dns_rdataclass_t *classp)
{
isc_textregion_t r;
if (!cfg_obj_isstring(classobj)) {
*classp = defclass;
return (ISC_R_SUCCESS);
}
DE_CONST(cfg_obj_asstring(classobj), r.base);
r.length = strlen(r.base);
return (dns_rdataclass_fromtext(classp, &r));
}
/*% load zones from the configuration */
static isc_result_t
load_zones_fromconfig(const cfg_obj_t *config, isc_mem_t *mctx) {
const cfg_listelt_t *element;
const cfg_obj_t *classobj;
const cfg_obj_t *views;
const cfg_obj_t *vconfig;
const char *vclass;
isc_result_t result = ISC_R_SUCCESS;
isc_result_t tresult;
@@ -385,17 +451,24 @@ load_zones_fromconfig(const cfg_obj_t *config, isc_mem_t *mctx) {
element != NULL;
element = cfg_list_next(element))
{
const cfg_obj_t *classobj;
dns_rdataclass_t viewclass;
const char *vname;
char buf[sizeof("CLASS65535")];
vclass = "IN";
vconfig = cfg_listelt_value(element);
if (vconfig != NULL) {
classobj = cfg_tuple_get(vconfig, "class");
if (cfg_obj_isstring(classobj))
vclass = cfg_obj_asstring(classobj);
}
if (vconfig == NULL)
continue;
classobj = cfg_tuple_get(vconfig, "class");
CHECK(config_getclass(classobj, dns_rdataclass_in,
&viewclass));
if (dns_rdataclass_ismeta(viewclass))
CHECK(ISC_R_FAILURE);
dns_rdataclass_format(viewclass, buf, sizeof(buf));
vname = cfg_obj_asstring(cfg_tuple_get(vconfig, "name"));
tresult = configure_view(vclass, vname, config, vconfig, mctx);
tresult = configure_view(buf, vname, config, vconfig, mctx);
if (tresult != ISC_R_SUCCESS)
result = tresult;
}
@@ -405,6 +478,8 @@ load_zones_fromconfig(const cfg_obj_t *config, isc_mem_t *mctx) {
if (tresult != ISC_R_SUCCESS)
result = tresult;
}
cleanup:
return (result);
}
@@ -430,10 +505,37 @@ main(int argc, char **argv) {
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:pvz")) != 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++;
@@ -443,6 +545,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) {
@@ -460,6 +565,10 @@ main(int argc, char **argv) {
printf(VERSION "\n");
exit(0);
case 'x':
flags |= CFG_PRINTER_XKEY;
break;
case 'z':
load_zones = ISC_TRUE;
docheckmx = ISC_FALSE;
@@ -471,6 +580,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();
@@ -481,6 +591,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)
@@ -492,8 +607,6 @@ main(int argc, char **argv) {
InitSockets();
#endif
RUNTIME_CHECK(isc_mem_create(0, 0, &mctx) == ISC_R_SUCCESS);
RUNTIME_CHECK(setup_logging(mctx, stdout, &logc) == ISC_R_SUCCESS);
RUNTIME_CHECK(isc_entropy_create(mctx, &ectx) == ISC_R_SUCCESS);
@@ -521,7 +634,7 @@ main(int argc, char **argv) {
}
if (print && exit_status == 0)
cfg_print(config, output, NULL);
cfg_printx(config, flags, output, NULL);
cfg_obj_destroy(parser, &config);
cfg_parser_destroy(&parser);

View File

@@ -1,9 +1,7 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!DOCTYPE book [
<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
- Copyright (C) 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
@@ -18,10 +16,14 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkconf.docbook,v 1.22 2009/12/28 23:21:16 each Exp $ -->
<refentry id="man.named-checkconf">
<!-- Converted by db4-upgrade version 1.0 -->
<refentry xmlns:db="http://docbook.org/ns/docbook" version="5.0" xml:id="man.named-checkconf">
<info>
<date>2014-01-10</date>
</info>
<refentryinfo>
<date>June 14, 2000</date>
<corpname>ISC</corpname>
<corpauthor>Internet Systems Consortium, Inc.</corpauthor>
</refentryinfo>
<refmeta>
@@ -32,18 +34,19 @@
<docinfo>
<copyright>
<year>2000</year>
<year>2001</year>
<year>2002</year>
<year>2004</year>
<year>2005</year>
<year>2007</year>
<year>2009</year>
<year>2014</year>
<year>2015</year>
<year>2016</year>
<year>2018</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
<year>2000</year>
<year>2001</year>
<year>2002</year>
<holder>Internet Software Consortium.</holder>
</copyright>
</docinfo>
<refnamediv>
@@ -52,20 +55,19 @@
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<cmdsynopsis sepchar=" ">
<command>named-checkconf</command>
<arg><option>-h</option></arg>
<arg><option>-v</option></arg>
<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>-z</option></arg>
<arg choice="opt" rep="norepeat"><option>-hjvz</option></arg>
<arg choice="opt" rep="norepeat"><option>-p</option>
<arg choice="opt" rep="norepeat"><option>-x</option>
</arg></arg>
<arg choice="opt" rep="norepeat"><option>-t <replaceable class="parameter">directory</replaceable></option></arg>
<arg choice="req" rep="norepeat">filename</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<refsection><info><title>DESCRIPTION</title></info>
<para><command>named-checkconf</command>
checks the syntax, but not the semantics, of a
<command>named</command> configuration file. The file is parsed
@@ -83,10 +85,9 @@
successful. <command>named-checkconf</command> can be run
on these files explicitly, however.
</para>
</refsect1>
</refsection>
<refsect1>
<title>OPTIONS</title>
<refsection><info><title>OPTIONS</title></info>
<variablelist>
<varlistentry>
@@ -98,13 +99,33 @@
</listitem>
</varlistentry>
<varlistentry>
<term>-j</term>
<listitem>
<para>
When loading a zonefile read the journal if it exists.
</para>
</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.
See also the <option>-x</option> option.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-t <replaceable class="parameter">directory</replaceable></term>
<listitem>
<para>
Chroot to <filename>directory</filename> so that include
directives in the configuration file are processed as if
run by a similarly chrooted named.
run by a similarly chrooted <command>named</command>.
</para>
</listitem>
</varlistentry>
@@ -120,11 +141,16 @@
</varlistentry>
<varlistentry>
<term>-p</term>
<term>-x</term>
<listitem>
<para>
Print out the <filename>named.conf</filename> and included files
in canonical form if no errors were detected.
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>
@@ -139,15 +165,6 @@
</listitem>
</varlistentry>
<varlistentry>
<term>-j</term>
<listitem>
<para>
When loading a zonefile read the journal if it exists.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>filename</term>
<listitem>
@@ -160,18 +177,18 @@
</variablelist>
</refsect1>
</refsection>
<refsection><info><title>RETURN VALUES</title></info>
<refsect1>
<title>RETURN VALUES</title>
<para><command>named-checkconf</command>
returns an exit status of 1 if
errors were detected and 0 otherwise.
</para>
</refsect1>
</refsection>
<refsection><info><title>SEE ALSO</title></info>
<refsect1>
<title>SEE ALSO</title>
<para><citerefentry>
<refentrytitle>named</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
@@ -180,16 +197,5 @@
</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:
-->
</refsection>
</refentry>

View File

@@ -1,6 +1,6 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
- Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
- Copyright (C) 2000-2002, 2004, 2005, 2007, 2009, 2014-2016, 2018 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
@@ -14,100 +14,153 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkconf.html,v 1.33 2009/12/29 01:14:03 tbox Exp $ -->
<html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>named-checkconf</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en">
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry">
<a name="man.named-checkconf"></a><div class="titlepage"></div>
<div class="refnamediv">
<div class="refnamediv">
<h2>Name</h2>
<p><span class="application">named-checkconf</span> &#8212; named configuration file syntax checking tool</p>
<p>
<span class="application">named-checkconf</span>
&#8212; named configuration file syntax checking tool
</p>
</div>
<div class="refsynopsisdiv">
<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">-p</code>] [<code class="option">-z</code>]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543395"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">named-checkconf</strong></span>
<div class="cmdsynopsis"><p>
<code class="command">named-checkconf</code>
[<code class="option">-hjvz</code>]
[<code class="option">-p</code>
[<code class="option">-x</code>
]]
[<code class="option">-t <em class="replaceable"><code>directory</code></em></code>]
{filename}
</p></div>
</div>
<div class="refsection">
<a name="id-1.7"></a><h2>DESCRIPTION</h2>
<p><span class="command"><strong>named-checkconf</strong></span>
checks the syntax, but not the semantics, of a
<span><strong class="command">named</strong></span> configuration file. The file is parsed
<span class="command"><strong>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
<p>
Note: files that <span class="command"><strong>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
by <span class="command"><strong>named-checkconf</strong></span>. Configuration
errors in these files may cause <span class="command"><strong>named</strong></span> to
fail to run, even if <span class="command"><strong>named-checkconf</strong></span> was
successful. <span class="command"><strong>named-checkconf</strong></span> can be run
on these files explicitly, however.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543444"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
</div>
<div class="refsection">
<a name="id-1.8"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl class="variablelist">
<dt><span class="term">-h</span></dt>
<dd><p>
<dd>
<p>
Print the usage summary and exit.
</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
directives in the configuration file are processed as if
run by a similarly chrooted named.
</p></dd>
<dt><span class="term">-v</span></dt>
<dd><p>
Print the version of the <span><strong class="command">named-checkconf</strong></span>
program and exit.
</p></dd>
</p>
</dd>
<dt><span class="term">-j</span></dt>
<dd>
<p>
When loading a zonefile read the journal if it exists.
</p>
</dd>
<dt><span class="term">-p</span></dt>
<dd><p>
<dd>
<p>
Print out the <code class="filename">named.conf</code> and included files
in canonical form if no errors were detected.
</p></dd>
See also the <code class="option">-x</code> option.
</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
directives in the configuration file are processed as if
run by a similarly chrooted <span class="command"><strong>named</strong></span>.
</p>
</dd>
<dt><span class="term">-v</span></dt>
<dd>
<p>
Print the version of the <span class="command"><strong>named-checkconf</strong></span>
program and exit.
</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>
<dd>
<p>
Perform a test load of all master zones found in
<code class="filename">named.conf</code>.
</p></dd>
<dt><span class="term">-j</span></dt>
<dd><p>
When loading a zonefile read the journal if it exists.
</p></dd>
</p>
</dd>
<dt><span class="term">filename</span></dt>
<dd><p>
<dd>
<p>
The name of the configuration file to be checked. If not
specified, it defaults to <code class="filename">/etc/named.conf</code>.
</p></dd>
</p>
</dd>
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543568"></a><h2>RETURN VALUES</h2>
<p><span><strong class="command">named-checkconf</strong></span>
</div>
<div class="refsection">
<a name="id-1.9"></a><h2>RETURN VALUES</h2>
<p><span class="command"><strong>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="id2543579"></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>,
</div>
<div class="refsection">
<a name="id-1.10"></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="id2543609"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
</div>
</div></body>
</html>

View File

@@ -1,5 +1,4 @@
.\" Copyright (C) 2004-2007, 2009-2011 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2002 Internet Software Consortium.
.\" Copyright (C) 2000-2002, 2004-2007, 2009-2011, 2013-2016, 2018 Internet Systems Consortium, Inc. ("ISC")
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
@@ -13,106 +12,121 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: named-checkzone.8,v 1.49 2011/12/22 18:10:10 tbox Exp $
.\"
.hy 0
.ad l
.\" Title: named\-checkzone
'\" t
.\" Title: named-checkzone
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
.\" Date: June 13, 2000
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 2013-04-29
.\" Manual: BIND9
.\" Source: BIND9
.\" Source: ISC
.\" Language: English
.\"
.TH "NAMED\-CHECKZONE" "8" "June 13, 2000" "BIND9" "BIND9"
.TH "NAMED\-CHECKZONE" "8" "2013\-04\-29" "ISC" "BIND9"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
named\-checkzone, named\-compilezone \- zone file validity checking or converting tool
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\-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\-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\-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\-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}
.HP \w'\fBnamed\-checkzone\fR\ 'u
\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 \w'\fBnamed\-compilezone\fR\ 'u
\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
checks the syntax and integrity of a zone file. It performs the same checks as
checks the syntax and integrity of a zone file\&. It performs the same checks as
\fBnamed\fR
does when loading a zone. This makes
does when loading a zone\&. This makes
\fBnamed\-checkzone\fR
useful for checking zone files before configuring them into a name server.
useful for checking zone files before configuring them into a name server\&.
.PP
\fBnamed\-compilezone\fR
is similar to
\fBnamed\-checkzone\fR, but it always dumps the zone contents to a specified file in a specified format. Additionally, it applies stricter check levels by default, since the dump output will be used as an actual zone file loaded by
\fBnamed\fR. When manually specified otherwise, the check levels must at least be as strict as those specified in the
\fBnamed\-checkzone\fR, but it always dumps the zone contents to a specified file in a specified format\&. Additionally, it applies stricter check levels by default, since the dump output will be used as an actual zone file loaded by
\fBnamed\fR\&. When manually specified otherwise, the check levels must at least be as strict as those specified in the
\fBnamed\fR
configuration file.
configuration file\&.
.SH "OPTIONS"
.PP
\-d
.RS 4
Enable debugging.
Enable debugging\&.
.RE
.PP
\-h
.RS 4
Print the usage summary and exit.
Print the usage summary and exit\&.
.RE
.PP
\-q
.RS 4
Quiet mode \- exit code only.
Quiet mode \- exit code only\&.
.RE
.PP
\-v
.RS 4
Print the version of the
\fBnamed\-checkzone\fR
program and exit.
program and exit\&.
.RE
.PP
\-j
.RS 4
When loading the zone file read the journal if it exists.
When loading the zone file read the journal if it exists\&.
.RE
.PP
\-c \fIclass\fR
.RS 4
Specify the class of the zone. If not specified, "IN" is assumed.
Specify the class of the zone\&. If not specified, "IN" is assumed\&.
.RE
.PP
\-i \fImode\fR
.RS 4
Perform post\-load zone integrity checks. Possible modes are
Perform post\-load zone integrity checks\&. Possible modes are
\fB"full"\fR
(default),
\fB"full\-sibling"\fR,
\fB"local"\fR,
\fB"local\-sibling"\fR
and
\fB"none"\fR.
\fB"none"\fR\&.
.sp
Mode
\fB"full"\fR
checks that MX records refer to A or AAAA record (both in\-zone and out\-of\-zone hostnames). Mode
checks that MX records refer to A or AAAA record (both in\-zone and out\-of\-zone hostnames)\&. Mode
\fB"local"\fR
only checks MX records which refer to in\-zone hostnames.
only checks MX records which refer to in\-zone hostnames\&.
.sp
Mode
\fB"full"\fR
checks that SRV records refer to A or AAAA record (both in\-zone and out\-of\-zone hostnames). Mode
checks that SRV records refer to A or AAAA record (both in\-zone and out\-of\-zone hostnames)\&. Mode
\fB"local"\fR
only checks SRV records which refer to in\-zone hostnames.
only checks SRV records which refer to in\-zone hostnames\&.
.sp
Mode
\fB"full"\fR
checks that delegation NS records refer to A or AAAA record (both in\-zone and out\-of\-zone hostnames). It also checks that glue address records in the zone match those advertised by the child. Mode
checks that delegation NS records refer to A or AAAA record (both in\-zone and out\-of\-zone hostnames)\&. It also checks that glue address records in the zone match those advertised by the child\&. Mode
\fB"local"\fR
only checks NS records which refer to in\-zone hostnames or that some required glue exists, that is when the nameserver is in a child zone.
only checks NS records which refer to in\-zone hostnames or that some required glue exists, that is when the nameserver is in a child zone\&.
.sp
Mode
\fB"full\-sibling"\fR
@@ -122,25 +136,25 @@ disable sibling glue checks but are otherwise the same as
\fB"full"\fR
and
\fB"local"\fR
respectively.
respectively\&.
.sp
Mode
\fB"none"\fR
disables the checks.
disables the checks\&.
.RE
.PP
\-f \fIformat\fR
.RS 4
Specify the format of the zone file. Possible formats are
Specify the format of the zone file\&. Possible formats are
\fB"text"\fR
(default) and
\fB"raw"\fR.
\fB"raw"\fR\&.
.RE
.PP
\-F \fIformat\fR
.RS 4
Specify the format of the output file specified. For
\fBnamed\-checkzone\fR, this does not cause any effects unless it dumps the zone contents.
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
@@ -148,153 +162,160 @@ Possible formats are
\fB"raw"\fR
or
\fB"raw=N"\fR, which store the zone in a binary format for rapid loading by
\fBnamed\fR.
\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.
\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
.RS 4
Perform
\fB"check\-names"\fR
checks with the specified failure mode. Possible modes are
checks with the specified failure mode\&. Possible modes are
\fB"fail"\fR
(default for
\fBnamed\-compilezone\fR),
\fB"warn"\fR
(default for
\fBnamed\-checkzone\fR) and
\fB"ignore"\fR.
\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.)
When compiling a zone to \*(Aqraw\*(Aq 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
Specify whether MX records should be checked to see if they are addresses\&. Possible modes are
\fB"fail"\fR,
\fB"warn"\fR
(default) and
\fB"ignore"\fR.
\fB"ignore"\fR\&.
.RE
.PP
\-M \fImode\fR
.RS 4
Check if a MX record refers to a CNAME. Possible modes are
Check if a MX record refers to a CNAME\&. Possible modes are
\fB"fail"\fR,
\fB"warn"\fR
(default) and
\fB"ignore"\fR.
\fB"ignore"\fR\&.
.RE
.PP
\-n \fImode\fR
.RS 4
Specify whether NS records should be checked to see if they are addresses. Possible modes are
Specify whether NS records should be checked to see if they are addresses\&. Possible modes are
\fB"fail"\fR
(default for
\fBnamed\-compilezone\fR),
\fB"warn"\fR
(default for
\fBnamed\-checkzone\fR) and
\fB"ignore"\fR.
\fB"ignore"\fR\&.
.RE
.PP
\-o \fIfilename\fR
.RS 4
Write zone output to
\fIfilename\fR. If
\fIfilename\fR
filename\&. If
filename
is
\fI\-\fR
then write to standard out. This is mandatory for
\fBnamed\-compilezone\fR.
\-
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
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.
\fB"ignore"\fR\&.
.RE
.PP
\-s \fIstyle\fR
.RS 4
Specify the style of the dumped zone file. Possible styles are
Specify the style of the dumped zone file\&. Possible styles are
\fB"full"\fR
(default) and
\fB"relative"\fR. The full format is most suitable for processing automatically by a separate script. On the other hand, the relative format is more human\-readable and is thus suitable for editing by hand. For
\fB"relative"\fR\&. The full format is most suitable for processing automatically by a separate script\&. On the other hand, the relative format is more human\-readable and is thus suitable for editing by hand\&. For
\fBnamed\-checkzone\fR
this does not cause any effects unless it dumps the zone contents. It also does not have any meaning if the output format is not text.
this does not cause any effects unless it dumps the zone contents\&. It also does not have any meaning if the output format is not text\&.
.RE
.PP
\-S \fImode\fR
.RS 4
Check if a SRV record refers to a CNAME. Possible modes are
Check if a SRV record refers to a CNAME\&. Possible modes are
\fB"fail"\fR,
\fB"warn"\fR
(default) and
\fB"ignore"\fR.
\fB"ignore"\fR\&.
.RE
.PP
\-t \fIdirectory\fR
.RS 4
Chroot to
\fIdirectory\fR
so that include directives in the configuration file are processed as if run by a similarly chrooted named.
directory
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
\fIdirectory\fR
so that relative filenames in master file $INCLUDE directives work. This is similar to the directory clause in
\fInamed.conf\fR.
directory
so that relative filenames in master file $INCLUDE directives work\&. This is similar to the directory clause in
named\&.conf\&.
.RE
.PP
\-D
.RS 4
Dump zone file in canonical format. This is always enabled for
\fBnamed\-compilezone\fR.
Dump zone file in canonical format\&. This is always enabled for
\fBnamed\-compilezone\fR\&.
.RE
.PP
\-W \fImode\fR
.RS 4
Specify whether to check for non\-terminal wildcards. Non\-terminal wildcards are almost always the result of a failure to understand the wildcard matching algorithm (RFC 1034). Possible modes are
Specify whether to check for non\-terminal wildcards\&. Non\-terminal wildcards are almost always the result of a failure to understand the wildcard matching algorithm (RFC 1034)\&. Possible modes are
\fB"warn"\fR
(default) and
\fB"ignore"\fR.
\fB"ignore"\fR\&.
.RE
.PP
zonename
.RS 4
The domain name of the zone being checked.
The domain name of the zone being checked\&.
.RE
.PP
filename
.RS 4
The name of the zone file.
The name of the zone file\&.
.RE
.SH "RETURN VALUES"
.PP
\fBnamed\-checkzone\fR
returns an exit status of 1 if errors were detected and 0 otherwise.
returns an exit status of 1 if errors were detected and 0 otherwise\&.
.SH "SEE ALSO"
.PP
\fBnamed\fR(8),
\fBnamed\-checkconf\fR(8),
\fBnamed-checkconf\fR(8),
RFC 1035,
BIND 9 Administrator Reference Manual.
BIND 9 Administrator Reference Manual\&.
.SH "AUTHOR"
.PP
Internet Systems Consortium
\fBInternet Systems Consortium, Inc\&.\fR
.SH "COPYRIGHT"
Copyright \(co 2004\-2007, 2009\-2011 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000\-2002 Internet Software Consortium.
Copyright \(co 2000-2002, 2004-2007, 2009-2011, 2013-2016, 2018 Internet Systems Consortium, Inc. ("ISC")
.br

View File

@@ -1,6 +1,5 @@
/*
* Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
* Copyright (C) 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
@@ -30,6 +29,7 @@
#include <isc/hash.h>
#include <isc/log.h>
#include <isc/mem.h>
#include <isc/print.h>
#include <isc/socket.h>
#include <isc/string.h>
#include <isc/task.h>
@@ -57,7 +57,7 @@ dns_zone_t *zone = NULL;
dns_zonetype_t zonetype = dns_zone_master;
static int dumpzone = 0;
static const char *output_filename;
static char *prog_name = NULL;
static const char *prog_name = NULL;
static const dns_master_style_t *outputstyle = NULL;
static enum { progmode_check, progmode_compile } progmode;
@@ -150,19 +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;
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:L:m:n:qr:s: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':
@@ -379,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;
@@ -390,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();

View File

@@ -1,9 +1,5 @@
<!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) 2004-2007, 2009-2011 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
- Copyright (C) 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
@@ -18,10 +14,14 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkzone.docbook,v 1.44 2011/12/22 07:32:39 each Exp $ -->
<refentry id="man.named-checkzone">
<!-- Converted by db4-upgrade version 1.0 -->
<refentry xmlns:db="http://docbook.org/ns/docbook" version="5.0" xml:id="man.named-checkzone">
<info>
<date>2013-04-29</date>
</info>
<refentryinfo>
<date>June 13, 2000</date>
<corpname>ISC</corpname>
<corpauthor>Internet Systems Consortium, Inc.</corpauthor>
</refentryinfo>
<refmeta>
@@ -32,6 +32,9 @@
<docinfo>
<copyright>
<year>2000</year>
<year>2001</year>
<year>2002</year>
<year>2004</year>
<year>2005</year>
<year>2006</year>
@@ -39,14 +42,13 @@
<year>2009</year>
<year>2010</year>
<year>2011</year>
<year>2013</year>
<year>2014</year>
<year>2015</year>
<year>2016</year>
<year>2018</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
<year>2000</year>
<year>2001</year>
<year>2002</year>
<holder>Internet Software Consortium.</holder>
</copyright>
</docinfo>
<refnamediv>
@@ -56,62 +58,64 @@
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<cmdsynopsis sepchar=" ">
<command>named-checkzone</command>
<arg><option>-d</option></arg>
<arg><option>-h</option></arg>
<arg><option>-j</option></arg>
<arg><option>-q</option></arg>
<arg><option>-v</option></arg>
<arg><option>-c <replaceable class="parameter">class</replaceable></option></arg>
<arg><option>-f <replaceable class="parameter">format</replaceable></option></arg>
<arg><option>-F <replaceable class="parameter">format</replaceable></option></arg>
<arg><option>-i <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-k <replaceable class="parameter">mode</replaceable></option></arg>
<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>-w <replaceable class="parameter">directory</replaceable></option></arg>
<arg><option>-D</option></arg>
<arg><option>-W <replaceable class="parameter">mode</replaceable></option></arg>
<arg choice="req">zonename</arg>
<arg choice="req">filename</arg>
<arg choice="opt" rep="norepeat"><option>-d</option></arg>
<arg choice="opt" rep="norepeat"><option>-h</option></arg>
<arg choice="opt" rep="norepeat"><option>-j</option></arg>
<arg choice="opt" rep="norepeat"><option>-q</option></arg>
<arg choice="opt" rep="norepeat"><option>-v</option></arg>
<arg choice="opt" rep="norepeat"><option>-c <replaceable class="parameter">class</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-f <replaceable class="parameter">format</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-F <replaceable class="parameter">format</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-i <replaceable class="parameter">mode</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-k <replaceable class="parameter">mode</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-m <replaceable class="parameter">mode</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-M <replaceable class="parameter">mode</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-n <replaceable class="parameter">mode</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-L <replaceable class="parameter">serial</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-o <replaceable class="parameter">filename</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-r <replaceable class="parameter">mode</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-s <replaceable class="parameter">style</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-S <replaceable class="parameter">mode</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-t <replaceable class="parameter">directory</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-T <replaceable class="parameter">mode</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-w <replaceable class="parameter">directory</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-D</option></arg>
<arg choice="opt" rep="norepeat"><option>-W <replaceable class="parameter">mode</replaceable></option></arg>
<arg choice="req" rep="norepeat">zonename</arg>
<arg choice="req" rep="norepeat">filename</arg>
</cmdsynopsis>
<cmdsynopsis>
<cmdsynopsis sepchar=" ">
<command>named-compilezone</command>
<arg><option>-d</option></arg>
<arg><option>-j</option></arg>
<arg><option>-q</option></arg>
<arg><option>-v</option></arg>
<arg><option>-c <replaceable class="parameter">class</replaceable></option></arg>
<arg><option>-C <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-f <replaceable class="parameter">format</replaceable></option></arg>
<arg><option>-F <replaceable class="parameter">format</replaceable></option></arg>
<arg><option>-i <replaceable class="parameter">mode</replaceable></option></arg>
<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>-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>-w <replaceable class="parameter">directory</replaceable></option></arg>
<arg><option>-D</option></arg>
<arg><option>-W <replaceable class="parameter">mode</replaceable></option></arg>
<arg choice="req"><option>-o <replaceable class="parameter">filename</replaceable></option></arg>
<arg choice="req">zonename</arg>
<arg choice="req">filename</arg>
<arg choice="opt" rep="norepeat"><option>-d</option></arg>
<arg choice="opt" rep="norepeat"><option>-j</option></arg>
<arg choice="opt" rep="norepeat"><option>-q</option></arg>
<arg choice="opt" rep="norepeat"><option>-v</option></arg>
<arg choice="opt" rep="norepeat"><option>-c <replaceable class="parameter">class</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-C <replaceable class="parameter">mode</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-f <replaceable class="parameter">format</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-F <replaceable class="parameter">format</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-i <replaceable class="parameter">mode</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-k <replaceable class="parameter">mode</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-m <replaceable class="parameter">mode</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-n <replaceable class="parameter">mode</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-L <replaceable class="parameter">serial</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-r <replaceable class="parameter">mode</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-s <replaceable class="parameter">style</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-t <replaceable class="parameter">directory</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-T <replaceable class="parameter">mode</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-w <replaceable class="parameter">directory</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-D</option></arg>
<arg choice="opt" rep="norepeat"><option>-W <replaceable class="parameter">mode</replaceable></option></arg>
<arg choice="req" rep="norepeat"><option>-o <replaceable class="parameter">filename</replaceable></option></arg>
<arg choice="req" rep="norepeat">zonename</arg>
<arg choice="req" rep="norepeat">filename</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<refsection><info><title>DESCRIPTION</title></info>
<para><command>named-checkzone</command>
checks the syntax and integrity of a zone file. It performs the
same checks as <command>named</command> does when loading a
@@ -129,10 +133,10 @@
least be as strict as those specified in the
<command>named</command> configuration file.
</para>
</refsect1>
</refsection>
<refsection><info><title>OPTIONS</title></info>
<refsect1>
<title>OPTIONS</title>
<variablelist>
<varlistentry>
@@ -286,7 +290,7 @@
<term>-L <replaceable class="parameter">serial</replaceable></term>
<listitem>
<para>
When compiling a zone to 'raw' format, set the "source serial"
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>
@@ -349,7 +353,7 @@
<listitem>
<para>
Check for records that are treated as different by DNSSEC but
are semantically equal in plain DNS.
are semantically equal in plain DNS.
Possible modes are <command>"fail"</command>,
<command>"warn"</command> (default) and
<command>"ignore"</command>.
@@ -401,6 +405,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>
@@ -458,37 +474,27 @@
</variablelist>
</refsect1>
</refsection>
<refsection><info><title>RETURN VALUES</title></info>
<refsect1>
<title>RETURN VALUES</title>
<para><command>named-checkzone</command>
returns an exit status of 1 if
errors were detected and 0 otherwise.
</para>
</refsect1>
</refsection>
<refsection><info><title>SEE ALSO</title></info>
<refsect1>
<title>SEE ALSO</title>
<para><citerefentry>
<refentrytitle>named</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>named-checkconf</refentrytitle><manvolnum>8</manvolnum>
<refentrytitle>named-checkconf</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citetitle>RFC 1035</citetitle>,
<citetitle>BIND 9 Administrator Reference Manual</citetitle>.
</para>
</refsect1>
</refsection>
<refsect1>
<title>AUTHOR</title>
<para><corpauthor>Internet Systems Consortium</corpauthor>
</para>
</refsect1>
</refentry><!--
- Local variables:
- mode: sgml
- End:
-->
</refentry>

View File

@@ -1,6 +1,6 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
- Copyright (C) 2004-2007, 2009-2011 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
- Copyright (C) 2000-2002, 2004-2007, 2009-2011, 2013-2016, 2018 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
@@ -14,273 +14,399 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkzone.html,v 1.49 2011/12/22 18:10:10 tbox Exp $ -->
<html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>named-checkzone</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en">
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry">
<a name="man.named-checkzone"></a><div class="titlepage"></div>
<div class="refnamediv">
<div class="refnamediv">
<h2>Name</h2>
<p><span class="application">named-checkzone</span>, <span class="application">named-compilezone</span> &#8212; zone file validity checking or converting tool</p>
<p>
<span class="application">named-checkzone</span>,
<span class="application">named-compilezone</span>
&#8212; zone file validity checking or converting tool
</p>
</div>
<div class="refsynopsisdiv">
<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">-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">-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">-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="id2543715"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">named-checkzone</strong></span>
<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="refsection">
<a name="id-1.7"></a><h2>DESCRIPTION</h2>
<p><span class="command"><strong>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
zone. This makes <span><strong class="command">named-checkzone</strong></span> useful for
same checks as <span class="command"><strong>named</strong></span> does when loading a
zone. This makes <span class="command"><strong>named-checkzone</strong></span> useful for
checking zone files before configuring them into a name server.
</p>
<p>
<span><strong class="command">named-compilezone</strong></span> is similar to
<span><strong class="command">named-checkzone</strong></span>, but it always dumps the
<p>
<span class="command"><strong>named-compilezone</strong></span> is similar to
<span class="command"><strong>named-checkzone</strong></span>, but it always dumps the
zone contents to a specified file in a specified format.
Additionally, it applies stricter check levels by default,
since the dump output will be used as an actual zone file
loaded by <span><strong class="command">named</strong></span>.
loaded by <span class="command"><strong>named</strong></span>.
When manually specified otherwise, the check levels must at
least be as strict as those specified in the
<span><strong class="command">named</strong></span> configuration file.
<span class="command"><strong>named</strong></span> configuration file.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543750"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
</div>
<div class="refsection">
<a name="id-1.8"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl class="variablelist">
<dt><span class="term">-d</span></dt>
<dd><p>
<dd>
<p>
Enable debugging.
</p></dd>
</p>
</dd>
<dt><span class="term">-h</span></dt>
<dd><p>
<dd>
<p>
Print the usage summary and exit.
</p></dd>
</p>
</dd>
<dt><span class="term">-q</span></dt>
<dd><p>
<dd>
<p>
Quiet mode - exit code only.
</p></dd>
</p>
</dd>
<dt><span class="term">-v</span></dt>
<dd><p>
Print the version of the <span><strong class="command">named-checkzone</strong></span>
<dd>
<p>
Print the version of the <span class="command"><strong>named-checkzone</strong></span>
program and exit.
</p></dd>
</p>
</dd>
<dt><span class="term">-j</span></dt>
<dd><p>
<dd>
<p>
When loading the zone file read the journal if it exists.
</p></dd>
</p>
</dd>
<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
<dd><p>
<dd>
<p>
Specify the class of the zone. If not specified, "IN" is assumed.
</p></dd>
</p>
</dd>
<dt><span class="term">-i <em class="replaceable"><code>mode</code></em></span></dt>
<dd>
<p>
<p>
Perform post-load zone integrity checks. Possible modes are
<span><strong class="command">"full"</strong></span> (default),
<span><strong class="command">"full-sibling"</strong></span>,
<span><strong class="command">"local"</strong></span>,
<span><strong class="command">"local-sibling"</strong></span> and
<span><strong class="command">"none"</strong></span>.
<span class="command"><strong>"full"</strong></span> (default),
<span class="command"><strong>"full-sibling"</strong></span>,
<span class="command"><strong>"local"</strong></span>,
<span class="command"><strong>"local-sibling"</strong></span> and
<span class="command"><strong>"none"</strong></span>.
</p>
<p>
Mode <span><strong class="command">"full"</strong></span> checks that MX records
<p>
Mode <span class="command"><strong>"full"</strong></span> checks that MX records
refer to A or AAAA record (both in-zone and out-of-zone
hostnames). Mode <span><strong class="command">"local"</strong></span> only
hostnames). Mode <span class="command"><strong>"local"</strong></span> only
checks MX records which refer to in-zone hostnames.
</p>
<p>
Mode <span><strong class="command">"full"</strong></span> checks that SRV records
<p>
Mode <span class="command"><strong>"full"</strong></span> checks that SRV records
refer to A or AAAA record (both in-zone and out-of-zone
hostnames). Mode <span><strong class="command">"local"</strong></span> only
hostnames). Mode <span class="command"><strong>"local"</strong></span> only
checks SRV records which refer to in-zone hostnames.
</p>
<p>
Mode <span><strong class="command">"full"</strong></span> checks that delegation NS
<p>
Mode <span class="command"><strong>"full"</strong></span> checks that delegation NS
records refer to A or AAAA record (both in-zone and out-of-zone
hostnames). It also checks that glue address records
in the zone match those advertised by the child.
Mode <span><strong class="command">"local"</strong></span> only checks NS records which
Mode <span class="command"><strong>"local"</strong></span> only checks NS records which
refer to in-zone hostnames or that some required glue exists,
that is when the nameserver is in a child zone.
</p>
<p>
Mode <span><strong class="command">"full-sibling"</strong></span> and
<span><strong class="command">"local-sibling"</strong></span> disable sibling glue
checks but are otherwise the same as <span><strong class="command">"full"</strong></span>
and <span><strong class="command">"local"</strong></span> respectively.
<p>
Mode <span class="command"><strong>"full-sibling"</strong></span> and
<span class="command"><strong>"local-sibling"</strong></span> disable sibling glue
checks but are otherwise the same as <span class="command"><strong>"full"</strong></span>
and <span class="command"><strong>"local"</strong></span> respectively.
</p>
<p>
Mode <span><strong class="command">"none"</strong></span> disables the checks.
<p>
Mode <span class="command"><strong>"none"</strong></span> disables the checks.
</p>
</dd>
</dd>
<dt><span class="term">-f <em class="replaceable"><code>format</code></em></span></dt>
<dd><p>
<dd>
<p>
Specify the format of the zone file.
Possible formats are <span><strong class="command">"text"</strong></span> (default)
and <span><strong class="command">"raw"</strong></span>.
</p></dd>
Possible formats are <span class="command"><strong>"text"</strong></span> (default)
and <span class="command"><strong>"raw"</strong></span>.
</p>
</dd>
<dt><span class="term">-F <em class="replaceable"><code>format</code></em></span></dt>
<dd>
<p>
<p>
Specify the format of the output file specified.
For <span><strong class="command">named-checkzone</strong></span>,
For <span class="command"><strong>named-checkzone</strong></span>,
this does not cause any effects unless it dumps the zone
contents.
</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>,
<p>
Possible formats are <span class="command"><strong>"text"</strong></span> (default)
and <span class="command"><strong>"raw"</strong></span> or <span class="command"><strong>"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>
by <span class="command"><strong>named</strong></span>. <span class="command"><strong>"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
<span class="command"><strong>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>
</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
<dd>
<p>
Perform <span class="command"><strong>"check-names"</strong></span> checks with the
specified failure mode.
Possible modes are <span><strong class="command">"fail"</strong></span>
(default for <span><strong class="command">named-compilezone</strong></span>),
<span><strong class="command">"warn"</strong></span>
(default for <span><strong class="command">named-checkzone</strong></span>) and
<span><strong class="command">"ignore"</strong></span>.
</p></dd>
Possible modes are <span class="command"><strong>"fail"</strong></span>
(default for <span class="command"><strong>named-compilezone</strong></span>),
<span class="command"><strong>"warn"</strong></span>
(default for <span class="command"><strong>named-checkzone</strong></span>) and
<span class="command"><strong>"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"
<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>
</p>
</dd>
<dt><span class="term">-m <em class="replaceable"><code>mode</code></em></span></dt>
<dd><p>
<dd>
<p>
Specify whether MX records should be checked to see if they
are addresses. 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>
are addresses. Possible modes are <span class="command"><strong>"fail"</strong></span>,
<span class="command"><strong>"warn"</strong></span> (default) and
<span class="command"><strong>"ignore"</strong></span>.
</p>
</dd>
<dt><span class="term">-M <em class="replaceable"><code>mode</code></em></span></dt>
<dd><p>
<dd>
<p>
Check if a MX record refers to a CNAME.
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>
Possible modes are <span class="command"><strong>"fail"</strong></span>,
<span class="command"><strong>"warn"</strong></span> (default) and
<span class="command"><strong>"ignore"</strong></span>.
</p>
</dd>
<dt><span class="term">-n <em class="replaceable"><code>mode</code></em></span></dt>
<dd><p>
<dd>
<p>
Specify whether NS records should be checked to see if they
are addresses.
Possible modes are <span><strong class="command">"fail"</strong></span>
(default for <span><strong class="command">named-compilezone</strong></span>),
<span><strong class="command">"warn"</strong></span>
(default for <span><strong class="command">named-checkzone</strong></span>) and
<span><strong class="command">"ignore"</strong></span>.
</p></dd>
Possible modes are <span class="command"><strong>"fail"</strong></span>
(default for <span class="command"><strong>named-compilezone</strong></span>),
<span class="command"><strong>"warn"</strong></span>
(default for <span class="command"><strong>named-checkzone</strong></span>) and
<span class="command"><strong>"ignore"</strong></span>.
</p>
</dd>
<dt><span class="term">-o <em class="replaceable"><code>filename</code></em></span></dt>
<dd><p>
<dd>
<p>
Write zone output to <code class="filename">filename</code>.
If <code class="filename">filename</code> is <code class="filename">-</code> then
write to standard out.
This is mandatory for <span><strong class="command">named-compilezone</strong></span>.
</p></dd>
This is mandatory for <span class="command"><strong>named-compilezone</strong></span>.
</p>
</dd>
<dt><span class="term">-r <em class="replaceable"><code>mode</code></em></span></dt>
<dd><p>
<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>
are semantically equal in plain DNS.
Possible modes are <span class="command"><strong>"fail"</strong></span>,
<span class="command"><strong>"warn"</strong></span> (default) and
<span class="command"><strong>"ignore"</strong></span>.
</p>
</dd>
<dt><span class="term">-s <em class="replaceable"><code>style</code></em></span></dt>
<dd><p>
<dd>
<p>
Specify the style of the dumped zone file.
Possible styles are <span><strong class="command">"full"</strong></span> (default)
and <span><strong class="command">"relative"</strong></span>.
Possible styles are <span class="command"><strong>"full"</strong></span> (default)
and <span class="command"><strong>"relative"</strong></span>.
The full format is most suitable for processing
automatically by a separate script.
On the other hand, the relative format is more
human-readable and is thus suitable for editing by hand.
For <span><strong class="command">named-checkzone</strong></span>
For <span class="command"><strong>named-checkzone</strong></span>
this does not cause any effects unless it dumps the zone
contents.
It also does not have any meaning if the output format
is not text.
</p></dd>
</p>
</dd>
<dt><span class="term">-S <em class="replaceable"><code>mode</code></em></span></dt>
<dd><p>
<dd>
<p>
Check if a SRV record refers to a CNAME.
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>
Possible modes are <span class="command"><strong>"fail"</strong></span>,
<span class="command"><strong>"warn"</strong></span> (default) and
<span class="command"><strong>"ignore"</strong></span>.
</p>
</dd>
<dt><span class="term">-t <em class="replaceable"><code>directory</code></em></span></dt>
<dd><p>
<dd>
<p>
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>
</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 class="command"><strong>"warn"</strong></span>
(default), <span class="command"><strong>"ignore"</strong></span>.
</p>
</dd>
<dt><span class="term">-w <em class="replaceable"><code>directory</code></em></span></dt>
<dd><p>
<dd>
<p>
chdir to <code class="filename">directory</code> so that
relative
filenames in master file $INCLUDE directives work. This
is similar to the directory clause in
<code class="filename">named.conf</code>.
</p></dd>
</p>
</dd>
<dt><span class="term">-D</span></dt>
<dd><p>
<dd>
<p>
Dump zone file in canonical format.
This is always enabled for <span><strong class="command">named-compilezone</strong></span>.
</p></dd>
This is always enabled for <span class="command"><strong>named-compilezone</strong></span>.
</p>
</dd>
<dt><span class="term">-W <em class="replaceable"><code>mode</code></em></span></dt>
<dd><p>
<dd>
<p>
Specify whether to check for non-terminal wildcards.
Non-terminal wildcards are almost always the result of a
failure to understand the wildcard matching algorithm (RFC 1034).
Possible modes are <span><strong class="command">"warn"</strong></span> (default)
Possible modes are <span class="command"><strong>"warn"</strong></span> (default)
and
<span><strong class="command">"ignore"</strong></span>.
</p></dd>
<span class="command"><strong>"ignore"</strong></span>.
</p>
</dd>
<dt><span class="term">zonename</span></dt>
<dd><p>
<dd>
<p>
The domain name of the zone being checked.
</p></dd>
</p>
</dd>
<dt><span class="term">filename</span></dt>
<dd><p>
<dd>
<p>
The name of the zone file.
</p></dd>
</p>
</dd>
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2544499"></a><h2>RETURN VALUES</h2>
<p><span><strong class="command">named-checkzone</strong></span>
</div>
<div class="refsection">
<a name="id-1.9"></a><h2>RETURN VALUES</h2>
<p><span class="command"><strong>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="id2544579"></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>,
</div>
<div class="refsection">
<a name="id-1.10"></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>,
<em class="citetitle">BIND 9 Administrator Reference Manual</em>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544612"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
</div>
</div></body>
</html>

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,115 @@
<?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>true</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>
<CompileAs>CompileAsC</CompileAs>
</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>
<CompileAs>CompileAsC</CompileAs>
</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 "../../../../libxml2-2.7.3/include" /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 "../../../../libxml2-2.7.3/include" /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,101 @@
<?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>true</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>
<CompileAs>CompileAsC</CompileAs>
</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>
<CompileAs>CompileAsC</CompileAs>
</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,126 @@
<?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>true</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>
<CompileAs>CompileAsC</CompileAs>
</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>
<CompileAs>CompileAsC</CompileAs>
</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 "../../../../libxml2-2.7.3/include" /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 "../../../../libxml2-2.7.3/include" /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 "../../../../libxml2-2.7.3/include" /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 "../../../../libxml2-2.7.3/include" /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 "../../../../libxml2-2.7.3/include" /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 "../../../../libxml2-2.7.3/include" /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 "../../../../libxml2-2.7.3/include" /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 "../../../../libxml2-2.7.3/include" /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

View File

@@ -1,3 +0,0 @@
Makefile
ddns-confgen
rndc-confgen

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

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

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 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
@@ -18,7 +18,11 @@ srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
@BIND9_VERSION@
# Attempt to disable parallel processing.
.NOTPARALLEL:
.NO_PARALLEL:
VERSION=@BIND9_VERSION@
@BIND9_MAKE_INCLUDES@
@@ -74,11 +78,11 @@ rndc-confgen.@O@: 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}
rndc-confgen@EXEEXT@: rndc-confgen.@O@ util.@O@ keygen.@O@ ${CONFDEPLIBS}
export BASEOBJS="rndc-confgen.@O@ util.@O@ keygen.@O@ ${UOBJS}"; \
${FINALBUILDCMD}
ddns-confgen@EXEEXT@: ddns-confgen.@O@ util.@O@ keygen.@O@ ${UOBJS} ${CONFDEPLIBS}
ddns-confgen@EXEEXT@: ddns-confgen.@O@ util.@O@ keygen.@O@ ${CONFDEPLIBS}
export BASEOBJS="ddns-confgen.@O@ util.@O@ keygen.@O@ ${UOBJS}"; \
${FINALBUILDCMD}
@@ -97,5 +101,13 @@ install:: rndc-confgen@EXEEXT@ ddns-confgen@EXEEXT@ installdirs
${INSTALL_DATA} ${srcdir}/rndc-confgen.8 ${DESTDIR}${mandir}/man8
${INSTALL_DATA} ${srcdir}/ddns-confgen.8 ${DESTDIR}${mandir}/man8
uninstall::
rm -f ${DESTDIR}${mandir}/man8/tsig-keygen.8
rm -f ${DESTDIR}${sbindir}/tsig-keygen@EXEEXT@
rm -f ${DESTDIR}${mandir}/man8/ddns-confgen.8
rm -f ${DESTDIR}${mandir}/man8/rndc-confgen.8
${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/ddns-confgen@EXEEXT@
${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/rndc-confgen@EXEEXT@
clean distclean maintainer-clean::
rm -f ${TARGETS}

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2009, 2014-2016, 2018 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,26 +12,41 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: ddns-confgen.8,v 1.10 2009/09/19 01:14:52 tbox Exp $
.\"
.hy 0
.ad l
.\" Title: ddns\-confgen
'\" t
.\" Title: ddns-confgen
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
.\" Date: Jan 29, 2009
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 2009-09-18
.\" Manual: BIND9
.\" Source: BIND9
.\" Source: ISC
.\" Language: English
.\"
.TH "DDNS\-CONFGEN" "8" "Jan 29, 2009" "BIND9" "BIND9"
.TH "DDNS\-CONFGEN" "8" "2009\-09\-18" "ISC" "BIND9"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ddns\-confgen \- ddns key generation tool
ddns-confgen \- ddns key generation tool
.SH "SYNOPSIS"
.HP 13
.HP \w'\fBddns\-confgen\fR\ 'u
\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
@@ -39,46 +54,46 @@ ddns\-confgen \- ddns key generation tool
generates a key for use by
\fBnsupdate\fR
and
\fBnamed\fR. It simplifies configuration of dynamic zones by generating a key and providing the
\fBnamed\fR\&. It simplifies configuration of dynamic zones by generating a key and providing the
\fBnsupdate\fR
and
\fBnamed.conf\fR
\fBnamed\&.conf\fR
syntax that will be needed to use it, including an example
\fBupdate\-policy\fR
statement.
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".
\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.
\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.
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.
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.
\fBddns\-confgen\fR\&.
.RE
.PP
\-k \fIkeyname\fR
.RS 4
Specifies the key name of the DDNS authentication key. The default is
Specifies the key name of the DDNS authentication key\&. The default is
\fBddns\-key\fR
when neither the
\fB\-s\fR
@@ -86,58 +101,59 @@ 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.
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.
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.
Specifies a source of random data for generating the authorization\&. If the operating system does not provide a
/dev/random
or equivalent device, the default source of randomness is keyboard input\&.
randomdev
specifies the name of a character device or file containing random data to be used instead of the default\&. The special value
keyboard
indicates that keyboard input should be used\&.
.RE
.PP
\-s \fIname\fR
.RS 4
Single host mode: The example
\fBnamed.conf\fR
\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
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.
option\&.
.RE
.PP
\-z \fIzone\fR
.RS 4
zone mode: The example
\fBnamed.conf\fR
\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
\fIzone\fR\&. This option cannot be used with the
\fB\-s\fR
option.
option\&.
.RE
.SH "SEE ALSO"
.PP
\fBnsupdate\fR(1),
\fBnamed.conf\fR(5),
\fBnamed\fR(8),
BIND 9 Administrator Reference Manual.
BIND 9 Administrator Reference Manual\&.
.SH "AUTHOR"
.PP
Internet Systems Consortium
\fBInternet Systems Consortium, Inc\&.\fR
.SH "COPYRIGHT"
Copyright \(co 2009 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2009, 2014-2016, 2018 Internet Systems Consortium, Inc. ("ISC")
.br

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2009, 2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 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
@@ -46,6 +46,7 @@
#include <dns/keyvalues.h>
#include <dns/name.h>
#include <dns/result.h>
#include <dst/dst.h>
#include <confgen/os.h>
@@ -99,9 +100,11 @@ main(int argc, char **argv) {
int len = 0;
int ch;
dns_result_register();
result = isc_file_progname(*argv, program, sizeof(program));
if (result != ISC_R_SUCCESS)
memcpy(program, "ddns-confgen", 13);
memmove(program, "ddns-confgen", 13);
progname = program;
isc_commandline_errprint = ISC_FALSE;

View File

@@ -1,8 +1,5 @@
<!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 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
@@ -17,10 +14,14 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: ddns-confgen.docbook,v 1.6 2009/09/18 22:08:55 fdupont Exp $ -->
<refentry id="man.ddns-confgen">
<!-- Converted by db4-upgrade version 1.0 -->
<refentry xmlns:db="http://docbook.org/ns/docbook" version="5.0" xml:id="man.ddns-confgen">
<info>
<date>2009-09-18</date>
</info>
<refentryinfo>
<date>Jan 29, 2009</date>
<corpname>ISC</corpname>
<corpauthor>Internet Systems Consortium, Inc.</corpauthor>
</refentryinfo>
<refmeta>
@@ -37,28 +38,32 @@
<docinfo>
<copyright>
<year>2009</year>
<year>2014</year>
<year>2015</year>
<year>2016</year>
<year>2018</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
</docinfo>
<refsynopsisdiv>
<cmdsynopsis>
<cmdsynopsis sepchar=" ">
<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>
<arg choice="opt" rep="norepeat"><option>-a <replaceable class="parameter">algorithm</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-h</option></arg>
<arg choice="opt" rep="norepeat"><option>-k <replaceable class="parameter">keyname</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-r <replaceable class="parameter">randomfile</replaceable></option></arg>
<group choice="opt" rep="norepeat">
<arg choice="plain" rep="norepeat">-s <replaceable class="parameter">name</replaceable></arg>
<arg choice="plain" rep="norepeat">-z <replaceable class="parameter">zone</replaceable></arg>
</group>
<arg><option>-q</option></arg>
<arg choice="opt">name</arg>
<arg choice="opt" rep="norepeat"><option>-q</option></arg>
<arg choice="opt" rep="norepeat">name</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<refsection><info><title>DESCRIPTION</title></info>
<para><command>ddns-confgen</command>
generates a key for use by <command>nsupdate</command>
and <command>named</command>. It simplifies configuration
@@ -81,14 +86,14 @@
<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
<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>
</refsection>
<refsection><info><title>OPTIONS</title></info>
<refsect1>
<title>OPTIONS</title>
<variablelist>
<varlistentry>
@@ -188,10 +193,10 @@
</listitem>
</varlistentry>
</variablelist>
</refsect1>
</refsection>
<refsection><info><title>SEE ALSO</title></info>
<refsect1>
<title>SEE ALSO</title>
<para><citerefentry>
<refentrytitle>nsupdate</refentrytitle><manvolnum>1</manvolnum>
</citerefentry>,
@@ -203,16 +208,6 @@
</citerefentry>,
<citetitle>BIND 9 Administrator Reference Manual</citetitle>.
</para>
</refsect1>
</refsection>
<refsect1>
<title>AUTHOR</title>
<para><corpauthor>Internet Systems Consortium</corpauthor>
</para>
</refsect1>
</refentry><!--
- Local variables:
- mode: sgml
- End:
-->
</refentry>

View File

@@ -1,5 +1,6 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
- Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2009, 2014-2016, 2018 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
@@ -13,66 +14,100 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: ddns-confgen.html,v 1.10 2009/09/19 01:14:52 tbox Exp $ -->
<html>
<html lang="en">
<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">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en">
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry">
<a name="man.ddns-confgen"></a><div class="titlepage"></div>
<div class="refnamediv">
<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="id2543395"></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>
<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="refsection">
<a name="id-1.7"></a><h2>DESCRIPTION</h2>
<p><span class="command"><strong>ddns-confgen</strong></span>
generates a key for use by <span class="command"><strong>nsupdate</strong></span>
and <span class="command"><strong>named</strong></span>. It simplifies configuration
of dynamic zones by generating a key and providing the
<span class="command"><strong>nsupdate</strong></span> and <span class="command"><strong>named.conf</strong></span>
syntax that will be needed to use it, including an example
<span class="command"><strong>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
<span class="command"><strong>named.conf</strong></span> syntax. For example,
<span class="command"><strong>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
<span class="command"><strong>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
<p>
Note that <span class="command"><strong>named</strong></span> itself can configure a
local DDNS key for use with <span class="command"><strong>nsupdate -l</strong></span>.
<span class="command"><strong>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.
<span class="command"><strong>nsupdate</strong></span> is to be used from a remote system.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543454"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
</div>
<div class="refsection">
<a name="id-1.8"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl class="variablelist">
<dt><span class="term">-a <em class="replaceable"><code>algorithm</code></em></span></dt>
<dd><p>
<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>
</p>
</dd>
<dt><span class="term">-h</span></dt>
<dd><p>
<dd>
<p>
Prints a short summary of the options and arguments to
<span><strong class="command">ddns-confgen</strong></span>.
</p></dd>
<span class="command"><strong>ddns-confgen</strong></span>.
</p>
</dd>
<dt><span class="term">-k <em class="replaceable"><code>keyname</code></em></span></dt>
<dd><p>
<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
@@ -82,14 +117,18 @@
<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>
</p>
</dd>
<dt><span class="term">-q</span></dt>
<dd><p>
<dd>
<p>
Quiet mode: Print only the key, with no explanatory text or
usage examples.
</p></dd>
</p>
</dd>
<dt><span class="term">-r <em class="replaceable"><code>randomfile</code></em></span></dt>
<dd><p>
<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
@@ -99,10 +138,12 @@
instead of the default. The special value
<code class="filename">keyboard</code> indicates that keyboard input
should be used.
</p></dd>
</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
<dd>
<p>
Single host mode: The example <span class="command"><strong>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.
@@ -111,31 +152,38 @@
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>
</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
<dd>
<p>
zone mode: The example <span class="command"><strong>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>
</p>
</dd>
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543642"></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>,
</div>
<div class="refsection">
<a name="id-1.9"></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="id2543681"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
</div>
</div></body>
</html>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 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

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 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
@@ -29,6 +29,7 @@
#include <isc/file.h>
#include <isc/keyboard.h>
#include <isc/mem.h>
#include <isc/print.h>
#include <isc/result.h>
#include <isc/string.h>
@@ -126,13 +127,17 @@ generate_key(isc_mem_t *mctx, const char *randomfile, dns_secalg_t alg,
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_HMACSHA256:
if (keysize < 1 || keysize > 256)
fatal("keysize %d out of range (must be 1-256)\n",
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:

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 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

View File

@@ -1,5 +1,4 @@
.\" Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2001, 2003 Internet Software Consortium.
.\" Copyright (C) 2001, 2003-2005, 2007, 2009, 2014-2016, 2018 Internet Systems Consortium, Inc. ("ISC")
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
@@ -13,58 +12,73 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: rndc-confgen.8,v 1.7 2009/07/11 01:12:45 tbox Exp $
.\"
.hy 0
.ad l
.\" Title: rndc\-confgen
'\" t
.\" Title: rndc-confgen
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
.\" Date: Aug 27, 2001
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 2009-06-15
.\" Manual: BIND9
.\" Source: BIND9
.\" Source: ISC
.\" Language: English
.\"
.TH "RNDC\-CONFGEN" "8" "Aug 27, 2001" "BIND9" "BIND9"
.TH "RNDC\-CONFGEN" "8" "2009\-06\-15" "ISC" "BIND9"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
rndc\-confgen \- rndc key generation tool
rndc-confgen \- rndc key generation tool
.SH "SYNOPSIS"
.HP 13
.HP \w'\fBrndc\-confgen\fR\ 'u
\fBrndc\-confgen\fR [\fB\-a\fR] [\fB\-b\ \fR\fB\fIkeysize\fR\fR] [\fB\-c\ \fR\fB\fIkeyfile\fR\fR] [\fB\-h\fR] [\fB\-k\ \fR\fB\fIkeyname\fR\fR] [\fB\-p\ \fR\fB\fIport\fR\fR] [\fB\-r\ \fR\fB\fIrandomfile\fR\fR] [\fB\-s\ \fR\fB\fIaddress\fR\fR] [\fB\-t\ \fR\fB\fIchrootdir\fR\fR] [\fB\-u\ \fR\fB\fIuser\fR\fR]
.SH "DESCRIPTION"
.PP
\fBrndc\-confgen\fR
generates configuration files for
\fBrndc\fR. It can be used as a convenient alternative to writing the
\fIrndc.conf\fR
\fBrndc\fR\&. It can be used as a convenient alternative to writing the
rndc\&.conf
file and the corresponding
\fBcontrols\fR
and
\fBkey\fR
statements in
\fInamed.conf\fR
by hand. Alternatively, it can be run with the
named\&.conf
by hand\&. Alternatively, it can be run with the
\fB\-a\fR
option to set up a
\fIrndc.key\fR
rndc\&.key
file and avoid the need for a
\fIrndc.conf\fR
rndc\&.conf
file and a
\fBcontrols\fR
statement altogether.
statement altogether\&.
.SH "OPTIONS"
.PP
\-a
.RS 4
Do automatic
\fBrndc\fR
configuration. This creates a file
\fIrndc.key\fR
configuration\&. This creates a file
rndc\&.key
in
\fI/etc\fR
/etc
(or whatever
\fIsysconfdir\fR
was specified as when
@@ -73,13 +87,13 @@ was built) that is read by both
\fBrndc\fR
and
\fBnamed\fR
on startup. The
\fIrndc.key\fR
on startup\&. The
rndc\&.key
file defines a default command channel and authentication key allowing
\fBrndc\fR
to communicate with
\fBnamed\fR
on the local host with no further configuration.
on the local host with no further configuration\&.
.sp
Running
\fBrndc\-confgen \-a\fR
@@ -87,8 +101,8 @@ allows BIND 9 and
\fBrndc\fR
to be used as drop\-in replacements for BIND 8 and
\fBndc\fR, with no changes to the existing BIND 8
\fInamed.conf\fR
file.
named\&.conf
file\&.
.sp
If a more elaborate configuration than that generated by
\fBrndc\-confgen \-a\fR
@@ -97,15 +111,15 @@ is required, for example if rndc is to be used remotely, you should run
without the
\fB\-a\fR
option and set up a
\fIrndc.conf\fR
rndc\&.conf
and
\fInamed.conf\fR
as directed.
named\&.conf
as directed\&.
.RE
.PP
\-b \fIkeysize\fR
.RS 4
Specifies the size of the authentication key in bits. Must be between 1 and 512 bits; the default is 128.
Specifies the size of the authentication key in bits\&. Must be between 1 and 512 bits; the default is 128\&.
.RE
.PP
\-c \fIkeyfile\fR
@@ -113,19 +127,19 @@ Specifies the size of the authentication key in bits. Must be between 1 and 512
Used with the
\fB\-a\fR
option to specify an alternate location for
\fIrndc.key\fR.
rndc\&.key\&.
.RE
.PP
\-h
.RS 4
Prints a short summary of the options and arguments to
\fBrndc\-confgen\fR.
\fBrndc\-confgen\fR\&.
.RE
.PP
\-k \fIkeyname\fR
.RS 4
Specifies the key name of the rndc authentication key. This must be a valid domain name. The default is
\fBrndc\-key\fR.
Specifies the key name of the rndc authentication key\&. This must be a valid domain name\&. The default is
\fBrndc\-key\fR\&.
.RE
.PP
\-p \fIport\fR
@@ -133,18 +147,18 @@ Specifies the key name of the rndc authentication key. This must be a valid doma
Specifies the command channel port where
\fBnamed\fR
listens for connections from
\fBrndc\fR. The default is 953.
\fBrndc\fR\&. The default is 953\&.
.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.
Specifies a source of random data for generating the authorization\&. If the operating system does not provide a
/dev/random
or equivalent device, the default source of randomness is keyboard input\&.
randomdev
specifies the name of a character device or file containing random data to be used instead of the default\&. The special value
keyboard
indicates that keyboard input should be used\&.
.RE
.PP
\-s \fIaddress\fR
@@ -152,7 +166,7 @@ indicates that keyboard input should be used.
Specifies the IP address where
\fBnamed\fR
listens for command channel connections from
\fBrndc\fR. The default is the loopback address 127.0.0.1.
\fBrndc\fR\&. The default is the loopback address 127\&.0\&.0\&.1\&.
.RE
.PP
\-t \fIchrootdir\fR
@@ -161,10 +175,10 @@ Used with the
\fB\-a\fR
option to specify a directory where
\fBnamed\fR
will run chrooted. An additional copy of the
\fIrndc.key\fR
will run chrooted\&. An additional copy of the
rndc\&.key
will be written relative to this directory so that it will be found by the chrooted
\fBnamed\fR.
\fBnamed\fR\&.
.RE
.PP
\-u \fIuser\fR
@@ -172,10 +186,10 @@ will be written relative to this directory so that it will be found by the chroo
Used with the
\fB\-a\fR
option to set the owner of the
\fIrndc.key\fR
file generated. If
rndc\&.key
file generated\&. If
\fB\-t\fR
is also specified only the file in the chroot area has its owner changed.
is also specified only the file in the chroot area has its owner changed\&.
.RE
.SH "EXAMPLES"
.PP
@@ -186,13 +200,13 @@ to be used with no manual configuration, run
\fBrndc\-confgen \-a\fR
.PP
To print a sample
\fIrndc.conf\fR
rndc\&.conf
file and corresponding
\fBcontrols\fR
and
\fBkey\fR
statements to be manually inserted into
\fInamed.conf\fR, run
named\&.conf, run
.PP
\fBrndc\-confgen\fR
.SH "SEE ALSO"
@@ -200,12 +214,11 @@ statements to be manually inserted into
\fBrndc\fR(8),
\fBrndc.conf\fR(5),
\fBnamed\fR(8),
BIND 9 Administrator Reference Manual.
BIND 9 Administrator Reference Manual\&.
.SH "AUTHOR"
.PP
Internet Systems Consortium
\fBInternet Systems Consortium, Inc\&.\fR
.SH "COPYRIGHT"
Copyright \(co 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2001, 2003 Internet Software Consortium.
Copyright \(co 2001, 2003-2005, 2007, 2009, 2014-2016, 2018 Internet Systems Consortium, Inc. ("ISC")
.br

View File

@@ -1,6 +1,5 @@
/*
* Copyright (C) 2004, 2005, 2007-2009, 2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001, 2003 Internet Software Consortium.
* Copyright (C) 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
@@ -120,7 +119,7 @@ main(int argc, char **argv) {
result = isc_file_progname(*argv, program, sizeof(program));
if (result != ISC_R_SUCCESS)
memcpy(program, "rndc-confgen", 13);
memmove(program, "rndc-confgen", 13);
progname = program;
keyname = DEFAULT_KEYNAME;
@@ -140,8 +139,6 @@ main(int argc, char **argv) {
keysize = strtol(isc_commandline_argument, &p, 10);
if (*p != '\0' || keysize < 0)
fatal("-b requires a non-negative number");
if (keysize < 1 || keysize > 512)
fatal("-b must be in the range 1 through 512");
break;
case 'c':
keyfile = isc_commandline_argument;

View File

@@ -1,9 +1,5 @@
<!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) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2001, 2003 Internet Software Consortium.
- Copyright (C) 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
@@ -18,10 +14,14 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: rndc-confgen.docbook,v 1.4 2009/06/15 23:47:59 tbox Exp $ -->
<refentry id="man.rndc-confgen">
<!-- Converted by db4-upgrade version 1.0 -->
<refentry xmlns:db="http://docbook.org/ns/docbook" version="5.0" xml:id="man.rndc-confgen">
<info>
<date>2009-06-15</date>
</info>
<refentryinfo>
<date>Aug 27, 2001</date>
<corpname>ISC</corpname>
<corpauthor>Internet Systems Consortium, Inc.</corpauthor>
</refentryinfo>
<refmeta>
@@ -37,37 +37,38 @@
<docinfo>
<copyright>
<year>2001</year>
<year>2003</year>
<year>2004</year>
<year>2005</year>
<year>2007</year>
<year>2009</year>
<year>2014</year>
<year>2015</year>
<year>2016</year>
<year>2018</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
<year>2001</year>
<year>2003</year>
<holder>Internet Software Consortium.</holder>
</copyright>
</docinfo>
<refsynopsisdiv>
<cmdsynopsis>
<cmdsynopsis sepchar=" ">
<command>rndc-confgen</command>
<arg><option>-a</option></arg>
<arg><option>-b <replaceable class="parameter">keysize</replaceable></option></arg>
<arg><option>-c <replaceable class="parameter">keyfile</replaceable></option></arg>
<arg><option>-h</option></arg>
<arg><option>-k <replaceable class="parameter">keyname</replaceable></option></arg>
<arg><option>-p <replaceable class="parameter">port</replaceable></option></arg>
<arg><option>-r <replaceable class="parameter">randomfile</replaceable></option></arg>
<arg><option>-s <replaceable class="parameter">address</replaceable></option></arg>
<arg><option>-t <replaceable class="parameter">chrootdir</replaceable></option></arg>
<arg><option>-u <replaceable class="parameter">user</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-a</option></arg>
<arg choice="opt" rep="norepeat"><option>-b <replaceable class="parameter">keysize</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-c <replaceable class="parameter">keyfile</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-h</option></arg>
<arg choice="opt" rep="norepeat"><option>-k <replaceable class="parameter">keyname</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-p <replaceable class="parameter">port</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-r <replaceable class="parameter">randomfile</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-s <replaceable class="parameter">address</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-t <replaceable class="parameter">chrootdir</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-u <replaceable class="parameter">user</replaceable></option></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<refsection><info><title>DESCRIPTION</title></info>
<para><command>rndc-confgen</command>
generates configuration files
for <command>rndc</command>. It can be used as a
@@ -82,10 +83,10 @@
and a <command>controls</command> statement altogether.
</para>
</refsect1>
</refsection>
<refsection><info><title>OPTIONS</title></info>
<refsect1>
<title>OPTIONS</title>
<variablelist>
<varlistentry>
@@ -239,10 +240,10 @@
</varlistentry>
</variablelist>
</refsect1>
</refsection>
<refsection><info><title>EXAMPLES</title></info>
<refsect1>
<title>EXAMPLES</title>
<para>
To allow <command>rndc</command> to be used with
no manual configuration, run
@@ -257,10 +258,10 @@
</para>
<para><userinput>rndc-confgen</userinput>
</para>
</refsect1>
</refsection>
<refsection><info><title>SEE ALSO</title></info>
<refsect1>
<title>SEE ALSO</title>
<para><citerefentry>
<refentrytitle>rndc</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
@@ -272,16 +273,6 @@
</citerefentry>,
<citetitle>BIND 9 Administrator Reference Manual</citetitle>.
</para>
</refsect1>
</refsection>
<refsect1>
<title>AUTHOR</title>
<para><corpauthor>Internet Systems Consortium</corpauthor>
</para>
</refsect1>
</refentry><!--
- Local variables:
- mode: sgml
- End:
-->
</refentry>

View File

@@ -1,6 +1,6 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
- Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2001, 2003 Internet Software Consortium.
- Copyright (C) 2001, 2003-2005, 2007, 2009, 2014-2016, 2018 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
@@ -14,108 +14,147 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: rndc-confgen.html,v 1.7 2009/07/11 01:12:45 tbox Exp $ -->
<html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>rndc-confgen</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en">
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry">
<a name="man.rndc-confgen"></a><div class="titlepage"></div>
<div class="refnamediv">
<div class="refnamediv">
<h2>Name</h2>
<p><span class="application">rndc-confgen</span> &#8212; rndc key generation tool</p>
<p>
<span class="application">rndc-confgen</span>
&#8212; rndc key generation tool
</p>
</div>
<div class="refsynopsisdiv">
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<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="id2543432"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">rndc-confgen</strong></span>
<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="refsection">
<a name="id-1.7"></a><h2>DESCRIPTION</h2>
<p><span class="command"><strong>rndc-confgen</strong></span>
generates configuration files
for <span><strong class="command">rndc</strong></span>. It can be used as a
for <span class="command"><strong>rndc</strong></span>. It can be used as a
convenient alternative to writing the
<code class="filename">rndc.conf</code> file
and the corresponding <span><strong class="command">controls</strong></span>
and <span><strong class="command">key</strong></span>
and the corresponding <span class="command"><strong>controls</strong></span>
and <span class="command"><strong>key</strong></span>
statements in <code class="filename">named.conf</code> by hand.
Alternatively, it can be run with the <span><strong class="command">-a</strong></span>
Alternatively, it can be run with the <span class="command"><strong>-a</strong></span>
option to set up a <code class="filename">rndc.key</code> file and
avoid the need for a <code class="filename">rndc.conf</code> file
and a <span><strong class="command">controls</strong></span> statement altogether.
and a <span class="command"><strong>controls</strong></span> statement altogether.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543477"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
</div>
<div class="refsection">
<a name="id-1.8"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl class="variablelist">
<dt><span class="term">-a</span></dt>
<dd>
<p>
Do automatic <span><strong class="command">rndc</strong></span> configuration.
<p>
Do automatic <span class="command"><strong>rndc</strong></span> configuration.
This creates a file <code class="filename">rndc.key</code>
in <code class="filename">/etc</code> (or whatever
<code class="varname">sysconfdir</code>
was specified as when <acronym class="acronym">BIND</acronym> was
built)
that is read by both <span><strong class="command">rndc</strong></span>
and <span><strong class="command">named</strong></span> on startup. The
that is read by both <span class="command"><strong>rndc</strong></span>
and <span class="command"><strong>named</strong></span> on startup. The
<code class="filename">rndc.key</code> file defines a default
command channel and authentication key allowing
<span><strong class="command">rndc</strong></span> to communicate with
<span><strong class="command">named</strong></span> on the local host
<span class="command"><strong>rndc</strong></span> to communicate with
<span class="command"><strong>named</strong></span> on the local host
with no further configuration.
</p>
<p>
Running <span><strong class="command">rndc-confgen -a</strong></span> allows
BIND 9 and <span><strong class="command">rndc</strong></span> to be used as
<p>
Running <span class="command"><strong>rndc-confgen -a</strong></span> allows
BIND 9 and <span class="command"><strong>rndc</strong></span> to be used as
drop-in
replacements for BIND 8 and <span><strong class="command">ndc</strong></span>,
replacements for BIND 8 and <span class="command"><strong>ndc</strong></span>,
with no changes to the existing BIND 8
<code class="filename">named.conf</code> file.
</p>
<p>
<p>
If a more elaborate configuration than that
generated by <span><strong class="command">rndc-confgen -a</strong></span>
generated by <span class="command"><strong>rndc-confgen -a</strong></span>
is required, for example if rndc is to be used remotely,
you should run <span><strong class="command">rndc-confgen</strong></span> without
you should run <span class="command"><strong>rndc-confgen</strong></span> without
the
<span><strong class="command">-a</strong></span> option and set up a
<span class="command"><strong>-a</strong></span> option and set up a
<code class="filename">rndc.conf</code> and
<code class="filename">named.conf</code>
as directed.
</p>
</dd>
</dd>
<dt><span class="term">-b <em class="replaceable"><code>keysize</code></em></span></dt>
<dd><p>
<dd>
<p>
Specifies the size of the authentication key in bits.
Must be between 1 and 512 bits; the default is 128.
</p></dd>
</p>
</dd>
<dt><span class="term">-c <em class="replaceable"><code>keyfile</code></em></span></dt>
<dd><p>
Used with the <span><strong class="command">-a</strong></span> option to specify
<dd>
<p>
Used with the <span class="command"><strong>-a</strong></span> option to specify
an alternate location for <code class="filename">rndc.key</code>.
</p></dd>
</p>
</dd>
<dt><span class="term">-h</span></dt>
<dd><p>
<dd>
<p>
Prints a short summary of the options and arguments to
<span><strong class="command">rndc-confgen</strong></span>.
</p></dd>
<span class="command"><strong>rndc-confgen</strong></span>.
</p>
</dd>
<dt><span class="term">-k <em class="replaceable"><code>keyname</code></em></span></dt>
<dd><p>
<dd>
<p>
Specifies the key name of the rndc authentication key.
This must be a valid domain name.
The default is <code class="constant">rndc-key</code>.
</p></dd>
</p>
</dd>
<dt><span class="term">-p <em class="replaceable"><code>port</code></em></span></dt>
<dd><p>
Specifies the command channel port where <span><strong class="command">named</strong></span>
listens for connections from <span><strong class="command">rndc</strong></span>.
<dd>
<p>
Specifies the command channel port where <span class="command"><strong>named</strong></span>
listens for connections from <span class="command"><strong>rndc</strong></span>.
The default is 953.
</p></dd>
</p>
</dd>
<dt><span class="term">-r <em class="replaceable"><code>randomfile</code></em></span></dt>
<dd><p>
<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>
@@ -126,63 +165,76 @@
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>
</p>
</dd>
<dt><span class="term">-s <em class="replaceable"><code>address</code></em></span></dt>
<dd><p>
Specifies the IP address where <span><strong class="command">named</strong></span>
<dd>
<p>
Specifies the IP address where <span class="command"><strong>named</strong></span>
listens for command channel connections from
<span><strong class="command">rndc</strong></span>. The default is the loopback
<span class="command"><strong>rndc</strong></span>. The default is the loopback
address 127.0.0.1.
</p></dd>
</p>
</dd>
<dt><span class="term">-t <em class="replaceable"><code>chrootdir</code></em></span></dt>
<dd><p>
Used with the <span><strong class="command">-a</strong></span> option to specify
a directory where <span><strong class="command">named</strong></span> will run
<dd>
<p>
Used with the <span class="command"><strong>-a</strong></span> option to specify
a directory where <span class="command"><strong>named</strong></span> will run
chrooted. An additional copy of the <code class="filename">rndc.key</code>
will be written relative to this directory so that
it will be found by the chrooted <span><strong class="command">named</strong></span>.
</p></dd>
it will be found by the chrooted <span class="command"><strong>named</strong></span>.
</p>
</dd>
<dt><span class="term">-u <em class="replaceable"><code>user</code></em></span></dt>
<dd><p>
Used with the <span><strong class="command">-a</strong></span> option to set the
<dd>
<p>
Used with the <span class="command"><strong>-a</strong></span> option to set the
owner
of the <code class="filename">rndc.key</code> file generated.
If
<span><strong class="command">-t</strong></span> is also specified only the file
<span class="command"><strong>-t</strong></span> is also specified only the file
in
the chroot area has its owner changed.
</p></dd>
</p>
</dd>
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543790"></a><h2>EXAMPLES</h2>
<p>
To allow <span><strong class="command">rndc</strong></span> to be used with
</div>
<div class="refsection">
<a name="id-1.9"></a><h2>EXAMPLES</h2>
<p>
To allow <span class="command"><strong>rndc</strong></span> to be used with
no manual configuration, run
</p>
<p><strong class="userinput"><code>rndc-confgen -a</code></strong>
<p><strong class="userinput"><code>rndc-confgen -a</code></strong>
</p>
<p>
<p>
To print a sample <code class="filename">rndc.conf</code> file and
corresponding <span><strong class="command">controls</strong></span> and <span><strong class="command">key</strong></span>
corresponding <span class="command"><strong>controls</strong></span> and <span class="command"><strong>key</strong></span>
statements to be manually inserted into <code class="filename">named.conf</code>,
run
</p>
<p><strong class="userinput"><code>rndc-confgen</code></strong>
<p><strong class="userinput"><code>rndc-confgen</code></strong>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543832"></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>,
</div>
<div class="refsection">
<a name="id-1.10"></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>,
<em class="citetitle">BIND 9 Administrator Reference Manual</em>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543870"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
</div>
</div></body>
</html>

View File

@@ -1 +0,0 @@
Makefile

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 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

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 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

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 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
@@ -25,6 +25,7 @@
#include <stdio.h>
#include <isc/boolean.h>
#include <isc/print.h>
#include "util.h"

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 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

View File

@@ -1,135 +0,0 @@
# Microsoft Developer Studio Project File - Name="confgentool" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Static-Link Library" 0x0104
CFG=confgentool - 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 "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 - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "confgentool - Win32 Release" (based on "Win32 (x86) Static-Link Library")
!MESSAGE "confgentool - 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)" == "confgentool - 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 "../../../../libxml2-2.7.3/include" /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" /YX /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 - 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 "../../../../libxml2-2.7.3/include" /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 /YX /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 - Win32 Release"
# Name "confgentool - 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"
# 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,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,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,111 @@
<?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>true</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>
<CompileAs>CompileAsC</CompileAs>
</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>
<CompileAs>CompileAsC</CompileAs>
</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

@@ -1,103 +0,0 @@
# Microsoft Developer Studio Project File - Name="ddnsconfgen" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
CFG=ddnsconfgen - 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 "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 - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "ddnsconfgen - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "ddnsconfgen - 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)" == "ddnsconfgen - 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 "../../../../libxml2-2.7.3/include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/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" /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/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:I386 /out:"../../../Build/Release/ddns-confgen.exe"
!ELSEIF "$(CFG)" == "ddnsconfgen - 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 "../../../../libxml2-2.7.3/include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/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 /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/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:I386 /out:"../../../Build/Debug/ddns-confgen.exe" /pdbtype:sept
!ENDIF
# Begin Target
# Name "ddnsconfgen - Win32 Release"
# Name "ddnsconfgen - Win32 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,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

@@ -1,337 +0,0 @@
# Microsoft Developer Studio Generated NMAKE File, Based on ddnsconfgen.dsp
!IF "$(CFG)" == ""
CFG=ddnsconfgen - Win32 Debug
!MESSAGE No configuration specified. Defaulting to ddnsconfgen - Win32 Debug.
!ENDIF
!IF "$(CFG)" != "ddnsconfgen - Win32 Release" && "$(CFG)" != "ddnsconfgen - 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 "ddnsconfgen.mak" CFG="ddnsconfgen - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "ddnsconfgen - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "ddnsconfgen - 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)" == "ddnsconfgen - 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)" == "ddnsconfgen - Win32 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 /GX /O2 /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/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" /YX /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:I386 /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 - Win32 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 /GX /ZI /Od /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/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:I386 /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 - Win32 Release" || "$(CFG)" == "ddnsconfgen - Win32 Debug"
SOURCE=.\os.c
!IF "$(CFG)" == "ddnsconfgen - Win32 Release"
"$(INTDIR)\os.obj" : $(SOURCE) "$(INTDIR)"
!ELSEIF "$(CFG)" == "ddnsconfgen - Win32 Debug"
"$(INTDIR)\os.obj" "$(INTDIR)\os.sbr" : $(SOURCE) "$(INTDIR)"
!ENDIF
SOURCE="..\ddns-confgen.c"
!IF "$(CFG)" == "ddnsconfgen - Win32 Release"
"$(INTDIR)\ddns-confgen.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "ddnsconfgen - Win32 Debug"
"$(INTDIR)\ddns-confgen.obj" "$(INTDIR)\ddns-confgen.sbr" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ENDIF
SOURCE=..\keygen.c
!IF "$(CFG)" == "ddnsconfgen - Win32 Release"
"$(INTDIR)\keygen.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "ddnsconfgen - Win32 Debug"
"$(INTDIR)\keygen.obj" "$(INTDIR)\keygen.sbr" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ENDIF
SOURCE=..\util.c
!IF "$(CFG)" == "ddnsconfgen - Win32 Release"
"$(INTDIR)\util.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "ddnsconfgen - Win32 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,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,112 @@
<?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>true</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>
<CompileAs>CompileAsC</CompileAs>
</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>
<CompileAs>CompileAsC</CompileAs>
</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>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 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

View File

@@ -1,103 +0,0 @@
# Microsoft Developer Studio Project File - Name="rndcconfgen" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
CFG=rndcconfgen - 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 "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 - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "rndcconfgen - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "rndcconfgen - 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)" == "rndcconfgen - 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 "../../../../libxml2-2.7.3/include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/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" /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/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:I386 /out:"../../../Build/Release/rndc-confgen.exe"
!ELSEIF "$(CFG)" == "rndcconfgen - 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 "../../../../libxml2-2.7.3/include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/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 /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/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:I386 /out:"../../../Build/Debug/rndc-confgen.exe" /pdbtype:sept
!ENDIF
# Begin Target
# Name "rndcconfgen - Win32 Release"
# Name "rndcconfgen - Win32 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,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

@@ -1,336 +0,0 @@
# Microsoft Developer Studio Generated NMAKE File, Based on confgen.dsp
!IF "$(CFG)" == ""
CFG=rndcconfgen - Win32 Debug
!MESSAGE No configuration specified. Defaulting to rndcconfgen - Win32 Debug.
!ENDIF
!IF "$(CFG)" != "rndcconfgen - Win32 Release" && "$(CFG)" != "rndcconfgen - 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 "rndcconfgen.mak" CFG="rndcconfgen - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "rndcconfgen - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "rndcconfgen - 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)" == "rndcconfgen - 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)" == "rndcconfgen - Win32 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 /GX /O2 /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/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" /YX /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:I386 /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 - Win32 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 /GX /ZI /Od /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/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:I386 /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 - Win32 Release" || "$(CFG)" == "rndcconfgen - Win32 Debug"
SOURCE=.\os.c
!IF "$(CFG)" == "rndcconfgen - Win32 Release"
"$(INTDIR)\os.obj" : $(SOURCE) "$(INTDIR)"
!ELSEIF "$(CFG)" == "rndcconfgen - Win32 Debug"
"$(INTDIR)\os.obj" "$(INTDIR)\os.sbr" : $(SOURCE) "$(INTDIR)"
!ENDIF
SOURCE="..\rndc-confgen.c"
!IF "$(CFG)" == "rndcconfgen - Win32 Release"
"$(INTDIR)\rndc-confgen.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "rndcconfgen - Win32 Debug"
"$(INTDIR)\rndc-confgen.obj" "$(INTDIR)\rndc-confgen.sbr" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ENDIF
SOURCE=..\keygen.c
!IF "$(CFG)" == "rndcconfgen - Win32 Release"
"$(INTDIR)\keygen.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "rndcconfgen - Win32 Debug"
"$(INTDIR)\keygen.obj" "$(INTDIR)\keygen.sbr" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ENDIF
SOURCE=..\util.c
!IF "$(CFG)" == "rndcconfgen - Win32 Release"
"$(INTDIR)\util.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "rndcconfgen - Win32 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,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,112 @@
<?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>true</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>
<CompileAs>CompileAsC</CompileAs>
</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>
<CompileAs>CompileAsC</CompileAs>
</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

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