Adding and removing DNS records: action = dns.(add delete)
DNS management requests require additionally 3 mandatory parameters:
name - the (sub)domain for which you want to set the record (@ for the root domain),
type - the type of the record (A, AAAA, CNAME, TXT, SRV, MX, NS),
value — the value of the record (without quotes). If there is no mandatory parameter, an error will be displayed. If the parameter values are incorrect, an error will be displayed (the record will not be saved in the zone). If you add CNAME for an existing domain, the entry will be overwritten (to avoid duplicate CNAME).
Additionally, you can set the
MX record. When deleting (action=dns.delete), an entry with the specified values of
value will be found and removed from the domain zone.