Skip to main content

Add DNS record

Last update:

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

Only one record of each type can exist for a domain name. If you do not already have a resource record of the correct type for the domain name, add a record. If you already have a record of the correct type for the domain name, add a value to it.

If a network is connected to a zone and you add an A- or AAAA record for a domain name manually and then create a port with that domain name, the IP address of the port will automatically be added to that record as an additional value. An Auto tag will be added to the record and it will start to change automatically when the port data changes.

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

Add an entry

  1. In the dashboard, on 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 whether the recording type is A or AAAA.
  6. Enter the domain name for which the record will be created. The name of the zone in which you are creating the record will be automatically appended to it.
  7. Enter the IP addresses to be associated with the domain name: IPv4 addresses for A records, and IPv6 addresses for AAAA records. You can specify a maximum of 100 IP addresses. Specify addresses with commas or spaces, or each address on a new line.
  8. Enter the TTL of the recording in seconds. To apply TTL zones, enter -1 or click Use TTL zones. TTL is the time for which a resource entry in the NS server cache is considered up to date and does not need to be re-cached.
  9. Click Add.

Add a value to the record

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

  1. In the Dashboard, on 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 desired A or AAAA record, click and select Edit Record.
  5. In the IPv4 address or IPv6 address field, enter an additional IP address that will be associated with the domain name. You can specify up to 100 IP addresses. Specify addresses with commas or spaces, or each address on a new line.
  6. Click Save.