1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-10-17 19:54:25 +08:00

core/commands/dns: Add 'ipfs dns ...' for resolving DNS references

This lets users resolve (recursively or not) DNS links without pulling
in the other protocols.  That makes an easier, more isolated target
for alternative implemenations, since they don't need to understand
IPNS, proquint, etc. to handle these resolutions.
This commit is contained in:
W. Trevor King
2015-05-07 15:09:08 -07:00
parent c2ff02850b
commit e643f72c86
2 changed files with 84 additions and 0 deletions

View File

@ -41,6 +41,7 @@ ADVANCED COMMANDS
daemon Start a long-running daemon process
mount Mount an ipfs read-only mountpoint
name Publish or resolve IPNS names
dns Resolve DNS links
pin Pin objects to local storage
repo gc Garbage collect unpinned objects
@ -84,6 +85,7 @@ var rootSubcommands = map[string]*cmds.Command{
"config": ConfigCmd,
"dht": DhtCmd,
"diag": DiagCmd,
"dns": DNSCmd,
"get": GetCmd,
"id": IDCmd,
"log": LogCmd,