create one search entry, not multiple

The current way just uses the last domain entry.
The new way combines all submitted domains/search suffixes into one line, which makes things work correctly.

Before:
search last.suffix

After:
search first.suffix next.suffix last.suffix



Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>