If it’s the same router that does dstnat for those fake addresses, then it can’t work with them, because output packets from router won’t go to dstnat chain. I’m wondering where it got address for “mikrotik.com” from…
Thank you, so there’s no workaround available?
Yes, itself can resolve any host, just refuse to provide to clients.
Another strange thing is in the last picture, it says cache used 17, but only list 2…
DNS cache will hapily cache DNS cahce replies, but you have to allow larger packets (I think that default was already changed to 4096 packet size) That usually fixes dnsec issues.
But how? Your previous thread was about making fake addresses and redirecting DNS traffic going to them to another host and non-standard ports. It can work fine when other devices try to access those fake addresses. But when you give same fake DNS resolvers to same router, it can’t reach them. Unless some of those addresses was actually reachable somewhere and run DNS resolver. But then the router’s DNS cache would work too.
Thank you so much Sob.
It confused the hell out of me when I see 17 while only 2 listing…
I think I may not use this NAT method and just assign several IPs to the DNS server, that will solve the problem.