Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 11ec0b0

Browse files
committed
docs: update documentation for ipfs.dns
1 parent 574bb71 commit 11ec0b0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

SPEC/MISCELLANEOUS.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ A great source of [examples](https://github.com/ipfs/interface-ipfs-core/blob/ma
5959

6060
> Resolve DNS links
6161
62-
##### `ipfs.dns(domain, [callback])`
62+
##### `ipfs.dns(domain, [options], [callback])`
63+
64+
- `options` is an optional object argument that might include the following properties:
65+
- `recursive` (boolean, default true): resolve until result is not a domain name
6366

6467
`callback` must follow `function (err, path) {}` signature, where `err` is an error if the operation was not successful. `path` is the IPFS path for that domain.
6568

0 commit comments

Comments
 (0)