Your question puzzles me. DH is never caused by your skin coming into contact with gluten. It is caused by the reaction of your gut to any gluten ingested.
Any sun cream should be fine for you to use, even if it contains gluten - so long as you don't eat it!!
I know that for DH sufferers we should avoid iodine coming into contact with our skin as this will bring out the blistering.