Donald Trump's anti-Muslim rhetoric undermines US national security by boosting the Daesh terrorist group, the Pentagon Wednesday warned . The leading Republican presidential candidate has said Muslims should be banned from entering the US, in the wake of the deadly California attacks. Pentagon press secretary Peter Cook said that a border closed to Muslims would harm American efforts to counter extremist ideology. Anything that bolsters Daesh narrative and pits the United States against the Muslim faith is certainly not only contrary to our values but contrary to our national security, Cook stated. White House spokesman Josh Earnest said Trump's comments disqualify him from being president and said other Republican candidates should disavow him "right now." Donald Trump evoked outrage from across the political spectrum Monday by calling for a "total and complete shutdown" of Muslims entering the U.S.