Mikrotik is just saying me “handling only prefix delegation discarding”. I know that it cannot delegate IP’s, but it doesn’t even answer with DHCP options
Thanks for answer, yes, you are right about Android, I forgot about that. But how to check it with Linux? I have Linux server, in /etc/resolv.conf there is only IPv4 192.168.88.1.
If it works for Windows, the problem probably isn’t on router.
I don’t use Linux as dynamic client, but what I saw in the past, it wasn’t as tightly integrated as Windows. Unless something changed, getting addresses from RA is handled by kernel itself, it just works by default. But to get additional info from DHCPv6, it needs properly configured client, which is separate program. I’d assume that by now this should be handled automatically by some network config scripts, but who knows. Check the manual for your distribution, if it perhaps needs some user interaction.
Of course the simplest solution (unless you’re building IPv6-only network) is to not bother. You don’t need resolvers with IPv6 addresses, it’s only transport, it doesn’t influence what queries can be answered. Resolvers with IPv4 addresses will do the same job.
Sorry for reviving this old post, but it describes also my problem.
On my windows and linux machines it works as expectd with DNS resolving. My mikrotik DNS is asked first and it can resolve local static domains, as well as all other hostnames on the net. And it caches my queries.
But on my mobiles (android…) it does not work as expected. Why?
I have a few set of devices running in my local network which I want to access via mobile. I setup static DNS entries for each device (out of a DHCP lease by script). And if I try to access these devices via mobile by their static dns name, it always fails.
I read that Android is in general and if available, trying to resolve via IPv6 DNS server. And if I check my IP settings on my mobile, I can see, that there are IPv6 based DNS servers. But first the two from my ISP, then the one from cloudflare (which I also added as main-dns in mikrotik setup), and that’s it… The mikrotik-router DNS which also has an IPv6 address is not found on my mobile. And even if it would, it must be the 1st, not the 2nd or 3rd…
There seems to be no option to tell the IPv6 configuration in RouterOS that it should only push the local DNS instead of the others to all IPv6 capable clients in my network.
I also read about setting up DHCPv6… But as far as I know, Android is not using DHCP without a rooted device
Long story short: When using my android mobile, I’m not able to resolve local hosts via mikrotik builtin DNS…
Did you solve the problem? I’m facing more and more issues with resolving hostnames with mikrotik DNS… which isn’t used on android mobiles, as the wrong name servers are advertised.
It’s not only Chrome which uses IPv6 nameservers instead of IPv4 nameserver (which has been advertised correctly), i face this now with different android apps too.
The only workaround is to force my clients to use static IPs and learn them by heart when trying to access them from android…
Hmm, if I remove the “Advertise DNS” checkmark on /ipv6 nd for my bridge interface, my android devices only get ipv4 DNS servers. And that is my mikrotik router in first place.
With that, it works. But I fear this breaks other things. I will observer this further…