Skip to main content
Returns the DNS configuration needed to restore the original DNS records and disconnect from the Search Company proxy. Supports:
  • 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

  1. Looks up the original DNS records stored when the proxy was first set up
  2. Returns DNS records that restore the domain to its original configuration
  3. Optionally returns the SSL TXT record for cleanup (harmless to leave, but tidy to remove)
  4. 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

  1. User clicks β€œDisconnect Domain”
  2. Frontend calls /disconnect-proxy β†’ gets restore DNS records
  3. Entri restores www CNAME to original
  4. Frontend calls /mark-disconnect-complete β†’ sets proxy_status = β€œDISCONNECTED”
  5. CloudFront + ACM stay intact (for fast relink later)

After Disconnect

After the user completes the disconnect flow:
  1. Their domain points back to the original host
  2. The CloudFront distribution remains but receives no traffic
  3. The SSL certificate remains (auto-renews via ACM)
  4. User can reconnect instantly by going through the 2-step DNS flow again (no CloudFront recreation needed)

Error Responses

Organization Not Found

No Proxy Configuration

Missing Original DNS