Hello,
Friends. I am using AdGuard DNS running in Docker on my own Mikrotik AX3 Router to filter DNS. It works fine as long as the devices have AdGuard DNS configured, but if I place an explicit DNS example 8.8.8.8.8, the machine stops resolving DNS, the idea is that if the user places X DNS, the forwarding rules redirect those queries to AdGuard and the machine believes that 8.8.8.8.8 was the one who resolved and be transparent.
Note: I have seen many questions and answers of this type but I see that none solves what I want, maybe it is not possible but I really have already done everything in my power and I have not been able to solve what I said.
So here I leave part of my configuration to see if you can orient yourself and please give me some idea how to do it or why it is not working.
AdGuard DNS IP: 10.0.0.1
Version: v0.107.32
/interface bridge
add comment=BR-DOCKERS name=BR-DOCKERS
/interface bridge port
add bridge=BR-DOCKERS comment=VETH1-DOCKERS interface=VETH1-DOCKERS
/ip address
add address=10.0.0.2/24 comment=BR-DOCKERS interface=BR-DOCKERS network=10.0.0.0
/interface veth
add address=10.0.0.1/24 comment=VETH1-DOCKERS gateway=10.0.0.2 name=VETH1-DOCKERS
/ip firewall nat
add action=dst-nat chain=dstnat comment="ADGUARD DNS" dst-port=53 in-interface-list=!WAN protocol=udp src-address=!10.0.0.1 to-addresses=10.0.0.1 to-ports=53
add action=dst-nat chain=dstnat comment="ADGUARD DNS" dst-port=53 in-interface-list=!WAN protocol=tcp src-address=!10.0.0.1 to-addresses=10.0.0.1 to-ports=53
/interface list
add name=WAN
/interface list member
add comment=ISP interface=ether1 list=WAN
I have consulted a lot on the internet and nothing.This question is the one that most closely resembles what I want to know. This question is the closest to what I want, but it doesn't work.
viewtopic.php?t=190919&sid=f72a273a32fe ... 84600a3fd6
Greetings and excuse my English which is not my native language. Thank you very much...