Skip to main content

Add DNS record

If a network is connected to a zone, A or AAAA records in the zone are added automatically when a port is created in the network. Such records are marked with the Auto tag. A or AAAA records can also be added manually. CNAME, MX, and TXT records can only be added manually.

For a domain name, only one record of each type can exist. If you don't have a resource record of the required type for the domain name yet, add a record. If you already have a record of the required type for the domain name, add a value to it.

If a network is connected to a zone and you have added an A or AAAA record for a domain name manually, and then created a port with this domain name, the port's IP address will be automatically added to this record as an additional value. The record will be marked with the Auto tag, and it will begin changing automatically when port data changes.

You can check if a network is connected to a zone in the control panel: from the top menu, click ProductsCloud ServersPrivate DNSDNS Resolvers tab → network row → DNS Zone field.

Add record

  1. In the control panel, from the top menu, click Products and select Cloud Servers.
  2. Go to the Private DNS section.
  3. Open the zone page.
  4. In the Records block, click Add record.
  5. Select the record type — A or AAAA.
  6. Enter the domain name for which the record will be created. The domain of the zone where you are creating the record will be added to it automatically.
  7. Enter the IP addresses that will be associated with the domain name: IPv4 addresses for an A record, and IPv6 addresses for an AAAA record. You can specify no more than 100 IP addresses. Enter the addresses separated by a comma or a space, or on a new line.
  8. Enter the record TTL in seconds. To apply the zone TTL, enter -1 or click Use zone TTL. TTL is the time during which a resource record in the NS server cache is considered valid and does not require re-caching.
  9. Click Add.

Add value to record

You can add a value to A, AAAA, MX, and TXT records. A CNAME record can contain only one value.

  1. In the control panel, from the top menu, click Products and select Cloud Servers.
  2. Go to the Private DNS section.
  3. Open the zone page.
  4. In the Records block, in the row of the required A or AAAA record, click and select Edit record.
  5. In the IPv4 address or IPv6 address field, enter the additional IP address to be associated with the domain name. You can specify no more than 100 IP addresses. Enter the addresses separated by a comma or a space, or on a new line.
  6. Click Save.