Bug 296456 - dns/dnsdist upgrade to 2.1.0
Summary: dns/dnsdist upgrade to 2.1.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Hiroki Tagato
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-07-02 13:43 UTC by Jordan Ostreff
Modified: 2026-07-16 02:50 UTC (History)
3 users (show)

See Also:
tremere: maintainer-feedback+


Attachments
dns/dnsdist: Update to 2.1.0 (15.33 KB, patch)
2026-07-02 13:43 UTC, Jordan Ostreff
no flags Details | Diff
Update DNSDist to 2.1.0 (16.81 KB, patch)
2026-07-03 07:08 UTC, Ralf van der Enden
tremere: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jordan Ostreff 2026-07-02 13:43:52 UTC
Created attachment 272388 [details]
dns/dnsdist: Update to 2.1.0

Compared to 2.0, 2.1 brings many new features:

OpenTelemetry tracing support has been added
Structured logging has been added
A and AAAA records can now be shuffled in the packet cache (Karel Bilek)
Lua parsers are now available for A, AAAA and CNAME records (Ensar Sarajčić)
A Lua hook can now be invoked on server state changes (@pacnal)
Add prepend and append methods to Lua DNSName
Export DNS flags via ProtoBuf
Add actions, methods and FFI functions to unset a tag
Implement "allowed rcodes/total" ratio dynamic rule
Subnets excluded from dynamic rules should not count towards thresholds
Add a Lua callback to validate health-check responses
IPCrypt2 PFX support has been added, to preserve network prefix relationships in encrypted output
It also contains many performance improvements:

Load-balancing policies are more efficient
Server selection using the load-balancing policy is now entirely skipped on cache hits
Holger Hoffstätte improved the "roundrobin" load-balancing policy
AF_XDP / XSK packets are now reused more efficiently
The in-memory ring buffers now support sampling to be able to retain data for a longer time period without keeping too many entries in memory

================================================================================

This PR updates dns/dnsdist from version 2.0.7 to 2.1.0 and synchronizes the Rust dependencies (Makefile.crates and distinfo) accordingly.
Key changes included in this update:
•	Version Bump: Upgraded the main port distribution to 2.1.0.
•	Rust Ecosystem Update: Refreshed Makefile.crates and updated distinfo with the correct hashes and sizes for the new crate versions required by the 2.1.0 codebase. Removed obsolete Windows-specific targets to keep the port clean.
•	Patch Removal: Removed files/patch-dnsdist-configuration-yaml.cc as the type-casting issue (static_cast) has been natively resolved by upstream in this release.
•	Configuration Evolution: Starting with the 2.1.0 branch, dnsdist introduces native YAML configuration infrastructure. To support this gracefully, a new sample file dnsdist.yml.sample is now staged and tracked in pkg-plist alongside the traditional dnsdist.conf.sample.
Comment 1 commit-hook freebsd_committer freebsd_triage 2026-07-02 20:27:59 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f88f2d39ba23200cee2456222ad4fdf458b3163e

commit f88f2d39ba23200cee2456222ad4fdf458b3163e
Author:     Martin Filla <freebsd@sysctl.cz>
AuthorDate: 2026-07-02 20:24:11 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-07-02 20:24:11 +0000

    www/librewolf: Update 152.0.2-1 => 152.0.4-1

    Changelog:
    https://www.firefox.com/en-US/firefox/152.0.3/releasenotes/
    https://www.firefox.com/en-US/firefox/152.0.4/releasenotes/

    - Remove unnecessary patches and add new patches from www/firefox.

    PR:             296456
    Sponsored by:   UNIS Labs
    Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
    MFH:            2026Q2

 www/librewolf/Makefile                             |  2 +-
 www/librewolf/distinfo                             |  6 ++---
 .../patch-gfx_skia_skia_src_core_SkCpu.cpp (gone)  | 29 --------------------
 .../files/patch-python_sites_mach.txt (new)        | 31 ++++++++++++++++++++++
 ...lude_xsimd_types_xsimd__vsx__register.hpp (new) | 16 +++++++++++
 .../patch-toolkit_xre_nsXREDirProvider.cpp (gone)  | 11 --------
 6 files changed, 51 insertions(+), 44 deletions(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2026-07-02 20:28:00 UTC
A commit in branch 2026Q2 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=35fa0ef578477b75a58f4050c63cc9e4675603c6

commit 35fa0ef578477b75a58f4050c63cc9e4675603c6
Author:     Martin Filla <freebsd@sysctl.cz>
AuthorDate: 2026-07-02 20:24:11 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-07-02 20:27:27 +0000

    www/librewolf: Update 152.0.2-1 => 152.0.4-1

    Changelog:
    https://www.firefox.com/en-US/firefox/152.0.3/releasenotes/
    https://www.firefox.com/en-US/firefox/152.0.4/releasenotes/

    - Remove unnecessary patches and add new patches from www/firefox.

    PR:             296456
    Sponsored by:   UNIS Labs
    Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
    MFH:            2026Q2

    (cherry picked from commit f88f2d39ba23200cee2456222ad4fdf458b3163e)

 www/librewolf/Makefile                             |  2 +-
 www/librewolf/distinfo                             |  6 ++---
 .../patch-gfx_skia_skia_src_core_SkCpu.cpp (gone)  | 29 --------------------
 .../files/patch-python_sites_mach.txt (new)        | 31 ++++++++++++++++++++++
 ...lude_xsimd_types_xsimd__vsx__register.hpp (new) | 16 +++++++++++
 .../patch-toolkit_xre_nsXREDirProvider.cpp (gone)  | 11 --------
 6 files changed, 51 insertions(+), 44 deletions(-)
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2026-07-02 20:31:26 UTC
Sorry, wrong PR in commit message. Correct is https://bugs.freebsd.org/296421.
Comment 4 Ralf van der Enden 2026-07-03 07:08:31 UTC
Created attachment 272433 [details]
Update DNSDist to 2.1.0

My patch handles the new YAML config the same as the old .conf

Also removes stale dnsdist.conf.sample from files/
Comment 5 commit-hook freebsd_committer freebsd_triage 2026-07-16 02:49:02 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d4dec80c2c0412548c8a7cbd137862df0193aa08

commit d4dec80c2c0412548c8a7cbd137862df0193aa08
Author:     Ralf van der Enden <tremere@cainites.net>
AuthorDate: 2026-07-03 01:40:20 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2026-07-16 02:45:26 +0000

    dns/dnsdist: Update to 2.1.0

    Changelog: https://www.dnsdist.org/changelog.html#change-2.1.0

    PR:             296456
    Reported by:    Jordan Ostreff <jordan@ostreff.info> (initial patch),
                    Ralf van der Enden <tremere@cainites.net> (maintainer, committed patch)

 dns/dnsdist/Makefile                               |   4 +-
 dns/dnsdist/Makefile.crates                        |  63 +++++-----
 dns/dnsdist/distinfo                               | 132 +++++++++------------
 dns/dnsdist/files/dnsdist.conf.sample (gone)       |   6 -
 .../patch-dnsdist-configuration-yaml.cc (gone)     |  11 --
 dns/dnsdist/pkg-plist                              |   1 +
 6 files changed, 90 insertions(+), 127 deletions(-)
Comment 6 Hiroki Tagato freebsd_committer freebsd_triage 2026-07-16 02:50:00 UTC
Committed, thanks!