> ## Documentation Index
> Fetch the complete documentation index at: https://www.datum.net/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Agent home for Datum, with what it is, pricing, and how to act: https://agents.datum.net
> If you can only fetch URLs: read https://www.datum.net/docs/llms.txt in full and open the most specific page for the task. Commands, limits, and field paths are on task, operations, and limits pages, not on section overviews. Pages described as "Documentation is coming soon" are placeholders.
> If you have a shell or can save files: download https://www.datum.net/docs/llms-full.txt (every page, about 740 KB) once and search it with grep, instead of fetching pages one at a time.
> datumctl describes itself: `datumctl api-resources` lists resource types and `datumctl explain <resource>` shows a schema. To act on live resources, use Datum MCP or datumctl. To search the docs, use the Docs MCP server at https://www.datum.net/docs/mcp.

# Private DNS for Compute

> How Compute publishes stable private names for Instances on a gVPC network.

Compute integrates with [Private DNS](https://www.datum.net/docs/domain-dns/private-dns.md) to publish a
predictable name for each Instance on the [network](https://www.datum.net/docs/galactic-vpc/overview.md)
that it attaches to. The name resolves to the Instance's private addresses and
resolves only from inside that network.

## Instance names

Compute publishes each Instance under the `instances` subdomain of the
network's `datum.internal` zone:

```text theme={null}
<instance-name>.instances.datum.internal
```

The Instance name is the one `datumctl get instances` shows. Instances that a
Workload creates are named `<workload>-<placement>-<location>-<index>`, so the
first Instance of a Workload named `web` is reachable from another Instance on
the same network at:

```shell theme={null}
$ dig +short AAAA web-default-us-central-1-0.instances.datum.internal
fd20:1::5
$ curl http://web-default-us-central-1-0.instances.datum.internal:8080/
```

Records have a 30 second TTL.

Compute turns the Instance name into a valid DNS label by replacing `.` with
`-`. Names longer than 63 characters are shortened and given a hash suffix.
Read the exact hostname from `Instance.status.dns` rather than building it
yourself:

```yaml theme={null}
status:
  dns:
    - network:
        name: default
      hostnames: [web-default-us-central-1-0.instances.datum.internal]
      conditions:
        - type: Ready
          status: "True"
          reason: Published
```

## Published addresses

Compute publishes:

* `AAAA` records for private IPv6 addresses.
* `A` records for private IPv4 addresses. Instances have IPv6 addresses only
  during the preview, so they have no `A` records.

An address is published only while the Instance is ready, its runtime is
ready, and its network interface reports that the address is both allocated
and programmed. Public addresses and delegated prefixes aren't published as
Instance records.

Instance readiness covers the runtime and the network attachment, not your
app. To send traffic only to healthy app endpoints, use your app's own health
checks or a [network service](https://www.datum.net/docs/galactic-vpc/networks/network-services.md).

## Lifecycle behavior

Compute keeps the DNS records in step with the current Instance and network
state:

* Address changes update the records behind the stable name.
* An unavailable or deprogrammed interface withdraws its addresses.
* Deleting the Instance removes its records.
* An old Instance can't publish addresses after it has been replaced.

Publication is asynchronous. A running Instance can become ready before its
name is visible in every resolver, and clients can keep an older answer until
the DNS TTL expires.

## Network access

Resolving an Instance name doesn't grant access to the Instance. The client
must still be able to reach the Instance on the network. Firewall rules aren't
available yet, so any Instance on the same network can connect to any port.
See [Traffic and connecting](https://www.datum.net/docs/galactic-vpc/networks/traffic.md). Clients outside
the network can't resolve the name through public DNS.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.