Commit graph

30035 commits

Author SHA1 Message Date
Mark Andrews
7f079c4fa3 check kskonly key ids
(cherry picked from commit 379949cce4)
2020-01-31 00:15:16 +11:00
Mark Andrews
d403b3621d add CHANGES
(cherry picked from commit 272a31f758)
2020-01-31 00:15:16 +11:00
Mark Andrews
3a87b02b1a style
(cherry picked from commit 279f6b01de)
2020-01-31 00:15:16 +11:00
Mark Andrews
c2a2e1f454 return the correct error code for the type being checked
(cherry picked from commit a09c464a20)
2020-01-31 00:15:16 +11:00
Mark Andrews
735dfc1ab8 check that a CDNSKEY deletion record is accepted
(cherry picked from commit f91b3a69ce)
2020-01-31 00:15:16 +11:00
Mark Andrews
103cd665e1 handle CDS deletion record in consistancy checks
(cherry picked from commit 0adb4b25d3)
2020-01-31 00:15:15 +11:00
Michał Kępień
5338d34173 Merge branch 'michal/list-atypical-failures-in-system-test-summary-v9_14' into 'v9_14'
[v9_14] List atypical failures in system test summary

See merge request isc-projects/bind9!2974
2020-01-29 14:42:40 +00:00
Michał Kępień
6e9d3680f9 List atypical failures in system test summary
Each system test can be marked as failed not only due to some tested
component(s) not behaving as expected, but also because of core dumps,
assertion failures, and/or ThreadSanitizer reports being found among its
artifacts.  Make the system test summary list the tests which exhibit
such atypical symptoms to more clearly present the nature of problems
found.

(cherry picked from commit a8836b381f)
2020-01-29 14:50:42 +01:00
Mark Andrews
249fc48cbb Merge branch '1508-case-system-test-failed-v9_14' into 'v9_14'
wait longer for dynamic zone to be transfered

See merge request isc-projects/bind9!2971
2020-01-28 23:05:22 +00:00
Mark Andrews
7865f1e28a wait longer for dynamic zone to be transfered
(cherry picked from commit 7b0ba6eb10)
2020-01-29 08:24:42 +11:00
Evan Hunt
d4c5c36392 Merge branch 'each-merge-doc-v9_14_10' into 'v9_14'
merge doc from 9.14.10 release

See merge request isc-projects/bind9!2962
2020-01-27 22:43:14 +00:00
Tinderbox User
2b13e3ca3b regen v9_14 2020-01-27 11:06:04 -08:00
Tinderbox User
0ec9ae77a8 prep 9.14.10
Update the API files.
- lib/dns:
  - struct resolver has added elements, this is an interface change
    and thus LIBINTERFACE is incremented, and LIBREVISION is reset.
  - Since this also means an interface change since the last public
    release, also reset LIBAGE.
- lib/isccfg:
  - The library source code changed, so increment LIBREVISION.
- lib/ns:
  - The library source code changed, so increment LIBREVISION.

Update other files:
- No changes needed to the README, this is a small bugfix release.
2020-01-27 11:06:04 -08:00
Evan Hunt
e00f03a6cb Merge branch 'each-history-typo-v9_14' into 'v9_14'
fixed a typo

See merge request isc-projects/bind9!2961
2020-01-24 17:57:08 +00:00
Evan Hunt
1e5b7b52f8 fixed a typo
(cherry picked from commit 0147acd7b6)
2020-01-24 09:56:36 -08:00
Mark Andrews
d2f3295e0a Merge branch '1579-dnstap-system-test-appears-to-be-timing-sensitive-v9_14' into 'v9_14'
Resolve "dnstap system test appears to be timing sensitive"

See merge request isc-projects/bind9!2958
2020-01-23 21:50:26 +00:00
Mark Andrews
cb271dcef0 wait for the ./NS lookup to complete
(cherry picked from commit 9b6df37303)
2020-01-24 08:20:04 +11:00
Mark Andrews
c585221d10 check that all servers have finished loading before beginging tests
(cherry picked from commit 4a992c7a18)
2020-01-24 08:20:04 +11:00
Mark Andrews
9eeaaed160 Merge branch 'marka-signing-clear-notify-v9_14' into 'v9_14'
Send NOFITY messages after deleting private-type records.

See merge request isc-projects/bind9!2953
2020-01-23 13:34:24 +00:00
Tony Finch
bee4599f90 Send NOFITY messages after deleting private-type records.
The `rndc signing -clear` command cleans up the private-type records
that keep track of zone signing activity, but before this change it
did not tell the secondary servers that the zone has changed.

