dns_erlang breaking changes
dns_erlang 6.0.0 (November 18, 2026) is its newest release with breaking changes, 14 of them. The first: Removed base_dir. Every breaking API change we have recorded in dns_erlang on Hex: 14 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 6.1.0, released November 27, 2026. Apache-2.0 license. Source repository
dns_erlang 6.0.0 breaking changes
- Removed
base_dir
The base_dir option is gone because $INCLUDE now reads only from the zone file's directory and below it. Drop the option and keep included files under that directory. github.com - Renamed
dnssec
Every function of dnssec is now in dns_sec under the same name and arity. Replace dnssec: with dns_sec: in code. github.com - Behavior changed
Private keys are now lists of big-endian bytes, and integers raise an error. Convert integer keys with binary:encode_unsigned/1. github.com - Behavior changed
A line that does not start with a blank now takes a first field that reads as a TTL for its owner, as BIND does. Lines such as 1 IN PTR host. change meaning. github.com - Behavior changed
DSA keys whose G or Y falls outside the required range are now refused when loaded or laid out. Use keys with valid parameters. github.com - Behavior changed
Records with no-default-alpn and no alpn are now refused on load and in JSON. Add an alpn parameter to such records. github.com - Behavior changed
$INCLUDE
Included files must be at or under the zone file's directory, so absolute paths, .. and escaping symbolic links are refused. Keep included files under that directory. github.com - Behavior changed
dns_domain:split.1
dns_domain:split/1 and to_wire raise for a leading dot such as .a. Remove the leading dot from names. github.com - Behavior changed
dns_json:from_map.1
Stored JSON whose RSA or DSA public_key starts with AAAA is in the 5.x form and is refused on load. Convert stored values to the new byte form. github.com - Behavior changed
dns_sec:verify_rrsig.4
Keys that are not binaries, such as lists of numbers, now raise badarg in verify_rrsig/4, dns_json:to_map/1 and the dns_zone writer. Convert keys to binaries first. github.com - Behavior changed
public_key
RSA and DSA public_key values are now the RDATA key field as a binary, no longer a list of numbers. Build them with dns_sec:dnskey_public_key/2 and split stored keys as RFC 3110 describes. github.com - Behavior changed
sign_rr
sign_rr leaves out records the signer's zone cannot hold and raises for an expiration before inception or a period of 2^31 seconds or more. Check validity periods and record owners before signing. github.com - Behavior changed
sign_rrset
sign_rrset now raises for RRsets the signer's zone cannot hold, such as a delegation's NS RRset. Sign only RRsets within the signer's zone. github.com - Default changed
default_ttl
Without a $TTL or default_ttl, a record with no TTL now takes the TTL of the record before it instead of 0. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.