File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,18 @@ public interface IDnsApi
3434 /// the resolved IPFS path as a <see cref="string"/>, such as
3535 /// <c>/ipfs/QmYNQJoKGNHTpPxCBPh9KkDpaExgd2duMa3aF6ytMpHdao</c>.
3636 /// </returns>
37+ /// <remarks>
38+ /// A DNS TXT record with a "dnslink=..." entry is expected to exist. The
39+ /// value of the "dnslink" is an IPFS path to another IPFS object.
40+ /// <para>
41+ /// A DNS query is generated for both <paramref name="name"/> and
42+ /// _dnslink.<paramref name="name"/>.
43+ /// </para>
44+ /// </remarks>
45+ /// <example>
46+ /// <c>ResolveAsync("ipfs.io", recursive: false)</c> produces "/ipns/website.ipfs.io". Whereas,
47+ /// <c>ResolveAsync("ipfs.io", recursive: true)</c> produces "/ipfs/QmXZz6vQTMiu6UyGxVgpLB6xJdHvvUbhdWagJQNnxXAjpn".
48+ /// </example>
3749 Task < string > ResolveAsync (
3850 string name ,
3951 bool recursive = false ,
You can’t perform that action at this time.
0 commit comments