hostserver-gcp

command
v0.0.0-...-3b1900c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Overview

Command hostserver-gcp is a combined DirServer and StoreServer that serves a synthetic Upspin tree used to configure sub-domains under the domain upspin.services. Each Upspin user can set the IP address of one sub-domain, the name of which is a hash of their user name.

Assuming the server is running as [email protected], here's how the user [email protected] would configure their sub-domain:

$ upspin mkdir [email protected]/[email protected]/127.0.0.1

If that command succeeds, their host name was created or updated. (This can be any command that performs a DirServer.Put to that path; the put command would work, but mkdir is the simpliest choice in this case.)

To find the host name, the user issues a get request, which returns both the host name and configured IP address:

$ upspin get [email protected]/[email protected]
127.0.0.1
b4c9a289323b21a01c3e940f150eb9b8.upspin.services

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL