]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
6 years agoContent, clarity, and grammar edits to history.rst
Suzanne Goldlust [Mon, 1 Jun 2020 15:39:03 +0000 (15:39 +0000)] 
Content, clarity, and grammar edits to history.rst

6 years agoMerge branch '1908-text-edits-in-troubleshooting-rst' into 'master'
Ondřej Surý [Wed, 3 Jun 2020 10:15:28 +0000 (10:15 +0000)] 
Merge branch '1908-text-edits-in-troubleshooting-rst' into 'master'

Resolve "Text edits in troubleshooting.rst"

Closes #1908

See merge request isc-projects/bind9!3614

6 years agoContent, clarity, and grammar edits to troubleshooting.rst
Suzanne Goldlust [Mon, 1 Jun 2020 15:25:43 +0000 (15:25 +0000)] 
Content, clarity, and grammar edits to troubleshooting.rst

6 years agoMerge branch '1906-more-bind-arm-text-edits' into 'master'
Ondřej Surý [Wed, 3 Jun 2020 10:13:45 +0000 (10:13 +0000)] 
Merge branch '1906-more-bind-arm-text-edits' into 'master'

Resolve "More BIND ARM text edits"

Closes #1906

See merge request isc-projects/bind9!3613

6 years agoContent, grammar, and clarity updates to security.rst
Suzanne Goldlust [Mon, 1 Jun 2020 14:46:24 +0000 (14:46 +0000)] 
Content, grammar, and clarity updates to security.rst

6 years agoMerge branch '1877-reduce-default-for-max-stale-ttl-to-something-more-reasonable...
Ondřej Surý [Wed, 3 Jun 2020 09:26:08 +0000 (09:26 +0000)] 
Merge branch '1877-reduce-default-for-max-stale-ttl-to-something-more-reasonable-12-hours-or-similar-fix-release-note' into 'master'

Add GL issue number to release note

Closes #1877

See merge request isc-projects/bind9!3630

6 years agoAdd GL issue number to release note
Ondřej Surý [Wed, 3 Jun 2020 09:25:13 +0000 (11:25 +0200)] 
Add GL issue number to release note

6 years agoMerge branch '1877-reduce-default-for-max-stale-ttl-to-something-more-reasonable...
Ondřej Surý [Wed, 3 Jun 2020 08:18:37 +0000 (08:18 +0000)] 
Merge branch '1877-reduce-default-for-max-stale-ttl-to-something-more-reasonable-12-hours-or-similar' into 'master'

Resolve "Reduce default for max-stale-ttl to something more reasonable - 12 hours or similar"

Closes #1877

See merge request isc-projects/bind9!3593

6 years agoAdd CHANGES for #1877
Ondřej Surý [Wed, 27 May 2020 15:52:49 +0000 (17:52 +0200)] 
Add CHANGES for #1877

6 years agoAdd release notes for #1877
Ondřej Surý [Wed, 27 May 2020 15:51:56 +0000 (17:51 +0200)] 
Add release notes for #1877

6 years agoReduce the default value for max-stale-ttl from 1 week to 12 hours
Ondřej Surý [Wed, 27 May 2020 15:48:39 +0000 (17:48 +0200)] 
Reduce the default value for max-stale-ttl from 1 week to 12 hours

Originally, the default value for max-stale-ttl was 1 week, which could
and in some scenarios lead to cache exhaustion on a busy resolvers.
Picking the default value will always be juggling between value that's
useful (e.g. keeping the already cached records after they have already
expired and the upstream name servers are down) and not bloating the
cache too much (e.g. keeping everything for a very long time).  The new
default reflects what we think is a reasonable to time to react on both
sides (upstream authoritative and downstream recursive).

6 years agoMerge branch '1845-1846-keyrollover-bugs' into 'master' 3627/head
Matthijs Mekking [Tue, 2 Jun 2020 09:31:54 +0000 (09:31 +0000)] 
Merge branch '1845-1846-keyrollover-bugs' into 'master'

Fix dnssec-policy key rollover bugs

Closes #1846 and #1845

See merge request isc-projects/bind9!3619

