> ## Documentation Index
> Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# The User's Names

The user's names are the names in a zone the user's own DNS answers, such as `orders.corp.internal` in `corp.internal`. The [resolver](https://developers.telnyx.com/docs/network/dns.md) forwards each query in the zone to the user's DNS and holds no record of the zone.

An [Agent Gateway](https://developers.telnyx.com/docs/agent-gateway.md) instance on the *Network* resolves these names with no configuration of its own. It reaches an MCP server or an API the user runs by its hostname, as on the Agent Gateway [DNS](https://developers.telnyx.com/docs/agent-gateway/vpc/dns.md) page.

## Forward a Zone

[`POST /v2/dns_servers`](https://developers.telnyx.com/api-reference/dns-servers/create-a-dns-server) creates the resolver with the zone and the address of the DNS that answers it:

```json theme={null}
{
  "name": "acme-hq-dns-ashburn-va",
  "network_id": "f34f3c3a-c3a2-4fc9-a2bc-c4c739fa1739",
  "region_code": "ashburn-va",
  "forward_zones": [
    { "zone": "corp.internal", "forwarders": ["10.60.0.53"] }
  ]
}
```

Each entry of `forward_zones` names a zone and up to three forwarders. A forwarder is the user's DNS for the zone. It is an IPv4 address the *Network* reaches, and it answers DNS over TCP port 53.

## Add a Zone Later

[`PATCH /v2/dns_servers/{id}`](https://developers.telnyx.com/api-reference/dns-servers/update-or-retry-a-dns-server) replaces the list of forward zones, so the body carries every zone the resolver keeps and the new one:

```json theme={null}
{
  "forward_zones": [
    { "zone": "corp.internal", "forwarders": ["10.60.0.53"] },
    { "zone": "lan.internal", "forwarders": ["10.61.0.53"] }
  ]
}
```

The resolver's `status` is `provisioning` while the change deploys:

```json Output theme={null}
{
  "data": {
    "id": "93a7a1be-9375-446e-a8b2-a85dc391d443",
    "status": "provisioning",
    "address": "172.27.240.22",
    "forward_zones": [
      { "zone": "corp.internal", "forwarders": ["10.60.0.53"] },
      { "zone": "lan.internal", "forwarders": ["10.61.0.53"] }
    ],
    ...
  }
}
```

The new zone resolves once the `status` is `provisioned`, which takes minutes.

## Reach the User's DNS

The *Network* reaches the user's DNS the way it reaches the user's other hosts:

| Where the user's DNS runs | How the *Network* reaches it |
| - | - |
| On a host that is a WireGuard peer of the *Network* | At the peer's address on the *Network*, such as `172.27.0.3`. |
| In a subnet behind a WireGuard peer | A [route](https://developers.telnyx.com/docs/network/routes.md) for the subnet with the peer as its next hop. |
| In a subnet behind a Tunnel | A [route](https://developers.telnyx.com/docs/network/tunnel/features/routes.md) for the subnet with the Tunnel as its next hop. |

A forwarder outside every route needs a route of its own, as a `/32`.
