Looking for a mikrotik router Model that supports DNAT. After all the posts about devices ignoring pihole and people using DNAT to force the usage of pihole, I’ve been looking into it a little bit.
But it seems that I can only find results (google) about Ubiquiti devices and DNAT. I’ve looked at the price of a WiFi router (€149) and it’s a bit too much for me. My budget is <= €100. Cheaper Ubiquity options are just switches, but I need a WiFi router to replace the one given to me by my ISP (which will be in bridge mode).
I do not use DNAT or pi-hole.
Just add DNS localy to my public webserver for user on the net and user on the outside gets the public IP and will going trough nat to the web server.
The advantage of using the DHCP option 6 method is that all clients get the PI-Hole server as DNS server. So in PI-Hole you can see the real client requests instead off the router sending all request.
Where 192.168.x.x is the PI-Hole address. The above should direct all DHCP clients to use PI-Hole as DNS server and is actually human-readable version of your construct.
You still have to redirect any connections to external DNS servers if you want to force all clients to use PI-Hole (also those who statically configure their IP settings).