Commit Graph

33706 Commits

Author SHA1 Message Date
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
Ondřej Surý
c3546531f7 Call krb5-config with just one argument at the time
The autoconf script would call the krb5-config with both gssapi and krb5
libraries as arguments in a single call.  It turned out that this is
actually not supported and it breaks some platforms.  This commit splits
the call into two separate calls - one for gssapi and one for krb5
library.
2021-09-14 20:58:22 +02:00
Ondřej Surý
370ad21772 Merge branch '2888-be-more-strict-about-clashing-source-ports-v9_16' into 'v9_16'
check port in *-source and *-source-v6 options in named.conf

See merge request isc-projects/bind9!5401
2021-09-14 18:56:59 +00:00
Ondřej Surý
f301e7bb40 Add CHANGES and release notes for [GL #2888]
(cherry picked from commit bba5e98734)
2021-09-14 20:32:11 +02:00
Ondřej Surý
c42e533b84 Document caveats related to single source port in the ARM
Discourage the single source port on general level and document that the
source port cannot be same as the listening port.  This applies to
query-source, transfer-source, notify-source, parental-source, and their
respective IPv6 counterparts.

(cherry picked from commit c9a17c878a)
2021-09-14 20:32:11 +02:00
Evan Hunt
4d674b5c41 check port in *-source and *-source-v6 options in named.conf
- when transfer-source(-v6), query-source(-v6), notify-source(-v6)
  or parental-source(-v6) are specified with a port number, issue a
  warning.
- when the port specified is the same as the DNS listener port (i.e.,
  53, or whatever was specified as "port" in "options"), issue a fatal
  error.
- check that "port" is in range. (previously this was only checked
  by named, not by named-checkconf.)
- added checkconf tests.
- incidental fix: removed dead code in check.c:bind9_check_namedconf().

(note: if the DNS port is specified on the command line with "named -p",
that is not conveyed to libbind9, so these checks will not take it into
account.)

(cherry picked from commit 14c8d7dfb7)
2021-09-14 20:32:10 +02:00
Ondřej Surý
dcf88f1450 Merge branch '2852-remove-adjust_interfaces-v9_16' into 'v9_16'
Remove the code to adjust listening interfaces for *-source-v6

See merge request isc-projects/bind9!5400
2021-09-14 15:39:07 +00:00
Ondřej Surý
f3ac0632f7 Add CHANGES and release note for [GL #2852]
(cherry picked from commit 23624a7adb)
2021-09-14 17:13:42 +02:00
Ondřej Surý
37cb2b0dea Adjust system forward test to also use IPv6 addresses
The ns3->ns2 forwarding is now done using the IPv6 addresses, so we also
test that the query-source-v6 address is still operational after removal
of interface adjustment.

(cherry picked from commit 8a4c44ca24)
2021-09-14 17:13:42 +02:00
Ondřej Surý
0807d8b058 Remove the code to adjust listening interfaces for *-source-v6
Previously, named would run with a configuration
where *-source-v6 (notify-source-v6, transfer-source-v6 and
query-source-v6) address and port could be simultaneously used for
listening.  This is no longer true for BIND 9.16+ and the code that
would do interface adjustments would unexpectedly disable listening on
TCP for such interfaces.

This commit removes the code that would adjust listening interfaces
for addresses/ports configured in *-source-v6 option.

(cherry picked from commit 8ac1d4e0da)
2021-09-14 16:59:18 +02:00