Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

twc-rs domain

Manage domains

SubcommandDescription
listList all domains on the account
infoShow detailed info for a domain
checkCheck if a domain is available for registration
addAdd a domain to the account
deleteDelete a domain from the account
dns-listList DNS records for a domain
dns-addAdd a DNS record to a domain
dns-deleteDelete a DNS record from a domain
dns-updateUpdate a DNS record on a domain
ns-listList name servers for a domain
ns-updateUpdate name servers for a domain
subdomain-listList subdomains for a domain
subdomain-addAdd a subdomain to a domain
subdomain-deleteDelete a subdomain from a domain
request-listList domain registration/transfer/prolongation requests
tld-listList available TLDs (top-level domains)
auto-prolongToggle auto-prolongation for a domain

twc-rs domain list

List all domains on the account

ArgumentDescriptionRequiredEnvDefault
--limitMaximum number of domains to return
--offsetNumber of domains to skip
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs domain info

Show detailed info for a domain

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN (e.g., example.com)yes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs domain check

Check if a domain is available for registration

ArgumentDescriptionRequiredEnvDefault
--domainDomain name to check (e.g., example.com)yes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs domain add

Add a domain to the account

ArgumentDescriptionRequiredEnvDefault
--domainDomain FQDN to add (e.g., example.com)yes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs domain delete

Delete a domain from the account

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN to delete (e.g., example.com)yes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs domain dns-list

List DNS records for a domain

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN (e.g., example.com)yes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs domain dns-add

Add a DNS record to a domain

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN (e.g., example.com)yes
--record-typeDNS record type (A, AAAA, CNAME, MX, TXT, SRV)yes
--valueDNS record value (e.g., IP address for A record)yes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs domain dns-delete

Delete a DNS record from a domain

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN (e.g., example.com)yes
--record-idDNS record ID to deleteyes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs domain dns-update

Update a DNS record on a domain

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN (e.g., example.com)yes
--record-idDNS record ID to updateyes
--record-typeNew DNS record type (A, AAAA, CNAME, MX, TXT, SRV)yes
--valueNew DNS record valueyes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs domain ns-list

List name servers for a domain

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN (e.g., example.com)yes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs domain ns-update

Update name servers for a domain

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN (e.g., example.com)yes
-1, --ns1First name server (e.g., ns1.example.com)yes
-2, --ns2Second name server (e.g., ns2.example.com)yes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs domain subdomain-list

List subdomains for a domain

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN (e.g., example.com)yes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs domain subdomain-add

Add a subdomain to a domain

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN (e.g., example.com)yes
--nameSubdomain name (e.g., www)yes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs domain subdomain-delete

Delete a subdomain from a domain

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN (e.g., example.com)yes
--nameSubdomain name to delete (e.g., www)yes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs domain request-list

List domain registration/transfer/prolongation requests

ArgumentDescriptionRequiredEnvDefault
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs domain tld-list

List available TLDs (top-level domains)

ArgumentDescriptionRequiredEnvDefault
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs domain auto-prolong

Toggle auto-prolongation for a domain

ArgumentDescriptionRequiredEnvDefault
--idDomain FQDN (e.g., example.com)yes
--enabledEnable (true) or disable (false) auto-prolongationfalse
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE