@@ -17,40 +17,17 @@ const (
17
17
)
18
18
19
19
var DNSCmd = & cmds.Command {
20
+ Status : cmds .Deprecated , // https://github.com/ipfs/go-ipfs/issues/8607
20
21
Helptext : cmds.HelpText {
21
- Tagline : "Resolve DNS links ." ,
22
+ Tagline : "Resolve DNSLink records ." ,
22
23
ShortDescription : `
23
- Multihashes are hard to remember, but domain names are usually easy to
24
- remember. To create memorable aliases for multihashes, DNS TXT
25
- records can point to other DNS links, IPFS objects, IPNS keys, etc.
26
- This command resolves those links to the referenced object.
27
- ` ,
28
- LongDescription : `
29
- Multihashes are hard to remember, but domain names are usually easy to
30
- remember. To create memorable aliases for multihashes, DNS TXT
31
- records can point to other DNS links, IPFS objects, IPNS keys, etc.
32
- This command resolves those links to the referenced object.
33
-
34
- Note: This command can only recursively resolve DNS links,
35
- it will fail to recursively resolve through IPNS keys etc.
36
- For general-purpose recursive resolution, use ipfs name resolve -r.
37
-
38
- For example, with this DNS TXT record:
39
-
40
- > dig +short TXT _dnslink.ipfs.io
41
- dnslink=/ipfs/QmRzTuh2Lpuz7Gr39stNr6mTFdqAghsZec1JoUnfySUzcy
42
-
43
- The resolver will give:
44
-
45
- > ipfs dns ipfs.io
46
- /ipfs/QmRzTuh2Lpuz7Gr39stNr6mTFdqAghsZec1JoUnfySUzcy
24
+ This command can only recursively resolve DNSLink TXT records.
25
+ It will fail to recursively resolve through IPNS keys etc.
47
26
48
- The resolver can recursively resolve:
27
+ DEPRECATED: superseded by 'ipfs resolve'
49
28
50
- > dig +short TXT recursive.ipfs.io
51
- dnslink=/ipns/ipfs.io
52
- > ipfs dns -r recursive.ipfs.io
53
- /ipfs/QmRzTuh2Lpuz7Gr39stNr6mTFdqAghsZec1JoUnfySUzcy
29
+ For general-purpose recursive resolution, use 'ipfs resolve -r'.
30
+ It will work across multiple DNSLinks and IPNS keys.
54
31
` ,
55
32
},
56
33
0 commit comments