Dns Address in Network (Active directory + Mikrotik)

Hi
I have a network like this

Microtik: 172.20.226.1
AD-Server: 172.20.226.3

Clients like:
IP: 172.20.226.5
Subnet:255.255.255.0
Gw:172.20.226.1
Dns:172.20.226.3

if my dns be mtk address, network connected to internet bun Gpo plociy not working good and if dns be AD-server , internet not connected, if dns be MTK.IP+AD.IP then gpo not working good

dns??

Setup AD DNS server to use Mikrotik’s for all external DNS resolution.