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

Support for multiple "dns-link" entries with different prefixes #5

Open
martinheidegger opened this issue Apr 19, 2021 · 0 comments
Open

Comments

@martinheidegger
Copy link

Right now dnslink does not allow to use both dnslink=/ipfs/... and dnslink=/other-protocol/ at the same time, because it limits the amount of entries to 1:

https://github.com/JChanceHud/dnslink/blob/cf5cd4cdb468b581ccdb3460fae6d9b6ee80ea8b/cmds/resolve.js#L35-L45

This makes it impossible for other look-ups to also use the dnslink system. It would be good to allow "prefixes" (or to return more than one entry) if more than one entry is given (in order to be able to choose the desired protocol one.

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