Hello,
I use two DNS servers a public one (8.8.8.8) and a local one (192.168.1.20) In ubuntu, If I wrote both DNSs 192.168.1.20, 8.8.8.8 it will always query the first and until the first is down and then it will start querying the second. And of course I have to make the local point again to 8.8.8.8 Like this i have almost no problems, I can resolve local addresses and also public ones but when I'm out of the office that's were all the problems start. Having the local DNS first makes ubuntu checks for it every single time it needs to resolve. So I end up switching switching the priority of the DNS every (8.8.8.8, 192.168.1.20) time I change my location.
This is not the case if I was using windows. It somehow sends to both DNSs at once or something of that sort. Is there a way to avoid changing the DNS for every location?