The DNS API can be used to manage public names and services on the SAFE Network.
DNS can be used to share public data and make it easily accessible.
This can be compared to the general web hosting on the clearnet where the user has to register a domain (e.g.
example.com) and then map a subdomain (e.g.
www) to his hosting provider. Similarly, the SAFE Network user has to create a long name (e.g.
example) and then map a service (e.g.
www) to a directory.
Any user can access public data using the service and the long name (e.g.
www.example). Web browsers will display the content of the directory (e.g.
index.html) associated with the service.
|longName||A human readable name that can be used for sharing public content (e.g.
|serviceName||A service (e.g.
|rootPath||An enum representation of the root directory (
|serviceHomeDirPath||The full path of a home directory (e.g.