Commit 86a8fa4a authored by Committed by Dan Williams
dns: dnsmasq plugin: update command-line parameters for starting dnsmasq
Drop --strict-order; dnsmasq is intelligent enough to ask nameservers in an order that makes the best of possibly slow nameservers (or broken ones), and interrogating them in strict order breaks this. Add --no-hosts: by default dnsmasq will read /etc/hosts as a list of things to resolve statically; this is something we want to avoid as nsswitch.conf already lists files as the first data store to look at; where the entries in /etc/hosts will already have been returned if that's what the user wants to see. If the /etc/hosts file then changes, dnsmasq would have to be restarted before the user would get the new value resolved externally. Avoid this, let /etc/hosts override DNS entries normally through the resolver and show changes as soon as the file is updated.
Showing with 1 addition and 1 deletion