]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
7 years agoDo not fail on NULL passed to OpenSSL_free
Petr Menšík [Fri, 25 Jan 2019 20:47:37 +0000 (21:47 +0100)] 
Do not fail on NULL passed to OpenSSL_free

Some plugins might call it after deconstruction. Do not crash if there
is no reason for it.

(cherry picked from commit a26673a08863cdcb48ea91dd9c5e0ef4386ce931)

7 years agoMerge branch '766-querytrace-doc-v9_12-v9_11' into 'v9_11'
Evan Hunt [Tue, 29 Jan 2019 22:26:51 +0000 (17:26 -0500)] 
Merge branch '766-querytrace-doc-v9_12-v9_11' into 'v9_11'

Resolve "--enable-querytrace has negative performance impact - update the documentation to say this"

See merge request isc-projects/bind9!1420

7 years agoadded querytrace documentation in README
Evan Hunt [Sun, 20 Jan 2019 00:12:45 +0000 (16:12 -0800)] 
added querytrace documentation in README

also rearranged things a little, adding a "dependencies" section

(cherry picked from commit 51048ca06ecc3c57bae7f8c16b3ca9e3b1235619)
(cherry picked from commit 87b0098b4ea8725efde9f7917770187af38c262c)

7 years agoMerge branch 'michal/add-fedora-29-to-ci-v9_11' into 'v9_11'
Michał Kępień [Tue, 29 Jan 2019 12:53:19 +0000 (07:53 -0500)] 
Merge branch 'michal/add-fedora-29-to-ci-v9_11' into 'v9_11'

[v9_11] Add Fedora 29 to CI

See merge request isc-projects/bind9!1416

7 years agoAdd Fedora 29 to CI
Michał Kępień [Tue, 29 Jan 2019 12:02:53 +0000 (13:02 +0100)] 
Add Fedora 29 to CI

Modify .gitlab-ci.yml so that every CI pipeline also builds and tests
BIND on Fedora 29.

(cherry picked from commit 38b6c5c444c1ce9a2595ad5bcd960ac0cc7b98ee)

7 years agoMerge branch '259-named-args-v9_11' into 'v9_11'
Evan Hunt [Tue, 29 Jan 2019 05:35:32 +0000 (00:35 -0500)] 
Merge branch '259-named-args-v9_11' into 'v9_11'

add properly-formatted -D options to named.args files

See merge request isc-projects/bind9!1412

7 years agoalso add -D options for transient named processes started in tests.sh
Evan Hunt [Tue, 29 Jan 2019 02:11:57 +0000 (18:11 -0800)] 
also add -D options for transient named processes started in tests.sh

(cherry picked from commit dd45831acc06b15e5814b7ce3eec903d2db23904)

7 years agoadd properly-formatted -D options to named.args files
Evan Hunt [Mon, 21 Jan 2019 06:54:01 +0000 (22:54 -0800)] 
add properly-formatted -D options to named.args files

this prevents servers that use arguments specified in named.args
from appearing different in 'ps' output from servers run with arguments
from start.pl

(cherry picked from commit 175d6e9bfb7085a70051d35a70b98debff3fddbe)

7 years agoMerge branch 'each-fix-logfileconfig-v9_11' into 'v9_11'
Evan Hunt [Tue, 29 Jan 2019 05:08:44 +0000 (00:08 -0500)] 
Merge branch 'each-fix-logfileconfig-v9_11' into 'v9_11'

reset SYSTEMTESTTOP when changing directories

See merge request isc-projects/bind9!1410

7 years agoreset SYSTEMTESTTOP when changing directories
Evan Hunt [Tue, 29 Jan 2019 02:13:31 +0000 (18:13 -0800)] 
reset SYSTEMTESTTOP when changing directories

(cherry picked from commit 70f36a25e4880635645b5a6fd850421da0a543e8)

7 years agoMerge branch 'each-win32-tests-v9_11' into 'v9_11'
Evan Hunt [Sat, 26 Jan 2019 18:35:02 +0000 (13:35 -0500)] 
Merge branch 'each-win32-tests-v9_11' into 'v9_11'

fix win32 tests (v9_11)

See merge request isc-projects/bind9!1402

7 years agofix runtime test
Evan Hunt [Sat, 26 Jan 2019 08:54:22 +0000 (00:54 -0800)] 
fix runtime test

named doesn't understand cygwin paths, so we need to use
`cygpath -aw .` instead of `pwd` to get the absolute path to the
working directory.

7 years agofix rrl test
Evan Hunt [Thu, 24 Jan 2019 18:11:25 +0000 (10:11 -0800)] 
fix rrl test

strip CR characters before using awk/sed

