Skip to main content

 

Cisco Meraki Documentation

How to Configure Split DNS on an MX WAN Appliance

Overview 

This article explains how to configure Split DNS on an CIsco Meraki MX WAN appliance. Some deployments require DNS queries for specific domains to be directed to specific DNS servers. This is often needed when a public-based DNS service, such as OpenDNS, handles most DNS queries, but internal resources or applications require local name resolution. 

When Split DNS is configured on an MX, the MX snoops DNS traffic. The MX intercepts DNS queries that match the configured domains for Split DNS and redirects them to the configured DNS server. The MX transmits these redirected DNS requests to the configured server in accordance with its routing behavior. 

The MX also intercepts the responses to these DNS queries and routes them back to the client that issued the original DNS request. The MX must see both the client's DNS requests and the server's response to properly redirect DNS requests to the configured DNS server and route the responses back to the client. 

Split DNS and Local DNS service  are not compatible. And, Split DNS is only configurable via API at this time. 

Prerequisites 

MX firmware 19.1 or later. 

Step-by-step instructions 

Split DNS is configured via API. Complete the following steps: 

  1. Create a Split DNS profile using create organization appliance DNS split profile

clipboard_e15df5983a6a589068bf83f87c98049ae.png
 

  1. Assign the Split DNS profile using create organization appliance DNS split profiles assignments bulk create

clipboard_ea53b52fecb99b2d558e05bcb8574c13f.png

  1. Use the profile ID from the create split DNS profile request response body in the assignment. 

Troubleshooting 

Split DNS has the following limitations: 

  • Split DNS does not currently support redirection through CNAMEs. If a client queries the A record of FOO but learns of BAR (a canonical name for FOO), a subsequent A record query for BAR will not be redirected unless BAR is also configured as a Split DNS domain. The MX will not recognize or treat BAR as an alias for FOO. 

  • Split DNS supports redirecting DNS requests to only one DNS server. 

The MX must see the DNS request and the response from the configured DNS server for redirection to work properly. 

The DNS encryption feature of the OpenDNS software client prevents the MX from performing the DNS inspection this feature requires. 

 

  • Was this article helpful?