I just took my dog to the vet for a similar condition. The vet is sending her blood culture to the lab for testing. It could be many things including internal infection, thyroid condition, psoriasis, skin cancer. I recommend taking your dog for blood work.