Even if your problem is "genetic", there is bound to be some environments that ease the symptoms more than others.
Keep experimenting with different diets, man. I hope you stumble onto something that works for you
PS: I know someone who had headaches for most of their life-- and they stopped after he didn't eat ANY dairy or wheat. Anecdotal? Yes-- but it's worth some thought.
My wife used to have multiple severely debilitating migraines a month. It was bad. She started keeping a food journal and then stopped eating most dairy and especially cheese. I honestly can't remember the last time she had a migraine.
She also finally found a medicine that could stop the onset of a migraine if taken early enough. I could get the name of it but don't know it right now. She tried about a half-dozen different ones that didn't work.
I think the real death-nail was when she went off hormonal birth control.