Skip to main content

DNS Records Cloud Icon

After moving your website to Arvancloud and completing the DNS settings, you can see your domain's and subdomains' A records in the Arvancloud panel, in the DNS Records section of the CDN service, and turn their cloud icon (CDN service) on or off if needed. You can also enable this when adding DNS records.

When the cloud icon is on, traffic passes through edge servers and is protected and accelerated. A cloud icon that is on for a domain or subdomain means that domain's or subdomain's traffic passes through Arvancloud CDN servers; when it is off, traffic for that record does not pass through Arvancloud edge servers and connects directly to the origin server hosting the site.

To enable features such as caching, acceleration, and security, and to receive reports for a domain or subdomain, the cloud icon of its records must be on.

To turn on the cloud icon via API, you can use the following sample request:

curl --location --request PUT 'https://napi.arvancloud.ir/cdn/4.0/domains/example.com/dns-records/Record_ID/cloud' \
--header 'authority: napi.arvancloud.ir' \
--header 'accept: application/json, text/plain, */*' \
--header 'authorization: API KEY 1 2 3 4' \
--header 'content-type: application/json' \
--data '{"cloud":true}'

By default, when the cloud icon is on and traffic passes through Arvancloud edge servers, there is no limit on upload size. In this mode, the size of each request's headers cannot exceed 16 KB. Also, the maximum time between two consecutive writes is 180 seconds.

If WAF is enabled on the domain, the maximum body size of a sent request is 524288 bytes.

The Arvancloud CDN can use ports 80, 8080, 8880, 2052, 2082, 2086, 2095, 443, 2053, 2083, 2087, 2096, and 8443 to communicate with end users, and any port to communicate with your origin servers over HTTP or HTTPS.

Make sure the cloud icon is not on for A records related to any other service, such as email or FTP, because this will disrupt the related service. To turn off the cloud icon of a record, simply click the cloud icon next to it.

The services for which the cloud icon should not be on include:

  • autodiscover
  • calendar
  • chat
  • cPanel
  • cvs
  • e
  • email
  • exchange
  • ftp
  • game
  • gameserver
  • git
  • google
  • imap
  • irc
  • local
  • localhost
  • mail
  • mobilemail
  • mx
  • panel
  • pda
  • pop
  • repo
  • secure
  • sftp
  • sites
  • smtp
  • ssh
  • ssl
  • stream
  • streaming
  • svn
  • vid
  • video
  • vids
  • vpn
  • webmail
  • webstats