Skip to main content
In a custom DNS zone, you can create DNS records that resolve from inside the network attached to the zone. This page shows how to create, update and delete DNS records.

Prerequisites

  1. 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.
  2. Create a custom DNS zone to add records to.

Record types

A record stores its data in the --data parameter as the RDATA part of the record in the presentation (zonefile) format. For example, for a www 600 IN A 192.0.2.10 resource record in a zonefile, the record data is 192.0.2.10. You can create the following record types in a custom DNS zone: The following record types are restricted:
  • ns: Custom DNS zones do not support delegation. Nebius AI Cloud creates an NS record at the zone apex together with the zone. You cannot create, update or delete NS records.
  • soa: Each zone contains exactly one SOA record that Nebius AI Cloud creates together with the zone. You cannot create additional SOA records or delete the existing one. To control how long resolvers cache a “record not found” response, set the zone’s negative caching time-to-live (TTL). This value appears in the last field of the SOA record data.
  • cname: CNAME records are not supported. Instead of an alias, create a record of the required type directly at that name: for example, an a record with the target’s IP address.
  • aaaa: AAAA records are not supported in custom DNS zones.

Creating DNS records

  1. In the sidebar, go to NetworkingVirtual Networks.
  2. On the DNS tab, select the zone that you want to add records to.
  3. Click Create record.
  4. In Relative domain name, enter the zone-relative name of the record, for example, www for www.<zone_domain_name>. Use @ to create the record at the zone apex. Use * as the leftmost label to create a wildcard record that answers queries for names that do not otherwise exist in the zone.
  5. In Record type, select the record type and fill the fields that appear:
    • IPv4 address: IPv4 address to which the name resolves.
    • Hostname: Hostname of the mail server.
    • Priority: Priority of the mail server.
    • Value: Text to store in the record.
    For email records such as DMARC and SPF, split text longer than 255 characters into multiple quoted blocks of 1–255 characters each.
    • Target: Hostname of the target server.
    • Priority: Priority of the target host.
    • Weight: Relative weight of the target host among records with the same priority.
    • Port: Port on which the service is available.
    • (Optional) Protocol: Protocol used by the service, for example, _tcp or _udp.
    • (Optional) Service: Name of the service.
    • Value: Value associated with the selected tag.
    • Flag: CAA record flag.
    • Tag: Tag type. Select issue, issuewild or iodef.
    • Target: Hostname of the service endpoint.
    • Priority: Priority of the service endpoint.
    • (Optional) Parameters: Service parameters.
    • Target: Hostname of the HTTPS service endpoint.
    • Priority: Priority of the HTTPS service endpoint.
    • (Optional) Parameters: Service parameters.
  6. (Optional) In TTL, enter how long DNS resolvers can cache the record, in seconds.
  7. (Optional) Enable Delete protection to protect the record from accidental deletion.
  8. Click Create record.

Verifying DNS records

DNS records resolve only from the DNS zone’s network. To verify a record, query its fully qualified domain name (FQDN) from a virtual machine (VM) attached to one of the network’s subnets.
  1. In the sidebar, go to NetworkingVirtual Networks.
  2. On the DNS tab, find the zone that contains the record you want to verify. The Network column shows the zone’s network.
  3. Click the network name to view its subnets.
  4. Return to the DNS tab and select the DNS zone.
  5. Find the record and click next to its FQDN.
  6. Connect to a VM attached to one of the network’s subnets.
  7. Query the copied FQDN from the VM, for example:
The VM resolves the name through the network resolver at 169.254.169.2 without additional configuration. The output contains the record data in the answer section:
A newly created record becomes visible within a minute. If you queried the name before creating the record, the resolver keeps returning the cached “record not found” response until the zone’s negative caching TTL expires, which takes 15 minutes by default.

Updating DNS records

  1. In the sidebar, go to NetworkingVirtual Networks.
  2. On the DNS tab, select the zone that contains the record you want to update.
  3. Find the record and click .
  4. Change the record data, TTL or Delete protection.
  5. Click Save changes.
The relative name and type of a record cannot be updated. To move a record to a different name or change its type, delete the record and create a new one. An updated record becomes visible within a minute, and resolvers can serve the previous value until the record’s TTL expires.

Deleting DNS records

  1. In the sidebar, go to NetworkingVirtual Networks.
  2. On the DNS tab, select the zone that contains the record you want to delete.
  3. If the record has deletion protection:
    1. Next to the record, click .
    2. Disable Delete protection and click Save changes.
  4. Find the record and click Delete.
  5. Confirm the deletion.
You cannot delete the zone’s SOA record or the NS record at the zone apex. These records are deleted when you delete the zone.