I was wondering if it was possible to configure dnsmasq to send "server=" entries to multiple upstream servers?
so like this:
server=/facebook.com/1.2.3.4
server=/facebook.com/2.3.4.5
and have it pick which one based on it being available or not, as with resolv.conf
? According to the man page, it looks like only one is allowed, but I wondered if there was a way to ask it to behave this way.
Well in your example you're only pointing out facebook, but I guess you would have the same need for every hostname you might visit
dnsmasq provides the option --all-servers
Set a several DNS servers
And the fastest response will be considered
Sure just add multiple lines.
Man dnsmasq