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

Fetching packages via dnslink #37

Open
victorb opened this issue May 15, 2019 · 1 comment
Open

Fetching packages via dnslink #37

victorb opened this issue May 15, 2019 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@victorb
Copy link
Member

victorb commented May 15, 2019

As we always have one root-hash available for the registry we currently have cached, we can also set a DNS record (_dnslink.npm.open-registry.dev) to that value, and have any IPFS gateway being able to fetch the content.

Essentially, we just have to on every change to the registry hash, update a DNS TXT record for this to work.

@victorb victorb added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels May 15, 2019
@victorb
Copy link
Member Author

victorb commented May 15, 2019

Also gives us the benefit that we can shield the application from serving incoming requests, as we can make those go directly to the gateway instead of via the app (loadbalancer > ipfs instead of loadbalancer > app > ipfs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant