DNS zones and records#

Operations with DNS zones#

DNS zones in NGN Cloud are designed to serve second- and lower-level domains. Each zone is created for a specific domain, and its name must match the domain name.

Note

To use DNSaaS service, the user must be granted DNSaaS Administrator rights.

Create a public DNS zone#

  1. Go to the DNSaaS section DNS Zones and click Create.

  2. In the window that opens, set the public zone parameters:

    • Domain name – The name of the domain is set as the zone name. The domain name must have at least two labels.

    • Description – An arbitrary description of the zone (optional).

    • Type – Leave the default type (Public) unchanged.

  3. If you want to specify tags for the DNS zone, click Add tags to go to the next step and add the tags.

  4. Click Create to complete the DNS zone creation.

Along with the public zone, two records are created: SOA and NS. The SOA record contains details of the created zone and cannot be changed. The NS record includes data about the authoritative name servers in use.

Create a private DNS zone#

Note

To ensure private DNS zone functioning, the VPC must have DNS support enabled (more about private DNS names). You can check this in the Information tab on the VPC page.

  1. Go to the DNSaaS section DNS Zones and click Create.

  2. In the window that opens, set the private zone parameters:

    • Domain name – It must have at least two labels.

    • Description – An arbitrary description of the zone (optional).

    • Type – Select Private.

    • VPC – From the drop-down list, select the VPC to be served by this DNS zone.

  3. If you want to specify tags for the DNS zone, click Add tags to go to the next step and add the tags.

  4. Click Create to complete the DNS zone creation.

Edit a zone description#

  1. Go to the DNSaaS section DNS Zones.

  2. In the resource list, find the DNS zone whose description you want to edit, and click its ID to go to the zone page.

  3. In the Information tab, modify the Description field by clicking the edit icon .

Assign tags to a DNS zone#

Tags allow you to classify DNS zones by various attributes, such as purpose, owner, etc. Using them simplifies the management of many similar resources.

To add, modify or delete DNS zone tags:

  1. Go to the DNSaaS section DNS Zones.

  2. In the resource list, find the DNS zone for which you want to add a record, and click its ID to go to the zone page.

  3. Open the Tags tab.

  4. To add a tag, click Add tag and specify the Key and Value fields.

    To modify a tag, edit the required fields (Value and/or Key) of the respective tag.

    To delete a tag, click the icon next to the tag you no longer need.

    Note

    If no tags have been set earlier, you can add the Name tag by clicking Add Name tag.

  5. Click Apply to save the changes.

Delete a DNS zone#

  1. Go to the DNSaaS section DNS Zones.

  2. In the resource list, select the zone to be deleted and click Delete.

  3. In the dialog window, confirm the deletion.

Alternatively, you can delete a DNS zone on its page in the Information tab.

Operations with DNS records#

Create a record#

  1. Go to the DNSaaS section DNS Zones.

  2. In the resource list, find the DNS zone for which you want to add a record, and click its ID to go to the zone page.

  3. Open the Records tab and click Create.

  4. Set the required parameters:

    • Record name – Specify the subdomain for which the record is being created. The root domain of the DNS zone will be added to the record name automatically when it is created. If the record is being created for the root domain of the DNS zone, leave the field blank.

    • Record type – Select the record type from the drop-down list. Available options depend on the DNS zone type. For a public zone, you can create A, AAAA, CNAME, MX, TXT, PTR, NS or SRV records, and for a private zone, A, AAAA or PTR. Records must be unique: you can create only one record with a specific name and type.

    • TTL – Specify the “time-to-live” of the record in seconds. It sets the maximum permitted time the record can live in a cache.

    • Values – Enter one or more record values. Each value should be entered on a new line. The value format depends on the type of record selected.

    After all parameters are set, click Add record.

  5. If additional records are required, repeat the previous step. If a record was entered incorrectly, select it in the record table and click Delete.

  6. Once you have added all the required records, click Create.

Modify a record#

  1. Go to the DNSaaS section DNS Zones.

  2. In the resource list, find the DNS zone for which you want to add a record, and click the zone ID to go to its page.

  3. Open the Records tab and click Modify.

  4. Modify the record parameters. You can modify the record time-to-live and/or values.

    • In the TTL field, set the new time-to-live in seconds.

    • In the Values field, add new values or delete no-longer-needed ones.

  5. Once you have made all the required modifications to the record, click Modify.

Delete a record#

  1. Go to the DNSaaS section DNS Zones.

  2. In the resource list, find the DNS zone in which you want to delete a record, and click the zone ID to go to its page.

  3. Open the Records tab and select the record to be deleted from the resource list. You can select more than one record at once.

    Note

    Neither SOA record nor NS record for the root domain can be deleted.

  4. Click Delete and confirm deletion in the window that opens.