check port.name is set before writing dnsmasq config