Using a dishwasher on Pesach

Can a dishwasher be used during Pesach without changing the racks? Is there a cycle that needs to be run first? Does one need to add vinegar or some other ingredient in that “cleansing” cycle?