This paper presents the results of the development and experimental investigation of a fiberoptic distributed temperature sensor designed for monitoring oil and gas wells. The device employs a dual-wavelength optical probing scheme (980 nm and 1064 nm), which enables the compensation of spectrally selective losses caused by hydrogen darkening of the optical fiber. The optical configuration of the device is described, and test results for a prototype are presented, covering a temperature range of -58 to +305 °C and a sensing line length of 1500 m. The absolute temperature measurement error did not exceed ±4 °C with a pulse duration of 100 ns.