orders.corp.internal, instead of an IP address. The instance’s Network needs two things for the hostname to resolve.
- The Network’s DNS resolver forwards the user’s zone, here
corp.internal, to the user’s DNS. Forward a Zone sets this up. - The user’s DNS is routable on the Network, as a WireGuard peer or behind a subnet router or a Tunnel.
Add the Target
POST /v2/agent_gateways/{id}/mcp_servers adds the target by its hostname, open to every key on the instance:
base_url, and for a target that is a private function, by its private name.
A target added later in the same zone needs no change on Telnyx. A DNS resolver added after the instance takes effect with no recreate.
Reach the Target over HTTPS
POST /v2/agent_gateways/{id}/ca_certificates adds the user’s CA to the instance:
Output
https URL: