Make test-button work for multidomain configurations

When validating the configuration, the domain is split at ',' and
each part will be validated individually. However, the actually bind
will use the original domain string with ',' which doesn't work.

Unfortunately, I no longer have access to a Jenkins instance with
multiple domain servers, so this is untested.