Thanks for your query
If your dermatologist
has diagnosed a particular skin condition as herpes
, then i am sure that it has to be herpes.
Without having a look at the exact skin lesions, it might be very difficult to comment upon the exact diagnosis of the skin condition that you are having.
I would advise you to either follow the advise of your dermatologist or you can ask a direct query on this forum and attach the pictures along so that a dermatologist can see the exact skin lesions and then advise accordingly.
Hope it helps
Dr Geetika Paul