Skip to content
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

Handle Unicode in DNS labels #14

Open
srsudar opened this issue Aug 18, 2016 · 0 comments
Open

Handle Unicode in DNS labels #14

srsudar opened this issue Aug 18, 2016 · 0 comments

Comments

@srsudar
Copy link
Owner

srsudar commented Aug 18, 2016

A comment on #7 observes that we should be supporting internationalized DNS labels and unicode in general in the DNS layer.

This isn't strictly necessary for SemCache functionality, as we can enforce ASCII characters and control DNS records, but especially if we continue to allow user-specified .local domain names we should support non-ASCII characters.

I haven't yet found the canonical way DNS handles labels, but it obviously exists. Here are several relevant RFCs that will prove useful when this handled. It sounds like it might be Punycode, though some of the things I've come across have implied this is outdated.

RFC 4343
RFC 3454
RFC 3492

This looks like a promising npm module for handling Punycode.

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

No branches or pull requests

1 participant