Skip to content

v5.12.0-rc2

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 29 Nov 19:45
· 0 commits to main since this release
Immutable release. Only release title and notes can be modified.
265e36e

Greetings DNS fans!

Release highlights

  • NEW JAVASCRIPT INTERPRETER. This is a test release. Please test against your configuration and report any differences.
  • This is not the final RC. There will be more.
  • Please complete tests by 5-Dec-2026

Sample test:

$ /opt/homebrew/bin/dnscontrol version
v5.11.0
$ /opt/homebrew/bin/dnscontrol print-ir --pretty --out /tmp/old.json
$ ~/bin/dnscontrol version
v5.12.0-rc1+dirty
$ ~/bin/dnscontrol print-ir --pretty --out /tmp/new.json
$ diff /tmp/old.json /tmp/new.json
$

There should be no differences.

Sincerely,
--Tom Limoncelli

See list below for details.

Thanks!

Thanks to all contributors involved in this release! This is a community project done entirely by volunteers. We we couldn't do it without all of your contributions!

Sincerely,
--Tom Limoncelli

Monthly video call!

Everyone is invited to the Monthly DNSControl Community Video Conference Call on the 2nd Tuesday of each month. Join whether you are a new user with questions or an experienced developer that wants to discuss DNSControl internals... or anything in between! Meeting details on
GitHub Discussions.

Changelog

Provider-specific changes:

New features:

  • 4d94f94: feat(js): replace otto with grafana/sobek JavaScript engine (otto→sobek phase 1) (@TomOnTime)
  • 265e36e: feat(js): warn once when dnsconfig.js uses _ (underscore.js) (@TomOnTime)

Bug fixes:

  • 6c283d8: fix(js): keep provider metadata keys in sorted order, as with otto (@TomOnTime)

CI/CD:

Other changes and improvements:

  • f5744d5: Merge remote-tracking branch 'origin/main' into tlim_sobek_phase1 (@TomOnTime)
  • ae48b07: Revert "fix(js): keep provider metadata keys in sorted order, as with otto" (@TomOnTime)

Deprecation warnings

Warning

  • REV() will switch from RFC2317 to RFC4183 sometime after v5.0 is released. This is a breaking change. Warnings are output if your configuration is affected. See https://docs.dnscontrol.org/language-reference/top-level-functions/revcompat
  • NAMEDOTCOM, OPENSRS and SOFTLAYER need maintainers! These providers have no maintainer. Maintainers respond to PRs and fix bugs in a timely manner, and try to stay on top of protocol changes.

Install

macOS and Linux

Install with Homebrew (recommended)
brew trust --formula dnscontrol/tap/dnscontrol
brew install DNSControl/tap/dnscontrol
Using with Docker

You can use the Docker image from Docker hub or GitHub Container Registry.

docker run --rm -it -v "$(pwd):/dns" ghcr.io/dnscontrol/dnscontrol preview

Anywhere else

Alternatively, you can install the latest binary (or the apt/rpm/deb/archlinux package) from this page.

Or, if you have Go installed, you can install the latest version of DNSControl with the following command:

go install github.com/DNSControl/dnscontrol/v4@main

Update

Update to the latest version depends on how you choose to install dnscontrol on your machine.

Update with Homebrew

brew upgrade DNSControl/tap/dnscontrol

Alternatively, you can grab the latest binary (or the apt/rpm/deb package) from this page.

Verify downloads

This release ships three cryptographic supply-chain guarantees on top of checksums.txt:

  • checksums.txt.sigstore.json — a keyless cosign Sigstore bundle (signature, signing certificate, and transparency-log entry in one file) over checksums.txt, issued to this repo's release workflow. Since checksums.txt covers every release artifact, verifying it verifies your download transitively.
  • multiple.intoto.jsonl — SLSA Level 3 provenance for all release artifacts, generated by slsa-github-generator.
  • GitHub attestations — build provenance for every release artifact, registered with GitHub's attestation API by the release workflow. No extra files to download; verify any release asset directly with the GitHub CLI.
# 1. Verify the checksums.txt signature (download checksums.txt and
#    checksums.txt.sigstore.json first):
cosign verify-blob checksums.txt \
  --bundle checksums.txt.sigstore.json \
  --certificate-identity-regexp 'https://github\.com/DNSControl/dnscontrol/\.github/workflows/release_draft\.yml@refs/(tags|heads)/' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

# 2. Check your download against checksums.txt:
Linux: sha256sum --ignore-missing -c checksums.txt
macOS: shasum -a 256 --ignore-missing -c checksums.txt

# 3. Verify the GitHub attestation for the artifact you downloaded
#    (needs the GitHub CLI, https://cli.github.com; works for any
#    release asset, including checksums.txt itself):
gh attestation verify dnscontrol_5.12.0-rc2_linux_amd64.tar.gz \
  --repo DNSControl/dnscontrol

# 4. Verify the SLSA provenance (download multiple.intoto.jsonl first;
#    https://github.com/slsa-framework/slsa-verifier). Releases are cut
#    from a branch by the release workflow, so the provenance records
#    the branch: pass the branch the release was cut from (almost
#    always main). Only a release cut by manually pushing a tag records
#    the tag instead; use --source-tag v5.12.0-rc2 for those.
#    slsa-verifier 2.7.0+ reads the multiple.intoto.jsonl Sigstore
#    bundle as shipped; on older versions unwrap the DSSE envelope
#    first (jq -c '.dsseEnvelope' multiple.intoto.jsonl >
#    multiple.dsse.jsonl) and point --provenance-path at that.
slsa-verifier verify-artifact \
  --provenance-path multiple.intoto.jsonl \
  --source-uri git+https://github.com/DNSControl/dnscontrol \
  --source-branch main \
  dnscontrol_5.12.0-rc2_linux_amd64.tar.gz