[SOLVED] Providing wrong DNS address to clients

I had an issue tonight that’s taken me a while to resolve.

Devices were unable to resolve domains, and when I checked, their DNS addresses were set to 192.168.88.1. The router’s address is 192.168.1.1, and I want it to be the DNS server (it uses Google’s DNS).

How can I fix this? Currently, I have a NAT rule to redirect requests on port 53 to the router, but I’m sure there’s a better way to do this.

Thanks :slight_smile:

If the clients get their network settings by dhcp, then you can either set the router to resolve ip addresses for you…

/ip dns
set allow-remote-requests=yes

or set the dns server yourself.

/ip dhcp-client network
set X dns-server=8.8.8.8

Replace X with the line number of the network. If you don’t want to use 8.8.8.8 as the dns server ip, change that.

That pointed me in the right direction and I found the option I was looking for under IP → DHCP Server → Networks.

I’m wanting all DNS requests to go to the router and have it resolve them, and this works.

Thanks! :smiley: