Skip to content

v5.11.0

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 14:27
· 2 commits to main since this release
Immutable release. Only release title and notes can be modified.
f905e9d

Greetings DNS fans!

Release highlights

NEW JAVASCRIPT INTERPRETER COMING SOON! The JavaScript interpreter we use ("otto") is in maintenance mode. We're considering moving to Sobek, which is more actively maintained. There will be some test releases in the next month to validate compatibility. If you do anything fancy with Javascript, please look for these releases!

  • NEW PROVIDER: DNSControl now supports NAMEOCEAN! Thanks and welcome to @akarca who joins the project as its maintainer. We look forward to great things!
  • GitHub-native attestations now live! Thanks to @chicks-net for adding this!
$ gh attestation verify dnscontrol_5.11.0_linux_amd64.tar.gz --repo DNSControl/dnscontrol
Loaded digest sha256:4e70606466e0cf16249aa5f55cd800b33a9b20cf36aa386aab256106a6c69e9b for file://dnscontrol_5.11.0_linux_amd64.tar.gz
Loaded 1 attestation from GitHub API

The following policy criteria will be enforced:
- Predicate type must match:................ https://slsa.dev/provenance/v1
- Source Repository Owner URI must match:... https://github.com/DNSControl
- Source Repository URI must match:......... https://github.com/DNSControl/dnscontrol
- Subject Alternative Name must match regex: (?i)^https://github\.com/DNSControl/dnscontrol/
- OIDC Issuer must match:................... https://token.actions.githubusercontent.com

✓ Verification succeeded!

The following 1 attestation matched the policy criteria

- Attestation #1
  - Build repo:..... DNSControl/dnscontrol
  - Build workflow:. .github/workflows/release_draft.yml@refs/heads/main
  - Signer repo:.... DNSControl/dnscontrol
  - Signer workflow: .github/workflows/release_draft.yml@refs/heads/main

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:

Bug fixes:

CI/CD:

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.11.0_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.11.0 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.11.0_linux_amd64.tar.gz