[Dnsmasq-discuss] Is it possible to use different upstream DNS servers for different interfaces?

Glen Huang heyhgl at gmail.com
Tue Oct 5 10:30:06 UTC 2021


Hi,

I have two interfaces on my router, one for home and the other for office. I’d like for clients from home and office to use different upstream DNS servers.

I know I can use two Dnsmasq instances to achieve that, but that prevents the two types of clients to access each other by host names that they announce to the Dnsmasq DHCP.

It seems the “server” option is the one that I should pay attention to, but its interface/IP parameter only specify the source interface/IP to query from.

I wonder if it’s something possible with Dnsmasq? If not, is there a workaround?

Regards,
Glen


More information about the Dnsmasq-discuss mailing list