fix dnsmasq parsing of /etc/hosts for fqdn cases like "localhost."