- Apex domains (example.com) - restores A records
- Any subdomain (www, shop, blog, etc.) - restores CNAME
When to Use
Call this endpoint when a user wants to disconnect their domain from the Search Company proxy. This returns the Entri-compatible configuration to restore their domain back to its original DNS configuration. Important: After Entri completes the DNS restore, call/mark-disconnect-complete to update the proxy status.
What This Does
- Looks up the original DNS records stored when the proxy was first set up
- Returns DNS records that restore the domain to its original configuration
- Optionally returns the SSL TXT record for cleanup (harmless to leave, but tidy to remove)
- Does NOT delete CloudFront or SSL resources (they remain for fast reconnection)
Example Request
Example Response (WWW Subdomain)
Example Response (Apex Domain)
Response Fields
Frontend Integration
Use the response to configure Entri for the disconnect flow:Complete Disconnect Flow
- User clicks βDisconnect Domainβ
- Frontend calls
/disconnect-proxyβ gets restore DNS records - Entri restores www CNAME to original
- Frontend calls
/mark-disconnect-completeβ sets proxy_status = βDISCONNECTEDβ - CloudFront + ACM stay intact (for fast relink later)
After Disconnect
After the user completes the disconnect flow:- Their domain points back to the original host
- The CloudFront distribution remains but receives no traffic
- The SSL certificate remains (auto-renews via ACM)
- User can reconnect instantly by going through the 2-step DNS flow again (no CloudFront recreation needed)