How to use DNS in remote network when connecting Site-2-Site VPN on UDM or UDR.
So, we have a configured site-2-site VPN according to the diagram in the figure, ping works between networks, we can open shared resources by accessing hosts by IP address, but we do not understand why, having specified the DNS server 10.0.10.15 in the DHCP UDR setting, clients in "office 2" cannot resolve the host name in "office 1" without receiving a response from it? What settings need to be made on the UniFi router for everything to work?
And you only need to make two entries in the "Routing" settings section:
- on the "DNS" tab, specify where to send all requests for your domain
- on the "Static Routes" tab, specify where to return responses
After that, after a couple of minutes, try to resolve some host in the remote network with the nslookup command, you should see a response from your DNS server!