Skip to content

Conversation

@matsduf
Copy link
Contributor

@matsduf matsduf commented Jun 26, 2025

matsduf and others added 29 commits December 10, 2024 11:05
Merge master into develop (Zonemaster-LDNS)
Running make test with TEST_WITH_NETWORK=1 in the environment fails
because the mail exchange (MX) records for iis.se were changed. Now,
it’s a single record of preference 0 pointing to something within the
“microsoft” TLD.

I tried to retain the spirit of the original test by picking another
domain with 2 MX records with non-zero preference values and whose MX
records have a reasonable expectation of stability.
- Method 'lib_version' was wrongly exported to 'ldns_version'
- Method 'has_gost' was missing
No longer document the --randomize command-line argument to Makefile.PL,
which is about to be removed.
Remove the possibility to define RANDOMIZE in CFLAGS by removing
--randomize as a valid CLI argument.
Remove the deprecated feature entirely.
Remove a case-insensitive comparison that was done in t/rr.t in order to
make unit tests pass on installations where the now removed case
randomization feature was enabled.

Previously, this equality comparison was done case-sensitively, which
only worked when this feature was disabled.

With this change, we can now be almost certain that we don’t do any case
alterations anymore.
The features branch was originally a branch for an extra release that was cancelled (v2024.2.2). PR #218 was only merged into features and now all of it is merged into develop.
Remove feature "randomized capitalization"
This commit removes code that has had a very long history and legacy. It
survived over 10 years in the code base without much documentation of
its purpose, either in code comments, documentation or commit messages.

It’s likely that it might have been part of some debugging code paths
that allow a programmer to retrieve access to objects touched by LDNS.
It stores all of these objects within a few hashes.

However, maintaining these hashes proves to be rather expensive.
Disabling it speeds up simple runs of zonemaster-cli by roughly 3%,
which is significant when Zonemaster is used to test millions of
domains.
The unit test that this commit deletes tested the behavior of
Zonemaster::LDNS under interpreter threads.

But we never use interpreter threads in Zonemaster::Engine, so the test
exercises a situation that will never occur in practice. We can
therefore safely remove the file.
Improve performance by removing dubious code
Sets minimum Perl version to v5.26.0 (Zonemaster-LDNS)
Bump Alpine Linux version from 3.14 (whose support has ended on
2023-05-01) to the latest version, currently 3.22.

Add missing build-time dependencies:

 * ExtUtils::Depends
 * MIME::Base32
 * Test::Differences
 * Test::NoWarnings
Updates Perl version in CI (Zonemaster-LDNS)
Update Dockerfile for release 2025.1
Preparation for v2025.1 release (Zonemaster-LDNS)
@matsduf matsduf added this to the v2025.1 milestone Jun 26, 2025
@matsduf matsduf merged commit 1c5834d into master Jun 26, 2025
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants