"Dunlap" took part in the bombardment of Marcus Island on 9 October. On 16 October 1944 she rendezvoused with the 3rd Fleet units for strikes on Luzon, then supported the landings at Leyte. When the Japanese forces made a three-pronged attack on the Philippines, she was underway for Ulithi but reversed course to screen TG 38.1 in its attacks of 25 and 26 October on the enemy fleeing after the decisive Battle for Leyte Gulf. "Dunlap" arrived at Ulithi 29 October for patrol duty and took part in the daring bombardments on Iwo Jima in November and December 1944 and January 1945. She returned to Iwo Jima 19 March to support its occupation, and until the end of the war patrolled to intercept Japanese ships attempting to evacuate the Bonins. On 19 June she sank an enemy craft attempting to evacuate Chichi Jima, picking up 52 survivors. Japanese officers came on board 31 August to discuss surrender terms for the Bonin Islands, and returned on 3 September to sign the surrender.