Skip to main content

Edit DNS Records

When a record is added to the list of DNS records, an edit option is shown at the end of its row, which you can click to change the record's settings. All records can be edited except the NS records provided by Arvancloud for your domain.

Editing an A Record​

For A records, editing includes more options than for other record types.

These options are:

  • Cloud Status: By turning this option on or off, you can control whether traffic passes through the Arvancloud CDN. When it is on, traffic passes through Arvancloud servers and is accelerated and secured.

  • Name: Here you can change the record's name. For an A record, this name is the subdomain name of the root domain.

  • TTL: This is the record's time to live. If the cloud icon is on, this value is set automatically by Arvancloud and cannot be changed by the domain owner.

  • IP Address: The IP addresses that point to the domain's origin servers. If more than one address is defined for an A record in this section, load balancing for the domain becomes available in the last part, as described below.

  • Response Type: Here you can set the response type to single or multiple. This specifies whether, in response to each DNS request, only one of the records or all of them are sent to the requester.

  • Load Balancing: Here you can set the load balancing type to Off, Round Robin, or Weighted Round Robin. If Off is used, the order of responses sent to the user always stays the same; that is, if the response type in the previous section is set to single, only the first record is returned, and if it is set to multiple, the records are returned in the same original order without change.

    If Round Robin is selected, DNS records are sent to requesters in turn, with equal distribution. For example, with two IP addresses, 192.168.1.1 and 192.168.1.2, if load balancing is Round Robin and the response type is single, the first requester receives IP 192.168.1.1 and the second requester receives IP 192.168.1.2.

    If Weighted Round Robin is selected, a column named Weight is added next to the IP address, which specifies the weight of that IP in load balancing.

    For example, if one record has a weight of 1 and the other a weight of 100, out of every 101 requests, one receives the first IP and the other 100 receive the second IP.

  • Geolocation: Here you can choose Off, Automatic, or Country. If you want traffic sent to your domain from a specific country to go to a specific server, you can use this option. By selecting Country, a column is added next to the IP, and you can select the country whose traffic you want directed to that IP.

If you turn on the cloud icon in these settings, the Protocol field becomes active, and the Load Balancing and TTL fields become inactive.

In this mode, traffic is sent to CDN servers, and the entered IPs are not shown to the user.

In this mode, by choosing appropriate weights, you can load balance layer 7 (HTTP/HTTPS) traffic among your servers. You can also set the protocol used to communicate with the origin server in the Protocol field.

  • Protocol: Here you can choose Default, Automatic, HTTP, or HTTPS. With Default, the CDN panel settings for the protocol used to communicate with the origin server also apply to this record.

    With Automatic, requests are sent to the origin server hosting the site exactly as they reach the Arvancloud CDN servers. If the request is HTTP or HTTPS, it is sent to the origin server without changing the protocol (TLS).

    With HTTP, communication with the origin server is forced to use HTTP (without encryption). With HTTPS, communication with the origin server is forced to use HTTPS (with encryption). When you select HTTP or HTTPS, you can also choose the server port requests are sent to. In this case, a column is added next to each server's IP that lets you set the port.

  • Port: When the Arvancloud CDN is active, end users connect to Arvancloud edge servers only on specific ports, which are:

HTTPHTTPS
8080443
88802053
20522083
20822087
20862096
20958443

However, the connection between Arvancloud edge servers and the origin server hosting your site can use HTTP or HTTPS on any port.

For example, imagine you want to connect to cPanel on port 2082. To do this, you need to enter the address cpanel.example.com:2082 in your browser. If the CDN is enabled for the cPanel record and the port number at the end of the address is not set for this record in its section, you will not connect to your cPanel, because by default the connection between the Arvancloud edge server and your origin server is still made on port 80 or 443.

But once you set the desired port number, you simply enter cpanel.example.com in the browser. The connection between the Arvancloud edge server and your origin server is automatically made on port 2082, and there is no need to disable the CDN for that record.

The port numbers of some common services are:

ServicePort Number
cPanel2082
WHM2086
Webmail8085

Deleting DNS Records​

If for any reason you want to delete one of your domain's records, go to CDN > DNS Records in the Arvancloud panel and click the delete icon next to the record.

Then click Delete to remove the record.