To add some information to what @lleachii wrote, it is applicable to which nameservers dnsmasq is going to use to resolve. By default it is used by the system itself as well as the hosts connected to the OpenWrt. Lastly, it would be better to use the appropriate interface, from which the nameserver is reachable from. If you have a pihole in the lan, you should use custom dns servers under lan interface.