docs: multiaddress

This commit is contained in:
Richard Schneider
2018-07-25 12:04:14 +12:00
parent 154424ffad
commit b2c450e19d

View File

@@ -55,9 +55,17 @@ must have a different `host-name`.
#### Multiaddress
**TODO** from DNS records
For this spec, a multiaddress has the form `/<ip>/<addr>/tcp/<port>/ipfs/<peer-id>`. A multiaddress is
generated from the various Additional Records.
`peer-id` is the first label of the SRV name
`port` is the the SRV port
`ip` is "ip4" for an A record or "ip6" for an AAAA record.
`addr` is the ip4/ip6 address from the A/AAAA record.
**TODO** to DNS records
## DNS Service Discovery