I have strange behavior if i enable DoH on my Mikrotik
I have few static hosts in my DNS zone: like router.apl and sonora.apl
If i'm using regular DNS server forwarding with config:
Code: Select all
/ip dns
set allow-remote-requests=yes servers=1.1.1.1
/ip dns static
add address=192.168.1.1 name=router.apl
add address=10.10.20.4 name=sonora.apl
Code: Select all
$ host sonora.apl 10.10.20.1
Using domain server:
Name: 10.10.20.1
Address: 10.10.20.1#53
Aliases:
sonora.apl has address 10.10.20.4
Code: Select all
/ip dns
set allow-remote-requests=yes use-doh-server=https://1.1.1.1/dns-query
/ip dns static
add address=192.168.1.1 name=router.apl
add address=10.10.20.4 name=sonora.apl
Code: Select all
$ host sonora.apl 10.10.20.1
Using domain server:
Name: 10.10.20.1
Address: 10.10.20.1#53
Aliases:
sonora.apl has address 10.10.20.4
Host sonora.apl not found: 3(NXDOMAIN)
Host sonora.apl not found: 3(NXDOMAIN)
# nov/20/2021 09:30:29 by RouterOS 6.49.1
# software id = N28H-BXPP
#
# model = RouterBOARD 750G r2
Thank you.