I have two subnets A and B, and their respective name servers both forward queries to local name server M, which finally forwards queries to the internet. All name servers run dnsmasq. On both subnets, local names are correctly resolved (i.e. on subnet A,
nslookup works for all machines in A, and likewise for B), but names on the other subnet are not.
What would be the best way to resolve this? I'm thinking there should be some magical feature in dnsmasq that would let the subnet name servers to push all local hostnames to M, but I haven't found a such option (yet).