Skip to content

Comments

fix: allow underscores during IDNA conversion#137

Merged
natesales merged 3 commits intonatesales:mainfrom
apadpro:patch-2
Oct 28, 2025
Merged

fix: allow underscores during IDNA conversion#137
natesales merged 3 commits intonatesales:mainfrom
apadpro:patch-2

Conversation

@pmkol
Copy link
Contributor

@pmkol pmkol commented Oct 23, 2025

Domains may contain underscores, e.g., _acme-challenge.cloudflare.com.
Previously, querying such domains (e.g., q @8.8.8.8 _acme-challenge.cloudflare.com)
would fail with "idna toascii: idna: disallowed rune U+005F".
This patch handles underscores to prevent IDNA conversion errors.

@natesales natesales merged commit 64d2118 into natesales:main Oct 28, 2025
1 check passed
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