6 years agoRetire predecessor when creating successor
Matthijs Mekking [Thu, 14 May 2020 13:39:57 +0000 (15:39 +0200)] 
Retire predecessor when creating successor

When creating the successor, the current active key (predecessor)
should change its goal state to HIDDEN.

Also add two useful debug logs in the keymgr_key_rollover function.

6 years agoIf prepub > retire, prepub now
Matthijs Mekking [Thu, 14 May 2020 13:36:13 +0000 (15:36 +0200)] 
If prepub > retire, prepub now

Catch a case where if the prepublication time of the successor key
is later than the retire time of the predecessor. If that is the
case we should prepublish as soon as possible, a.k.a. now.

6 years agoPut new key rollover logic in separate function
Matthijs Mekking [Thu, 14 May 2020 13:34:13 +0000 (15:34 +0200)] 
Put new key rollover logic in separate function

The `dns_keymgr_run()` function became quite long, put the logic
that looks if a new key needs to be created (start a key rollover)
in a separate function.

6 years agoFix bug in keymgr_key_has_successor
Matthijs Mekking [Thu, 14 May 2020 13:06:54 +0000 (15:06 +0200)] 
Fix bug in keymgr_key_has_successor

The logic in `keymgr_key_has_successor(key, keyring)` is flawed, it
returns true if there is any key in the keyring that has a successor,
while what we really want here is to make sure that the given key
has a successor in the given keyring.

Rather than relying on `keymgr_key_exists_with_state`, walk the
list of keys in the keyring and check if the key is a successor of
the given predecessor key.

6 years agoMerge branch '1843-print-correct-keytiming-metadata' into 'master'
Matthijs Mekking [Tue, 2 Jun 2020 07:56:38 +0000 (07:56 +0000)] 
Merge branch '1843-print-correct-keytiming-metadata' into 'master'

Resolve "kasp: Set correct keytimings"

Closes #1843

See merge request isc-projects/bind9!3534

6 years agoReplace date -d with python script
Matthijs Mekking [Fri, 15 May 2020 08:27:27 +0000 (10:27 +0200)] 
Replace date -d with python script

The usage of 'date -d' in the kasp system test is not portable,
replace with a python script.  Also remove some leftover
"set_keytime 'yes'" calls.

6 years agoAdd change entry
Matthijs Mekking [Thu, 14 May 2020 06:48:13 +0000 (08:48 +0200)] 
Add change entry

6 years agoTest keytimes on algorithm rollover
Matthijs Mekking [Wed, 13 May 2020 15:12:23 +0000 (17:12 +0200)] 
Test keytimes on algorithm rollover

This improves keytime testing on algorithm rollover.  It now
tests for specific times, and also tests for SyncPublish and
Removed keytimes.

6 years agoTest keytimes on policy changes
Matthijs Mekking [Tue, 12 May 2020 15:12:21 +0000 (17:12 +0200)] 
Test keytimes on policy changes

This improves keytime testing on reconfiguration of the
dnssec-policy.

6 years agoTest keytimes on CSK rollover
Matthijs Mekking [Mon, 11 May 2020 13:12:32 +0000 (15:12 +0200)] 
Test keytimes on CSK rollover

This improves keytime testing on CSK rollover.  It now
tests for specific times, and also tests for SyncPublish and
Removed keytimes.

Since an "active key" for ZSK and KSK means something
different, this makes it tricky to decide when a CSK is
active. An "active key" intuitively means the key is signing
so we say a CSK is active when it is creating zone signatures.

This change means a lot of timings for the CSK rollover tests
need to be adjusted.

The keymgr code needs a slight change on calculating the
prepublication time: For a KSK we need to include the parent
registration delay, but for CSK we look at the zone signing
property and stick with the ZSK prepublication calculation.

6 years agoTest keytimes on KSK rollover
Matthijs Mekking [Mon, 4 May 2020 10:33:52 +0000 (12:33 +0200)] 
Test keytimes on KSK rollover

This improves keytime testing on KSK rollover.  It now
tests for specific times, and also tests for SyncPublish and
Removed keytimes.

6 years agokasp: registration delay adjustments
Matthijs Mekking [Mon, 4 May 2020 10:30:40 +0000 (12:30 +0200)] 
kasp: registration delay adjustments

Registration delay is not part of the Iret retire interval, thus
removed from the calculation when setting the Delete time metadata.

Include the registration delay in prepublication time, because
we need to prepublish the key sooner than just the Ipub
publication interval.

6 years agoTest keytimes on ZSK rollover
Matthijs Mekking [Fri, 1 May 2020 11:43:52 +0000 (13:43 +0200)] 
Test keytimes on ZSK rollover

This improves keytime testing on ZSK rollover.  It now
tests for specific times, and also tests for SyncPublish and
Removed keytimes.

6 years agoTest keytimes on enable-dnssec case
Matthijs Mekking [Thu, 30 Apr 2020 11:48:07 +0000 (13:48 +0200)] 
Test keytimes on enable-dnssec case

This improves keytime testing for enabling DNSSEC.  It now
tests for specific times, and also tests for SyncPublish.

6 years agoSet SyncPublish on keys
Matthijs Mekking [Thu, 30 Apr 2020 11:22:23 +0000 (13:22 +0200)] 
Set SyncPublish on keys

Set the SyncPublish metadata on keys that don't have them yet.

6 years agoStart testing keytiming metadata
Matthijs Mekking [Thu, 30 Apr 2020 11:13:12 +0000 (13:13 +0200)] 
Start testing keytiming metadata

This commit adds testing keytiming metadata.  In order to facilitate
this, the kasp system test undergoes a few changes:

1. When finding a key file, rather than only saving the key ID,
   also save the base filename and creation date with `key_save`.
   These can be used later to set expected key times.
2. Add a test function `set_addkeytime` that takes a key, which
   keytiming to update, a datetime in keytiming format, and a number
   (seconds) to add, and sets the new time in the given keytime
   parameter of the given key.  This is used to set the expected key
   times.
3. Split `check_keys` in `check_keys` and `check_keytimes`.  First we
   need to find the keyfile before we can check the keytimes.
   We need to retrieve the creation date (and sometimes other
   keytimes) to determine the other expected key times.
4. Add helper functions to set the expected key times per policy.
   This avoids lots of duplication.

Check for keytimes for the first test cases (all that do not cover
rollovers).

6 years agoStop keeping track of key parameter count
Matthijs Mekking [Wed, 29 Apr 2020 08:51:41 +0000 (10:51 +0200)] 
Stop keeping track of key parameter count

Stop tracking in the comments the number of key parameters in the
kasp system test, it adds nothing beneficial.

6 years agoFix some more test output filenames
Matthijs Mekking [Wed, 29 Apr 2020 08:01:27 +0000 (10:01 +0200)] 
Fix some more test output filenames

After removing dnssec-settime calls that set key rollover
relationship, we can adjust the counts in test output filenames.

Also fix a couple of more wrong counts in output filenames.

6 years agoSet key rollover relationship without settime
Matthijs Mekking [Wed, 29 Apr 2020 07:37:41 +0000 (09:37 +0200)] 
Set key rollover relationship without settime

Using dnssec-setttime after dnssec-keygen in the kasp system test
can lead to off by one second failures, so reduce the usage of
dnssec-settime in the setup scripts.  This commit deals with
setting the key rollover relationship (predecessor/successor).

6 years agoMove setting keytimes from settime to keygen
Matthijs Mekking [Tue, 28 Apr 2020 14:10:57 +0000 (16:10 +0200)] 
Move setting keytimes from settime to keygen

In the kasp system test, we are going to set the keytimes on
dnssec-keygen so we can test them against the key creation time.
This prevents off by one second in the test, something that can
happen if you set those times with dnssec-settime after
dnssec-keygen.

Also fix some test output filenames.

6 years agoSet keytimes appropriately when using kasp
Matthijs Mekking [Tue, 28 Apr 2020 13:05:43 +0000 (15:05 +0200)] 
Set keytimes appropriately when using kasp

While kasp relies on key states to determine when a key needs to
be published or be used for signing, the keytimes are used by
operators to get some expectation of key publication and usage.

