voltage spike

My Xplorer blows the low and high beam headlights as soon as you accelerate. I checked the voltage at the light sockets. When it's not running with the headlight switch on I'm getting 7.7 volts, idleing I'm getting 11.6, when I give it gas it's going as high as 29.5 volts. Would the voltage...