POST /api/domain/disconnect-proxy/
Returns the DNS configuration needed to disconnect the proxy and restore original DNS settings.Purpose
This endpoint provides Entri-compatible DNS records to restore the domain back to its original configuration (before the proxy was set up).Architecture
Response Fields
| Field | Type | Description |
|---|---|---|
success | boolean | Whether config was retrieved |
custom_domain | string | The custom domain |
domain_type | string | βapexβ or βsubdomainβ |
subdomain_label | string | Subdomain label (e.g., βwwwβ or β@β) |
original_www_cname | string | Original CNAME target |
original_apex_a_records | array | Original A record IPs (for apex) |
dns_records | array | Entri-compatible DNS records to restore |
ssl_txt_record_to_delete | object | Optional TXT record to remove |
DNS Record Types
For Subdomain Domains
Returns a single CNAME record pointing back to the original target.For Apex Domains
Returns either:- Original CNAME record (if was CNAME-flattened)
- Original A records (if was A record)
Preservation Note
This endpoint only returns the DNS config. It does NOT delete:- CloudFront distribution
- ACM certificate