The most common medications used to treat dracunculiasis are metronidazole and thiabendazole (used only for adults).