mav notes, re D'oh vs. Doh : The OED recognises both variants

There is, however, a slight catch in the word, at least as spoken by Homer S. that is, in my opinion, best captured by the '.