VK Cloud logo
Updated at December 20, 2023   05:58 AM

Public DNS

Setting up a role model

To work with public DNS, configure roles for users of personal account VK Cloud:

  • Role for viewing DNS zones and resource records:

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

    • Project administrator.
    • Network administrator.
    • Superadministrator.

Quotas and limits

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

Viewing a list of DNS zones

  1. Go to personal account VK Cloud.
  2. Select the project.
  3. Go to DNSDNS zones.

Creating a zone

DNS zone is a logical association of domain names of your resources, containing their resource records.

  1. Go to personal account VK Cloud.

  2. Select the project.

  3. Go to DNSDNS zones.

  4. Click the button Add zone.

  5. Set DNS zone parameters:

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

    • Contact email: the mail of the zone administrator.

    • 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 does not respond. The value must be greater than the sum in the fields Time to refresh and Time to retry.

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

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

    • Time to live (TTL): the lifetime of the cache in case of a negative response to a request in the zone.

  6. Click the button Add zone.

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

Editing a zone

  1. Go to personal account VK Cloud.
  2. Select the project.
  3. Go to DNSDNS zones.
  4. Expand the menu of the desired zone and select Edit.
  5. Make the changes and click Save changes.

Creating a subzone

A subzone is a DNS zone that is a level below the current one. For example, for the domain example.com the subzone will 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.
  • From a third-party DNS provider.

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

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

Deleting a zone

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

  1. Go to personal account VK Cloud.
  2. Select the project.
  3. Go to DNSDNS zones.
  4. Expand the menu of 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. With their help, you determine where to send requests that come to domain names, as well as provide additional information about the domain.

VK Cloud supports resource record types:

  • A is a DNS record that maps a domain name to an IPv4 address.
  • AAAA is a DNS record that maps a domain name to an IPv6 address.
  • NS is a DNS record that contains the address of the name server serving this zone or subzone. By default, two NS entries will be set in the zone. These records are installed on the side of the domain name owner in order to transfer domain management rights to the VK Cloud name server.
  • CNAME is 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 is a DNS record that tells the address of the server that processes email.
  • SRV is a DNS record that defines the host name and server port for some network services.
  • TXT is a DNS record that contains text information for sources outside the domain.

To add a resource record:

  1. Go to personal account VK Cloud.

  2. Select the project.

  3. Go to DNSDNS zones.

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

  5. Click the button Add record.

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

  7. Click the button Add record.

Editing resource records

  1. Go to personal account VK Cloud.
  2. Select the project.
  3. Go to DNSDNS zones.
  4. Click on the name of the zone for which you want to change the resource record.
  5. Expand the menu of the desired entry and select Edit.
  6. Make the changes and click Save changes.

Deleting resource records

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

  1. Go to personal account VK Cloud.
  2. Select the project.
  3. Go to DNSDNS zones.
  4. Click on the name of the zone for which you want to delete the resource record.
  5. Expand the menu of the desired entry and select Delete.
  6. Confirm the action.