I'm trying to dry citrus peels in a jar (I don't want to leave them indefinitely on the counter) without much luck. Any suggestions?
You can't close them up and expect them to stay mold-free, they will produce too much humidity.
You will have to spread the peels on a flat surface, without overlapping. Do it on a slightly absorptive surface, and breathable is good too. The optimal setting would be a wire rack with a sheet of paper on it, but if you don't have a rack to commit to the task, skip the breathable part and use a large plate.
While you can't have them conveniently stuffed in a jar, they are not so hard to get dried. Just don't use prime real estate such as the kitchen counter. Find a convenient, undisturbed wide place - the top of a cabinet works, if you put something above them to keep the dust out. Or maybe you have some surface which is flat, but too low to be used for anything else. As long as there is free air flow, there is no problem of having something close above them.
Or, as tM-- suggested, use a quick drying method. Both an oven and a dehydrator should work. You will get a slightly better taste with slow air-drying, but the difference may be too small to notice.
Once the drying is completed, the peels can easily be stored in a jar without catching mold.
Some ovens have a plate warming setting that is really good for this. I've dried coconut flesh in the oven. Since it's so much more moist it took about 4-6 hours for the couple of times I did it. Citrus peels have less moisture and would take less time. You could also do a combination of the two suggestions here. I would start with the oven and then move to an undisturbed space. The oven can pull a lot of moisture quickly because of the dry heat. If you want to preserve some flavor then take the peels out and let them air dry.