I usually run my iron at 380 to 390°C for soldering thru hole components. I've been soldering for a long time and found this temp to be the best for my technique.
You should have multiple tips for different size parts. For instance, I solder board headers with a conical 0.032" tip.
The most important item is to have the solder tip wet with solder before you touch it to the board, and touch both the pad and lead at the same time. Feed in a little more solder and watch it flow into the joint...remove tip immediately.
My tip is contacting the joint for 2 seconds, maybe 3 at the most.