Use a proper domain name regex

This allows all possible domain names based on RFC 1035.

[delivers #69232044]