This could be due to a few different factors.
Ensure that the DNS server specified in the DHCP settings of the MX95 is able to resolve the hostnames for your internal network.
Check the DNS settings on the client devices. They should be configured to use the DNS server that can resolve the hostnames of your internal network. If a public DNS server (like 8.8.8.8) is used, it won’t be able to resolve internal network hostnames.
If you recently made changes to your DNS entries, it might take some time for the changes to propagate through the network.
Check if there are any firewall rules that might be blocking DNS traffic.
Make sure that the VPN configuration allows for DNS traffic to pass through. In some cases, you might need to adjust the settings of your VPN to allow for this.
I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.
Please, if this post was useful, leave your kudos and mark it as solved.