hostserver-gcp

command
v0.0.0-...-06c6e23 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 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 host@upspin.io, here's how the user user@example.com would configure their sub-domain:

$ upspin mkdir host@upspin.io/user@example.com/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 host@example.com/user@example.com
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