Restrict domain name to 255 characters

Restrict domain name to 255 characters

Signed-off-by: Tomáš Hrčka <thrcka@redhat.com>
I think you should remove the `-` in `foo.-bar`. Right it's not invalid because of the length.