Commit Graph

29492 Commits

Author SHA1 Message Date
Ondřej Surý
6464b2e962 Further improve the CI by starting the build and docs right after autoreconf
(cherry picked from commit fc834aa4bc)
2019-08-29 15:03:49 +02:00
Ondřej Surý
76e8f7783d Split the system and unit tests into separate stages
(cherry picked from commit 008b73fb41)
2019-08-29 15:02:41 +02:00
Ondřej Surý
1d04597702 Make use of DAG for GitLab Pipelines
GitLab 12.2 has introduced Directed Acyclic Graphs in the GitLab CI[1] that
allow jobs to run out-of-order and not wait for the whole previous stage to
complete.

1. https://docs.gitlab.com/ee/ci/directed_acyclic_graph/

(cherry picked from commit 04ce124279)
2019-08-29 15:02:39 +02:00
Mark Andrews
a12ad253f1 Merge branch '1199-return-value-from-open-not-checked-v9_14' into 'v9_14'
Resolve "Return value from open() not checked."

See merge request isc-projects/bind9!2274
2019-08-28 20:50:36 -04:00
Mark Andrews
768fb45660 check that open() succeeded
(cherry picked from commit 510306c654)
2019-08-29 10:26:00 +10:00
Mark Andrews
f54f73d063 Merge branch '1201-add-llq-option-v9_14' into 'v9_14'
Resolve "Add LLQ option"

See merge request isc-projects/bind9!2271
2019-08-28 03:36:48 -04:00
Mark Andrews
b25262b1df Add support for displaying EDNS option LLQ.
(cherry picked from commit d98f446d3f)
2019-08-28 17:22:11 +10:00
Mark Andrews
aefde2f527 Merge branch '1187-ddns-rejected-if-zone-contains-cds-cdnskey-v9_14' into 'v9_14'
Resolve "DDNS rejected if zone contains CDS/CDNSKEY"

See merge request isc-projects/bind9!2269
2019-08-28 02:40:33 -04:00
Mark Andrews
8959c97667 add CHANGES
(cherry picked from commit ba26c6eb48)
2019-08-28 16:15:29 +10:00
Mark Andrews
f109c56f4e add good and bad CDS / CDNSKEY test zones
(cherry picked from commit 30610eb9a5)
2019-08-28 16:14:46 +10:00
Mark Andrews
491b2ebcf2 fix dnssec system tests that fail now that we call dns_zone_cdscheck
(cherry picked from commit 3705605e0b)
2019-08-28 16:14:45 +10:00
Mark Andrews
545e7cca9d add dns_zone_cdscheck to integrity checks
(cherry picked from commit cd40c9fe61)
2019-08-28 16:14:45 +10:00
Mark Andrews
45402340b6 implement getoriginnode for sdb
(cherry picked from commit 2ebc4776ca)
2019-08-28 16:14:45 +10:00
Evan Hunt
8b4ce7f900 Merge branch 'each-tidy-glue-test-v9_14' into 'v9_14'
remove unneeded files and options from glue test

See merge request isc-projects/bind9!2268
2019-08-27 21:53:22 -04:00
Evan Hunt
b361e7523e remove unneeded files and options from glue test
- the cache-file and check-itegrity options were not needed
- some zones and files were not used

(cherry picked from commit 7b65ea4c11)
2019-08-27 18:26:47 -07:00
Tinderbox User
6cd21bd26e Merge branch 'prep-release' into v9_14 2019-08-21 21:35:31 +00:00
Tinderbox User
cbc0f07a70 prep 9.14.5 2019-08-21 21:35:31 +00:00
Tinderbox User
7f67efcc14 prep 9.14.5 2019-08-21 21:35:30 +00:00
Evan Hunt
18e8b0cd7f Merge branch '1031-multiple-rate-limit-clauses-are-unsupported-v9_14' into 'v9_14'
Resolve "Multiple rate-limit clauses are unsupported"

See merge request isc-projects/bind9!2263
2019-08-21 11:05:00 -04:00
Mark Andrews
f155d1e020 remove reference to rate-limit { domain ...; }
(cherry picked from commit 2275630bc9)
2019-08-21 08:42:01 -06:00
Matthijs Mekking
04e7d2294f Merge branch 'fix-changes-file-dlv-entry-v9_14' into 'v9_14'
Fix CHANGES

