Headaches from breastfeeding?

Hi all - Since my little one was about 2 months - she’s 8 months now - I’ve started getting these crazy headaches that cause vomiting. They are NOT migraines. I’ve never had headaches before and they come on suddenly. I think it might be related to hormones and not drinking enough water. I’m going to the doc tomorrow but they weren’t helpful in the past. Anyone know of anyone who’s had something similar? Could it be from breastfeeding?