Don't append \0 if DNS string was already null terminated
Pass the std::string directly

This way we don't lose part of our std::string due to converting from
std::string to a c-str back to a std::string.
All domains need to end in a period!
Add functionality to test RegistrationDomains