Local DNS Service on MX
Local DNS Service on MX
Overview
Local DNS Service is only configurable via API at this time
Some deployments may require DNS Services locally. This is often the case when a public-based DNS service, such as OpenDNS, is desired for most DNS queries, but local name resolution is needed for internal resources or applications. Meraki Secure SD-WAN can act as a host for custom and generic DNS resolutions.
Feature
When Local DNS is configured on an MX appliance, the MX will respond to the DNS queries locally. DNS queries that match the configured domains for Local DNS are responded to accordingly.
The DNS option under DHCP settings on the MX must be configured to the “Proxy to upstream DNS” option for the MX to respond with locally configured DNS records.
Prerequisites
- Any MX running firmware 19.1+
- NAT/Routed Mode
- DNS nameservers setting under DHCP Settings must be configured as "Proxy to Upstream DNS"
- Non-Template MX network (Attempting to apply this to an MX bound to a template may result in the API call succeeding, however, no configuration is applied)
API Configuration (requires 19.1+ firmware)
Local DNS is only configurable via API at this time
Create Local DNS profile
https://developer.cisco.com/meraki/api-v1/create-organization-appliance-dns-local-profile/



Create Local DNS records
https://developer.cisco.com/meraki/api-v1/create-organization-appliance-dns-local-record/



Local DNS record limit
Only 1024 local DNS records can be configured per MX device.




