3
4
Fork
You've already forked validns
5

feat: add EUI48 and EUI64 record support per RFC 7043 #132

Merged
jelu merged 6 commits from tobez/validns:feat-eui-rrtypes into main 2026年07月06日 09:23:28 +02:00
Collaborator
Copy link

validns did not recognise the EUI48 (TYPE 108) and EUI64 (TYPE 109) resource
records defined by RFC 7043, so any zone using them failed to validate.

Both types share a strict presentation-format parser (six or eight
hyphen-separated hex octets), store the raw octet array on the wire, and render
under -v in canonical lowercase hyphenated form per RFC 7043 §3. The generic
(# length hex) form keeps working through the existing path. Coverage adds a
positive zone, strict negatives in manyerrors.zone, a human-form round-trip,
and an RSASHA256-signed fixture whose RRSIGs prove the wire encoding
round-trips through DNSSEC verification.

Fixes #126

validns did not recognise the EUI48 (TYPE 108) and EUI64 (TYPE 109) resource records defined by RFC 7043, so any zone using them failed to validate. Both types share a strict presentation-format parser (six or eight hyphen-separated hex octets), store the raw octet array on the wire, and render under -v in canonical lowercase hyphenated form per RFC 7043 §3. The generic (\# length hex) form keeps working through the existing path. Coverage adds a positive zone, strict negatives in manyerrors.zone, a human-form round-trip, and an RSASHA256-signed fixture whose RRSIGs prove the wire encoding round-trips through DNSSEC verification. Fixes #126
docs: correct mid-window timestamp comment in EUI fixture
All checks were successful
builds.sr.ht/freebsd Job completed
builds.sr.ht/openbsd Job completed
test / debian (pull_request) Successful in 29s
test / ubuntu (pull_request) Successful in 29s
test / centos (pull_request) Successful in 43s
test / scan-build (pull_request) Successful in 1m4s
1a94c5091a
Owner
Copy link

#build

#build
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DNS-OARC/validns!132
Reference in a new issue
DNS-OARC/validns
No description provided.
Delete branch "tobez/validns:feat-eui-rrtypes"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?