Do you need to supply higher voltage to a solenoid if using a flyback diode

In which case you measure it with the resistance setting on your DMM ( Digital Multimeter ).