-
Notifications
You must be signed in to change notification settings - Fork 921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
createReverse6() generating names that might be interpreted as illegal IDN names #7524
Milestone
Comments
I believe there are two kinds of problematic names:
And
And, as shown by the first post:
|
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Short description
createReverse6()
generates addresses that end in--
.Environment
Steps to reproduce
Following the examples on https://doc.powerdns.com/authoritative/lua-records/functions.html#createReverse6 :
*.1.0.0.2.ip6.arpa IN LUA PTR "createReverse6('%33%.static6.example.com')"
.dig +short -x 2001:db8:: @ns1.example.com
(note the IP ending in a valid::
).Expected behaviour
I expect this to generate a record that will not be seen by software as an illegal IDN record.
Actual behaviour
Currently,
dig
for example is really unhappy about the resulting record:Suggestion
I would suggest making something that is IP 0 of a range (xxx::) end in
--0
instead of--
.The text was updated successfully, but these errors were encountered: