Commit Graph

33715 Commits

Author SHA1 Message Date
Mark Andrews
f72946794f Check that 'check-names master ignore;' works
(cherry picked from commit 9107c8caeb)
2021-09-29 19:51:53 +10:00
Mark Andrews
7aa30aae38 Fix "check-names master" and "check-names slave"
check for type "master" / "slave" at the same time as checking
for "primary" / "secondary" as we step through the maps.

Checking "primary" then "master" or "master" then "primary" does
not work as the synomym is not checked for to stop the search.
Similarly with "secondary" and "slave".

(cherry picked from commit a3c6516a75)
2021-09-29 19:51:53 +10:00
Mark Andrews
617d786713 Merge branch '2909-pointers-used-before-validation-v9_16' into 'v9_16'
Address use before NULL check warning of uvreq

See merge request isc-projects/bind9!5445
2021-09-29 02:02:50 +00:00
Mark Andrews
74353330cd Address use before NULL check warning of obj
move deference of obj to after NULL check

(cherry picked from commit 06a69e03ac)
2021-09-29 11:43:14 +10:00
Mark Andrews
5dff412a08 Address use before NULL check warning of ievent->sock
Reorder REQUIRE checks to ensure ievent->sock is checked earlier

(cherry picked from commit 8fc9bb8e8e)
2021-09-29 11:43:14 +10:00
Mark Andrews
addd580b0a Address use before NULL check warning of uvreq
move dereference of uvreq until the after NULL check.

(cherry picked from commit 7079829b84)
2021-09-29 11:43:14 +10:00
Mark Andrews
3859fea828 Merge branch '2910-unknown-system-test-doesn-t-leave-forensics-v9_16' into 'v9_16'
Preserve dig results in case of test failure

See merge request isc-projects/bind9!5441
2021-09-24 04:19:03 +00:00
Mark Andrews
3295339391 Preserve dig results in case of test failure
(cherry picked from commit 96b7421f8c)
2021-09-24 13:37:43 +10:00
Matthijs Mekking
dd1454bc67 Merge branch 'matthijs-fix-arm-typos-v9_16' into 'v9_16'
The s stands for security (9.16)

See merge request isc-projects/bind9!5439
2021-09-23 09:56:21 +00:00
Matthijs Mekking
dff495a0d0 Remove copy paste error on zone-max-ttl
The "zone-max-ttl" option inside a "dnssec-policy" is not used to cap
the TTLs in a zone, only yo calculate key rollover timings.

(cherry picked from commit 4e3ba81696)
2021-09-23 09:53:01 +02:00
Matthijs Mekking
cc8391943c Add a note about salt length
Apparently it is confusing that you don't specify a specific salt,
but a salt length.

(cherry picked from commit 9ddc23b2bf)
2021-09-23 09:52:55 +02:00
Matthijs Mekking
6a5efd791e The s stands for security
So "hardware security modules" not "hardware service modules"

(cherry picked from commit a73a07832e)
2021-09-23 09:52:50 +02:00
Petr Špaček
fabe4b7e6c Merge branch 'ondrej/add-python-3.8-check-v9_16' into 'v9_16'
Add python3.8 to the autoconf search list

See merge request isc-projects/bind9!5434
2021-09-22 08:53:17 +00:00
Ondřej Surý
38244fdf88 Add python3.8 to the autoconf search list
It was discovered that FreeBSD doesn't setup alias from default
Python version neither to python3 nor python, and thus the configure
step would fail to find working python installation.
2021-09-22 10:24:16 +02:00
Ondřej Surý
eeba2e305e Merge branch '2814-fix-has-have-typo-v9_16' into 'v9_16'
Fix has->have typo in DLZ drivers deprecation message

See merge request isc-projects/bind9!5433
2021-09-22 07:42:06 +00:00
Ondřej Surý
df7646785e Fix has->have typo in DLZ drivers deprecation message
We fixed the CHANGES and release notes and missed this one.
2021-09-22 09:37:04 +02:00
Ondřej Surý
072c76055c Merge branch '2814-add-deprecation-warning-when-DLZ-drivers-are-used-v9_16' into 'v9_16'
Add deprecation warning about DLZ drivers

