Hi guys, is there able to do source based DNS reply rule? for example if users 192.168.5.0/24 lookup www.example.com, DNS will reply 202.X.X.5. If users 192.168.2.0/24 lookup www.example.com, DNS will reply 202.X.X.6.
I have idea, that configure metarouters as DNS servers. Main router will check source address and forward UDP:53 to needed metarouter. Each DNS of metarouter will be have different DNS records. I`ll try it.
If you don't have to have everything contained in the router or can use a Linux VM rather than RouterOS ones you can also use DNS software that can do split horizon natively. It's just that RouterOS cannot do that unless you use multiple instances, which your proposed trick nicely exploits.