DuckDuckGo doesn’t collect users’ personal information, and this includes their IP address. So, yes, the search engine hides your IP.