7 years agofix rpz test
Evan Hunt [Thu, 24 Jan 2019 17:42:30 +0000 (09:42 -0800)] 
fix rpz test

- work around a CR newline problem
- use rndc to stop servers

7 years agofix rpzrecurse test
Evan Hunt [Thu, 24 Jan 2019 17:21:35 +0000 (09:21 -0800)] 
fix rpzrecurse test

- backport from v9_12 changes to enable rpzrecurse test to
  suspend and resume servers on win32
- use rndc to stop servers

7 years agofix dnssec test
Evan Hunt [Thu, 24 Jan 2019 06:57:49 +0000 (22:57 -0800)] 
fix dnssec test

- work around CR issues
- use UTC for time comparisons
- use $DIFF instead of cmp

7 years agofix legacy test
Evan Hunt [Thu, 24 Jan 2019 06:08:43 +0000 (22:08 -0800)] 
fix legacy test

use rndc rather than signals to stop the server

7 years agofix fetchlimit test
Evan Hunt [Thu, 24 Jan 2019 06:00:00 +0000 (22:00 -0800)] 
fix fetchlimit test

use TCP for the test queries in between UDP bursts; this avoids
congestion issues that interfered with the test on windows

7 years agofix sfcache test
Evan Hunt [Fri, 25 Jan 2019 18:42:46 +0000 (10:42 -0800)] 
fix sfcache test

use a lame server configuration to force SERVFAILs instead of killing ns2.
this prevents test failures that occurred due to a different behavior of
the netowrking stack in windows.

7 years agofix nsupdate test
Evan Hunt [Thu, 24 Jan 2019 05:02:03 +0000 (21:02 -0800)] 
fix nsupdate test

rndc_reload was failing on windows

7 years agofix rndc test
Evan Hunt [Wed, 23 Jan 2019 08:52:21 +0000 (00:52 -0800)] 
fix rndc test

use regex instead of exact string matching to deal with CR at end of line

7 years agofix statistics test
Evan Hunt [Wed, 23 Jan 2019 06:49:00 +0000 (22:49 -0800)] 
fix statistics test

the active sockets test is supposed to be commented out on win32, but
only part of it was

7 years agofix redirect test
Evan Hunt [Wed, 23 Jan 2019 06:46:16 +0000 (22:46 -0800)] 
fix redirect test

strip CR characters before using sed

7 years agofix notify test
Evan Hunt [Wed, 23 Jan 2019 06:24:24 +0000 (22:24 -0800)] 
fix notify test

test the average delay between notifies instead of the minimum delay;
this helps avoid unnecessary test failures on systems with bursty
network performance.

7 years agofix masterformat test
Evan Hunt [Wed, 23 Jan 2019 05:48:59 +0000 (21:48 -0800)] 
fix masterformat test

use stop.pl instead of rndc to stop server

7 years agofix inline test
Evan Hunt [Wed, 23 Jan 2019 05:06:48 +0000 (21:06 -0800)] 
fix inline test

use regex instead of exact string matching, to deal with CR at end of ine

7 years agofix forward test
Evan Hunt [Wed, 23 Jan 2019 04:34:19 +0000 (20:34 -0800)] 
fix forward test

strip CR characters before using sed

7 years agofix cookie test
Evan Hunt [Wed, 23 Jan 2019 01:53:57 +0000 (17:53 -0800)] 
fix cookie test

strip CR characters before comparing files

7 years agouse $DIFF instead of diff
Evan Hunt [Wed, 23 Jan 2019 00:29:34 +0000 (16:29 -0800)] 
use $DIFF instead of diff

7 years agoset and use SYSTEMTESTTOP consistently
Evan Hunt [Wed, 23 Jan 2019 00:52:56 +0000 (16:52 -0800)] 
set and use SYSTEMTESTTOP consistently

7 years agomore reliable method for killing "ans" servers on windows
Evan Hunt [Thu, 24 Jan 2019 03:20:26 +0000 (19:20 -0800)] 
more reliable method for killing "ans" servers on windows

as perl and python are both native to cygwin, we don't want to use
the "kill -f" option to terminate them.

7 years agoupdate ifconfig.bat with current test interfaces
Evan Hunt [Tue, 22 Jan 2019 22:31:26 +0000 (14:31 -0800)] 
update ifconfig.bat with current test interfaces

the addresses set up in ifconfig.bat were out of sync with the
ones in ifconfig.sh

7 years agoupdate conf.sh.win32 test list
Evan Hunt [Tue, 22 Jan 2019 21:02:24 +0000 (13:02 -0800)] 
update conf.sh.win32 test list

- the test lists in conf.sh.in and conf.sh.win32 were out of sync

7 years agoMerge branch '560-dnssec-keymgr-root-v9_11' into 'v9_11'
Evan Hunt [Thu, 24 Jan 2019 22:09:28 +0000 (17:09 -0500)] 
Merge branch '560-dnssec-keymgr-root-v9_11' into 'v9_11'

improve handling of trailing dots in dnssec-keymgr and dnssec-coverage

See merge request isc-projects/bind9!1395

7 years agoimprove handling of trailing dots in dnssec-keymgr and dnssec-coverage
Evan Hunt [Mon, 21 Jan 2019 21:12:26 +0000 (13:12 -0800)] 
improve handling of trailing dots in dnssec-keymgr and dnssec-coverage

- mishandling of trailing dots caused bad behavior with the
  root zone or names like "example.com."
- fixing this exposed an error in dnssec-coverage caused the
  wrong return value if there were KSK errors but no ZSK errors
- incidentally silenced the dnssec-keygen output in the coverage
  system test

(cherry picked from commit 1ccf4e6c169993a20305dfec5a23a55e1d920fe1)

7 years agoMerge branch 'v9_11-dig-sigchase-topdown' into 'v9_11'
Evan Hunt [Thu, 24 Jan 2019 19:01:12 +0000 (14:01 -0500)] 
Merge branch 'v9_11-dig-sigchase-topdown' into 'v9_11'

Try to fix crash at +sigchase +topdown

See merge request isc-projects/bind9!1391

7 years agoTry to fix crash at +sigchase +topdown
Petr Menšík [Thu, 24 Jan 2019 11:55:24 +0000 (12:55 +0100)] 
Try to fix crash at +sigchase +topdown

When multilabel name is already cached, child_of_zone fails check when
zone_name is direct child of name. Error is ignored and crashes on
expectation child_name was initialized. Handle the error and relax the
check.

Reproducer:
dig isc.org
dig +sigchase +topdown isc.org

7 years agoMerge branch 'revert-7663d075' into 'v9_11'
Evan Hunt [Wed, 23 Jan 2019 18:59:14 +0000 (13:59 -0500)] 
Merge branch 'revert-7663d075' into 'v9_11'

Revert "Merge branch 'ondrej/fix-race-condition-in-dnstap-v9_11' into 'v9_11'"

See merge request isc-projects/bind9!1384

7 years agoRevert "Merge branch 'ondrej/fix-race-condition-in-dnstap-v9_11' into 'v9_11'"
Evan Hunt [Wed, 23 Jan 2019 18:56:26 +0000 (13:56 -0500)] 
Revert "Merge branch 'ondrej/fix-race-condition-in-dnstap-v9_11' into 'v9_11'"

This reverts merge request !1345

7 years agoMerge branch '117-running-dnssec-keymgr-with-old-keys-inactivates-deletes-them-immedi...
Evan Hunt [Tue, 22 Jan 2019 19:28:24 +0000 (14:28 -0500)] 
Merge branch '117-running-dnssec-keymgr-with-old-keys-inactivates-deletes-them-immediately-v9_12-v9_11' into 'v9_11'

Resolve "Running dnssec-keymgr with old keys inactivates/deletes them immediately"

See merge request isc-projects/bind9!1380

7 years agointroducing keymgr need to preserve functionality
Mark Andrews [Tue, 22 Jan 2019 05:42:34 +0000 (16:42 +1100)] 
introducing keymgr need to preserve functionality

(cherry picked from commit 083b730ec7fba6b7ad457451996c806223815c70)
(cherry picked from commit 15b42407647e1b898c10c7edd57b86dfac91bdc8)

7 years agoMerge branch 'each-remove-fprintf-v9_11' into 'v9_11'
Mark Andrews [Mon, 21 Jan 2019 06:13:53 +0000 (01:13 -0500)] 
Merge branch 'each-remove-fprintf-v9_11' into 'v9_11'

clean up debugging fprintf

See merge request isc-projects/bind9!1370

7 years agoremoved a debugging fprintf
Evan Hunt [Mon, 21 Jan 2019 01:38:32 +0000 (17:38 -0800)] 
removed a debugging fprintf

(cherry picked from commit 6c478a3daeab6e6df1bb005d4d0666967d75cda3)

7 years agoMerge branch 'michal/gitlab-ci-cleanup-v9_11' into 'v9_11'
Michał Kępień [Fri, 18 Jan 2019 14:52:02 +0000 (09:52 -0500)] 
Merge branch 'michal/gitlab-ci-cleanup-v9_11' into 'v9_11'

[v9_11] GitLab CI cleanup

See merge request isc-projects/bind9!1364

7 years agoAdd comments
Michał Kępień [Fri, 18 Jan 2019 13:28:47 +0000 (14:28 +0100)] 
Add comments

(cherry picked from commit a27b9dff18efa692162c6de550b6e4082ad024ed)

7 years agoUnify YAML style used throughout .gitlab-ci.yml
Michał Kępień [Fri, 18 Jan 2019 13:28:47 +0000 (14:28 +0100)] 
Unify YAML style used throughout .gitlab-ci.yml

(cherry picked from commit a61bf3968899ec71ba491991c81ebd5982d7b9b3)

7 years agoTweak pipeline triggering settings
Michał Kępień [Fri, 18 Jan 2019 13:28:47 +0000 (14:28 +0100)] 
Tweak pipeline triggering settings

In an attempt to ensure that:

  - all important changes to repository contents are tested,
  - pipelines are not automatically created for every single push,
  - some flexibility is allowed for corner cases,

change pipeline triggering settings so that:

  - full build & test pipelines are only automatically created for merge
    requests and tags (both for creation and updates),

  - pipelines for other repository changes (e.g. pushes to arbitrary
    branches) can only be created manually, using GitLab's web
    interface,

  - merging a merge request only causes jobs pushing the updated ARM to
    GitLab Pages to be run (as semi-linear Git history is enforced and
    thus testing a MR is identical to testing the target branch
    post-merge in terms of code),

  - repository synchronization does not trigger duplicate pipelines in
    projects which are set as mirroring targets.

(cherry picked from commit 1c8c1815e4bf65e8f367c1f3141adf70a20a4295)

7 years agoReorder job definitions
Michał Kępień [Fri, 18 Jan 2019 13:28:47 +0000 (14:28 +0100)] 
Reorder job definitions

Group jobs by build type and operating system to make the layout of
.gitlab-ci.yml more consistent and improve locality of YAML references.

(cherry picked from commit a1dbec3b0850b05b3b3872ced44344fee337713f)

7 years agoUse a common naming pattern for all jobs
Michał Kępień [Fri, 18 Jan 2019 13:28:47 +0000 (14:28 +0100)] 
Use a common naming pattern for all jobs

Make sure all jobs are named using the following pattern:

    [<job-type>:]<build-type>:<system>:<architecture>

where specifying <job-type> is optional for "precheck" and "build" jobs.

This should make it easier to quickly recognize:

  - what kind of actions are performed by each job,
  - which BIND build flavor is used by each job,
  - which operating system image is used by each job.

(cherry picked from commit 1fe432c6c385fc36ff4aa49b692b98ba043b413e)

7 years agoDefine a template for precheck jobs
Michał Kępień [Fri, 18 Jan 2019 13:28:47 +0000 (14:28 +0100)] 
Define a template for precheck jobs

(cherry picked from commit e0b5dd67a1ca45bd341369e125fbb71cf3c8d304)

7 years agoMerge install_test_job template into the job definition as it is only used once
Michał Kępień [Fri, 18 Jan 2019 13:28:47 +0000 (14:28 +0100)] 
Merge install_test_job template into the job definition as it is only used once

(cherry picked from commit de1948398d1055ab3b3e17e2f2512c2d6baebf55)

7 years agoShorten Docker image definitions by using YAML anchors for runner tags
Michał Kępień [Fri, 18 Jan 2019 13:28:47 +0000 (14:28 +0100)] 
Shorten Docker image definitions by using YAML anchors for runner tags

While we are at it, drop use of the "docker" tag since all BIND CI jobs
are currently run inside Docker containers.

(cherry picked from commit 7dd329d3857d767b28e4d88393108d332d0f5ffb)

7 years agoBuild ARM in the build stage
Michał Kępień [Fri, 18 Jan 2019 13:28:47 +0000 (14:28 +0100)] 
Build ARM in the build stage

There is no need to build BIND binaries before building docs and thus
the job building the current version of the ARM can be moved to the
build stage of CI.

(cherry picked from commit 41a67147fee92018bd4065a4b0cc965f5df987a7)

7 years agoReplace double colon with a single colon
Michał Kępień [Fri, 18 Jan 2019 13:28:47 +0000 (14:28 +0100)] 
Replace double colon with a single colon

(cherry picked from commit 75b26d3f5068fa478444b2e0cd64645efb6b12c9)

7 years agoRemove unused parts of .gitlab-ci.yml
Michał Kępień [Fri, 18 Jan 2019 13:28:47 +0000 (14:28 +0100)] 
Remove unused parts of .gitlab-ci.yml

Remove the following from .gitlab-ci.yml:

  - unused variable definitions,
  - unused Docker image definitions,
  - commands which have no effect,
  - sections which were commented out.

(cherry picked from commit 9893bd32463a3808bc1048a3539f854ac6ea1bec)

7 years agoMerge branch '781-fix-python-check-in-configure-script-v9_11' into 'v9_11'
Michał Kępień [Fri, 18 Jan 2019 14:23:34 +0000 (09:23 -0500)] 
Merge branch '781-fix-python-check-in-configure-script-v9_11' into 'v9_11'

[v9_11] Resolve "configure script in BIND 9.13.5 release fails to detect python"

See merge request isc-projects/bind9!1363

7 years agoAdd some combinations of --with-python=<path>/--with-python/--without-python to GitLab CI
Ondřej Surý [Tue, 18 Dec 2018 14:09:24 +0000 (15:09 +0100)] 
Add some combinations of --with-python=<path>/--with-python/--without-python to GitLab CI

(cherry picked from commit 99cf0faec0fb68165bae0aefef4ab25a35d1c465)

7 years agoWhen --with-python is given to configure, use default search list for python binaries...
Ondřej Surý [Tue, 18 Dec 2018 14:05:52 +0000 (15:05 +0100)] 
When --with-python is given to configure, use default search list for python binaries instead of 'yes'

(cherry picked from commit 3951cb053b4d451fdb0580294fb78bc792b828da)

7 years agoMerge branch '752-disable-forwarders-when-priming-v9_12-v9_11' into 'v9_11'
Evan Hunt [Thu, 17 Jan 2019 06:49:18 +0000 (01:49 -0500)] 
Merge branch '752-disable-forwarders-when-priming-v9_12-v9_11' into 'v9_11'

If possible don't use forwarders when priming the resolver.

See merge request isc-projects/bind9!1357

7 years agoIf possible don't use forwarders when priming the resolver.
Witold Kręcicki [Thu, 3 Jan 2019 13:58:05 +0000 (14:58 +0100)] 
If possible don't use forwarders when priming the resolver.

If we try to fetch a record from cache and need to look into
hints database we assume that the resolver is not primed and
start dns_resolver_prime(). Priming query is supposed to return
NSes for "." in ANSWER section and glue records for them in
ADDITIONAL section, so that we can fill that info in 'regular'
cache and not use hints db anymore.
However, if we're using a forwarder the priming query goes through
it, and if it's configured to return minimal answers we won't get
the addresses of root servers in ADDITIONAL section. Since the
only records for root servers we have are in hints database we'll
try to prime the resolver with every single query.

This patch adds a DNS_FETCHOPT_NOFORWARD flag which avoids using
forwarders if possible (that is if we have forward-first policy).
Using this flag on priming fetch fixes the problem as we get the
proper glue. With forward-only policy the problem is non-existent,
as we'll never ask for root server addresses because we'll never
have a need to query them.

Also added a test to confirm priming queries are not forwarded.

(cherry picked from commit b49310ac06ac87733dc2867828e61370a84b2a9a)
(cherry picked from commit f8963ad70e222edad0c1e64f855f7fb41fb13c3c)

7 years agoMerge branch 'v9_11-normalize-files' into 'v9_11'
Mark Andrews [Thu, 17 Jan 2019 01:06:45 +0000 (20:06 -0500)] 
Merge branch 'v9_11-normalize-files' into 'v9_11'

V9 11 normalize files

See merge request isc-projects/bind9!1352

7 years agoNormalize windows files and shell scripts
Petr Menšík [Wed, 16 Jan 2019 12:18:39 +0000 (13:18 +0100)] 
Normalize windows files and shell scripts

Commands used:
git add --chmod=+x bin/tests/system/ifconfig.sh mkinstalldirs
git add --renormalize 'win32utils/**.txt' '**.dsw'

7 years agoChange eol of windows files
Petr Menšík [Wed, 16 Jan 2019 11:23:53 +0000 (12:23 +0100)] 
Change eol of windows files

Release tarballs have different eol of windows only files. Change them
also in git, so checkout matches archvies as much as possible.

7 years agoMerge branch 'pkcs11-pubattr-check-v9_11' into 'v9_11'
Mark Andrews [Wed, 16 Jan 2019 22:20:53 +0000 (17:20 -0500)] 
Merge branch 'pkcs11-pubattr-check-v9_11' into 'v9_11'

Make sure null atributes are never used

See merge request isc-projects/bind9!1355

7 years agoMake sure null atributes are never used
Petr Menšík [Fri, 4 Jan 2019 19:28:35 +0000 (20:28 +0100)] 
Make sure null atributes are never used

Add INSIST to pubattr fetching where null might occur in therory. Make
sure null is never dereferenced.