See merge request isc-projects/bind9!2260
2019-08-12 06:46:44 -04:00
Matthijs Mekking
6809a5b594 Fix CHANGES
Commit 5d8eba4be0 accidentally
cherry-picked change number 5276 about obsoleting DLV.
2019-08-12 12:23:28 +02:00
Matthijs Mekking
5170a79d09 Merge branch '1074-matthijs-underflow-cachedb-statistics-v9_14' into 'v9_14'
Resolve "underflow in stats channel stale cached RRSIG gauge [ISC-support #14769]"

See merge request isc-projects/bind9!2259
2019-08-12 05:10:57 -04:00
Matthijs Mekking
ea0543a74f Simplify do_stats logic in rbtdb.c
(cherry picked from commit 4c0b0fa6a5)
2019-08-12 10:44:48 +02:00
Evan Hunt
db381b7205 improve ARM text about cache DB statistics
(cherry picked from commit 2ceb4b6a98)
2019-08-12 10:44:25 +02:00
Matthijs Mekking
3e3fd9bb2e Add serve-stale test for ancient RRsets counters
(cherry picked from commit 98b460e604)
2019-08-12 10:44:07 +02:00
Matthijs Mekking
3df7a1961f Move dnssec_keyid_max out rrsettype counters enum
(cherry picked from commit 1cd3516d54)
2019-08-12 10:43:44 +02:00
Matthijs Mekking
5d8eba4be0 Update CHANGES, notes
(cherry picked from commit 6e48abc503)
2019-08-12 10:43:22 +02:00
Matthijs Mekking
a8b29e051e Make rbtdb maintain stale counters
When updating the statistics for RRset types, if a header is marked
stale or ancient, the appropriate statistic counters are decremented,
then incremented.

Also fix some out of date comments.

(cherry picked from commit a3af2c57e7)
2019-08-12 10:42:23 +02:00
Matthijs Mekking
51a3ba45e1 No longer have stale tracking in stats module
Having the decrement/increment logic in stats makes the code hard
to follow. Remove it here and adjust the unit test. The caller
will be responsible for maintaining the correct increments and
decrements for statistics counters (in the following commit).

(cherry picked from commit 48332d4478)
2019-08-12 10:42:12 +02:00
Matthijs Mekking
ca4c9f3b06 Print out ancient type stats with '~' prefix.
The stale RR types are now printed with '#'.  This used to be the
prefix for RR types that were marked ancient, but commit
df50751585 changed the meaning.  It is
probably better to keep '#' for stale RR types and introduce a new
prefix for reintroducing ancient type stat counters.

(cherry picked from commit c9d56a8185)
2019-08-12 10:41:19 +02:00
Michał Kępień
3292b22957 Merge branch '1110-clarify-relationship-between-acls-and-rpz-v9_14' into 'v9_14'
[v9_14] Clarify relationship between ACLs and RPZ

See merge request isc-projects/bind9!2257
2019-08-12 03:50:21 -04:00
Michał Kępień
5d36461feb Clarify relationship between ACLs and RPZ
In the ARM section about RPZ, add text explicitly stating that ACLs take
precedence over RPZ to prevent users from expecting RPZ actions to be
applied to queries coming from clients which are not permitted access to
the resolver by ACLs.

(cherry picked from commit 33bddbb5d1)
2019-08-12 09:48:05 +02:00
Michał Kępień
822e20a721 Merge branch 'michal/implement-a-convenience-function-for-rndc-dumpdb-v9_14' into 'v9_14'
[v9_14] Implement a convenience function for "rndc dumpdb"

