Automatically generate dns-sd name and type