VK Cloud logo

Resource records

The VK Cloud DNS service allows you to publish your zones and records in DNS without deploying your own DNS servers. Public DNS manages DNS zones that are visible on the internet.

Setting up the role model

To work with public DNS, configure roles for users of the VK Cloud management console:

  • Role for viewing DNS zones and resource records:

    • Observer.
  • Roles for editing DNS zones and resource records:

    • Project owner.
    • Network administrator.
    • Superadministrator.

Quotas and limits

  • The maximum number of DNS zones within a project is 100.
  • The maximum number of resource records of each type for a single DNS zone is 500.

Viewing the list of DNS zones

  1. Go to the VK Cloud management console.
  2. Select a project.
  3. Go to the DNS → DNS zones section.

Creating a DNS zone

A DNS zone is a logical grouping of the domain names of your resources that contains their resource records.

  1. Go to the VK Cloud management console.

  2. Select a project.

  3. Go to the DNS → DNS zones section.

  4. Click the Add zone button.

  5. Set the DNS zone parameters:

    • DNS zone: the name of the zone being created, for example, a domain that was previously purchased.

    • Contact email: the zone administrator's email address.

    • Time to expire: the time (in seconds) after which the secondary NS server stops responding to requests for this zone if the primary NS server is not responding. The value must be greater than the sum of the values in the Time to refresh and Time to retry fields.

    • Time to refresh: the time (in seconds) after which the secondary NS server must request the SOA record from the primary server to apply changes in the zone.

    • Time to retry: the time (in seconds) after which the secondary NS server will request the SOA record from the primary server again if the primary NS server did not respond. The value must be less than the one specified in Time to refresh.

    • Time to live (TTL): the cache lifetime for a negative response to a query in the zone.

  6. Click the Add zone button.

  7. Contact the owner of the specified domain to delegate zone management to the VK Cloud DNS servers.

Viewing a DNS zone

  1. Go to the VK Cloud management console.
  2. Select a project.
  3. Go to the DNS → DNS zones section.
  4. Click  for the desired zone and select Edit.

Editing a DNS zone

  1. Go to the VK Cloud management console.
  2. Select a project.
  3. Go to the DNS → DNS zones section.
  4. Click  for the desired zone and select Edit.
  5. Make the changes and click the Save changes button.

Creating a DNS subzone

A subzone is a DNS zone that is one level below the current zone. For example, for the example.com domain, the subzone would be subzone.example.com.

A subzone can be created:

  • In the same project where the main zone is located. This approach is used to separate the resource records of the subzone from the records of the main zone.
  • At a third-party DNS provider.

To create a subzone in a VK Cloud project, create two NS resource records with the subzone name that re-delegate the subzone to the VK Cloud DNS servers.

After creating the NS records, you can create a zone for the delegated subdomain.

Deleting a DNS zone

This is a group operation: if necessary, you can delete several zones at once by selecting them using checkboxes.

  1. Go to the VK Cloud management console.
  2. Select a project.
  3. Go to the DNS → DNS zones section.
  4. Click  for the desired zone and select Delete.
  5. Confirm the action.

Adding resource records

A resource record is a DNS record of a domain in the domain name system. Using them, you determine where to direct requests that arrive at domain names, and also provide additional information about the domain.

VK Cloud supports the following resource record types:

  • A — a DNS record that maps a domain name to an IPv4 address.
  • AAAA — a DNS record that maps a domain name to an IPv6 address.
  • NS — a DNS record that contains the address of the name server serving a given zone or subzone. By default, two NS records will be set in the zone. These records are set on the side of the domain name owner to transfer domain management rights to the VK Cloud name server.
  • CNAME — a DNS record that binds an alias to a domain name. It is usually used to bind a subdomain (for example, www) to the domain where the content of this subdomain is hosted.
  • MX — a DNS record that specifies the address of the server handling email.
  • SRV — a DNS record that defines the host name and port of a server for some network services.
  • TXT — a DNS record that contains text information for sources outside the domain.

Adding resource records

To add a resource record:

  1. Go to the VK Cloud management console.

  2. Select a project.

  3. Go to the DNS → DNS zones section.

  4. Click the name of the zone for which you need to add a resource record.

  5. Click the Add record button.

  6. Fill in the fields depending on the Record type value:

  7. Click the Add record button.

Viewing the list of resource records

  1. Go to the VK Cloud management console.
  2. Select a project.
  3. Go to the DNS → DNS zones section.
  4. Click the name of the zone whose resource records you need to view.

Viewing resource record parameters

  1. Go to the VK Cloud management console.
  2. Select a project.
  3. Go to the DNS → DNS zones section.
  4. Click the name of the zone for which you want to view the resource record.
  5. Click  for the desired record and select Edit.

Editing resource records

  1. Go to the VK Cloud management console.
  2. Select a project.
  3. Go to the DNS → DNS zones section.
  4. Click the name of the zone for which you want to modify the resource record.
  5. Click  for the desired record and select Edit.
  6. Make the changes and click Save changes.

Deleting resource records

This is a group operation: if necessary, you can delete multiple records at once by selecting them using checkboxes.

  1. Go to the VK Cloud management console.
  2. Select a project.
  3. Go to the DNS → DNS zones section.
  4. Click the name of the zone for which you want to delete the resource record.
  5. Click  for the desired record and select Delete.
  6. Confirm the action.
Was this article helpful?