Update the code such that these keytimes are set appropriately.
That means:
- Print "PublishCDS" and "DeleteCDS" times in the state files.
- The keymgr sets the "Removed" and "PublishCDS" times and derives
  those from the dnssec-policy.
- Tweak setting of the "Retired" time, when retiring keys, only
  update the time to now when the retire time is not yet set, or is
  in the future.

This also fixes a bug in "keymgr_transition_time" where we may wait
too long before zone signatrues become omnipresent or hidden. Not
only can we skip waiting the sign delay Dsgn if there is no
predecessor, we can also skip it if there is no successor.

Finally, this commit moves setting the lifetime, reducing two calls
to one.

6 years agokeygen -k: allow to set times, not genonly
Matthijs Mekking [Tue, 28 Apr 2020 12:32:57 +0000 (14:32 +0200)] 
keygen -k: allow to set times, not genonly

For testing purposes mainly, we want to allow set keytimings on
generated keys, such that we don't have to "keygen/settime" which
can result in one second off times.

6 years agoMerge branch '1164-add-danger-python-to-gitlab-ci' into 'master'
Ondřej Surý [Mon, 1 Jun 2020 11:40:58 +0000 (11:40 +0000)] 
Merge branch '1164-add-danger-python-to-gitlab-ci' into 'master'

Add Danger Python to GitLab CI

Closes #1164

See merge request isc-projects/bind9!3583

6 years agoAdd Danger Python to GitLab CI
Michał Kępień [Mon, 25 May 2020 10:49:36 +0000 (12:49 +0200)] 
Add Danger Python to GitLab CI

Certain rules of the BIND development process are not codified anywhere
and/or are used inconsistently.  In an attempt to improve this
situation, add a GitLab CI job which uses Danger Python to add comments
to merge requests when certain expectations are not met.  Two categories
of feedback are used, only one of which - fail() - causes the GitLab CI
job to fail.  Exclude dangerfile.py from Python QA checks as the way the
contents of that file are evaluated triggers a lot of Flake8 and PyLint
warnings.

6 years agoMerge branch 'ondrej/fix-higlight-typo' into 'master'
Ondřej Surý [Mon, 1 Jun 2020 07:45:39 +0000 (07:45 +0000)] 
Merge branch 'ondrej/fix-higlight-typo' into 'master'

Fix typo (higlight -> highlight) in documentation

See merge request isc-projects/bind9!3610

6 years agoFix typo (higlight -> highlight) in documentation
Ondřej Surý [Mon, 1 Jun 2020 07:41:52 +0000 (09:41 +0200)] 
Fix typo (higlight -> highlight) in documentation

6 years agoMerge branch 'sgoldlust-1826-various-text-edits-needed-in-bind-arm-patch-99571' into...
Ondřej Surý [Mon, 1 Jun 2020 07:32:40 +0000 (07:32 +0000)] 
Merge branch 'sgoldlust-1826-various-text-edits-needed-in-bind-arm-patch-99571' into 'master'

Text edits in reference.rst

See merge request isc-projects/bind9!3569

6 years agoGrammar, clarity, and content fixes in reference.rst
Suzanne Goldlust [Thu, 14 May 2020 22:19:00 +0000 (22:19 +0000)] 
Grammar, clarity, and content fixes in reference.rst

Also converted logging-categories.rst from a table to text and adjusted
the util/check-categories.sh script.

6 years agoText, grammar, typo, and clarity edits in multiple ARM chapters
Suzanne Goldlust [Wed, 13 May 2020 21:22:34 +0000 (21:22 +0000)] 
Text, grammar, typo, and clarity edits in multiple ARM chapters

Files requirements.rst, configuration.rs, plugins.rst, and partially
reference.rst has been edited.

6 years agoMerge branch '1888-text-edits-in-catz-rst' into 'master'
Ondřej Surý [Mon, 1 Jun 2020 07:02:44 +0000 (07:02 +0000)] 
Merge branch '1888-text-edits-in-catz-rst' into 'master'

Resolve "Text edits in catz.rst"

Closes #1888

See merge request isc-projects/bind9!3596

6 years agoContent and grammar edits to catz.rst
Suzanne Goldlust [Mon, 1 Jun 2020 07:02:44 +0000 (07:02 +0000)] 
Content and grammar edits to catz.rst

