onEntriClose callback with success: true means the DNS record was actually added to the providerβs DNS. We trust this and update the database status immediately, without waiting for DNS propagation (which can take minutes).
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
org_id | string | Yes | Clerk organization slug (e.g., company-name-123456) |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
step | integer | Yes | Which step completed: 1 = SSL CNAME added, 2 = www CNAME switched |
Example Request
Example Responses
Step 1 Complete
Step 2 Complete
Status Transitions
| Step | Before | After | What Happens |
|---|---|---|---|
| 1 | PENDING_VALIDATION | SSL_VALIDATING | AWS starts validating SSL certificate |
| 2 | SSL_VALIDATED | DEPLOYED | Domain fully connected + background tasks trigger |
Step 2 Background Tasks
When step 2 completes, two background tasks run automatically (user doesnβt wait for these):1. ACM Certificate Upgrade (Auto-Renewal)
Upgrades from Letβs Encrypt to ACM-native certificate:- Waits 60 seconds for DNS propagation
- Requests ACM-native certificate (now works because www β CloudFront)
- ACM validates via DNS (follows CNAME chain)
- Swaps certificates on CloudFront (zero downtime)
- Deletes old imported certificate
2. IndexNow Submission
Submits all AI site URLs to IndexNow (Bing, Yandex, etc.):- Gathers all URLs from the AI site:
- Core pages (
/,/llms.txt,/sitemap.xml,/robots.txt,/data.json) - All Q&A pages from
page_hashes - All boosted pages from
boosted_pagestable
- Core pages (
- Submits to IndexNow using the customerβs real domain (not AI site URL)
/search-company.txt key file to be accessible. This only works after the CloudFront proxy is connected, which routes that file to the AI site.
The user never knows these happened - they just see βDEPLOYEDβ and theyβre done.
Why Trust Entri?
When EntriβsonEntriClose fires with success: true, it means:
- User authenticated with their DNS provider
- Entri made the actual DNS API call to add the record
- The DNS provider confirmed the record was added
- DNS propagation can take 1-60 minutes
- Entri already confirmed the record exists at the provider level
- Users shouldnβt have to wait for propagation to see UI feedback