[FEATURE] Validate domain names to be syntactically correct

This adds checks against rules from RFC1035 and it's brothers
and sisters.

Resolves: RP-36