Restrict domain name to 255 characters

Signed-off-by: Tomáš Hrčka <thrcka@redhat.com>