Why offline regulator output diodes have a high voltage rating?
The left node of the inductor where the freewheeling diode connects is not the low voltage output. When the high side switch closes it connects that node to the full voltage of the input which the diode must block.