[Dnsmasq-discuss] Multiple Resolv Files?
Jan 'RedBully' Seiffert
redbully at cc.hs-owl.de
Fri Nov 7 18:46:27 GMT 2008
Petri Savilahti wrote:
> Hallo Helmut,
> Danke schoen fuer deine Hilfe!
> What if the primary link (/etc/resolv.conf) goes down? Dnsmasq will
> not get any replies using nameservers from this file. Does dnsmasq
> automatically read then the /etc/ppp/resolv.conf?
dnsmask reads all specified files on startup, creates a list of upstream dns
servers, then chooses the one which "works best" (first querys go round robin,
to measure). If this choosen server goes down, it reelects another one from its
list. Additionally, if any resolvfile gets rewritten while dnsmask is running,
it rereads the file and updates its list.
Its simple as this, but it is not simple to say which server dnsmask will choose ;)
> - Petri
Fun things to slip into your budged:
Traffic shaping on the loopback interface
More information about the Dnsmasq-discuss