Wow this happened to my boxer! My boxer got sun burn from the window right above her crate. But this does not mean that your dog is getting sunburned.It could be a allergy.
I recommend going to the vet!?