If you have quality 30 amp cables and adapters with no poor connections and you are connected to a 30 amp circuit breaker protected receptacle then the connections should not over heat even pulling 30 amps. Even if you have a longer cable. A longer cable can cause a voltage drop, but the current cannot go above the 30 amp breaker, and the supposed cable and adapter rating. And current is what causes overheating, not voltage.
The overheated plug and/or receptacle indicates resistance in one or both of those, either poor contact, poor wiring connections, or possibly cable/adapter not meeting stated rating.
I carried a 25’ 30 amp cable with a 30 amp male plug and a 50 amp female connector for the trailer end (30 to 50 adapter cable) to avoid having to use the dogbone adapter.