Start and stop mDNS appropriately