Page 1 of 1

DNS forwarding

Posted: Fri Jul 28, 2023 10:25 pm
by serafin
Hi,

I have a setup with forwarding DNS queries for specific domain to local DNS server:
/ip dns static
add address=192.168.8.7 name=ns.xxx ttl=1h
add address=192.168.8.9 name=ns.xxx ttl=1h
add forward-to=ns.xxx match-subdomain=yes name=xxx.local ttl=1h type=FWD
when I query dns this way all works:
:put [:resolve yyy.xxx.local server=192.168.8.7]
192.168.8.3
but when I do:
:put [:resolve yyy.xxx.local]
failure: dns name does not exist
What is weird that it worked at some point and stopped, and there were no changes in rourer configuration.

Tested on RouterOS 7.10.1 without DoH

any ideas what might be wrong? I thought it may be related to connection tracking, but no changes after clearing contrack table

Ser@fin

Re: DNS forwarding

Posted: Fri Jul 28, 2023 10:38 pm
by serafin
I did upgrade to 7.10.2 and after reboot:
:put [:resolve yyy.xxx.local]
192.168.8.3
weird...

Ser@fin