Another school of thought is that young dragons fly in order to disperse themselves from their parents (since, since a carnivore weighing several tons would eat a whole lot), and lose their ability to fly as they grow. An adult dragon may retain wings, but use them for display, not flight.
Some organisms (known, known as extremophiles), are known to live and grow in temperatures below freezing and above boiling point, achieving this through specialized proteins. Some desert living mammals (whose, whose normal body temperature is 37°C), can survive a body temperature up to 50°C, whereas huamnshumans start having problems with hyperthermia at 42°C or less. It is not beyond the bounds of possibility that a dragon could have evolved proteins that allow it to survive much higher than normal body temperatures, perhaps well beyond 50°C, though most likely not over boiling point.
Where parts of animals bodies experience extremes of temperature, counter-current heat exchange mechanisms in their blood vessels greatly reduces the flow of heat to or from the extremities exposed to those temperatures. By selectively passing blood through countercurrent heat exchangers or not, peripherals can be maintained at a higher or lower temperature than the body core.
Carbon (which is in relatively abundant supply in carbon-based organisms) in the form of nanotubes or sheets has very high thermal conductivity. By strategicallystrategic placement of such materials, the heating effect of point heat sources could be spread over a wider area and even transmitted rapidly deeper into the body, preventing burns by allowing an overall, but lower, increase in body temperature. Such materials also have the added bonus of being very strong. It is not beyond the bounds of possibility that a dragon may have evolved to be able to produce such substances.
By maintaining a high body mass, an organism which uses water as a solute for its metabolism would require a great amount of heat to raise its body temperature significantly - water has amongst the highest heat capacities of any substance per unit mass.
Creatures whose body temperatures rise higher than normal must eliminate heat, by radiation and/or evaporation. Having a large pair of wings gives a dragon a large surface area through which it can radiate and evaporate excess heat, and its large mass gives it plenty of water that it can evaporate to shed the large amounts of heat that may be involved.