trying to manually implement mdns