The problem is now how can i secure my router from external dns requests when "allow remote requests" is enabled?
It's firewall rules for
chain=input. Default firewall setup (in recent ROS version on SOHO devices) already blocks most connections from WAN, but it really depends on changes to follow philosophy used for default rules (e.g. proper interface list membership etc.).
The buil-tin DNS resolver should be able to combine statically defined entries with replies from upstream DNS servers, but it needs proper configuration:
/ip dns set servers=<comma separated list of remote DNS servers>
Yes it is now worked as expected.
To summarize for other friends:
1. In order for the internal DNS resolver to work ==> Ip>DNS Allow remote requests should be enabled. If allow remote requests is disabled then the dns function is coming from peer DNS from DHCP client. This should be enabled at least if "allow remote requests" is disabled, otherwise there is no DNS service.
2. After the enabling of MIkrotik DNS function (with allow remote requests ON), then set static DNS servers in /ip/dhcp/networks and/or ip/dns. Optionally set static dns entries in ip/dns/static after setting static ip addresses for clients in dhcp server.
3. Securing Router from external dns queries with firewall rules (chain input, action drop, udp and tcp 53).