Use dnsmasq to reduce system hangs on dns-server downtime

We would like to use reduce system hangs on dns-server by using dnsmasq
as dns cache server. This was reported and tracked in bnc#901497
I think dnsmasq is clever enough to deal with /etc/resolv.conf if it has 127.0.0.1 (for dnsmasq) and the other dns servers, though. That's how I understand it works on my laptop.