Does anyone know if it's possible to limit queries to a specific name server using dnsmasq? As an example:
All queries for anything on 172.16.0.0/12 should only be answered by server A. All queries for the Internet should only be answered by server B
In this case server A is my ISPs main name server and it handles queries for the Internet and also the customers Intranet (the 172 network) Unless I use their name server I cannot access resources on the Intranet. However, I also wish to use a VPN but the ISPs name server leaks on dns leak test.
I have looked at the server=/ section of the dnsmasq man page but I can't tell whether it will work for the scenario described above.
Thanks