Security · DNS & TLS Reference

Hiding Your Origin Behind an Edge Proxy Explained

See how agentdomains proxy handles visitor traffic at the edge and keeps your backend address private.

Record Type CNAME
Sub-Label @
Default TTL 300s Auto
MCP Tool set_proxy
DNS Record Anatomy — Hiding Your Origin Behind an Edge Proxy HOST myapp.agentdomains.co Sub-label: @ TYPE CNAME TTL 300s Auto cache TARGET my-backend.fly.dev Returned by 1.1.1.1 & 8.8.8.8 Authoritative zone: Cloudflare Edge DNS · Manage via Go CLI, REST API, or MCP tool

Exact DNS wire fields: HOST identifies the label, TYPE picks the record format, TTL sets cache duration, TARGET holds the answer.

1. Engineering Breakdown

An A record publishes your server IP directly in public DNS. agentdomains proxy routes requests through our Cloudflare edge instead. It hides your origin from DNS lookups and adds free edge TLS.

Common Pitfalls

2. Interactive DNS Record Syntax Validator

Edit the record type, host label, or value below to validate syntax and build your CLI command.

Validate DNS syntax & generate AgentDomains CLI Query Live DoH Resolvers →
Validated CLI command

        

3. Exact CLI, curl & MCP JSON-RPC Payloads

Pick your preferred interface below and copy the working payload.

CLI command
agentdomains proxy myapp my-backend.fly.dev
REST API via curl
curl -X PUT https://api.agentdomains.co/v1/subdomains/myapp/proxy \
  -H "Authorization: Bearer $AGENTDOMAINS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"origin":"my-backend.fly.dev"}'
POST https://mcp.agentdomains.co (set_proxy)
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "set_proxy",
    "arguments": {
      "label": "myapp",
      "origin": "my-backend.fly.dev"
    }
  }
}

Frequently asked questions

What is Origin IP Concealment?

See how agentdomains proxy handles visitor traffic at the edge and keeps your backend address private.

How do I automate Hiding Your Origin Behind an Edge Proxy with AgentDomains?

Use the Go CLI snippet above, send a REST curl call, or invoke set_proxy on https://mcp.agentdomains.co.

Related DNS & SSL Guides

Security

Preventing Dangling Subdomain Takeovers

Delete your DNS records or proxy before you destroy your Fly.io, Railway, Heroku, or S3 origin.

Edge Routing

Mapping Port 443 to Custom App Ports

Turn http://203.0.113.10:8080 or :3000 into a clean https://myapp.makes.fyi URL without ugly port numbers in links.

Webhooks & APIs

OAuth 2.0 Redirect URI HTTPS Rules

See why OAuth providers require exact HTTPS callback URLs and how a fixed makes.fyi host prevents errors.

Protocols & Tooling

MCP Streamable HTTP & TLS Requirements

Host your remote MCP server over stateless Streamable HTTP with valid port 443 HTTPS.

30 Days Free · No Card Required

Claim your agent domain now

Start with 10 free HTTPS domains under agentdomains.co or makes.fyi for 30 days. Upgrade to Pro for $10/year to keep up to 100 names with visitor stats.