As you have punctuated them, only the second is correct - or it would be if you added a full stop (period).
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Anonymousis the first sentence grammatically incorrect?Yes. You can't use the first one. It's wrong. You can't have do, does, or did in an indirect question (embedded question). The verb wonder is followed by an indirect question. By using does, you've made it a direct question.