]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
6 years agomake named-checkconf able to check dns64 module parameters 15-dns64-module 968/head
Evan Hunt [Sat, 3 Nov 2018 23:04:58 +0000 (16:04 -0700)] 
make named-checkconf able to check dns64 module parameters

- restored the checkconf test cases from the dns64 system test
- implemented plugin_check() in the dns64 module

6 years agosupport dns64 modules in multiple views
Evan Hunt [Sat, 3 Nov 2018 18:33:27 +0000 (11:33 -0700)] 
support dns64 modules in multiple views

- add a test with two dns64 configurations in separate views.
- set up a single SDB _dns64 implementation only once on the first
  load of the dns64 module, and tear it down on the last unload;
  this prevents a failure when attempting to register the SDB twice.
- in zone_free(), detach the view after detachiing the zone database,
  to prevent an occasional shutdown race in which the SDB implementation
  was deleted before the zone was shut down.

6 years agorestore syntax checking for dns64 parameters
Evan Hunt [Sat, 3 Nov 2018 06:48:57 +0000 (23:48 -0700)] 
restore syntax checking for dns64 parameters

- note: syntax is currently only checked when loading the module from
  named. later, this will be added to named-checkconf as well.

6 years agoallow filter-aaaa and dns64 modules to be configured in either order
Evan Hunt [Fri, 2 Nov 2018 04:46:49 +0000 (21:46 -0700)] 
allow filter-aaaa and dns64 modules to be configured in either order

- this is done by having dns64 abort before ns_query_lookup() if the
  client is already recursing.
- I'm not entirely satisfied with this solution: I would prefer the
  modules to be totally independent, not to be written to make
  allowances for each other. but, it's an effective workaround.

6 years agomove dns64 SDB zone implementation into module
Evan Hunt [Thu, 1 Nov 2018 17:11:26 +0000 (10:11 -0700)] 
move dns64 SDB zone implementation into module

- remove _dns64 SDB implementation from bin/named/builtin.c
  and add it to the dbs64 module implementation. load and unload a copy
  of the implementation for each instance of the dyndb module.

6 years agorevise dns64 module to support multiple module instances
Evan Hunt [Thu, 1 Nov 2018 16:30:33 +0000 (09:30 -0700)] 
revise dns64 module to support multiple module instances

- this enables the use of more than one dns64 block in the same named.conf.
  instead of having a single hash table and memory pool shared by
  all instances of dns64, set up unique ones for each instance and
  store them in an instance structure which is passed to hook functions
  as action_data.
- also removed some hook actions from dns64 that turned out not to be
  needed.

6 years agocontinue migration of dns64 code into module
Evan Hunt [Thu, 1 Nov 2018 16:06:51 +0000 (09:06 -0700)] 
continue migration of dns64 code into module

- added a persistent-data memory pool to the module.
- removed dns64 fields from ns_client_t and query_ctx_t.
- removed DNS64 flags from client attributes.

6 years agocontinue with implementation of dns64 as an external module
Evan Hunt [Thu, 1 Nov 2018 15:53:49 +0000 (08:53 -0700)] 
continue with implementation of dns64 as an external module

- namedconf.c now has dns64-related options flagged as obsolete.
- lib/dns/dns64.c and lib/dns/include/dns/dns64.h are gone. their
  code has been migrated into bin/plugins/dns64.c, with corresponding
  nomenclature changes, and some style cleanup.
- dns64-related fields have been removed from the dns_view struct.
- dns64 configuration parsing code has been moved from named into
  the plugin module.
- checkconf tests have been removed from the dns64 system test
  these will be restored later, when named-checkconf has been
  modified to be able to load plugin modules and check their
  configuration syntax.
- dns64-related configuration checks have been removed from
  lib/bind9/check.c.
- zonemgr is now attached to the view so that modules will be able
  to access it.

6 years agomove DNS64 implementation into an external module
Evan Hunt [Thu, 1 Nov 2018 15:48:43 +0000 (08:48 -0700)] 
move DNS64 implementation into an external module

- dns64 implementation has been moved from query.c to the dns64 module.
- the code in lib/dns/dns64.c has not yet been moved.
- the module does not yet parse dns64 options in named.conf; that's
  still done by named.
