There's a DDG extension available for Safari, which will make DDG the default search provider.
https://extensions.apple.com/#search-extensions (it takes just one click to install and activate)
https://extensions.apple.com/#search-extensions (it takes just one click to install and activate)
I'm using SafariKeywordSearch http://safarikeywordsearch.aurlien.net which means when I type "d ip address" it uses duckduckgo instead of Google.