Skip to main content
Nebius AI Cloud creates a system-managed DNS zone for each virtual network automatically, but you can also create custom DNS zones and manage them. Custom zones are private. Names in them resolve only from workloads inside the network the zone is attached to.
System-managed zones, for example, <network_ID>.compute.internal., are read-only and cannot be modified or deleted.

Prerequisites

Make sure you are in a group that has at least the editor role within your tenant or project; for example, the default editors group. You can check this in the Administration → IAM section of the web console.

Creating DNS zones

If you want to set a name for the zone or configure the negative caching time-to-live (TTL), use a different interface. The web console doesn’t support these settings.
  1. In the sidebar, go to NetworkingVirtual Networks.
  2. Click ActionsCreate DNS zone.
  3. In the window that opens, enter a fully qualified domain name (FQDN) that ends with a dot (.), for example, my.example.. Single-label names, such as example., and reserved names, such as console.nebius., aren’t allowed. Learn more in Zone domain name restrictions.
  4. Select the network to attach the DNS zone to.
  5. Click Create DNS zone.
You cannot change the domain name or attached network after creating the zone. To use another domain name or network, delete the zone and create a new one.

Updating DNS zones

You cannot update DNS zones in the web console. To update a custom DNS zone, use a different interface.
  1. Get the ID of the zone that you want to update:
    Find the zone that you want to update. The output contains the zone ID in the .metadata.id parameter.
  2. Run the following command:
    Specify the zone ID you got in the previous step as <DNS_zone_ID>. In the command, you can specify the following parameters to update them:
    • --name (optional): Name of the zone.
    • --labels (optional): Replace all labels with the specified labels, in the key=value format.
    • --labels-add (optional): Add labels, in the key=value format, without replacing the existing labels.
    • --labels-remove (optional): Remove existing labels by key.
    • --soa-spec-negative-ttl (optional): How long DNS resolvers can cache a “record not found” response for this zone, in seconds. Values below 5 are ignored, and the service default of 900 is used instead.
    • --resource-version (optional): Current version of the zone. Use the metadata.resource_version value returned when you create the zone or when you get its ID and details if you want to update only the current version that you last checked. If the zone changed and has a different version, the command fails.

Deleting DNS zones

You cannot delete system-managed DNS zones. To delete a custom DNS zone, first delete all records except the default NS @ and SOA @ records.
  1. In the sidebar, go to NetworkingVirtual Networks.
  2. On the DNS tab, find the zone and click Delete.
  3. Confirm the deletion.