Commit Graph

33691 Commits

Author SHA1 Message Date
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
Ondřej Surý
52ea129204 Merge branch '2691-deprecate-native-pkcs11-v9_16' into 'v9_16'
Add deprecation notice about --enable-native-pkcs11 to configure.ac

See merge request isc-projects/bind9!5396
2021-09-09 21:14:21 +00:00
Ondřej Surý
197d64b302 Add CHANGES and release notes for [GL ##2691] 2021-09-09 22:46:23 +02:00
Ondřej Surý
6cf86cc75b Add deprecation notice about --enable-native-pkcs11 to configure.ac
The native PKCS#11 feature has been removed in BIND 9.18, so we need to
add a deprecation notice (warning at ./configure time) to the next 9.16
release.
2021-09-09 22:35:03 +02:00
Arаm Sаrgsyаn
ca521b3824 Merge branch '2344-devpoll-lockid-dead-code-v9_16' into 'v9_16'
Remove dead code (v9.16)

See merge request isc-projects/bind9!5394
2021-09-08 13:14:07 +00:00
Aram Sargsyan
18514a43d5 Remove dead code
Remove dead code from the USE_DEVPOLL branch in libisc's unix/socket.c
2021-09-08 12:52:33 +00:00
Arаm Sаrgsyаn
3eb524c38a Merge branch '2635-default-iana-root-zone-primaries-update-v9_16' into 'v9_16'
Update the default IANA root zone primaries list (v9.16)

See merge request isc-projects/bind9!5392
2021-09-08 12:46:35 +00:00
Aram Sargsyan
930f082027 Update the default IANA root zone primaries list
The default IANA root zone primaries list was outdated, this commit
updates it.
2021-09-08 10:39:17 +00:00
Evan Hunt
6704a2ac08 Merge branch '69-relax-fetchlimit-test-v9_16' into 'v9_16'
increase 1-second timeout in fetchlimit

See merge request isc-projects/bind9!5381
2021-09-03 06:27:21 +00:00
Evan Hunt
6773c1144f increase 1-second timeout in fetchlimit
when "checking lame server clients are dropped below the hard limit",
periodically a query is sent for a name for which the server is
authoritative, to verify that legitimate queries can still be
processed while the server is dealing with a flood of lame delegation
queries. those queries used the same dig options as elsewhere in the
fetchlimit test, including "+tries=1 +timeout=1". on slow systems, a
1-second timeout may be insufficient to get an answer even if the server
is behaving well. this commit increases the timeout for the check
queries to 2 seconds in hopes that will be enough to eliminate test
failures in CI.

(cherry picked from commit 45f330339c)
2021-09-02 23:24:57 -07:00
Mark Andrews
0a3e398e0c Merge branch '2890-update-documentation-with-respect-to-sig-validity-interval-and-update-v9_16' into 'v9_16'
Update sig-validity-interval description

See merge request isc-projects/bind9!5379
2021-09-03 03:45:01 +00:00
Mark Andrews
ad411b1120 Update sig-validity-interval description
Document that the interval on new RRSIG records is randomally
chosen between the limits specified by sig-validity-interval.
document the operatations when this occurs.

(cherry picked from commit e65ce00f11)
2021-09-03 13:19:09 +10:00
Evan Hunt
9174cff949 Merge branch '2878-large-map-file-v9_16' into 'v9_16'
map files over 2GB could not be loaded

See merge request isc-projects/bind9!5374
2021-09-01 15:53:47 +00:00
Evan Hunt
fe66c88d02 CHANGES 2021-09-01 08:17:32 -07:00
Evan Hunt
06b9fc8a7d add a test for large map files
- a test has been added to 'masterformat', but disabled by default,
  because it takes several minutes to run and uses a lot of disk.
2021-09-01 08:17:32 -07:00
Evan Hunt
e9d62d2442 map files over 2GB could not be loaded
- fixed a size comparison using "signed int" that failed if the file
  size was more than 2GB, since that was treated as a negative number.
- incidentally renamed deserialize32() to just deserialize(). we no
  longer have separate 32 and 64 bit rbtdb implementations.
2021-09-01 00:43:54 -07:00