Contact Free trial Login

Resolve Private Domains in Your Internal Network

You can specify custom private domains by adding the IP address and domain name for your network. When you provide private domains, your worker resolves them using your private DNS, so you can still use the internal host names of your private network (make sure your applications call the backend resources by FQDN).

  1. Sign into Anypoint Platform, and in Management Center, click Runtime Manager.

  2. In the left navigation, click VPCs.

  3. Select the row of the Anypoint VPC to configure, then click Manage VPC.

  4. Click the Internal DNS tab.

  5. Click Add New IP, enter the IP address of your internal DNS server, then click Add to List.
    You can enter up to 3 IP addresses.

    vpc tutorial f7641
  6. Click Add New Domain, enter the domain name of your internal DNS server, then click Add to List.
    You only need to add the common portion of the domain name, for example: mulesoft.com.

    You can add several private domains.

    vpc tutorial 7770c
  7. Click Apply Changes.

    internal dns configuration

When resolving a domain name in your internal network, consider the following:

  • The IP address you configure is for the DNS server of your internal network. It is not the IP address of the service you are connecting to.

  • The maximum number of characters of all the domains you configure must not exceed 239 characters. For example, adding the domains mydomain1.com and mydomain2.com requires 28 characters. Each domain name consumes an additional character because in the DNS hierarchy all domains end with a "." character.

  • Avoid entering hostnames to ensure that you do not exceed the 239 character limit.

  • All the DNS servers entered must present valid records for all the domains listed to keep a healthy view over the DNS namespace.