Hi tangxiusi,

I use also the mini-router the same way with dhcp (router behind router), maybe the uci entry is a bit different in your device, I see you have an AR300M.

Can you please check your current uci dhcp values with the command “uci show dhcp”? Normally you should find one entry with your custom DNS address. Otherwise your device is not using dnsmasq to resolve public dns queries.

I think the most reliable will be if someone can post and share the script that is used when clicking the apply button inside the GUI’s Custom DNS settings.