TS-2595 expand multiple search domains

by appending each to original host name rather than keep appending one after the other