dnsmasq allows multiple upstreams by adding multiple server=
lines to the configuration file
server=10.4.0.64
server=8.8.8.8
server=8.8.4.4
Between v2.68 and v2.69, this behavior changed from preferring the first-defined server, to preferring the last-defined server (e.g. from 10.4.0.64 to 8.8.4.4).
A git bisect
points to
$ git bisect good
d68c2ca2b7896d6127f9b32d402f299e0b9cf593 is the first bad commit
commit d68c2ca2b7896d6127f9b32d402f299e0b9cf593
Author: Simon Kelley <simon@thekelleys.org.uk>
Date: Tue Feb 18 22:30:30 2014 +0000
Cleanup of server reading code, preparation, for dynamic reading from files.
:040000 040000 4c4039ea470c53903095ee54c3f335947f5cb8a0 b63283cf009498d5a88bdbc429accd178a148257 M src