Skip to main content

tuna domain

Manage your domain reservations.

Manage reserved subdomains and your own domains.

In an interactive terminal opens a TUI to reserve, inspect, revalidate and delete domains. Otherwise prints this help: use the subcommands below.

Guide with examples: Domains.

Usage
tuna domain [flags]
FlagDescription
--api-key stringYour tuna.am api key (env TUNA_API_KEY).

Subcommands​

CommandDescription
tuna domain clearDelete all the reserved domains.
tuna domain deleteDelete a reserved domains.
tuna domain getShow a domain: status, DNS settings and validation history.
tuna domain listList all the reserved domains.
tuna domain redirectRedirect your own domain to its subdomain, e.g. example.com to www.example.comOpens in a new tab.
tuna domain reserveReserve a subdomain or add your own domain.
tuna domain revalidateRestart DNS and TLS validation of your own domain after it failed.

tuna domain clear​

Delete all the reserved domains.

Usage
tuna domain clear [flags]
FlagDescription
-y, --yesSkip the confirmation prompt.

Also accepts the flags of tuna domain.

tuna domain delete​

Delete a reserved domains.

Alias: del.

Usage
tuna domain delete [domain] [flags]
FlagDescription
-y, --yesSkip the confirmation prompt.

Also accepts the flags of tuna domain.

tuna domain get​

Show a domain: status, DNS settings and validation history.

Alias: show.

Usage
tuna domain get DOMAIN

Also accepts the flags of tuna domain.

tuna domain list​

List all the reserved domains.

Alias: ls.

Usage
tuna domain list [flags]
FlagDescription
--jsonOutput in JSON format.

Also accepts the flags of tuna domain.

tuna domain redirect​

Redirect your own domain to its subdomain, e.g. example.com to www.example.comOpens in a new tab.

Usage
tuna domain redirect DOMAIN SUBDOMAIN

Also accepts the flags of tuna domain.

tuna domain reserve​

Reserve a subdomain or add your own domain.

Reserve a subdomain: tuna domain reserve myapp Add your own domain: tuna domain reserve example.com, then create the DNS record it prints.

Alias: add.

Usage
tuna domain reserve NAME [flags]
FlagDescription
--redirect-to stringYour domain only: redirect it to its subdomain, e.g. www.example.comOpens in a new tab.

Also accepts the flags of tuna domain.

tuna domain revalidate​

Restart DNS and TLS validation of your own domain after it failed.

Usage
tuna domain revalidate DOMAIN

Also accepts the flags of tuna domain.

Global flags work too.