domain.dns.registrar.add

This function adds a record to your domain's zone file.

Parameters

Name Type Default
cuid cuid[Domain] Required
subdomain string Required
type enum Required
Values: A, AAAA, CNAME, TXT, MX
value string Required
mx int null

Errors

Code Name
3000 DomainNotFound
0 DomainRegistrarDnsNotSupport
322 InvalidDnsHostname
318 InvalidIpV4Address
319 InvalidIpV6Address