docs: add a note for dns command
License: MIT Signed-off-by: Overbool <overbool.xu@gmail.com>
Overbool committed
Oct 23, 2018 at 13:07 UTC
4e260775b29387ef9ebf68263306f9c98de0b51f
1 file changed
+4
core/commands/dns.go
+4
@@ -32,6 +32,10 @@ remember. To create memorable aliases for multihashes, DNS TXT
32
records can point to other DNS links, IPFS objects, IPNS keys, etc.
33
This command resolves those links to the referenced object.
34
35
+Note: This command can only recursively resolve DNS links,
36
+it will fail to recursively resolve through IPNS keys etc.
37
+For general-purpose recursive resolution, use ipfs name resolve -r.
38
+
39
For example, with this DNS TXT record:
40
41
> dig +short TXT _dnslink.ipfs.io