[dnsmasq] fix template output