I have our RouterBoard running on IP 192.168.1.1 and this is connected to our ISP’s router which is 192.168.0.1. We have various clients connected through the RouterBoard and these are assigned addresses through DHCP.
I would like to have all clients connecting through the RouterBoard to be assigned just 192.168.1.1 as the DNS server, and for the RouterBoard to then perform lookups via a specified public DNS server (eg Google DNS or our ISP’s DNS servers).
However, I can’t seem to get this to work. For example, if I remove 192.168.0.1 from the “Servers” list under IP > DNS the RouterBoard can’t resolve any hostnames. If I enable “Use peer DNS” for the ether1-gateway interface’s DHCP configuration this adds 192.168.0.1 to the “Dynamic servers” list.
The reason we need local clients only to use the router’s IP is because we use some internal static DNS records so we need to force local clients to go through the RouterBoard’s DNS for this purpose.
So how can we have local clients only using 192.168.1.1 with the RouterBoard relaying these requests to specified DNS servers?
The only workaround I have found is http://wiki.mikrotik.com/wiki/Force_users_to_use_specified_DNS_server which would force all requests on port 53 to go via the RB but this would still leave 192.168.0.1 listed as a DNS server for clients using DHCP eg:
2015-11-10_1629.png
Thanks in advance,
Chris