An article that accompanied my peach trees said to pack wood ash around the bases to prevent borers. I couldn't find that info elsewhere, but I saw diatomaceous earth recommended.
Also, since peaches like acidic soil, wouldn't wood ash act as a buffer?