A Shack-Hartmann wavefront sensor with a dual-focus holographic lenslet array and a known wavefront distortion is introduced. It enables measurement of a small phase distortion in optical waves under significant background wavefront aberrations and extending its angular dynamic range. The performance of the sensor is demonstrated using several phase objects of providing different wavefront shapes. The sensor performs as expected and the results are satisfactory.