mdns: merge mdns.go into types.go