]>
git.ipfire.org Git - thirdparty/bind9.git/log
Vicky Risk [Thu, 29 Aug 2019 23:57:45 +0000 (19:57 -0400)]
Update release.md
Ondřej Surý [Thu, 29 Aug 2019 19:04:44 +0000 (15:04 -0400)]
Merge branch 'ondrej/vicky/add-coc' into 'master'
Add Code of Conduct
See merge request isc-projects/bind9!2219
Ondřej Surý [Wed, 31 Jul 2019 11:54:46 +0000 (13:54 +0200)]
Add Code of Conduct adapted from Django Code of Conduct
Evan Hunt [Thu, 29 Aug 2019 17:29:45 +0000 (13:29 -0400)]
Merge branch 'each-simplify-rbtnodechain' into 'master'
simplify dns_rbtnodechain_init() by removing unnecessary 'mctx' parameter
See merge request isc-projects/bind9!2273
Evan Hunt [Thu, 29 Aug 2019 04:10:10 +0000 (21:10 -0700)]
add a semantic patch for the API change
Evan Hunt [Wed, 28 Aug 2019 05:41:18 +0000 (22:41 -0700)]
simplify dns_rbtnodechain_init() by removing unnecessary 'mctx' parameter
Ondřej Surý [Thu, 29 Aug 2019 12:58:37 +0000 (08:58 -0400)]
Merge branch 'ondrej/use-needs-kw-in-gitlab-ci' into 'master'
Ondrej/use needs kw in gitlab ci
See merge request isc-projects/bind9!2280
Ondřej Surý [Thu, 29 Aug 2019 12:39:08 +0000 (14:39 +0200)]
Swap unit and system stages
Ondřej Surý [Thu, 29 Aug 2019 12:37:33 +0000 (14:37 +0200)]
Further improve the CI by starting the build and docs right after autoreconf
Ondřej Surý [Thu, 29 Aug 2019 12:32:27 +0000 (14:32 +0200)]
Split the system and unit tests into separate stages
Ondřej Surý [Thu, 29 Aug 2019 12:27:19 +0000 (14:27 +0200)]
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/
Ondřej Surý [Thu, 29 Aug 2019 11:05:26 +0000 (07:05 -0400)]
Merge branch 'ondrej/missing-extern-in-dighost_error-declaration' into 'master'
dighost_error declaration in dig/dig.h was missing extern
See merge request isc-projects/bind9!2278
Ondřej Surý [Thu, 29 Aug 2019 09:14:39 +0000 (11:14 +0200)]
dighost_error declaration in dig/dig.h was missing extern
Mark Andrews [Thu, 29 Aug 2019 00:17:01 +0000 (20:17 -0400)]
Merge branch '1199-return-value-from-open-not-checked' into 'master'
Resolve "Return value from open() not checked."
Closes #1199
See merge request isc-projects/bind9!2264
Mark Andrews [Thu, 22 Aug 2019 03:53:31 +0000 (13:53 +1000)]
check that open() succeeded
Mark Andrews [Wed, 28 Aug 2019 06:41:43 +0000 (02:41 -0400)]
Merge branch '1201-add-llq-option' into 'master'
Resolve "Add LLQ option"
Closes #1201
See merge request isc-projects/bind9!2267
Mark Andrews [Tue, 27 Aug 2019 03:49:15 +0000 (13:49 +1000)]
Add support for displaying EDNS option LLQ.
Mark Andrews [Wed, 28 Aug 2019 06:09:39 +0000 (02:09 -0400)]
Merge branch '1187-ddns-rejected-if-zone-contains-cds-cdnskey' into 'master'
Resolve "DDNS rejected if zone contains CDS/CDNSKEY"
Closes #1187
See merge request isc-projects/bind9!2254
Mark Andrews [Fri, 23 Aug 2019 07:49:05 +0000 (17:49 +1000)]
add CHANGES
Mark Andrews [Fri, 23 Aug 2019 04:36:22 +0000 (14:36 +1000)]
add good and bad CDS / CDNSKEY test zones
Mark Andrews [Fri, 9 Aug 2019 06:27:55 +0000 (16:27 +1000)]
fix dnssec system tests that fail now that we call dns_zone_cdscheck
Mark Andrews [Fri, 9 Aug 2019 06:26:32 +0000 (16:26 +1000)]
add dns_zone_cdscheck to integrity checks
Mark Andrews [Fri, 9 Aug 2019 06:25:49 +0000 (16:25 +1000)]
implement getoriginnode for sdb
Evan Hunt [Tue, 27 Aug 2019 17:00:47 +0000 (13:00 -0400)]
Merge branch 'each-tidy-glue-test' into 'master'
remove unneeded files and options from glue test
See merge request isc-projects/bind9!2238
Evan Hunt [Wed, 7 Aug 2019 22:30:01 +0000 (15:30 -0700)]
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
Evan Hunt [Mon, 26 Aug 2019 00:02:33 +0000 (20:02 -0400)]
Merge branch 'each-dig-yaml' into 'master'
dig/delv/mdig +yaml output
Closes #1145
See merge request isc-projects/bind9!2168
Evan Hunt [Sun, 21 Jul 2019 14:17:08 +0000 (10:17 -0400)]
CHANGES, README, relnotes
Evan Hunt [Sun, 21 Jul 2019 04:05:42 +0000 (00:05 -0400)]
add digdelv +yaml system tests
Evan Hunt [Sat, 20 Jul 2019 23:19:53 +0000 (19:19 -0400)]
document the +yaml option in dig, mdig and delv
Evan Hunt [Sat, 20 Jul 2019 21:24:41 +0000 (17:24 -0400)]
add "delv +yaml" output format
Evan Hunt [Sat, 20 Jul 2019 18:35:59 +0000 (14:35 -0400)]
add "mdig +yaml" output format
Evan Hunt [Wed, 17 Jul 2019 06:44:20 +0000 (23:44 -0700)]
add "dig +yaml" output format
Evan Hunt [Wed, 21 Aug 2019 15:04:14 +0000 (11:04 -0400)]
Merge branch '1031-multiple-rate-limit-clauses-are-unsupported-master' into 'master'
Resolve "Multiple rate-limit clauses are unsupported"
See merge request isc-projects/bind9!2262
Mark Andrews [Wed, 15 May 2019 02:06:01 +0000 (12:06 +1000)]
remove reference to rate-limit { domain ...; }
(cherry picked from commit
2275630bc968a6bfcf1434d676f6ea1a8ff7f30d )
Tinderbox User [Mon, 12 Aug 2019 14:08:48 +0000 (14:08 +0000)]
Merge branch 'prep-release'
Tinderbox User [Mon, 12 Aug 2019 14:08:12 +0000 (14:08 +0000)]
prep 9.15.3
Tinderbox User [Mon, 12 Aug 2019 13:46:16 +0000 (13:46 +0000)]
prep 9.15.3
Matthijs Mekking [Mon, 12 Aug 2019 08:39:30 +0000 (04:39 -0400)]
Merge branch '1074-matthijs-underflow-cachedb-statistics' into 'master'
Resolve "underflow in stats channel stale cached RRSIG gauge [ISC-support #14769]"
Closes #1074 and #602
See merge request isc-projects/bind9!2237
Matthijs Mekking [Mon, 12 Aug 2019 07:57:16 +0000 (09:57 +0200)]
Simplify do_stats logic in rbtdb.c
Evan Hunt [Fri, 9 Aug 2019 21:36:43 +0000 (14:36 -0700)]
improve ARM text about cache DB statistics
Matthijs Mekking [Fri, 9 Aug 2019 13:46:59 +0000 (15:46 +0200)]
Add serve-stale test for ancient RRsets counters
Matthijs Mekking [Wed, 7 Aug 2019 13:11:57 +0000 (15:11 +0200)]
Move dnssec_keyid_max out rrsettype counters enum
Matthijs Mekking [Wed, 7 Aug 2019 11:33:55 +0000 (13:33 +0200)]
Update CHANGES, notes
Matthijs Mekking [Wed, 7 Aug 2019 11:27:59 +0000 (13:27 +0200)]
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.
Matthijs Mekking [Wed, 7 Aug 2019 11:24:25 +0000 (13:24 +0200)]
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).
Matthijs Mekking [Mon, 5 Aug 2019 14:34:28 +0000 (16:34 +0200)]
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
df50751585b64f72d93ad665abf0f485c8941a3b changed the meaning. It is
probably better to keep '#' for stale RR types and introduce a new
prefix for reintroducing ancient type stat counters.
Michał Kępień [Mon, 12 Aug 2019 07:50:18 +0000 (03:50 -0400)]
Merge branch '1110-clarify-relationship-between-acls-and-rpz' into 'master'
Clarify relationship between ACLs and RPZ
Closes #1110
See merge request isc-projects/bind9!2255
Michał Kępień [Mon, 12 Aug 2019 07:46:12 +0000 (09:46 +0200)]
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.
Evan Hunt [Fri, 9 Aug 2019 16:40:52 +0000 (12:40 -0400)]
Merge branch '7-remove-dlv-validation' into 'master'
Remove DLV validation code
Closes #7
See merge request isc-projects/bind9!2233
Evan Hunt [Tue, 6 Aug 2019 16:44:17 +0000 (09:44 -0700)]
CHANGES, release note
Matthijs Mekking [Thu, 8 Aug 2019 13:23:18 +0000 (15:23 +0200)]
remove DLV from ARM
Evan Hunt [Wed, 7 Aug 2019 18:53:13 +0000 (11:53 -0700)]
remove remaining DLV-related configuration checks
Evan Hunt [Wed, 7 Aug 2019 17:31:19 +0000 (10:31 -0700)]
update docbook grammar, removing dnssec-looksaide
- this required modification to the code that generates grammar text for
the documentation, because the "dnssec-lookaside" option spanned more
than one line in doc/misc/options, so grepping out only the lines
marked "// obsolete" didn't remove the whole option. this commit adds
an option to cfg_test to print named.conf clauses only if they don't
have the obsolete, ancient, test-only, or not-yet-implemented flags
set.
Evan Hunt [Wed, 7 Aug 2019 16:13:33 +0000 (09:13 -0700)]
mark 'dnssec-lookaside' obsolete in parser
Evan Hunt [Tue, 6 Aug 2019 16:28:14 +0000 (09:28 -0700)]
remove DLV system tests
Evan Hunt [Wed, 7 Aug 2019 19:37:09 +0000 (12:37 -0700)]
remove DLV support from dnssec-signzone
Evan Hunt [Wed, 7 Aug 2019 19:27:03 +0000 (12:27 -0700)]
remove DLV support from dnssec-dsfromkey
Evan Hunt [Wed, 7 Aug 2019 19:19:19 +0000 (12:19 -0700)]
remove DLV support from dnssec-checkds
Evan Hunt [Wed, 7 Aug 2019 18:51:13 +0000 (11:51 -0700)]
remove DLV from dns_client API and lib/samples
Evan Hunt [Tue, 6 Aug 2019 16:34:27 +0000 (09:34 -0700)]
remove DLV from delv
Evan Hunt [Wed, 7 Aug 2019 18:53:11 +0000 (11:53 -0700)]
remove DLV-related library code
Evan Hunt [Tue, 6 Aug 2019 16:28:05 +0000 (09:28 -0700)]
remove DLV from validator
Ondřej Surý [Thu, 8 Aug 2019 12:46:52 +0000 (08:46 -0400)]
Merge branch '1182-add-older-autoconf-pkg-config-compat-macros' into 'master'
Add PKG_CHECK_VAR and AS_VAR_COPY compat macros (Courtesy of ycflash)
Closes #1182
See merge request isc-projects/bind9!2246
Ondřej Surý [Thu, 8 Aug 2019 12:11:35 +0000 (14:11 +0200)]
Add PKG_CHECK_VAR and AS_VAR_COPY compat macros (Courtesy of ycflash)
Michał Kępień [Thu, 8 Aug 2019 12:42:49 +0000 (08:42 -0400)]
Merge branch 'michal/implement-a-convenience-function-for-rndc-dumpdb' into 'master'
Implement a convenience function for "rndc dumpdb"
See merge request isc-projects/bind9!1967
Michał Kępień [Thu, 8 Aug 2019 12:27:55 +0000 (14:27 +0200)]
Use rndc_dumpdb() in the "sfcache" system test
Michał Kępień [Thu, 8 Aug 2019 12:27:55 +0000 (14:27 +0200)]
Use rndc_dumpdb() in the "serve-stale" system test
Michał Kępień [Thu, 8 Aug 2019 12:27:55 +0000 (14:27 +0200)]
Use rndc_dumpdb() in the "rndc" system test
Michał Kępień [Thu, 8 Aug 2019 12:27:55 +0000 (14:27 +0200)]
Use rndc_dumpdb() in the "dnssec" system test
Michał Kępień [Thu, 8 Aug 2019 12:27:55 +0000 (14:27 +0200)]
Use rndc_dumpdb() in the "cookie" system test
Michał Kępień [Thu, 8 Aug 2019 12:27:55 +0000 (14:27 +0200)]
Use rndc_dumpdb() in the "cacheclean" system test
Michał Kępień [Thu, 8 Aug 2019 12:27:55 +0000 (14:27 +0200)]
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.
Ondřej Surý [Thu, 8 Aug 2019 11:31:29 +0000 (07:31 -0400)]
Merge branch 'sparc-pause' into 'master'
configure.ac: autodetect 'pause' instruction presence on sparc
See merge request isc-projects/bind9!2243
Sergei Trofimovich [Thu, 8 Aug 2019 07:33:10 +0000 (08:33 +0100)]
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>
Evan Hunt [Thu, 8 Aug 2019 03:15:13 +0000 (23:15 -0400)]
Merge branch 'each-mdig-multi-norrcomments' into 'master'
minor bugfix in mdig: when using +multi, +norrcomments was ignored
See merge request isc-projects/bind9!2208
Evan Hunt [Tue, 6 Aug 2019 04:24:06 +0000 (21:24 -0700)]
added "mdig +multi +norrcomment" test; also fixed the flawed dig test
Evan Hunt [Tue, 30 Jul 2019 19:28:20 +0000 (12:28 -0700)]
minor bugfix in mdig: when using +multi, +norrcomments was ignored
Ondřej Surý [Wed, 7 Aug 2019 11:02:16 +0000 (07:02 -0400)]
Merge branch '1148-deadlock-hangs-named-v9_11-v9_14-master' into 'master'
Resolve "deadlock hangs named"
Closes #1148
See merge request isc-projects/bind9!2236
Ondřej Surý [Tue, 6 Aug 2019 15:35:20 +0000 (17:35 +0200)]
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
e80c4c3431504a462ce03bffbb9229b9b34395d1 )
(cherry picked from commit
ebc48cda26ff3935406f48bb745561cc00fed046 )
Mark Andrews [Tue, 6 Aug 2019 02:40:04 +0000 (12:40 +1000)]
Have the view hold a weakref until all external references are removed
so that cleanup can all be done in dns_view_weakattach().
(cherry picked from commit
be8af3afb711a04ac140b1debce3b950922d714f )
(cherry picked from commit
e3946327035832ec03c064410e5c6881841f8f6f )
Ondřej Surý [Thu, 1 Aug 2019 09:42:58 +0000 (11:42 +0200)]
lib/dns/resolver.c: Convert (dns_view_t *)->weakrefs to isc_refcount_t
There's a deadlock in BIND 9 code where (dns_view_t){ .lock } and
(dns_resolver_t){ .buckets[i].lock } gets locked in different order. When
view->weakrefs gets converted to a reference counting we can reduce the locking
in dns_view_weakdetach only to cases where it's the last instance of the
dns_view_t object.
(cherry picked from commit
a7c9a52c89146490a0e797df2119026a268f294c )
(cherry picked from commit
232140edae6b80f8344db234cda28f8456269a6e )
Ondřej Surý [Wed, 7 Aug 2019 08:13:18 +0000 (04:13 -0400)]
Merge branch 'ondrej/flycheck-configuration-update' into 'master'
Update the flycheck configuration for gcc and cppcheck
See merge request isc-projects/bind9!2234
Ondřej Surý [Wed, 7 Aug 2019 08:12:25 +0000 (10:12 +0200)]
Update the flycheck configuration for gcc and cppcheck
Evan Hunt [Tue, 6 Aug 2019 04:55:46 +0000 (00:55 -0400)]
Merge branch '1170-dig-comments' into 'master'
Resolve "dig +nocomment still comments"
Closes #1170
See merge request isc-projects/bind9!2207
Evan Hunt [Mon, 29 Jul 2019 23:32:00 +0000 (16:32 -0700)]
clarify descriptions of comment-related options in dig usage and man page
Evan Hunt [Mon, 29 Jul 2019 23:06:59 +0000 (16:06 -0700)]
always check 'printcmd' before printing cmdline message
Mark Andrews [Fri, 2 Aug 2019 05:31:16 +0000 (01:31 -0400)]
Merge branch '964-use-referral-ds-record-when-validating' into 'master'
Resolve "Use referral DS record when validating"
Closes #964
See merge request isc-projects/bind9!1755
Mark Andrews [Wed, 31 Jul 2019 07:03:37 +0000 (17:03 +1000)]
add CHANGES
Mark Andrews [Mon, 3 Jun 2019 01:44:18 +0000 (11:44 +1000)]
check that example/DS is not fetched when validating a.example
Mark Andrews [Wed, 27 Mar 2019 13:48:03 +0000 (00:48 +1100)]
Store the DS and RRSIG(DS) with trust dns_trust_pending_answer
so that the validator can validate the records as part of validating
the current request.
Mark Andrews [Thu, 1 Aug 2019 06:04:32 +0000 (02:04 -0400)]
Merge branch '1175-a-race-in-ht-c-can-cause-require-failures' into 'master'
Resolve "a race in ht.c can cause REQUIRE failures"
Closes #1175
See merge request isc-projects/bind9!2225
Mark Andrews [Thu, 1 Aug 2019 06:03:55 +0000 (16:03 +1000)]
add CHANGES
Mark Andrews [Thu, 1 Aug 2019 01:32:28 +0000 (11:32 +1000)]
remove invalid comment
Mark Andrews [Thu, 1 Aug 2019 01:15:05 +0000 (11:15 +1000)]
keep rpzs around until everything referencing it has gone
Mark Andrews [Wed, 31 Jul 2019 23:30:49 +0000 (09:30 +1000)]
maintain a reference to 'rpz' when calling rpz.c:update_quantum
Ondřej Surý [Wed, 31 Jul 2019 14:48:46 +0000 (10:48 -0400)]
Merge branch 'michal/do-not-use-target-specific-variables-in-makefiles' into 'master'
Do not use target-specific variables in Makefiles and fix LD_WRAP for non-libtool builds
Closes #1174
See merge request isc-projects/bind9!2224
Ondřej Surý [Wed, 31 Jul 2019 14:09:43 +0000 (16:09 +0200)]
Fix the ${WRAP} -> $${WRAP} to allow static non-libtool linking again
Ondřej Surý [Wed, 31 Jul 2019 14:05:02 +0000 (16:05 +0200)]
Revert the target specific variable to fix building with BSD make
Ondřej Surý [Wed, 31 Jul 2019 13:43:42 +0000 (09:43 -0400)]
Merge branch '4-remove-etags' into 'master'
Remove the autoconf checks for etags/ctags and `make tags` target
Closes #4
See merge request isc-projects/bind9!2223
Ondřej Surý [Wed, 31 Jul 2019 13:27:27 +0000 (15:27 +0200)]
Remove the autoconf checks for etags/ctags and `make tags` target
There's no strong reason to keep `make tags` in our build system. The previous
functionality of `make tags` could be simply retained by aliasing variant of:
etags $(git ls-files '*.c' '*.h')
which would be universal for all C-code projects.