i am using DNS forwarding for a specific domain using the well known srcnat and dstnat rules with layer 7 regex.
This ist working fine but i want to replace it with the new dns fwd feature.
I did a simple test that is not working:
Code: Select all
[admin@MikroTik] > ip
[admin@MikroTik] /ip> dns
[admin@MikroTik] /ip dns> static
[admin@MikroTik] /ip dns static> add regexp=".*\\.example\\.com\$" forward-to=10.0.0.1
Code: Select all
C:\Users\mode>nslookup example.com 192.168.6.1
Server: mikrotik.local
Address: 192.168.6.1
Nicht autorisierende Antwort:
Name: example.com
Addresses: 2606:2800:220:1:248:1893:25c8:1946
93.184.216.34
DoH is not enabled on the mikrotik.
BR
mode