This (e.g. on DuckDuckGo) only excludes the results for that one search, by adding the option “-site:example.com” to the query. When one conducts an entirely new search, the domain is included again. (Also, one will probably quickly reach a limit if one were to append a growing number of domain exclusion options to the search string.)