Made mdns optional