I have an SP-PD8 dynamo hub on the front of my tourer, powering an Axa Luxx 70 front and unbranded rear light for 3W nominal. Whenever I put the wheel in, I orient the connector down and back -- 7 or 8 o'clock looking from the right hand side. After a front wheel puncture I did this, and within 20km it was pointing up and forwards (2 o'clock). I opened the (external cam) QR, rotated the hub/connector, and closed the QR tighter. It's as tight as I can reasonably press with the heel of my hand and I might need a cheater bar to open it again*. The connector has rotated again.
This happened before, to the extent that I snapped the dynamo wires on a ride (luckily I had backup lights, but not good ones and not fully charged). Then I fixed it by doing up the QR tighter, but it's already tighter than reasonable. It feels like a hub issue rather than a QR issue.
How it soon ends up
The hub was serviced last year and runs nicely (and this is no longer my big miles bike). I'm extremely wary of trying to attach something to hold the connector body in place. The failure modes could easily be painful and the connector isn't shaped well for just putting a thin cable tie round it.
* The mudguard stays get in the way slightly, but finding something to press against is more of an issue. The amount I have to pull to open it feels like lifting about 40kg with 2 fingers.