See merge request isc-projects/bind9!5430
2021-09-21 12:58:11 +00:00
Ondřej Surý
489b503381 Add CHANGES and release note for [GL #2814] 2021-09-21 14:53:19 +02:00
Ondřej Surý
c3b3dd3229 Add deprecation warning about DLZ drivers
DLZ drivers are going to be removed from the next major BIND 9 release,
this commit adds a deprecation warning to inform the users about the
need to migrate to DLZ modules.
2021-09-21 10:44:41 +02:00
Ondřej Surý
8ef5ea2a38 Merge branch '2882-deprecate-masterfile-map-option-v9_16' into 'v9_16'
Mark the masterfile-format type 'map' as deprecated

See merge request isc-projects/bind9!5423
2021-09-17 07:36:13 +00:00
Ondřej Surý
f4b72d5646 Add CHANGES and releases notes for [GL #2882]
(cherry picked from commit c518036988)
2021-09-17 09:16:10 +02:00
Ondřej Surý
4515523aa2 Add masterfile-format checkconf tests
Add tests that check that masterfile-format map generate deprecation
warning and mastefile-formats text and raw doesn't.

(cherry picked from commit f4e6348f29)
2021-09-17 09:16:10 +02:00
Ondřej Surý
f7adef5162 Mark the masterfile-format type 'map' as deprecated
The map masterfile-format is very fragile and it needs API bump every
time a RBTDB data structures changes.  Also while testing it, we found
out that files larger than 2GB weren't loading and nobody noticed, and
loading many map files were also failing (subject to kernel limits).

Thus we are marking the masterfile-format type 'map' as deprecated and
to be removed in the next stable BIND 9 release.

(cherry picked from commit 6b7a488cbc)
2021-09-17 09:10:29 +02:00
Michal Nowak
617411ed42 Merge branch 'mnowak/replace-centos-with-oraclelinux-v9_16' into 'v9_16'
[v9_16] Replace CentOS 7 & 8 with Oracle Linux

See merge request isc-projects/bind9!5419
2021-09-16 15:19:26 +00:00
Michal Nowak
76a51a4aed Replace CentOS 7 & 8 with Oracle Linux
(cherry picked from commit 3085edf1a0)
2021-09-16 16:15:48 +02:00
Michał Kępień
553c058853 Merge branch 'michal/regenerate-man-pages-with-docutils-0.17.1-v9_16' into 'v9_16'
[v9_16] Regenerate man pages with docutils 0.17.1

See merge request isc-projects/bind9!5416
2021-09-16 09:22:24 +00:00
Michał Kępień
b083238f22 Regenerate man pages with docutils 0.17.1
The Debian 10 (buster) Docker image, which GitLab CI uses for building
documentation, currently contains the following package versions:

  - Sphinx 4.2.0
  - sphinx-rtd-theme 1.0.0
  - docutils 0.17.1

Regenerate the man pages to match contents produced in a Sphinx
environment using the above package versions.  This is necessary to
prevent the "docs" GitLab CI job from failing.

(cherry picked from commit ffd1e71fdf)
2021-09-16 11:15:31 +02:00
Evan Hunt
65fc6d311e Merge branch '2903-cache-file-v9_16' into 'v9_16'
deprecate and remove "cache-file"

See merge request isc-projects/bind9!5414
2021-09-16 08:02:56 +00:00
Evan Hunt
863dfed0b5 deprecate "cache-file"
this commit marks the "cache-file" option as deprecated.

(cherry picked from commit a67d008ba5)
2021-09-16 00:57:58 -07:00
Michał Kępień
00f1d885dd Merge branch '2907-address-pylint-2.10.2-warnings-v9_16' into 'v9_16'
[v9_16] Address PyLint 2.10.2 warnings

See merge request isc-projects/bind9!5413
2021-09-16 07:14:58 +00:00
Michał Kępień
586f6fd367 Remove redundant prefix from Python 3 strings
Address the following warnings reported by PyLint 2.10.2:

    ************* Module conf
    doc/arm/conf.py:90:10: W1406: The u prefix for strings is no longer necessary in Python >=3.0 (redundant-u-string-prefix)
    doc/arm/conf.py:92:12: W1406: The u prefix for strings is no longer necessary in Python >=3.0 (redundant-u-string-prefix)
    doc/arm/conf.py:93:9: W1406: The u prefix for strings is no longer necessary in Python >=3.0 (redundant-u-string-prefix)
    doc/arm/conf.py:139:31: W1406: The u prefix for strings is no longer necessary in Python >=3.0 (redundant-u-string-prefix)
    doc/man/conf.py:33:10: W1406: The u prefix for strings is no longer necessary in Python >=3.0 (redundant-u-string-prefix)
    doc/man/conf.py:38:12: W1406: The u prefix for strings is no longer necessary in Python >=3.0 (redundant-u-string-prefix)
    doc/man/conf.py:39:9: W1406: The u prefix for strings is no longer necessary in Python >=3.0 (redundant-u-string-prefix)

(cherry picked from commit e5944bc610)
2021-09-16 08:55:15 +02:00
Michał Kępień
7d6c2b9e48 Explicitly specify encoding for open() calls
Address the following warnings reported by PyLint 2.10.2:

    ************* Module tests-checkds
    bin/tests/system/checkds/tests-checkds.py:70:9: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    bin/tests/system/checkds/tests-checkds.py:120:13: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    bin/tests/system/checkds/tests-checkds.py:206:17: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ************* Module yamlget
    bin/tests/system/digdelv/yamlget.py:22:5: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)

(cherry picked from commit 6a4b8b1456)
2021-09-16 08:55:15 +02:00
Michał Kępień
f9c6951190 Remove redundant zone_keyid() function
The zone_keyid() helper function defined in
bin/tests/system/statschannel/helper.py is not used anywhere.  Remove
it.

(cherry picked from commit acb7e61409)
2021-09-16 08:55:15 +02:00
Michał Kępień
c84e002675 Merge branch 'v9_16_21-release' into 'v9_16'
Merge 9.16.21 release branch

See merge request isc-projects/bind9!5409
2021-09-15 21:09:51 +00:00
Michał Kępień
24237d66c5 Set up release notes for BIND 9.16.22 2021-09-15 23:05:21 +02:00
Tinderbox User
b7ee30ef4f Merge branch 'prep-release' into v9_16_21-release 2021-09-15 23:05:21 +02:00
Michał Kępień
5f3ca004ff Merge branch 'michal/prepare-documentation-for-bind-9.16.21' into 'v9_16_21-release'
Prepare documentation for BIND 9.16.21

See merge request isc-private/bind9!321
2021-09-15 23:05:21 +02:00
Tinderbox User
e1dd00f921 prep 9.16.21 2021-09-15 23:05:21 +02:00
Michał Kępień
2080af2394 Prepare release notes for BIND 9.16.21 2021-09-15 23:05:21 +02:00
Michał Kępień
08fc463cd3 Add release note for GL #2837 2021-09-15 23:05:21 +02:00
Michał Kępień
19eee07763 Add release note for GL #2878 2021-09-15 23:05:21 +02:00
Michał Kępień
1bb184688b Add release note for GL #2844 2021-09-15 23:05:21 +02:00
Michał Kępień
7e2384f08a Reorder release notes 2021-09-15 23:05:21 +02:00
Michał Kępień
fb49e05679 Tweak and reword release notes 2021-09-15 23:05:21 +02:00
Michał Kępień
d9ddbf2545 Tweak and reword recent CHANGES entries 2021-09-15 23:05:21 +02:00
Mark Andrews
40ce1e8b02 Merge branch '2904-typo-in-nsupdate-1-v9_16' into 'v9_16'
Fix closing brackets in help message

See merge request isc-projects/bind9!5406
2021-09-15 13:28:06 +00:00
Mark Andrews
3c175b741d Fix closing brackets in help message
(cherry picked from commit 55fc57e244)
2021-09-15 23:09:17 +10:00
Ondřej Surý
0f62635932 Merge branch '2866-split-gssapi-and-krb5-check-from-krb5-config' into 'v9_16'
Fix the krb5-config usage (v9.16)

See merge request isc-projects/bind9!5389
2021-09-14 19:30:50 +00:00
Ondřej Surý
870614a030 Add CHANGES note for [GL #2866] 2021-09-14 21:02:07 +02:00
Michał Kępień
8027aac650 Test various --with-gssapi options in GitLab CI
The implicit ./configure default is to use --with-gssapi=auto.  There is
already a GitLab CI job (gcc:stretch:amd64) which uses --without-gssapi.
Add four more forms of the --with-gssapi option to various GitLab CI job
configurations so that its every possible variant is regularly tested.
2021-09-14 20:58:22 +02:00