Skip to content

Fix encoding ResourceRecord with underscore on their name - #131

Merged
samuelwilliams merged 1 commit into
Badcow:masterfrom
yeganemehr:fix/underscore-owner-name
Jul 9, 2026
Merged

Fix encoding ResourceRecord with underscore on their name#131
samuelwilliams merged 1 commit into
Badcow:masterfrom
yeganemehr:fix/underscore-owner-name

Conversation

@yeganemehr

Copy link
Copy Markdown
Contributor

ResourceRecord::toWire() rejected valid owner names containing underscores (like _sip._tcp or _dmarc) because it used strict hostname validation.
Switched to non-strict FQDN validation (matching Question::setName()) so SRV/TXT records encode instead of throwing.

@samuelwilliams
samuelwilliams merged commit 4069226 into Badcow:master Jul 9, 2026
4 checks passed
@yeganemehr
yeganemehr deleted the fix/underscore-owner-name branch July 9, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants