Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,29 @@ Virtual network peering enables IP traffic flow but DNS resolution must also be

Users in linked networks can now access Mendix apps using the usual URLs.

#### DNS Name Resolution towards Resources in Other Networks {#name-resolution-dns-override}
#### DNS Name Resolution toward Resources in Other Networks {#name-resolution-dns-override}

To allow Mendix apps to resolve internal services in your network, configure DNS resolution selecting one of the following options:
To allow Mendix apps to resolve internal services in your network, configure DNS resolution using one of the following options.

* Create or use an existing Private DNS Zone for the internal service's FQDN and link it to the Mendix virtual network by using a [virtual network link](https://learn.microsoft.com/en-us/azure/dns/private-dns-virtual-network-links).
* Configure the Mendix virtual network to use your own DNS server that resolves internal service names, as described in [Microsoft's DNS configuration instructions](https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances). The Mendix virtual network is located in the [Managed Resource Group](/developerportal/deploy/mendix-on-azure/configuration/#mrg).
##### Option 1: Link a Private DNS Zone{#dns-zone-outside-mrg}

The Mendix on Azure virtual network is located in the [Managed Resource Group](/developerportal/deploy/mendix-on-azure/configuration/#mrg), which is protected by [Azure deny assignments](https://learn.microsoft.com/en-us/azure/role-based-access-control/deny-assignments). This prevents you from creating or modifying most resources, including Private DNS zones and their record sets, directly inside that resource group.

To manage your own DNS records for internal services without running into these restrictions, you can link a self-managed private DNS zone to the Mendix virtual network by performing the following steps:

1. Create a new [Azure Private DNS zone](https://learn.microsoft.com/en-us/azure/dns/private-dns-privatednszone) for the FQDNs which you need Mendix apps to resolve (for example, *internal.yourcompany.com*), in a resource group you fully control, outside the Managed Resource Group.
2. Add [DNS records](https://learn.microsoft.com/en-us/azure/dns/dns-operations-recordsets-portal) in this zone pointing to the IP addresses of your internal services.
3. Create a [virtual network link](https://learn.microsoft.com/en-us/azure/dns/private-dns-virtual-network-links) from this Private DNS zone to the Mendix on Azure virtual network in the [Managed Resource Group](/developerportal/deploy/mendix-on-azure/configuration/#mrg).

Because the zone lives in a resource group you own, you can add, change, or remove records yourself at any time, without needing to modify anything inside the Managed Resource Group.

{{% alert color="info" %}}
This is standard Azure Private DNS configuration, not something specific to Mendix on Azure. Refer to the Microsoft documentation linked above for full details on managing Private DNS zones and virtual network links.
{{% /alert %}}

##### Option 2: Override DNS Resolution on the Mendix Virtual Network

Configure the Mendix virtual network to use your own DNS server that resolves internal service names, as described in [Microsoft's DNS configuration instructions](https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances). The Mendix virtual network is located in the [Managed Resource Group](/developerportal/deploy/mendix-on-azure/configuration/#mrg).

### Solution 2: PrivateLink with Private Endpoints

Expand Down
1 change: 1 addition & 0 deletions content/en/docs/deployment/mx-azure/mx-azure-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ The following customizations are related to establishing connectivity to and fro
* Override DNS configuration on the subnet hosting AKS nodes.
* Configure Private Link Service to expose Mendix apps in other Azure virtual networks.
* Configure Private Endpoints to establish connectivity between Mendix apps and other services.
* Link a self-managed Private DNS zone to the vNet hosting AKS nodes to resolve internal service names. See [DNS Name Resolution toward Resources in Other Networks](/developerportal/deploy/mendix-on-azure/configuration/interconnecting-networks/#name-resolution-dns-override).
* Tune the server parameters of the shared Azure Database for PostgreSQL Flexible Server. Only a small set of parameters is safe to change, and some parameters can cause server crashes or permanent data loss. Before changing any parameters, see [Tuning PostgreSQL Server Parameters](/developerportal/deploy/mendix-on-azure/configuration/postgresql-parameter-tuning/).

Mendix limits customization to what is described above to ensure a consistent, predictable, and scalable customer experience.
Expand Down