-
Notifications
You must be signed in to change notification settings - Fork 75
DNS records
Unknown edited this page Jun 17, 2020
·
4 revisions
Adds records to a domain.
Variable | Required | Description |
---|---|---|
id |
N/A | Module ID Autogenerated |
provider |
Yes | Provider to be used |
type |
Yes | The record type to add. |
record |
Yes | The record to add. See record section. |
name |
Yes | Name of the subdomain |
priority |
No | Used for mail server. Default 1. |
ttl |
No | Time to live |
Valid values are A, MX and TXT.
The record to add.
A: set record -m <module_id> -d <domain>
TXT: set record -d <domain> -t <template>
TXT: set record -d <domain> -v <custom>
MX: set record -m <module_id> -d <domain>
Use '@' for DigitalOcean or "" for AWS to create the record at the root of the domain or enter a hostname to create it elsewhere.