Hello,
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:
/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
i have:
$ 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
if i change it to DoH,
/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
i have:
$ 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)
Why i have NXDOMAIN on second request, if i have correct answer from server and how to remove "NXDOMAIN" if i have correct answer from static?
nov/20/2021 09:30:29 by RouterOS 6.49.1
software id = N28H-BXPP
model = RouterBOARD 750G r2
Thank you.