(cherry picked from commit fe9ef0d9f57a2e3f2902cf93d5f00aac3286dd99)

7 years agoMerge branch '792-bind9-doesn-t-tcp-retransmit-v9_11' into 'v9_11'
Evan Hunt [Wed, 16 Jan 2019 01:48:14 +0000 (20:48 -0500)] 
Merge branch '792-bind9-doesn-t-tcp-retransmit-v9_11' into 'v9_11'

Resolve "bind9 doesn't tcp retransmit"

See merge request isc-projects/bind9!1349

7 years agoadjust timeout to allow for ECN negotiation failures
Mark Andrews [Fri, 28 Dec 2018 04:16:04 +0000 (15:16 +1100)] 
adjust timeout to allow for ECN negotiation failures

(cherry picked from commit dadb924be766eb8bfb922eacc8015c33c08d206b)

7 years agoMerge branch 'ondrej/fix-race-condition-in-dnstap-v9_11' into 'v9_11'
Ondřej Surý [Tue, 15 Jan 2019 09:04:04 +0000 (04:04 -0500)] 
Merge branch 'ondrej/fix-race-condition-in-dnstap-v9_11' into 'v9_11'

(v9_11) Fix race condition in cleanup part of dns_dt_create()

See merge request isc-projects/bind9!1345

7 years agoAdd CHANGES entry for GL!1323
Witold Kręcicki [Mon, 14 Jan 2019 09:20:56 +0000 (10:20 +0100)] 
Add CHANGES entry for GL!1323

(cherry picked from commit 4b5337e06b545c18a1177e8c63e9b205c475386a)

7 years agoFix race condition in cleanup part of dns_dt_create()
Ondřej Surý [Fri, 23 Nov 2018 21:05:08 +0000 (22:05 +0100)] 
Fix race condition in cleanup part of dns_dt_create()

(cherry picked from commit 482dd7eed379382d627e81822bad10e876501dc4)

7 years agoMerge branch '590-win32-sample-gai-c-should-call-wsastartup-v9_11' into 'v9_11'
Mark Andrews [Tue, 15 Jan 2019 05:51:32 +0000 (00:51 -0500)] 
Merge branch '590-win32-sample-gai-c-should-call-wsastartup-v9_11' into 'v9_11'

Resolve "[Win32] sample-gai.c should call WSAStartup()"

See merge request isc-projects/bind9!1343

7 years agoadd CHANGES
Mark Andrews [Tue, 15 Jan 2019 03:23:21 +0000 (14:23 +1100)] 
add CHANGES

(cherry picked from commit 4500d9e91af4a09b3b7c47d0de4740b7cdd00399)

7 years agoensure that WSAStartup is called before getservbyname
Mark Andrews [Tue, 15 Jan 2019 03:19:59 +0000 (14:19 +1100)] 
ensure that WSAStartup is called before getservbyname

(cherry picked from commit ac01359871ae1e80b3915b7744373422ddec7ea1)

7 years agoMerge branch 'u/fanf2/rndc-managed-keys-v9_12-v9_11' into 'v9_11'
Evan Hunt [Tue, 15 Jan 2019 02:41:29 +0000 (21:41 -0500)] 
Merge branch 'u/fanf2/rndc-managed-keys-v9_12-v9_11' into 'v9_11'

Fix a few cosmetic issues with `rndc managed-keys`

See merge request isc-projects/bind9!1341

7 years agoadd multi-view server and tests
Mark Andrews [Mon, 14 Jan 2019 05:40:00 +0000 (16:40 +1100)] 
add multi-view server and tests

(cherry picked from commit 7122b5786db12b0811f868977740e12e540488a0)
(cherry picked from commit 22b77f45b739a211c9524ce2528a2b41a809f19e)

7 years agoadd CHANGES note
Mark Andrews [Mon, 14 Jan 2019 05:09:36 +0000 (16:09 +1100)] 
add CHANGES note

(cherry picked from commit 2d3f1597079b6814a3edbd10af381b46a3818ad1)

7 years agoFix a few cosmetic issues with `rndc managed-keys`
Tony Finch [Fri, 11 Jan 2019 15:17:04 +0000 (15:17 +0000)] 
Fix a few cosmetic issues with `rndc managed-keys`

The handling of class and view arguments was broken, because the code
didn't realise that next_token() would overwrite the class name when
it parsed the view name. The code was trying to implement a syntax
like `refresh [[class] view]`, but it was documented to have a syntax
like `refresh [class [view]]`. The latter is consistent with other rndc
commands, so that is how I have fixed it.

Before:

