DNS conditional forwarding on the Mango

Is it possible to configure conditional DNS forwarding on the GL-MT300N-V2?

For example, I’d like DNS queries for *.contoso.com to go to while the rest go to

This is not currently possible on Mango router.

Thanks. Is it possible to configure it directly in dnsmasq via CLI/SSH?

Sorry I don’t know.

What is the purpose of you doing this?

I’d like to resolve entries in a private zone through a private resolver. However for global I’d prefer not to use it.

In our firmware 4.x, if you use vpn and vpn policy, you could do this.

But only resolver, it is not easy in one router.