The U.S. military has confirmed an AC-130 gunship carried out air strikes in southern Somalia Sunday .