Herpes zoster (or simply zoster), commonly known as shingles, and also known as zona, is a viral disease characterized by a painful skin rash.
The initial infection with varicella zoster virus (VZV) causes the acute illness, chickenpox, which generally occurs in children. Once an episode of chickenpox has resolved, the virus is not eliminated from the body but can go on to cause shingles—an illness with very different symptoms—often many years after the initial infection. The virus takes up residence in a peripheral nerve. The rash is limited to the skin area which is supplied by the involved nerve. That is why it is almost always on only one half of the body, in stripes or bands. The rash is very painful, often burning in nature, and has blisters.
Despite the similarity of name, herpes zoster is not the same disease as herpes simplex, although both the varicella zoster virus and herpes simplex virus belong to the same viral subfamily (Alphaherpesvirinae).
So, if the symptoms are those of a case of shingles, then yes, they could be coming from a herpes virus. But, there are other causes of burning type pains, especially if there is no rash.
If you think you do have shingles, you should see your physician.