$ rndc managed-keys refresh in rec
rndc: 'managed-keys' failed: unknown class/type
unknown class 'rec'

After:

$ rndc managed-keys refresh in rec
refreshing managed keys for 'rec'

There were missing newlines in the output from `rndc managed-keys
refresh` and `rndc managed-keys destroy`.

Before:

$ rndc managed-keys refresh
refreshing managed keys for 'rec'refreshing managed keys for 'auth'

After:

$ rndc managed-keys refresh
refreshing managed keys for 'rec'
refreshing managed keys for 'auth'

(cherry picked from commit 6a3b851f72929802fc10a51f17b170db54988021)
(cherry picked from commit bc984ace12ef57ddbcb8ec6a87dd541b58c80f63)

7 years agoMerge branch 'fix-dnssec-test-v9_12-v9_11' into 'v9_11'
Evan Hunt [Mon, 14 Jan 2019 21:39:10 +0000 (16:39 -0500)] 
Merge branch 'fix-dnssec-test-v9_12-v9_11' into 'v9_11'

b/t/s/dnssec/tests.sh: Cleanup showprivate() function

See merge request isc-projects/bind9!1337

7 years agob/t/s/dnssec/tests.sh: Cleanup showprivate() function
Evan Hunt [Mon, 14 Jan 2019 20:24:21 +0000 (12:24 -0800)] 
b/t/s/dnssec/tests.sh: Cleanup showprivate() function

(cherry picked from commit b241dc58ec9400d690b43ed6a04cd953fe549de8)

7 years agoMerge branch 'each-fix-dnssec-test-error-v9_11' into 'v9_11'
Evan Hunt [Mon, 14 Jan 2019 02:52:19 +0000 (21:52 -0500)] 
Merge branch 'each-fix-dnssec-test-error-v9_11' into 'v9_11'

DNSSEC test error

See merge request isc-projects/bind9!1334

7 years agofix testing errors
Evan Hunt [Fri, 11 Jan 2019 22:37:21 +0000 (14:37 -0800)] 
fix testing errors

- the checkprivate function in the dnssec test set ret=0, erasing
  results from previous tests and making the test appear to have passed
  when it shouldn't have
- checkprivate needed a delay loop to ensure there was time for all
  private signing records to be updated before the test

(cherry picked from commit 82e83d5dc7abdb05908c7971571eaa2d673d8691)

7 years agoMerge branch 'u/fanf2/rndc-alphabetize-v9_11' into 'v9_11'
Mark Andrews [Mon, 14 Jan 2019 02:22:29 +0000 (21:22 -0500)] 
Merge branch 'u/fanf2/rndc-alphabetize-v9_11' into 'v9_11'

cleanup: alphabetize rndc command dispatch

See merge request isc-projects/bind9!1332

7 years agocleanup: alphabetize rndc command dispatch
Tony Finch [Mon, 14 Jan 2019 02:02:02 +0000 (13:02 +1100)] 
cleanup: alphabetize rndc command dispatch

7 years agoMerge branch '784-bind-9-12-3-p1-fatal-error-v9_11' into 'v9_11'
Mark Andrews [Wed, 9 Jan 2019 09:06:00 +0000 (04:06 -0500)] 
Merge branch '784-bind-9-12-3-p1-fatal-error-v9_11' into 'v9_11'

Resolve "bind 9.12.3-P1 fatal error"

See merge request isc-projects/bind9!1325

7 years agoadd CHANGES
Mark Andrews [Thu, 27 Dec 2018 02:47:08 +0000 (13:47 +1100)] 
add CHANGES

(cherry picked from commit 9dd39d53853e6afb7b042cf4ee1e4f9bbdb2efac)

7 years agoupdate refreshkeytime
Mark Andrews [Thu, 27 Dec 2018 02:44:16 +0000 (13:44 +1100)] 
update refreshkeytime

(cherry picked from commit ca977e39767902612498776db4609456b600d108)

7 years agoMerge branch 'marka-maybe_numeric-and-nul-v9_11' into 'v9_11'
Mark Andrews [Wed, 9 Jan 2019 08:20:44 +0000 (03:20 -0500)] 
Merge branch 'marka-maybe_numeric-and-nul-v9_11' into 'v9_11'

maybe_numeric failed to handle NUL in text region.

See merge request isc-projects/bind9!1322

7 years agomaybe_numeric failed to handle NUL in text region.
Mark Andrews [Fri, 4 Jan 2019 04:22:25 +0000 (15:22 +1100)] 
maybe_numeric failed to handle NUL in text region.

(cherry picked from commit ee23780246e89affc31c739bbc4cbd429410fba2)

