Greetings DNS fans!
Release highlights
- NEW JAVASCRIPT INTERPRETER. This is a test release. Please test against your configuration and report any diffrerences.
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
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:
- 6a75fb0: ci(p/NAMEOCEAN p/HEDNS p/VERCEL): improve ECH tests by using real values (#5139) (@TomOnTime)
New features:
- 4d94f94: feat(js): replace otto with grafana/sobek JavaScript engine (otto→sobek phase 1) (@TomOnTime)
CI/CD:
- 1a31272: build(release): speed up release builds with a warm GoReleaser cache (#5140) (@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/dnscontrolUsing 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 previewAnywhere 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@mainUpdate
Update to the latest version depends on how you choose to install dnscontrol on your machine.
Update with Homebrew
brew upgrade DNSControl/tap/dnscontrolAlternatively, 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) overchecksums.txt, issued to this repo's release workflow. Sincechecksums.txtcovers 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-rc1_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-rc1 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-rc1_linux_amd64.tar.gz