(cherry picked from commit f3f7b7df5d)
2020-01-24 00:02:44 +11:00
Mark Andrews
914e7a8199 Merge branch '1572-wait-for-mirror-zone-to-be-deleted-v9_14' into 'v9_14'
wait for log message before testing that mirror zone is correctly removed

See merge request isc-projects/bind9!2952
2020-01-23 05:46:53 +00:00
Mark Andrews
0336701524 wait for log message before testing that mirror zone is correctly removed
(cherry picked from commit c6ba51cfc4)
2020-01-23 16:19:38 +11:00
Mark Andrews
acd91d1241 Merge branch '1522-pad-system-test-is-timing-sensitive-v9_14' into 'v9_14'
address timing issues in padding system test

See merge request isc-projects/bind9!2951
2020-01-23 03:47:26 +00:00
Mark Andrews
a0505547ca address timing issues in padding system test
'rndc stats' is not instantaneous. Wait for the dump to complete
before looking at the content.

(cherry picked from commit b3f06729e5)
2020-01-23 14:19:41 +11:00
Evan Hunt
7a3c9c63c6 Merge branch '1540-bind-aborts-when-queried-for-non-existing-domain-in-chaos-class-v9_14' into 'v9_14'
Resolve "bind 9.14.8 and 9.14.9 aborts when queried for non-existing domain in chaos class"

See merge request isc-projects/bind9!2948
2020-01-22 21:12:24 +00:00
Evan Hunt
34e206eb07 CHANGES
(cherry picked from commit 42e1fb8322)
2020-01-22 12:25:50 -08:00
Diego Fronza
f506a40914 Added test for the proposed fix
Added test to ensure that NXDOMAIN is returned when BIND is queried for a
non existing domain in CH class (if a view of CHAOS class is configured)
and that it also doesn't crash anymore in those cases.

(cherry picked from commit 7417b79c7a)
2020-01-22 12:25:34 -08:00
Diego Fronza
150b98d185 Fixed crash when querying for non existing domain in chaos class
Function dns_view_findzonecut in view.c wasn't correctly handling
classes other than IN (chaos, hesiod, etc) whenever the name being
looked up wasn't in cache or in any of the configured zone views' database.

That resulted in a NULL fname being used in resolver.c:4900, which
in turn was triggering abort.

(cherry picked from commit 85555f29d7)
2020-01-22 12:25:33 -08:00
Michal Nowak
4b34e5a135 Merge branch 'mnowak/prevent-failing-grep-invocations-from-interrupting-mkeys-v9_14' into 'v9_14'
[v9_14] mkeys: Prevent failing grep invocations

See merge request isc-projects/bind9!2945
2020-01-22 14:56:15 +00:00
Michal Nowak
377e48e897
mkeys: Prevent failing grep invocations
Some 'grep' invocations were not guarded from interrupting the test
prematurely, e.g. when no text was matched.

(cherry picked from commit 6c4a2b602042d83450f0af50c25225efa8698750)
2020-01-22 15:54:19 +01:00
Mark Andrews
882ee0fd29 Merge branch 'marka-Psync-future-v9_14' into 'v9_14'
Marka psync future v9 14

See merge request isc-projects/bind9!2926
2020-01-21 23:04:16 +00:00
Mark Andrews
2db5a2539a dnssec: do not publish CDS records when -Psync is in the future
This is a bug I encountered when trying to schedule an algorithm
rollover. My plan, for a zone whose maximum TTL is 48h, was to sign
with the new algorithm and schedule a change of CDS records for more
than 48 hours in the future, roughly like this:

    $ dnssec-keygen -a 13 -fk -Psync now+50h $zone
    $ dnssec-keygen -a 13 $zone
    $ dnssec-settime -Dsync now+50h $zone_ksk_old

However the algorithm 13 CDS was published immediately, which could
have made the zone bogus.

To reveal the bug using the `smartsign` test, this change just adds a
KSK with all its times in the future, so it should not affect the
existing checks at all. But the final check (that there are no CDS or
CDSNSKEY records after -Dsync) fails with the old `syncpublish()`
logic, because the future key's sync records appear early. With the
new `syncpublish()` logic the future key does not affect the test, as
expected, and it now passes.

(cherry picked from commit 4227b7969b)
2020-01-21 23:04:16 +00:00
Michal Nowak
79c15d2c07 Merge branch 'mnowak/enhance_unit_test_debugging-v9_14' into 'v9_14'
[v9_14] Omit spurious string from unit test debugging efforts

See merge request isc-projects/bind9!2936
2020-01-21 17:46:57 +00:00
Michal Nowak
8056ea212d Omit spurious string from unit test debugging efforts
When both 'broken' and 'failed' test cases appear in unit test output

...
===> Broken tests
lib/isc/tests/socket_test:main  ->  broken: Test case timed out  [300.022s]
===> Failed tests
lib/isc/tests/time_test:main  ->  failed: 2 of 6 tests failed  [0.006s]
===> Summary
...

spurious '===>' string gets matched, that results in the following
error:

  Usage error for command debug: '===>' is not a test case identifier (missing ':'?).

Following change makes sure the string is omitted.

I checked on FreeBSD and OpenBSD that the AWK construct is supported.

(cherry picked from commit 9e6f6156f7)
2020-01-21 17:46:57 +00:00
Witold Krecicki
b3941d61cb Merge branch 'wpk/fix-inline-test-v9_14' into 'v9_14'
tests: add a missing log nextpart in inline test

See merge request isc-projects/bind9!2934
2020-01-21 14:34:37 +00:00
Witold Kręcicki
3f54e31d0c tests: add a missing log nextpart in inline test 2020-01-21 15:15:42 +01:00
Ondřej Surý
4fe14b1a9d Merge branch 'ondrej/lower-the-artifact-expiration-time-to-just-12-hours-v9_14' into 'v9_14'
Lower the artifact expiration time to just 1 day

See merge request isc-projects/bind9!2931
2020-01-21 12:11:00 +00:00
Ondřej Surý
3ae30df269 Lower the artifact expiration time to just 1 day
(cherry picked from commit 27a9be3034)
2020-01-21 13:08:57 +01:00
Mark Andrews
c83b14fea6 Merge branch 'marka-omit-spurious-newlines-v9_14' into 'v9_14'
Omit spurious newlines when reporting DNSKEY changes

See merge request isc-projects/bind9!2923
2020-01-21 05:49:50 +00:00
Tony Finch
5c2573c1ad Omit spurious newlines when reporting DNSKEY changes
These caused blank lines to appear in the logs.

(cherry picked from commit 3b1bd3f48b)
2020-01-21 16:28:24 +11:00
Mark Andrews
9816c0c3ca Merge branch 'marka-document-authors-bind-v9_14' into 'v9_14'
document that version also controls authors.bind

See merge request isc-projects/bind9!2920
2020-01-21 04:29:24 +00:00
Mark Andrews
f198545cc1 document that version also controls authors.bind
(cherry picked from commit 05c6a29c87)
2020-01-21 15:04:51 +11:00
Mark Andrews
619746390b Merge branch '1537-nslookup-manual-page-needs-update-for-default-querytype-a-and-aaaa-v9_14' into 'v9_14'
document that nslookup defaults to A + AAAA lookups

See merge request isc-projects/bind9!2916
2020-01-20 02:23:23 +00:00
Mark Andrews
1151df1715 document that nslookup defaults to A + AAAA lookups
(cherry picked from commit 938fc81493)
2020-01-20 10:47:54 +11:00
Mark Andrews
c4ba29de6a Merge branch 'marka-check-CHANGES-SE-in-CI-v9_14' into 'v9_14'
check that CHANGES.SE entries are correctly ordered and that whitespace is correct

See merge request isc-projects/bind9!2915
2020-01-19 23:12:27 +00:00
Mark Andrews
e0605f1ee2 check that CHANGES.SE entries are correctly ordered and that whitespace is correct
(cherry picked from commit 05f2ba973f)
2020-01-18 08:11:08 +11:00
Matthijs Mekking
350a8867bf Merge branch 'prepare-release-notes-for-bind-9-14.10' into 'v9_14'
Add release notes section for BIND 9.14.10

See merge request isc-projects/bind9!2905
2020-01-16 12:01:29 +00:00
Michał Kępień
169ffcb96e Add release notes section for BIND 9.14.10 2020-01-16 12:26:53 +01:00
Michał Kępień
3a6d3abc4d Merge branch 'michal/fix-the-dnssec-system-test-on-windows-v9_14' into 'v9_14'
[v9_14] Fix the "dnssec" system test on Windows

See merge request isc-projects/bind9!2903
2020-01-16 08:51:23 +00:00
Michał Kępień
bfedaa5a99 Fix the "dnssec" system test on Windows
Make sure carriage return characters are stripped from awk input to
enable the "dnssec" system test to pass on Windows.

(cherry picked from commit 451484b870)
2020-01-16 09:50:06 +01:00