exo dns add ALIAS

Description

Add an “ALIAS” record. An ALIAS record is a special record that will map a domain to another domain transparently. It can be used like a CNAME but for a name with other records, like the root. When the record is resolved it will look up the A records for the aliased domain and return those as the records for the record name. Note: If you want to redirect to a URL, use a URL record instead.

exo dns add ALIAS DOMAIN-NAME|ID [flags]

Options

OptionDescription
--alias, -aAlias for: Example: some-other-site.com
--help, -hhelp for ALIAS
--name, -nLeave this blank to create a record for DOMAIN, You may use the '*' wildcard here.
--ttl, -tThe time in seconds to live (refresh rate) of the record.

Options inherited from parent commands

OptionDescription
--config, -CSpecify an alternate config file [env EXOSCALE_CONFIG]
--output-format, -OOutput format (table|json|text), see "exo output –help" for more information
--output-templateTemplate to use if output format is "text"
--quiet, -QQuiet mode (disable non-essential command output)
--use-account, -AAccount to use in config file [env EXOSCALE_ACCOUNT]

Related Commands

  • add - Add record to domain