6 years agoMerge branch '1894-edits-to-contributing-md' into 'master'
Ondřej Surý [Mon, 1 Jun 2020 07:01:16 +0000 (07:01 +0000)] 
Merge branch '1894-edits-to-contributing-md' into 'master'

Resolve "Edits to CONTRIBUTING.md"

Closes #1894

See merge request isc-projects/bind9!3603

6 years agoContent updates to CONTRIBUTING.md
Suzanne Goldlust [Mon, 1 Jun 2020 07:01:15 +0000 (07:01 +0000)] 
Content updates to CONTRIBUTING.md

6 years agoMerge branch '1898-rst-files-should-be-independent-of-configure-option' into 'master'
Mark Andrews [Mon, 1 Jun 2020 04:51:42 +0000 (04:51 +0000)] 
Merge branch '1898-rst-files-should-be-independent-of-configure-option' into 'master'

Resolve "'.rst' files should be independent of configure option."

Closes #1898

See merge request isc-projects/bind9!3604

6 years agoremove ' // not configured' comment when generating options.active
Mark Andrews [Fri, 29 May 2020 05:43:18 +0000 (15:43 +1000)] 
remove ' // not configured' comment when generating options.active

6 years agoMerge branch '1857-assertion-failure-insist-nlabels-name-labels' into 'master'
Evan Hunt [Fri, 29 May 2020 21:50:17 +0000 (21:50 +0000)] 
Merge branch '1857-assertion-failure-insist-nlabels-name-labels' into 'master'

Resolve "assertion failure in 9.16.2: name.c:1738: INSIST(nlabels == name->labels)"

Closes #1857

See merge request isc-projects/bind9!3577

6 years agoCHANGES, release note
Evan Hunt [Tue, 19 May 2020 01:09:08 +0000 (18:09 -0700)] 
CHANGES, release note

6 years agoEnsure tree lock is always held when dns_rbt_fullnamefromnode is called
Mark Andrews [Tue, 19 May 2020 06:19:26 +0000 (16:19 +1000)] 
Ensure tree lock is always held when dns_rbt_fullnamefromnode is called

6 years agopass the nodename to add32() instead of calling dns_rbt_fullnamefromnode()
Evan Hunt [Tue, 19 May 2020 01:09:08 +0000 (18:09 -0700)] 
pass the nodename to add32() instead of calling dns_rbt_fullnamefromnode()

in addition to being more efficient, this prevents a possible crash by
looking up the node name before the tree sructure can be changed when
cleaning up dead nodes in addrdataset().

6 years agoMerge branch 'wpk/fix-leaking-mutexes-and-conditionals' into 'master'
Ondřej Surý [Fri, 29 May 2020 19:47:26 +0000 (19:47 +0000)] 
Merge branch 'wpk/fix-leaking-mutexes-and-conditionals' into 'master'

Add missing isc_mutex_destroy and isc_conditional_destroy calls.

Closes #1893

See merge request isc-projects/bind9!3600

6 years agoCHANGES and release notes
Witold Kręcicki [Thu, 28 May 2020 10:38:29 +0000 (12:38 +0200)] 
CHANGES and release notes

6 years agoClear sock->magic to 0 when destroying a netmgr socket
Witold Kręcicki [Thu, 28 May 2020 12:47:04 +0000 (14:47 +0200)] 
Clear sock->magic to 0 when destroying a netmgr socket

6 years agoAdd missing isc_mutex_destroy and isc_conditional_destroy calls.
Witold Kręcicki [Thu, 28 May 2020 10:34:37 +0000 (12:34 +0200)] 
Add missing isc_mutex_destroy and isc_conditional_destroy calls.

While harmless on Linux, missing isc_{mutex,conditional}_destroy
causes a memory leak on *BSD. Missing calls were added.

6 years agoMerge branch 'feature/rndc-confgen-quiet' into 'master'
Ondřej Surý [Fri, 29 May 2020 13:59:42 +0000 (13:59 +0000)] 
Merge branch 'feature/rndc-confgen-quiet' into 'master'

Make possible not printing written path

See merge request isc-projects/bind9!3578

6 years agoMake possible not printing written path
Petr Menšík [Fri, 22 May 2020 18:40:06 +0000 (20:40 +0200)] 
Make possible not printing written path

Changes written path from stderr to stdout if enabled.
Adds -q parameter to hide written path.

6 years agoMerge branch '1872-text-edits-in-advanced-rst' into 'master'
Ondřej Surý [Fri, 29 May 2020 13:21:46 +0000 (13:21 +0000)] 
Merge branch '1872-text-edits-in-advanced-rst' into 'master'

Resolve "Text edits in advanced.rst"

Closes #1872

See merge request isc-projects/bind9!3580

6 years agoOops, missed one text edit.
Suzanne Goldlust [Fri, 22 May 2020 20:42:22 +0000 (20:42 +0000)] 
Oops, missed one text edit.

6 years agoVarious text edits to advanced.rst
Suzanne Goldlust [Fri, 22 May 2020 20:38:17 +0000 (20:38 +0000)] 
Various text edits to advanced.rst

6 years agoMerge branch '1825-improperly-formatted-commands-in-bind-arm' into 'master'
Ondřej Surý [Fri, 29 May 2020 13:20:09 +0000 (13:20 +0000)] 
Merge branch '1825-improperly-formatted-commands-in-bind-arm' into 'master'

Resolve "Improperly formatted commands in BIND ARM"

Closes #1825

See merge request isc-projects/bind9!3579

6 years agoFix incorrect command formatting
Suzanne Goldlust [Fri, 22 May 2020 19:17:06 +0000 (19:17 +0000)] 
Fix incorrect command formatting

6 years agoMerge branch '1881-text-edits-in-dnssec-rst' into 'master'
Ondřej Surý [Fri, 29 May 2020 13:15:24 +0000 (13:15 +0000)] 
Merge branch '1881-text-edits-in-dnssec-rst' into 'master'

Resolve "Text edits in dnssec.rst"

Closes #1881

See merge request isc-projects/bind9!3589

6 years agoContent and grammar edits to dnssec.rst
Suzanne Goldlust [Tue, 26 May 2020 17:42:52 +0000 (17:42 +0000)] 
Content and grammar edits to dnssec.rst

6 years agoMerge branch '1882-text-edits-in-managed-keys-rst' into 'master'
Ondřej Surý [Fri, 29 May 2020 13:11:20 +0000 (13:11 +0000)] 
Merge branch '1882-text-edits-in-managed-keys-rst' into 'master'

Resolve "Text edits in managed-keys.rst"

Closes #1882

See merge request isc-projects/bind9!3590

6 years agoContent and grammar changes to managed-keys.rst
Suzanne Goldlust [Tue, 26 May 2020 19:53:55 +0000 (19:53 +0000)] 
Content and grammar changes to managed-keys.rst

6 years agoMerge branch '1886-text-edits-in-dlz-rst' into 'master'
Ondřej Surý [Fri, 29 May 2020 13:02:18 +0000 (13:02 +0000)] 
Merge branch '1886-text-edits-in-dlz-rst' into 'master'

Resolve "Text edits in dlz.rst"

Closes #1886

See merge request isc-projects/bind9!3594

6 years agoContent and grammar updates to dlz.rst
Suzanne Goldlust [Wed, 27 May 2020 17:15:23 +0000 (17:15 +0000)] 
Content and grammar updates to dlz.rst

6 years agoMerge branch '1887-text-edits-in-dyndb-rst' into 'master'
Ondřej Surý [Fri, 29 May 2020 13:00:10 +0000 (13:00 +0000)] 
Merge branch '1887-text-edits-in-dyndb-rst' into 'master'

Resolve "Text edits in dyndb.rst"

Closes #1887

See merge request isc-projects/bind9!3595

6 years agoContent and grammar updates to dyndb.rst
Suzanne Goldlust [Wed, 27 May 2020 17:21:46 +0000 (17:21 +0000)] 
Content and grammar updates to dyndb.rst

6 years agoMerge branch '1774-fix-windows-build' into 'master'
Ondřej Surý [Fri, 29 May 2020 12:31:22 +0000 (12:31 +0000)] 
Merge branch '1774-fix-windows-build' into 'master'

Get Windows builds working again

Closes #1774

See merge request isc-projects/bind9!3571

6 years agoStop using AC_C_FLEXIBLE_ARRAY_MEMBER, support for it is part of C99
Ondřej Surý [Thu, 28 May 2020 07:26:55 +0000 (09:26 +0200)] 
Stop using AC_C_FLEXIBLE_ARRAY_MEMBER, support for it is part of C99

6 years agoDefine WIN32_LEAN_AND_MEAN globally instead of anecdotically
Ondřej Surý [Thu, 28 May 2020 07:02:45 +0000 (09:02 +0200)] 
Define WIN32_LEAN_AND_MEAN globally instead of anecdotically

6 years agoUse forward slashes instead of backslashes as directory separator on Windows
Ondřej Surý [Wed, 27 May 2020 12:48:59 +0000 (14:48 +0200)] 
Use forward slashes instead of backslashes as directory separator on Windows

6 years agoCleanup the shell scripts used to run tests on Windows
Ondřej Surý [Wed, 27 May 2020 10:23:54 +0000 (12:23 +0200)] 
Cleanup the shell scripts used to run tests on Windows

6 years agoAdd support for replacing {,top_,abs_}{srcdir,builddir} from win32util/Configure
Ondřej Surý [Wed, 27 May 2020 09:48:28 +0000 (11:48 +0200)] 
Add support for replacing {,top_,abs_}{srcdir,builddir} from win32util/Configure

6 years agoAdd xsl.c generation to vcxproj files for named build
Ondřej Surý [Thu, 21 May 2020 15:05:11 +0000 (17:05 +0200)] 
Add xsl.c generation to vcxproj files for named build

6 years agoSet the PACKAGE_BUILDER to include _MSC_VER
Ondřej Surý [Thu, 21 May 2020 13:32:28 +0000 (15:32 +0200)] 
Set the PACKAGE_BUILDER to include _MSC_VER

6 years agoMove the dependencies from sln to vcxproj files
Ondřej Surý [Thu, 21 May 2020 12:45:46 +0000 (14:45 +0200)] 
Move the dependencies from sln to vcxproj files

6 years agoFix the makejournal.vcxproj file
Ondřej Surý [Thu, 21 May 2020 10:44:57 +0000 (12:44 +0200)] 
Fix the makejournal.vcxproj file

6 years agoUpdate how we build bind.keys.h (both POSIX and Windows)
Ondřej Surý [Thu, 21 May 2020 09:50:56 +0000 (11:50 +0200)] 
Update how we build bind.keys.h (both POSIX and Windows)

The code in util/bindkeys.pl was overly complicated and it could not be
reused on Windows because redirecting stdin and stdout at the same time
from perl is overly complicated.

Now the util/bindkeys.pl accepts the input file as the first and only
argument and prints the header file to stdout.  This allows the same
utility to be used from automake and win32/Configure script.

6 years agoAlways save build artifacts on Windows
Ondřej Surý [Thu, 21 May 2020 08:34:34 +0000 (10:34 +0200)] 
Always save build artifacts on Windows

6 years agoFix the missing thread_local define on Windows
Ondřej Surý [Thu, 21 May 2020 08:33:30 +0000 (10:33 +0200)] 
Fix the missing thread_local define on Windows

6 years agoMake win32util/Configure aligned with autoconf-style
Ondřej Surý [Thu, 21 May 2020 08:04:31 +0000 (10:04 +0200)] 
Make win32util/Configure aligned with autoconf-style

6 years agoRestore the GSSAPI compilation on Windows (but we should really switch to SSPI/Kerberos)
Ondřej Surý [Wed, 20 May 2020 14:06:18 +0000 (16:06 +0200)] 
Restore the GSSAPI compilation on Windows (but we should really switch to SSPI/Kerberos)

6 years agoRestore the Windows build and test jobs
Ondřej Surý [Wed, 20 May 2020 13:12:17 +0000 (15:12 +0200)] 
Restore the Windows build and test jobs

6 years agoAdd ltdl.h shim for Windows
Ondřej Surý [Tue, 19 May 2020 14:36:01 +0000 (16:36 +0200)] 
Add ltdl.h shim for Windows

