Add DNS host
Add one Namecheap DNS host record for a domain managed through this Vee3 account.
← All Domains endpoints · Capability overview
/v1/domains/managed/{domain}/dns-hostshttps://api.vee3.io/v1/domains/managed/{domain}/dns-hosts
Add one Namecheap DNS host record for a domain managed through this Vee3 account.
Authorization
Send your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
MCP
The same capability is available as an MCP tool on Vee3 hosted MCP.
Tool name
domains.add_dns_hostParameters6 fields
domainstringRequiredManaged domain name (for example example.com).
host_namestringRequiredHost label to create, for example @, www, or mail.
record_typestringRequiredDNS record type. Supported values: A, AAAA, ALIAS, CAA, CNAME, MX, MXE, NS, TXT, URL, URL301, FRAME.
addressstringRequiredRecord value (IP, hostname, URL, or TXT content depending on type).
ttlintegerOptionalTTL in seconds (60 to 60000). Defaults to 1800.
Default: 1800 · min 60, max 60000
mx_prefintegerOptionalMX preference. Required when record_type is MX or MXE.
min 0, max 65535
Response9 fields
domainstringManaged domain name.
is_using_namecheap_dnsbooleanWhether the domain currently uses Namecheap DNS.
hostsarrayitems6 fieldsFull DNS host list after the addition.
hostsarrayitemshost_idstringNamecheap host record id.
host_namestringHost label, for example @ or www.
record_typestringDNS record type.
addressstringRecord value.
mx_prefstringMX preference when record_type is MX or MXE.
ttlintegerTTL in seconds.
HTTP errors: unauthorized, validation_error, insufficient_tokens, payment_required, domains_not_configured, domains_upstream_error, domain_not_found, dns_not_using_namecheap