My problem is with Alpine Linux v3.16 because the RouterOS 7.7 DNS server returns NXDOMAIN if an IPv6 entry does not exist, even that an IPv4 does exist.
I tried other DNS, like DNSMASQ/Pi-hole in a Docker container and they return NOERROR instead.
Unfortunately Alpine always asks for A and AAAA record and if one return NXDOMAIN, it fails. Even if a IPv4 record does exist.
Any idea how to change the RouterOS response to not return NXDOMAIN?
Here is my configuration:
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=10.0.0.17 name=ess
There was a separate bug in the ~7.6 where IPv6 resolution was broken – that may also been the original issue in this thread. Which is different from Alpine with DoH.
Alpine’s native DNS resolver only uses UDP and even ignores fragmented responses if I recall right… but there is not “native” DoH support in Alpine.