Edit DNS Records
When a record is added to the DNS records, the editing option is available at the end. Other than the NS records provided by Arvancloud for your domain, all other records can be edited.
Editing A Record
The A records have more domain editing options than other record types.
These include:
Cloud Option: you control the traffic passing through the Arvancloud CDN by activating/ deactivating this option.
Title: You can change the title for A records, which equals the subdomain’s name of the main domain.
Time To Live: when the cloud symbol is turned on, this value will be calculated by Arvancloud, and the domain cannot change it.
IP Address: Values are IP addresses that point to the main servers of the domain.
Response Type: In this section, you can specify single/multiple response types. This section specifies whether, in response to each DNS request, only one of the records will be sent to the requester as a response, or all of them.
Load Balancing: In this section, the type of load balancing can be set as one of the Off/Round-Robin/Weighted options. If the off option is used, the order of sending responses to the user will always remain unchanged. That is, if the response type is single specified in the previous section, only the first record and if the multiple response type is specified, the user will be answered with the same initial order without change.
If the Round-Robin option is selected, DNS records are sent to requesters in a turn-by-turn fashion with an even distribution. For example, in the case shown in the figure above, if the load balancing is round-robin and the single response type is specified, IP:192.168.1.1 will be sent to the first requester, and IP:192.168.1.2 will be sent to the second requester.
If the Weighted option is selected, a column called weight is created next to the IP address, which specifies the weight of the corresponding IP in the load balancing.
For example, if the weight of one record is 1 and the weight of the other is 100, then out of every 101 requests, one will receive the first IP in response and the other 100 requests will receive the second IP.
Location: In this section, you can specify one of the Off/Auto/Country options. If you want to send traffic coming from a certain country to a specific server, you can use this option. By choosing the country option, a column will be added next to the IP and you can choose the country whose traffic you want to be directed to the desired IP.
If you turn on the cloud icon settings in this section, the protocol section will be enabled, and the Load Balancing and TTL sections will be disabled.
In this case, the traffic is sent to the CDN servers and the entered IPs are not shown to the user. By choosing the appropriate weight, you can distribute the load for network layer 7 traffic (HTTP/HTTPS) among your servers. You can also specify the type of communication protocol with the main server in the protocol section.
Protocol: you can choose between Default/Automatic/HTTP/HTTPS. Choosing default will apply the CDN panel settings of the protocol type to this record. Choosing automatic means that the requests received by the CDN servers will be forwarded to the main server in the same format as the request. If the request is HTTP/HTTPS, the request will be sent to the main server without changing the TLS protocol.
Choosing HTTP means that the HTTP protocol must be used to connect with the main server. Choosing HTTPS means that the HTTPS protocol (encrypted) will be used to connect with the main server. Choosing HTTP/HTTPS means that you can also select the server port that receives the requests. A column is then added next to each server’s IP that allows you to configure the port.
Port: Setting the desired port number for specific DNS records and assigning weight to different IPs of a particular record are the two advanced settings available in the Arvancloud user panel. Activating the Arvancloud CDN service means that the connection between the edge servers and the users will be through specific ports of the following:
HTTPS HTTP 443 8080 2053 8880 2083 2052 2087 2082 2096 2086 8443 2095
However, the connection between the Arvancloud’s edge servers and the website’s main servers can happen through both HTTP and HTTPS on any ports.
For example, if you want to connect to the cPanel on port 2082, you should enter the following address in your browser: cpanel.example.com:2082. If the CDN service is active on cPanel and the record number was not specified, you cannot access your cPanel since the connection between your website’s main server and the Arvancloud edge server is still on port 80 or 443.
However, configuring the port number, you just need to enter the following address:cpanel.examle.com Then, the connection between the two previous servers will automatically happen on port 2082, and you would not need to deactivate the CDN service for the mentioned record.
The most popular services' port numbers are as follows:
Service | Port Number |
---|---|
cPanel | 2082 |
WHM | 2086 |
Webmail | 8085 |
In the protocol section, specify whether you want this connection to happen through HTTP or HTTPS. Then, select the port number and save the changes.
Removing DNS Records
To remove your domain’s records, go to the DNS Records of your user panel under the CDN Service and click on the Remove option in front of the selected record.
In the opened window, click on delete, and the record will be removed.