You can access your DNS Records from the ArvanCloud dashboard by clicking on the “Content Delivery Network” button in the middle of the screen.
You can also use this URL to access the DNS records for your domain:
Either option you choose, your screen would need to look like the image below to continue the rest of the steps.
On top of the Domain Records tab, you see the NS modification panel, which allows you to both check on your domain’s status and change your NS. You can also refer to this panel if you have forgotten which NSs you’ve set on your domain and want to update them on your domain registrar.
Additionally, if you want to check on the status of your NSs periodically, make sure to click on the “Check Again” button.
Adding a New DNS Record
You can use the panel to add new DNS Records.
Here, you can choose the type of DNS record you plan to set and fill in its appropriate value. Here is a list of all the available record types:
If you are unfamiliar with each record type’s function, please take a look at this article.
Note: If you intend to use a CNAME record on your domain root, you will need to use the ANAME record, which is its equivalent.
Note: If you intend to use Load Balancing through DNS Records, we would suggest creating multiple A Records. ArvanCloud’s platform automatically combines these records and allows you to balance the load. For more info, please continue reading the rest of this article.
The amount of time a DNS record is considered as valid, otherwise known as TTL, is the lifespan of a record on a given DNS server before this DNS server updates the old value with a new one. For instance, when you set the TTL for an A record to 1 hour and during that time change the value for that A record, it is still possible to access this record through the old value for at least an hour on the DNS servers.
You can activate A records and allow their traffic to flow through our CDN servers by clicking on the cloud icon next to the editing option. This will increase the security and speed of your website. In doing so, you also hide your origin server’s IP address from visitors, which plays a significant role in security.
Once a new record is added to your list of DNS Records, you will be able to edit your record’s settings again by clicking on the pen icon.
Your domain’s two NSs are also listed here; however, you cannot make any changes to them from here.
Editing an A Record
When editing an A Record, you need to consider that A Records include way more options than other types of records. These options include:
- Cloud Status: You can control the flow of traffic to ArvanCloud’s CDN through this option. Once enabled, all your incoming traffic goes through ArvanCloud’s servers, leading to increased speed and security.
- Name: Change the title for a record from here. In A Record types, this name would be the subdomain of the main domain.
- TTL: As mentioned at the beginning of the article, TTL refers to the amount of time it takes for a record to be considered valid. If the cloud icon is enabled, this value will be set automatically by ArvanCloud, and the domain owner will not have a choice in that matter.
- IP Address: The values listed here refers to the IP address of your domain’s origin server. If you add more than one IP address when editing an A Record, the fields for Load Balancing, Response Type, and Location become available to you.
- Response Type: This section allows you to set a Single or Multi type response. It determines whether only one record would be used to respond to DNS requests or all of them.
- Load Balancing: This section allows you to set your balancing on either Round-robin or Weighted. If it is set on the disabled, the response sequence for the users will not change. For instance, if the Response type is set on Single, then the first record will be used, and if set on Multi, it will follow the initial order of the records.
If the Round-robin option is chosen, DNS records will respond to requests in an orderly fashion with equal distribution. For instance, if we set Round-robin for load balancing and Single response on the image above, then IP:192.168.1.1 is sent to the first request and IP:192.168.1.2 to the second request.
If the Weighted option is chosen, a column named “Weight” is added next to the IP address column, which indicates that IP’s weight in the load balance.
For instance, if you have set up a record where one record is weighted as one and the other 100, then for every 101 requests, only 1 receives a response from the first IP address, and the additional 100 receive responses from the second IP address.
- Location: This section allows you to choose among Off/Auto/Country. The Country option is for when you want to direct requests from a particular country on your domain toward a specific server. Once you do this, a new column will appear next to the IP column, which allows you to choose the country from which you want to redirect traffic toward a given IP.
If you enable the Cloud status, you will gain access to the protocol section, but the Load Balancing and TTL sections get disabled instead.
In this mode, your traffic is sent to CDN servers, and the IPs you have input will not be shown to the users.
While in this mode, you can balance the load on a 7 layered network (HTTP/HTTPS) between your servers by inputting the suitable weight. Make sure to choose the right communication protocol for your origin server as well.
- Protocol: This section allows you to choose among Default/Automatic/HTTP/HTTPS as options. If you select Default, the CDN settings for the connection protocol with the origin server will also be applied for this record. The CDN settings for this case is located at:
By choosing the Automatic option, ArvanCloud receives requests as is and then sends them to the host’s origin server. If the request is HTTP or HTTPS, it will be sent to the origin server without change to the protocol (TLS).
The CDN is forced to use the HTTP protocol (unencrypted) to connect to the origin server by choosing the HTTP option. In case you choose HTTPS, it will use the HTTPS protocol (encrypted) to connect to the origin server. Regardless of whether you have chosen HTTP or HTTPS, you will be able to set the port for the server that will be receiving the request. A new column will appear next to the IP column, which allows you to set the port.
Note: By now, you might have noticed the character @ in the DNS Record section; it refers to a domain root. For example, @ for arvancloud.com refers back to the arvancloud.com domain.