The manual describes how the servers in resolv.conf are accessed, -o, --strict-order will probably do what you want or alternatively consider using --all-servers.
On Sat, 2015-01-03 at 09:53 +0530, Sharan wrote: > > > > Hi, > > > > > > > > I have two IP address listed as “nameserver” in /etc/resolve.conf > > file. One server is reachable all the time and the second server is > > down most of the time. > > > > In this situation, when my system does DNS query, some time I get > > very quick results and some time it take time to get DNS answer. If > > I remove the server which is down from the list, it works very well. > > What is the logic behind contacting these “nameservers”? I don’t > > mention “-o” option for considering DNS servers in order. Please > > explain how it works. > > > > > > > > Appreciate any answers from this group. > > > > > > > > Regards, > > Sharan > > > > > _______________________________________________ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss