---
title: "dns_erlang 6.0.0 Breaking Changes on Hex | Since.dev"
description: "What each dns_erlang release removed, renamed or changed: 14 breaking changes in 1 version on Hex, each with its source."
canonical_url: https://since.dev/packages/hex/dns_erlang
last_updated: 2026-12-04
---

# 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

Latest version `6.1.0`, released November 27, 2026. Apache-2.0 license. [Source repository](https://github.com/dnsimple/dns%5Ferlang)

## dns_erlang 6.0.0 breaking changes

dns_erlang 6.0.0, released November 18, 2026: 14 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](https://github.com/dnsimple/dns%5Ferlang/blob/v6.0.0/CHANGELOG.md)
- **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](https://github.com/dnsimple/dns%5Ferlang/blob/v6.0.0/CHANGELOG.md)
- **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](https://github.com/dnsimple/dns%5Ferlang/blob/v6.0.0/CHANGELOG.md)
- **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](https://github.com/dnsimple/dns%5Ferlang/blob/v6.0.0/CHANGELOG.md)
- **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](https://github.com/dnsimple/dns%5Ferlang/blob/v6.0.0/CHANGELOG.md)
- **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](https://github.com/dnsimple/dns%5Ferlang/blob/v6.0.0/CHANGELOG.md)
- **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](https://github.com/dnsimple/dns%5Ferlang/blob/v6.0.0/CHANGELOG.md)
- **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](https://github.com/dnsimple/dns%5Ferlang/blob/v6.0.0/CHANGELOG.md)
- **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](https://github.com/dnsimple/dns%5Ferlang/blob/v6.0.0/CHANGELOG.md)
- **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](https://github.com/dnsimple/dns%5Ferlang/blob/v6.0.0/CHANGELOG.md)
- **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](https://github.com/dnsimple/dns%5Ferlang/blob/v6.0.0/CHANGELOG.md)
- **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](https://github.com/dnsimple/dns%5Ferlang/blob/v6.0.0/CHANGELOG.md)
- **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](https://github.com/dnsimple/dns%5Ferlang/blob/v6.0.0/CHANGELOG.md)
- **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](https://github.com/dnsimple/dns%5Ferlang/blob/v6.0.0/CHANGELOG.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
