Manual DNS GL-AX 1800 doesn't work

I have a small server at home and this server runs Pi-Hole with local DNS and ad filter.

I try to use this server as a Manual DNS for the router so all router’s clients will pass through this server.

But it doesn’t work. I can set manually DNS server on the client to make it work but I don’t want to do it for all clients.

Router Admin panel

on Windows PC


output for nslookup

When I specify a server for nslookup it finds the address

what is server?

Also, some logs from the router

Why it doesn’t work?

If I set DNS manually

It just works

Is it a router issue?

OpenWRT issue. You need to set it at the interface level → advanced

Then the DNS IP will be given to the client when it connects.

Run these commands on your router.

PI =“”
uci add_list dhcp.lan.dhcp_option=“6,${PI}”
uci commit dhcp

Then the reboot or restart DNS on router ( /etc/init.d/dnsmasq restart)