check for port.name when writing dnsmasq_config file