twc-rs domain
Manage domains
| Subcommand | Description |
|---|---|
list | List all domains on the account |
info | Show detailed info for a domain |
check | Check if a domain is available for registration |
add | Add a domain to the account |
delete | Delete a domain from the account |
dns-list | List DNS records for a domain |
dns-add | Add a DNS record to a domain |
dns-delete | Delete a DNS record from a domain |
dns-update | Update a DNS record on a domain |
ns-list | List name servers for a domain |
ns-update | Update name servers for a domain |
subdomain-list | List subdomains for a domain |
subdomain-add | Add a subdomain to a domain |
subdomain-delete | Delete a subdomain from a domain |
request-list | List domain registration/transfer/prolongation requests |
tld-list | List available TLDs (top-level domains) |
auto-prolong | Toggle auto-prolongation for a domain |
twc-rs domain list
List all domains on the account
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--limit | Maximum number of domains to return | |||
--offset | Number of domains to skip | |||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs domain info
Show detailed info for a domain
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Domain FQDN (e.g., example.com) | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs domain check
Check if a domain is available for registration
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--domain | Domain name to check (e.g., example.com) | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs domain add
Add a domain to the account
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--domain | Domain FQDN to add (e.g., example.com) | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs domain delete
Delete a domain from the account
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Domain FQDN to delete (e.g., example.com) | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs domain dns-list
List DNS records for a domain
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Domain FQDN (e.g., example.com) | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs domain dns-add
Add a DNS record to a domain
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Domain FQDN (e.g., example.com) | yes | ||
--record-type | DNS record type (A, AAAA, CNAME, MX, TXT, SRV) | yes | ||
--value | DNS record value (e.g., IP address for A record) | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs domain dns-delete
Delete a DNS record from a domain
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Domain FQDN (e.g., example.com) | yes | ||
--record-id | DNS record ID to delete | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs domain dns-update
Update a DNS record on a domain
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Domain FQDN (e.g., example.com) | yes | ||
--record-id | DNS record ID to update | yes | ||
--record-type | New DNS record type (A, AAAA, CNAME, MX, TXT, SRV) | yes | ||
--value | New DNS record value | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs domain ns-list
List name servers for a domain
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Domain FQDN (e.g., example.com) | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs domain ns-update
Update name servers for a domain
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Domain FQDN (e.g., example.com) | yes | ||
-1, --ns1 | First name server (e.g., ns1.example.com) | yes | ||
-2, --ns2 | Second name server (e.g., ns2.example.com) | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs domain subdomain-list
List subdomains for a domain
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Domain FQDN (e.g., example.com) | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs domain subdomain-add
Add a subdomain to a domain
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Domain FQDN (e.g., example.com) | yes | ||
--name | Subdomain name (e.g., www) | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs domain subdomain-delete
Delete a subdomain from a domain
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Domain FQDN (e.g., example.com) | yes | ||
--name | Subdomain name to delete (e.g., www) | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs domain request-list
List domain registration/transfer/prolongation requests
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs domain tld-list
List available TLDs (top-level domains)
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs domain auto-prolong
Toggle auto-prolongation for a domain
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Domain FQDN (e.g., example.com) | yes | ||
--enabled | Enable (true) or disable (false) auto-prolongation | false | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |