Close menu
Explore Plans
Mobile menu Close menu
GoDaddy

Add a DNS record

This action will add a new DNS record to one of your domains.

Developer info

API endpoint slug
godaddy.add_dns_record
Filter code method
Godaddy.addDnsRecord.skip(string?: reason)
Runtime method
runAction("godaddy.add_dns_record", {})

Action fields

Domain Text input > Other

Label
Domain
Helper text
The domain in your account (for example, example.com).
Slug
domain
Required
true
Can have default value
true
Filter code method
Godaddy.addDnsRecord.setDomain(string: domain)

Record type Dropdown list

Label
Record type
Helper text
The type of DNS record to add.
Slug
record_type
Required
true
Can have default value
true
Filter code method
Godaddy.addDnsRecord.setRecordType(string: record_type)

Record name Text input > Other

Label
Record name
Helper text
The host the record applies to, such as @ for the root domain or www for a subdomain.
Slug
record_name
Required
true
Can have default value
true
Filter code method
Godaddy.addDnsRecord.setRecordName(string: record_name)

Value Text input > Other

Label
Value
Helper text
The value of the record, such as an IP address for an A record or a hostname for a CNAME.
Slug
value
Required
true
Can have default value
true
Filter code method
Godaddy.addDnsRecord.setValue(string: value)

Ttl Text input > Other

Label
TTL
Helper text
How long the record should be cached, in seconds. Leave blank to use the default.
Slug
ttl
Required
false
Can have default value
true
Filter code method
Godaddy.addDnsRecord.setTtl(string: ttl)

Priority Text input > Other

Label
Priority
Helper text
Priority for MX or SRV records. Leave blank for other record types.
Slug
priority
Required
false
Can have default value
true
Filter code method
Godaddy.addDnsRecord.setPriority(string: priority)