- the module does not have persistent storage; we still use the client
  object.
- made more functions globally accessible so they can be called from
  modules: ns_query_lookup(), ns_query_addsoa(), ns_query_nodata(),
  ns_query_ncache(), ns_query_setorder().

6 years agomove dns64 implementation into hook functions (still local to query.c)
Evan Hunt [Thu, 1 Nov 2018 15:41:53 +0000 (08:41 -0700)] 
move dns64 implementation into hook functions (still local to query.c)

- this is a temporary step. refactor the dns64 implementation into hook
  functions declared locally, which will be moved to a module later.

6 years agomove dns64 fields from client->query to client
Evan Hunt [Thu, 1 Nov 2018 15:28:18 +0000 (08:28 -0700)] 
move dns64 fields from client->query to client

- this is temporary: the fields will be moved into the dns64 module later.

6 years agosimplification: search on rpz_st.p_name whenever RPZ is in use
Evan Hunt [Thu, 1 Nov 2018 15:28:38 +0000 (08:28 -0700)] 
simplification: search on rpz_st.p_name whenever RPZ is in use

- this is part of an effort to reduce interdependency between dns64 and
  other features, so that dns64 can more easily be compartmentalized
  into a module.
- this change keeps us from having to know whether dns64 is in use
  when updating the name to be searched for in query_lookup() because
  of RPZ processing. it seems to have no ill effects.
- also incorporated the test case from the CVE-2017-3135, which related
  to simultaneous use of dns64 and rpz.

6 years agoMerge branch '1146-rpz-expiry' into 'master'
Evan Hunt [Fri, 30 Aug 2019 19:08:30 +0000 (15:08 -0400)] 
Merge branch '1146-rpz-expiry' into 'master'

remove policies from RPZ summary database when policy zones expire

Closes #1146

See merge request isc-projects/bind9!2285

6 years agoCHANGES, release note
Evan Hunt [Fri, 30 Aug 2019 02:33:27 +0000 (19:33 -0700)] 
CHANGES, release note

6 years agowhen a response-policy zone expires, unload its polices from RPZ summary
Evan Hunt [Fri, 30 Aug 2019 02:30:57 +0000 (19:30 -0700)] 
when a response-policy zone expires, unload its polices from RPZ summary

6 years agoMerge branch 'matthijs-fix-checkconf-n' into 'master'
Matthijs Mekking [Fri, 30 Aug 2019 10:56:33 +0000 (06:56 -0400)] 
Merge branch 'matthijs-fix-checkconf-n' into 'master'

Add missing n increments in checkconf test

See merge request isc-projects/bind9!2289

6 years agoAdd missing n increments in checkconf test
Matthijs Mekking [Fri, 30 Aug 2019 10:11:56 +0000 (12:11 +0200)] 
Add missing n increments in checkconf test

6 years agoMerge branch 'ondrej/cleanup-isc_event_allocate-failure-mode' into 'master'
Ondřej Surý [Fri, 30 Aug 2019 07:57:50 +0000 (03:57 -0400)] 
Merge branch 'ondrej/cleanup-isc_event_allocate-failure-mode' into 'master'

Cleanup isc_event_allocate() failure mode handling

See merge request isc-projects/bind9!2277

6 years agoisc_event_allocate() cannot fail, remove the fail handling blocks
Ondřej Surý [Thu, 29 Aug 2019 08:29:53 +0000 (10:29 +0200)] 
isc_event_allocate() cannot fail, remove the fail handling blocks

isc_event_allocate() calls isc_mem_get() to allocate the event structure.  As
isc_mem_get() cannot fail softly (e.g. it never returns NULL), the
isc_event_allocate() cannot return NULL, hence we remove the (ret == NULL)
handling blocks using the semantic patch from the previous commit.

6 years agoisc_event_allocate() can't fail now, add spatch to remove the checks
Ondřej Surý [Thu, 29 Aug 2019 07:35:37 +0000 (09:35 +0200)] 
isc_event_allocate() can't fail now, add spatch to remove the checks

6 years agoMerge branch '1146-rpz-search' into 'master'
Evan Hunt [Fri, 30 Aug 2019 02:54:12 +0000 (22:54 -0400)] 
Merge branch '1146-rpz-search' into 'master'

use an rbtnodechain for wildcard matching in RPZ summary db

See merge request isc-projects/bind9!2276

6 years agoCHANGES
Evan Hunt [Thu, 29 Aug 2019 04:18:53 +0000 (21:18 -0700)] 
CHANGES

6 years agouse an rbtnodechain to walk up labels
Evan Hunt [Wed, 28 Aug 2019 20:11:35 +0000 (13:11 -0700)] 
use an rbtnodechain to walk up labels

when looking for a possible wildcard match in the RPZ summary database,
use an rbtnodechain to walk up label by label, rather than using the
node's parent pointer.

6 years agoMerge branch '1189-don-t-escape-commas-when-reporting-named-s-command-line' into...
Mark Andrews [Fri, 30 Aug 2019 00:36:04 +0000 (20:36 -0400)] 
Merge branch '1189-don-t-escape-commas-when-reporting-named-s-command-line' into 'master'

Resolve "Don't escape commas when reporting named's command line."

Closes #1189

See merge request isc-projects/bind9!2253

6 years agoadd CHANGES
Mark Andrews [Fri, 9 Aug 2019 03:03:25 +0000 (13:03 +1000)] 
add CHANGES

6 years agodon't escape commas when saving named's command line
Mark Andrews [Fri, 9 Aug 2019 03:02:07 +0000 (13:02 +1000)] 
don't escape commas when saving named's command line

6 years agoMerge branch 'ondrej/vicky/add-coc' into 'master'
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

6 years agoAdd Code of Conduct adapted from Django Code of Conduct
Ondřej Surý [Wed, 31 Jul 2019 11:54:46 +0000 (13:54 +0200)] 
Add Code of Conduct adapted from Django Code of Conduct

6 years agoMerge branch 'each-simplify-rbtnodechain' into 'master'
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

6 years agoadd a semantic patch for the API change
Evan Hunt [Thu, 29 Aug 2019 04:10:10 +0000 (21:10 -0700)] 
add a semantic patch for the API change

6 years agosimplify dns_rbtnodechain_init() by removing unnecessary 'mctx' parameter
Evan Hunt [Wed, 28 Aug 2019 05:41:18 +0000 (22:41 -0700)] 
simplify dns_rbtnodechain_init() by removing unnecessary 'mctx' parameter

6 years agoMerge branch 'ondrej/use-needs-kw-in-gitlab-ci' into 'master'
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

6 years agoSwap unit and system stages
Ondřej Surý [Thu, 29 Aug 2019 12:39:08 +0000 (14:39 +0200)] 
Swap unit and system stages

6 years agoFurther improve the CI by starting the build and docs right after autoreconf
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

6 years agoSplit the system and unit tests into separate stages
Ondřej Surý [Thu, 29 Aug 2019 12:32:27 +0000 (14:32 +0200)] 
Split the system and unit tests into separate stages

6 years agoMake use of DAG for GitLab Pipelines
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/

6 years agoMerge branch 'ondrej/missing-extern-in-dighost_error-declaration' into 'master'
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

6 years agodighost_error declaration in dig/dig.h was missing extern
Ondřej Surý [Thu, 29 Aug 2019 09:14:39 +0000 (11:14 +0200)] 
dighost_error declaration in dig/dig.h was missing extern

6 years agoMerge branch '1199-return-value-from-open-not-checked' into 'master'
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

6 years agocheck that open() succeeded
Mark Andrews [Thu, 22 Aug 2019 03:53:31 +0000 (13:53 +1000)] 
check that open() succeeded

6 years agoMerge branch '1201-add-llq-option' into 'master'
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

6 years agoAdd support for displaying EDNS option LLQ.
Mark Andrews [Tue, 27 Aug 2019 03:49:15 +0000 (13:49 +1000)] 
Add support for displaying EDNS option LLQ.

6 years agoMerge branch '1187-ddns-rejected-if-zone-contains-cds-cdnskey' into 'master'
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

6 years agoadd CHANGES
Mark Andrews [Fri, 23 Aug 2019 07:49:05 +0000 (17:49 +1000)] 
add CHANGES

6 years agoadd good and bad CDS / CDNSKEY test zones
Mark Andrews [Fri, 23 Aug 2019 04:36:22 +0000 (14:36 +1000)] 
add good and bad CDS / CDNSKEY test zones

6 years agofix dnssec system tests that fail now that we call dns_zone_cdscheck
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

6 years agoadd dns_zone_cdscheck to integrity checks
Mark Andrews [Fri, 9 Aug 2019 06:26:32 +0000 (16:26 +1000)] 
add dns_zone_cdscheck to integrity checks

6 years agoimplement getoriginnode for sdb
Mark Andrews [Fri, 9 Aug 2019 06:25:49 +0000 (16:25 +1000)] 
implement getoriginnode for sdb

6 years agoMerge branch 'each-tidy-glue-test' into 'master'
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

6 years agoremove unneeded files and options from glue test
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

6 years agoMerge branch 'each-dig-yaml' into 'master'
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

6 years agoCHANGES, README, relnotes
Evan Hunt [Sun, 21 Jul 2019 14:17:08 +0000 (10:17 -0400)] 
CHANGES, README, relnotes

6 years agoadd digdelv +yaml system tests
Evan Hunt [Sun, 21 Jul 2019 04:05:42 +0000 (00:05 -0400)] 
add digdelv +yaml system tests

6 years agodocument the +yaml option in dig, mdig and delv
Evan Hunt [Sat, 20 Jul 2019 23:19:53 +0000 (19:19 -0400)] 
document the +yaml option in dig, mdig and delv

6 years agoadd "delv +yaml" output format
Evan Hunt [Sat, 20 Jul 2019 21:24:41 +0000 (17:24 -0400)] 
add "delv +yaml" output format

6 years agoadd "mdig +yaml" output format
Evan Hunt [Sat, 20 Jul 2019 18:35:59 +0000 (14:35 -0400)] 
add "mdig +yaml" output format

6 years agoadd "dig +yaml" output format
Evan Hunt [Wed, 17 Jul 2019 06:44:20 +0000 (23:44 -0700)] 
add "dig +yaml" output format

6 years agoMerge branch '1031-multiple-rate-limit-clauses-are-unsupported-master' into 'master'
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

6 years agoremove reference to rate-limit { domain ...; }
Mark Andrews [Wed, 15 May 2019 02:06:01 +0000 (12:06 +1000)] 
remove reference to rate-limit { domain ...; }

(cherry picked from commit 2275630bc968a6bfcf1434d676f6ea1a8ff7f30d)

6 years agoMerge branch 'prep-release' v9.15.3
Tinderbox User [Mon, 12 Aug 2019 14:08:48 +0000 (14:08 +0000)] 
Merge branch 'prep-release'

6 years agoprep 9.15.3
Tinderbox User [Mon, 12 Aug 2019 14:08:12 +0000 (14:08 +0000)] 
prep 9.15.3

6 years agoprep 9.15.3
Tinderbox User [Mon, 12 Aug 2019 13:46:16 +0000 (13:46 +0000)] 
prep 9.15.3

6 years agoMerge branch '1074-matthijs-underflow-cachedb-statistics' into 'master'
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

6 years agoSimplify do_stats logic in rbtdb.c
Matthijs Mekking [Mon, 12 Aug 2019 07:57:16 +0000 (09:57 +0200)] 
Simplify do_stats logic in rbtdb.c

6 years agoimprove ARM text about cache DB statistics
Evan Hunt [Fri, 9 Aug 2019 21:36:43 +0000 (14:36 -0700)] 
improve ARM text about cache DB statistics

6 years agoAdd serve-stale test for ancient RRsets counters
Matthijs Mekking [Fri, 9 Aug 2019 13:46:59 +0000 (15:46 +0200)] 
Add serve-stale test for ancient RRsets counters

6 years agoMove dnssec_keyid_max out rrsettype counters enum
Matthijs Mekking [Wed, 7 Aug 2019 13:11:57 +0000 (15:11 +0200)] 
Move dnssec_keyid_max out rrsettype counters enum

6 years agoUpdate CHANGES, notes
Matthijs Mekking [Wed, 7 Aug 2019 11:33:55 +0000 (13:33 +0200)] 
Update CHANGES, notes

6 years agoMake rbtdb maintain stale counters
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.

6 years agoNo longer have stale tracking in stats module
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).

6 years agoPrint out ancient type stats with '~' prefix.
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.

6 years agoMerge branch '1110-clarify-relationship-between-acls-and-rpz' into 'master'
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

6 years agoClarify relationship between ACLs and RPZ
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.

6 years agoMerge branch '7-remove-dlv-validation' into 'master'
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

6 years agoCHANGES, release note
Evan Hunt [Tue, 6 Aug 2019 16:44:17 +0000 (09:44 -0700)] 
CHANGES, release note

6 years agoremove DLV from ARM
Matthijs Mekking [Thu, 8 Aug 2019 13:23:18 +0000 (15:23 +0200)] 
remove DLV from ARM

6 years agoremove remaining DLV-related configuration checks
Evan Hunt [Wed, 7 Aug 2019 18:53:13 +0000 (11:53 -0700)] 
remove remaining DLV-related configuration checks

6 years agoupdate docbook grammar, removing dnssec-looksaide
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.

6 years agomark 'dnssec-lookaside' obsolete in parser
Evan Hunt [Wed, 7 Aug 2019 16:13:33 +0000 (09:13 -0700)] 
mark 'dnssec-lookaside' obsolete in parser

6 years agoremove DLV system tests
Evan Hunt [Tue, 6 Aug 2019 16:28:14 +0000 (09:28 -0700)] 
remove DLV system tests

6 years agoremove DLV support from dnssec-signzone
Evan Hunt [Wed, 7 Aug 2019 19:37:09 +0000 (12:37 -0700)] 
remove DLV support from dnssec-signzone

6 years agoremove DLV support from dnssec-dsfromkey
Evan Hunt [Wed, 7 Aug 2019 19:27:03 +0000 (12:27 -0700)] 
remove DLV support from dnssec-dsfromkey

6 years agoremove DLV support from dnssec-checkds
Evan Hunt [Wed, 7 Aug 2019 19:19:19 +0000 (12:19 -0700)] 
remove DLV support from dnssec-checkds

6 years agoremove DLV from dns_client API and lib/samples
Evan Hunt [Wed, 7 Aug 2019 18:51:13 +0000 (11:51 -0700)] 
remove DLV from dns_client API and lib/samples

6 years agoremove DLV from delv
Evan Hunt [Tue, 6 Aug 2019 16:34:27 +0000 (09:34 -0700)] 
remove DLV from delv

6 years agoremove DLV-related library code
Evan Hunt [Wed, 7 Aug 2019 18:53:11 +0000 (11:53 -0700)] 
remove DLV-related library code

6 years agoremove DLV from validator
Evan Hunt [Tue, 6 Aug 2019 16:28:05 +0000 (09:28 -0700)] 
remove DLV from validator

6 years agoMerge branch '1182-add-older-autoconf-pkg-config-compat-macros' into 'master'
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

6 years agoAdd PKG_CHECK_VAR and AS_VAR_COPY compat macros (Courtesy of ycflash)
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)

6 years agoMerge branch 'michal/implement-a-convenience-function-for-rndc-dumpdb' into 'master'
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

6 years agoUse 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 "sfcache" system test

6 years agoUse 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 "serve-stale" system test

6 years agoUse 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 "rndc" system test

6 years agoUse 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 "dnssec" system test

6 years agoUse 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 "cookie" system test

6 years agoUse rndc_dumpdb() in the "cacheclean" system test
Michał Kępień [Thu, 8 Aug 2019 12:27:55 +0000 (14:27 +0200)] 
Use rndc_dumpdb() in the "cacheclean" system test

6 years agoImplement a convenience function for "rndc dumpdb"
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.

6 years agoMerge branch 'sparc-pause' into 'master'
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

6 years agoconfigure.ac: autodetect 'pause' instruction presence on sparc
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>
6 years agoMerge branch 'each-mdig-multi-norrcomments' into 'master'
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