Application DNS Record Requirements
Application may require the NS, MX, CNAME, A, TXT, and SRV DNS Records to be created. The required DNS records are created in CloudBlue Commerce when an application installation or upgrade is performed. When the application is uninstalled, the application’s DNS records are removed from CloudBlue Commerce.
The application’s DNS records are created in the DNS zone of the domain on which the application is installed. The application may create a sub-domain of the domain, which is selected for the application installation.
The hostname of the DNS record contains the name of the domain or sub-domain, a prefix of the hostname may be auto-generated or specified by a customer.
There are the following typical scenarios of DNS records creation for the application:
- External application is installed on a domain. The application requires the A DNS record to be created. In that case CloudBlue Commerce creates the required DNS record in DNS zone of the domain. This A record contains the DOMAIN_NAME and EXT_IP_ADDRESS parameters, where the DOMAIN_NAME parameter is the name of the application’s domain and EXT_IP_ADDRESS parameter is the IP address of the External System UI. The EXT_IP_ADDRESS parameter is retrieved from global settings of the application.
- Mail filtering application is installed on a domain having the Mail Hosting installed. The already existing MX record points to mail exchanger of domain. This DNS record becomes disabled. New MX record is created for the application. The application’s MX record points to mail filtering service. Location of the mail exchanger is propagated to the mail filtering service. As a result, the incoming mail traffic is passed through the mail filtering service. Then, the outgoing mail traffic is redirected to the domain’s mail exchanger. When the application is removed, the application’s MX DNS record is removed and the original MX DNS record is restored. As a result, the outgoing mail traffic comes directly to the domain’s mail exchanger.