7 years agoMerge branch 'marka-fail-when-required-field-is-missing-v9_11' into 'v9_11'
Mark Andrews [Wed, 9 Jan 2019 08:05:41 +0000 (03:05 -0500)] 
Merge branch 'marka-fail-when-required-field-is-missing-v9_11' into 'v9_11'

Ensure base64/base32/hex fields in DNS records that should be non-empty are.

See merge request isc-projects/bind9!1321

7 years agoEnsure base64/base32/hex fields in DNS records that should be non-empty are.
Mark Andrews [Fri, 4 Jan 2019 04:20:04 +0000 (15:20 +1100)] 
Ensure base64/base32/hex fields in DNS records that should be non-empty are.

(cherry picked from commit 5e8b772ad15f8e6d26c6b3d8d243ad9d59b58d29)

7 years agoMerge branch '804-large-nsec3-responses-cause-failure-in-adding-records-to-ncache...
Mark Andrews [Wed, 9 Jan 2019 05:33:45 +0000 (00:33 -0500)] 
Merge branch '804-large-nsec3-responses-cause-failure-in-adding-records-to-ncache-and-eventually-formerr-instead-of-nxdomain-v9_11' into 'v9_11'

Resolve "Large NSEC3 responses cause failure in adding records to ncache and, eventually, FORMERR (instead of NXDOMAIN)"

See merge request isc-projects/bind9!1316

7 years agoadd CHANGES entry
Mark Andrews [Thu, 3 Jan 2019 05:11:19 +0000 (16:11 +1100)] 
add CHANGES entry

(cherry picked from commit 3328116b572605880cd54e84a0b320ff20581370)

7 years agoallow for up 100 records or 64K of data to be in a ncache entry
Mark Andrews [Thu, 3 Jan 2019 05:08:39 +0000 (16:08 +1100)] 
allow for up 100 records or 64K of data to be in a ncache entry

(cherry picked from commit 604889e6274d80845ffce529a4247818c3c4b50d)

7 years agoMerge branch '804-large-nsec3-responses-cause-failure-in-adding-records-to-ncache...
Evan Hunt [Wed, 9 Jan 2019 05:09:01 +0000 (00:09 -0500)] 
Merge branch '804-large-nsec3-responses-cause-failure-in-adding-records-to-ncache-and-eventually-formerr-instead-of-nxdomain-2-v9_11' into 'v9_11'

Resolve "Large NSEC3 responses cause failure in adding records to ncache and, eventually, FORMERR (instead of NXDOMAIN)"

See merge request isc-projects/bind9!1315

7 years agoadd CHANGES
Mark Andrews [Wed, 9 Jan 2019 04:07:40 +0000 (15:07 +1100)] 
add CHANGES

(cherry picked from commit 188c1843810fe0953f0332db5339cb8b946a966c)

7 years agoexplictly convert ISC_R_NOSPACE from dns_message_parse to DNS_R_FORMERR and remove...
Mark Andrews [Mon, 7 Jan 2019 03:05:43 +0000 (14:05 +1100)] 
explictly convert ISC_R_NOSPACE from dns_message_parse to DNS_R_FORMERR and remove from dns_result_torcode

(cherry picked from commit 0c42a9c0aba9a791a8ec7ec835c979634b5bc2ab)

7 years agoMerge branch '812-cookie-test-failed-v9_11' into 'v9_11'
Evan Hunt [Wed, 9 Jan 2019 04:31:36 +0000 (23:31 -0500)] 
Merge branch '812-cookie-test-failed-v9_11' into 'v9_11'

Resolve "cookie test failed."

See merge request isc-projects/bind9!1313

7 years agowait longer for dump to complete
Mark Andrews [Mon, 7 Jan 2019 04:18:46 +0000 (15:18 +1100)] 
wait longer for dump to complete

(cherry picked from commit 8a8d378deff2b8e38ca3213b92f7d3558c5b2066)

7 years agoMerge branch 'ondrej/disable-CI-in-release-branches-v9_11' into 'v9_11'
Ondřej Surý [Tue, 8 Jan 2019 14:16:59 +0000 (09:16 -0500)] 
Merge branch 'ondrej/disable-CI-in-release-branches-v9_11' into 'v9_11'

(v9_11) Run the regular pipelines only for merge requests, and run only the Debian sid...

See merge request isc-projects/bind9!1311

7 years agoRun the regular pipelines only for merge requests, and run only the Debian sid build...
Ondřej Surý [Tue, 8 Jan 2019 13:23:51 +0000 (14:23 +0100)] 
Run the regular pipelines only for merge requests, and run only the Debian sid build for release branches

(cherry picked from commit 24961f606882939b62f461f843933da9c2d44ea8)