Upgrade sending domain DNS
Changed onStarts moving a verified sending domain onto the current per-domain CNAME record set without removing it. The domain keeps sending on its current records while the upgrade is in progress, and sender profiles, sequences and tracking stay as they are. Publish the CNAMEs in website.dnsUpgrade.records next to your current records; remove nothing yet. About an hour after the required ones (DKIM and the return path) are visible on public DNS (Google and Cloudflare resolvers), the domain switches by itself; the wait lets cached "does not exist" answers expire. Sequenzy prepares the sending setup of the domain separately and switches only once it is confirmed, so sending is normally not interrupted and no emails are held. If that is not possible for a domain, emails sent through Amazon SES can be held for a few minutes while SES confirms the new setup, then they go out. The domain also gets a new 2048-bit DKIM key; you still publish the same four CNAMEs. An older SES-only domain needs a working DMARC record first, otherwise the request returns 400. Call POST /websites/{domain}/verify after publishing to check now; it does not skip the wait. After the switch, website.dnsUpgrade lists the old records to delete after deleteOldRecordsAfter; for an older SES-only domain these include the old return path records (MX and TXT at send.<domain>) and the DKIM TXT, and DMARC stays. Requires websites:write.
Request
- Base URLhttps://api.sequenzy.com/api/v1
- URLhttps://api.sequenzy.com/api/v1/websites/{domain}/dns-upgrade
- AuthHTTP bearer
Path parameters
Configured sending domain
Request body
Example request
{
"mailFromPrefix": "rp"
}Response
Upgrade started. website.dnsUpgrade.status is in_progress and records lists the CNAMEs to publish.
Example response
{
"success": true,
"website": {
"domain": "mail.example.com",
"status": "pending",
"dnsRecords": {
"platformDnsRecords": [
{
"name": "sq1._domainkey.mail.example.com",
"value": "sq1.k7f3q2ab.d.sequenzydns.com"
}
],
"returnPathCnameRecord": {
"name": "send.mail.example.com",
"value": "send.sequenzydns.com"
},
"inboundVerificationRecord": {
"name": "_amazonses.inbound.example.com"
},
"trackingRecord": {
"name": "links.example.com",
"value": "links1.sequenzydns.com"
}
},
"tracking": {
"hostname": "links.example.com",
"cnameRecord": {
"name": "links.example.com",
"value": "links1.sequenzydns.com"
}
},
"bounceRecords": {
"cnameRecord": {
"name": "send.mail.example.com",
"value": "send.sequenzydns.com"
}
},
"dnsUpgrade": {
"records": [
{
"name": "sq1._domainkey.mail.example.com",
"value": "sq1.k7f3q2ab.d.sequenzydns.com"
}
],
"replacedRecords": [
{
"name": "sequenzy._domainkey.mail.example.com"
}
],
"oldRecords": [
{
"name": "sequenzy._domainkey.mail.example.com"
}
]
}
}
}Changes
- info
endpoint added
- info