6 years agoMerge branch '1858-silence-tsan-in-bin-nsupdate-nsupdate-c' into 'master'
Mark Andrews [Thu, 28 May 2020 00:43:19 +0000 (00:43 +0000)] 
Merge branch '1858-silence-tsan-in-bin-nsupdate-nsupdate-c' into 'master'

Resolve "Silence TSAN in bin/nsupdate/nsupdate.c"

Closes #1858

See merge request isc-projects/bind9!3558

6 years agoLock access to 'answer' to silence TSAN
Mark Andrews [Tue, 19 May 2020 03:25:41 +0000 (13:25 +1000)] 
Lock access to 'answer' to silence TSAN

6 years agoMerge branch 'wpk-dirty-query-debuglog' into 'master'
Evan Hunt [Tue, 26 May 2020 08:47:15 +0000 (08:47 +0000)] 
Merge branch 'wpk-dirty-query-debuglog' into 'master'

single-query trace logging

Closes #1851

See merge request isc-projects/bind9!3545

6 years agoCHANGES, README, release note
Evan Hunt [Fri, 15 May 2020 23:34:09 +0000 (16:34 -0700)] 
CHANGES, README, release note

6 years agoadd a quick-and-dirty method of debugging a single query
Evan Hunt [Fri, 15 May 2020 23:37:44 +0000 (16:37 -0700)] 
add a quick-and-dirty method of debugging a single query

when built with "configure --enable-singletrace", named will produce
detailed query logging at the highest debug level for any query with
query ID zero.

this enables monitoring of the progress of a single query by specifying
the QID using "dig +qid=0". the "client" logging category should be set
to a low severity level to suppress logging of other queries. (the
chance of another query using QID=0 at the same time is only 1 in 2^16.)

"--enable-singletrace" turns on "--enable-querytrace" as well, so if the
logging severity is not lowered, all other queries will be logged
verbosely as well. compiling with either of these options will impair
query performance; they should only be turned on when testing or
troubleshooting.

6 years agoadd "dig +qid" option to set QID to desired value
Evan Hunt [Fri, 8 May 2020 19:39:16 +0000 (12:39 -0700)] 
add "dig +qid" option to set QID to desired value

6 years agoMerge branch 'each-bool-conditionals' into 'master'
Evan Hunt [Tue, 26 May 2020 00:00:05 +0000 (00:00 +0000)] 
Merge branch 'each-bool-conditionals' into 'master'

remove unnecessary 'true' and 'false' comparisons in boolean expressions

See merge request isc-projects/bind9!3312

6 years agochange "expr == false" to "!expr" in conditionals
Evan Hunt [Mon, 30 Mar 2020 20:49:55 +0000 (13:49 -0700)] 
change "expr == false" to "!expr" in conditionals

6 years agochange 'expr == true' to 'expr' in conditionals
Evan Hunt [Mon, 30 Mar 2020 20:47:58 +0000 (13:47 -0700)] 
change 'expr == true' to 'expr' in conditionals

6 years agoMerge branch '1860-delv-crashes-processing-deprecated-trusted-keys-clause-in-anchor...
Mark Andrews [Mon, 25 May 2020 22:27:51 +0000 (22:27 +0000)] 
Merge branch '1860-delv-crashes-processing-deprecated-trusted-keys-clause-in-anchor-file' into 'master'

Resolve "delv crashes processing deprecated "trusted-keys" clause in anchor file"

Closes #1860

See merge request isc-projects/bind9!3568

6 years agoAdd CHANGES
Mark Andrews [Wed, 20 May 2020 04:25:49 +0000 (14:25 +1000)] 
Add CHANGES

6 years agoHandle deprecated 'trusted-keys' style anchors
Mark Andrews [Wed, 20 May 2020 04:22:40 +0000 (14:22 +1000)] 
Handle deprecated 'trusted-keys' style anchors

6 years agoCheck that delv supports deprecated trusted-keys
Mark Andrews [Wed, 20 May 2020 04:20:29 +0000 (14:20 +1000)] 
Check that delv supports deprecated trusted-keys