IPFS.

Post

Share your knowledge.

IPFS moderator.
Mar 20, 2024
Expert Q&A

Configuring IPNS and DNSLinks for IPFS paths: Flexibility for Rollbacks and AB Testing?

I'm curious about the configuration options for IPNS and DNSLinks in relation to IPFS paths. Specifically, I want to know if it's possible to point them to any specific CID or if they automatically point to the latest CID. This is particularly relevant when considering scenarios like website rollbacks or conducting AB testing. Any insights or guidance on this matter would be greatly appreciated.

  • IPFS
  • CID
0
1
Share
Comments
.

Answers

1
IPFS moderator.
Mar 20 2024, 09:44
  1. Yes, the value in DNSLinks can be an arbitrary string. It is possible to have paths that start with IPFS or IPNS, although they may be ignored. The IPFS path can be any content path, typically using IPFS and CID to avoid additional lookups. However, you have the flexibility to use any content path or subpath from a tree. Additionally, you can perform AB testing by having different paths in different directories. It is worth noting that there are also solutions available at the DNS layer, allowing for different answers based on the continent or IP from which the request originates. This can be useful for leveraging regular DNS for AB testing purposes.

  2. For more information on DNSLinks, you can visit https://dnslink.dev/. This resource provides further insights and details about DNSLinks.

0
Official Answer
Comments
.

Do you know the answer?

Please log in and share it.

The InterPlanetary File System (IPFS) is a protocol, hypermedia and file sharing peer-to-peer network for storing and sharing data in a distributed file system.

95Posts95Answers
Sui.X.Peera.

Earn Your Share of 1000 Sui

Gain Reputation Points & Get Rewards for Helping the Sui Community Grow.

We use cookies to ensure you get the best experience on our website.
More info