See merge request isc-projects/bind9!2249
2019-08-08 09:31:41 -04:00
Michał Kępień
e68255814e Use rndc_dumpdb() in the "sfcache" system test
(cherry picked from commit 4a8b3a8ac0)
2019-08-08 15:12:01 +02:00
Michał Kępień
f520e571b4 Use rndc_dumpdb() in the "serve-stale" system test
(cherry picked from commit 52beeed444)
2019-08-08 15:12:01 +02:00
Michał Kępień
25bd10710a Use rndc_dumpdb() in the "rndc" system test
(cherry picked from commit 443449863b)
2019-08-08 15:12:01 +02:00
Michał Kępień
50f6c92ae6 Use rndc_dumpdb() in the "dnssec" system test
(cherry picked from commit 44c0cc881f)
2019-08-08 15:12:01 +02:00
Michał Kępień
c356748700 Use rndc_dumpdb() in the "cookie" system test
(cherry picked from commit cbf32b901b)
2019-08-08 15:12:01 +02:00
Michał Kępień
66cfb7a34e Use rndc_dumpdb() in the "cacheclean" system test
(cherry picked from commit 22d5355782)
2019-08-08 15:12:01 +02:00
Michał Kępień
841be8d06d Implement a convenience function for "rndc dumpdb"
Add a helper shell function, rndc_dumpdb(), which provides a convenient
way to call "rndc dumpdb" for a given server with optional additional
arguments.  Since database dumping is an asynchronous process, the
function waits until the dump is complete before returning, which
prevents false positives in system tests caused by inspecting the dump
before its preparation is finished.  The function also renames the dump
file before returning so that it does not get overwritten by subsequent
calls; this retains forensic data in case of an unexpected test failure.

(cherry picked from commit ab78e350dd)
2019-08-08 15:12:01 +02:00
Ondřej Surý
d0b9ca1a2e Merge branch '1182-add-older-autoconf-pkg-config-compat-macros-v9_14' into 'v9_14'
Add PKG_CHECK_VAR and AS_VAR_COPY compat macros (Courtesy of ycflash)

See merge request isc-projects/bind9!2247
2019-08-08 09:06:37 -04:00
Ondřej Surý
f9154f3c88 Add PKG_CHECK_VAR and AS_VAR_COPY compat macros (Courtesy of ycflash)
(cherry picked from commit d80b6ec879)
2019-08-08 14:47:56 +02:00
Ondřej Surý
4809483086 Merge branch 'sparc-pause-v9_14' into 'v9_14'
configure.ac: autodetect 'pause' instruction presence on sparc

See merge request isc-projects/bind9!2245
2019-08-08 08:22:46 -04:00
Sergei Trofimovich
e39b03d06d configure.ac: autodetect 'pause' instruction presence on sparc
The change fixes the following build failure on sparc T3 and older CPUs:

```
sparc-unknown-linux-gnu-gcc ... -O2 -mcpu=niagara2 ... -c rwlock.c
{standard input}: Assembler messages:
{standard input}:398: Error: Architecture mismatch on "pause ".
{standard input}:398: (Requires v9e|v9v|v9m|m8; requested architecture is v9b.)
make[1]: *** [Makefile:280: rwlock.o] Error 1
```

`pause` insutruction exists only on `-mcpu=niagara4` (`T4`) and upper.

The change adds `pause` configure-time autodetection and uses it if available.
config.h.in got new `HAVE_SPARC_PAUSE` knob. Fallback is a fall-through no-op.

Build-tested on:

- sparc-unknown-linux-gnu-gcc (no `pause`, build succeeds)
- sparc-unknown-linux-gnu-gcc -mcpu=niagara4 (`pause`, build succeeds)

Reported-by: Rolf Eike Beer
Bug: https://bugs.gentoo.org/691708
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
(cherry picked from commit a5ad6b16c5)
2019-08-08 14:03:29 +02:00
Evan Hunt
e7b8c9b451 Merge branch 'each-mdig-multi-norrcomments-v9_14' into 'v9_14'
minor bugfix in mdig: when using +multi, +norrcomments was ignored

See merge request isc-projects/bind9!2240
2019-08-08 00:15:26 -04:00
Evan Hunt
81312bcf82 added "mdig +multi +norrcomment" test; also fixed the flawed dig test
(cherry picked from commit 93ad3eea90)
2019-08-07 20:52:20 -07:00
Evan Hunt
c2a128587c minor bugfix in mdig: when using +multi, +norrcomments was ignored
(cherry picked from commit edab51b420)
2019-08-07 20:52:20 -07:00
Ondřej Surý
13f4c3b54d Merge branch '1148-deadlock-hangs-named-v9_11-v9_14' into 'v9_14'
Resolve "deadlock hangs named"

See merge request isc-projects/bind9!2235
2019-08-07 06:34:25 -04:00
Ondřej Surý
ebc48cda26 Have the dns_client hold a .references until all external references are removed
so that cleanup can all be done in dns_client_destroy().

(cherry picked from commit e80c4c3431)
2019-08-07 12:15:32 +02:00