Use external DNS server with hotspot

Hello,

I want to offload DNS functionality to external DNS server instead of using Mikrotik as DNS server. Running hotspot and pppoe both in Mikrotik with around 1500 users and don’t want Mikrotik to overload with DNS resolution. Using login page for hotspot users that comes from Mikrotik.

Is there a way to not use Mikrotik as DNS server and use external DNS server with login page ?

Thanks

Any help ?

Try this

(assuming 8.8.8.8 is your Dns server and hs_server is the name of your hotspot server)


 
/ip hotspot walled-garden ip add server=hs_server dst-ip=8.8.8.8 protocol=17

Do this for every DNS server

Enviado desde mi MotoE2(4G-LTE) mediante Tapatalk

This rule will allow 8.8.8.8 in firewall.

I want to redirect entire traffic of dns (udp port 53) to our external server. I want to disable mikrotik acting as DNS server.

Effectively if user configures any DNS server in his system but the traffic (udp port 53) should redirect to our external server and that server should resolve all queries.

Thanks