dnsmasq: Allow dnsnames in dhcp static leases

If a DHCP static lease was create with a hostname containing dots it won't be added to /etc/hosts.dnsmasq and, as result, such names won't be resolved by DNS. This pull request resolve this issue.